/* ============================================================
   YiceGo - Main Stylesheet
   A modern, tech-focused WordPress theme
   ============================================================ */

/* ------------------------------------------------------------
   1. CSS Variables
   ------------------------------------------------------------ */
:root {
    --yg-primary: #667eea;
    --yg-primary-end: #764ba2;
    --yg-gradient: linear-gradient(135deg, var(--yg-primary), var(--yg-primary-end));
    --yg-bg: #f0f2f5;
    --yg-card-bg: #fff;
    --yg-text: #1a1a2e;
    --yg-text-secondary: #6b7280;
    --yg-border: #e5e7eb;
    --yg-shadow: 0 4px 24px rgba(0, 0, 0, .06);
    --yg-shadow-hover: 0 8px 32px rgba(102, 126, 234, .15);
    --yg-radius: 12px;
    --yg-radius-sm: 8px;
    --yg-radius-lg: 16px;
    --yg-header-height: 64px;
    --yg-container-width: 1200px;
    --yg-aside-width: 320px;
    --yg-gap: 20px;
    --yg-transition: all .3s cubic-bezier(.4, 0, .2, 1);
}

/* ------------------------------------------------------------
   2. Reset / Base Styles
   ------------------------------------------------------------ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--yg-text);
    background-color: var(--yg-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background: var(--yg-primary);
    color: #fff;
}

::-moz-selection {
    background: var(--yg-primary);
    color: #fff;
}

a {
    color: var(--yg-primary);
    text-decoration: none;
    transition: var(--yg-transition);
}

a:hover {
    color: var(--yg-primary-end);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

button, input, textarea, select {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    border: none;
    outline: none;
    background: none;
}

button {
    cursor: pointer;
}

/* ------------------------------------------------------------
   3. Layout
   ------------------------------------------------------------ */
.body-warp {
    min-height: 100vh;
    padding-top: var(--yg-header-height);
}

.container {
    max-width: var(--yg-container-width);
    margin: 0 auto;
    padding: var(--yg-gap);
    display: flex;
    gap: var(--yg-gap);
    align-items: flex-start;
}

.main-warp {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: var(--yg-gap);
}

aside,
.sidebar {
    width: var(--yg-aside-width);
    flex-shrink: 0;
    position: sticky;
    top: calc(var(--yg-header-height) + var(--yg-gap));
    align-self: flex-start;
    display: flex;
    flex-direction: column;
    gap: var(--yg-gap);
}

/* ------------------------------------------------------------
   4. Header (Fixed, Glassmorphism)
   ------------------------------------------------------------ */
.yicego-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    min-height: var(--yg-header-height);
    background: rgba(255, 255, 255, .85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--yg-border);
    z-index: 1000;
    transition: var(--yg-transition);
}

.yicego-header.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, .06);
}

.yicego-header.header-hidden {
    transform: translateY(-100%);
}

.header-inner {
    max-width: var(--yg-container-width);
    margin: 0 auto;
    min-height: var(--yg-header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--yg-gap);
    gap: 24px;
}

/* Logo */
.header-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    color: var(--yg-text);
    flex-shrink: 0;
}

.header-logo img {
    height: 36px;
    width: auto;
}

html.dark .header-logo .logo-light {
    display: none !important;
}

html.dark .header-logo .logo-dark {
    display: block !important;
}

.header-logo .logo-text {
    background: var(--yg-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation */
.header-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
    justify-content: center;
}

.header-nav a,
.header-nav .nav-item {
    position: relative;
    padding: 8px 16px;
    font-size: 15px;
    font-weight: 500;
    color: var(--yg-text-secondary);
    border-radius: var(--yg-radius-sm);
    transition: var(--yg-transition);
    white-space: nowrap;
}

.header-nav a:hover,
.header-nav .nav-item:hover,
.header-nav a.active,
.header-nav .nav-item.active {
    color: var(--yg-primary);
    background: rgba(102, 126, 234, .06);
}

.header-nav a::after,
.header-nav .nav-item::after {
    content: "";
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 20px;
    height: 2px;
    background: var(--yg-gradient);
    border-radius: 2px;
    transition: transform .3s cubic-bezier(.4, 0, .2, 1);
}

.header-nav a:hover::after,
.header-nav .nav-item:hover::after,
.header-nav a.active::after,
.header-nav .nav-item.active::after {
    transform: translateX(-50%) scaleX(1);
}

/* Nav Icons */
.header-nav .nav-icon {
    display: inline-flex;
    align-items: center;
    margin-right: 4px;
    vertical-align: middle;
    opacity: 0.7;
    transition: var(--yg-transition);
}

.header-nav a:hover .nav-icon {
    opacity: 1;
}

/* Sub-menu */
.header-nav .has-submenu {
    position: relative;
}

.header-nav .submenu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 180px;
    background: rgba(255, 255, 255, .95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--yg-border);
    border-radius: var(--yg-radius);
    box-shadow: var(--yg-shadow);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transition: var(--yg-transition);
    z-index: 100;
}

.header-nav .has-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.header-nav .submenu a {
    display: block;
    padding: 8px 14px;
    border-radius: var(--yg-radius-sm);
    font-size: 14px;
}

.header-nav .submenu a:hover {
    background: rgba(102, 126, 234, .08);
}

/* Header Search */
.header-search {
    position: relative;
    flex-shrink: 0;
}

.header-search .search-input {
    width: 200px;
    height: 38px;
    padding: 0 38px 0 14px;
    background: var(--yg-bg);
    border: 1px solid transparent;
    border-radius: 20px;
    font-size: 14px;
    transition: var(--yg-transition);
}

.header-search .search-input:focus {
    width: 260px;
    border-color: var(--yg-primary);
    background: var(--yg-card-bg);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, .1);
}

.header-search .search-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--yg-text-secondary);
    font-size: 16px;
    cursor: pointer;
    pointer-events: auto;
}

/* Header User */
.header-user {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    position: relative;
}

.header-user .user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    background: var(--yg-gradient);
    padding: 2px;
    transition: var(--yg-transition);
}

.header-user .user-avatar:hover {
    box-shadow: 0 0 0 3px rgba(102, 126, 234, .2);
}

.header-user .user-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.header-user .user-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 200px;
    background: rgba(255, 255, 255, .95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--yg-border);
    border-radius: var(--yg-radius);
    box-shadow: var(--yg-shadow);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: var(--yg-transition);
    z-index: 100;
}

.header-user:hover .user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.header-user .user-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: var(--yg-radius-sm);
    color: var(--yg-text-secondary);
    font-size: 14px;
}

.header-user .user-dropdown a:hover {
    background: rgba(102, 126, 234, .08);
    color: var(--yg-primary);
}

/* Header Right Area */
.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    position: relative;
}

.dark-toggle {
    width: 36px;
    height: 36px;
    border: none;
    background: var(--yg-bg);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--yg-text-secondary);
    font-size: 18px;
    transition: var(--yg-transition);
}

.dark-toggle:hover {
    background: var(--yg-primary);
    color: #fff;
}

.dark-toggle.active {
    background: var(--yg-primary);
    color: #fff;
}

.login-trigger {
    border: none;
    background: none;
    cursor: pointer;
    padding: 0;
}

/* Mobile Hamburger */
.header-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    cursor: pointer;
    z-index: 10;
    position: relative;
    -webkit-tap-highlight-color: transparent;
}

.header-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--yg-text);
    border-radius: 2px;
    transition: var(--yg-transition);
}

.header-hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.header-hamburger.active span:nth-child(2) {
    opacity: 0;
}

.header-hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1000;
    display: none;
    opacity: 0;
    transition: opacity .3s ease;
}

.mobile-nav-overlay.show {
    display: block;
    opacity: 1;
}

/* Mobile Nav Panel */
.mobile-nav {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100%;
    background: var(--yg-card-bg);
    z-index: 1001;
    transition: left .3s cubic-bezier(.4, 0, .2, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    box-shadow: 4px 0 20px rgba(0, 0, 0, .1);
}

.mobile-nav.show {
    left: 0;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--yg-border);
    background: linear-gradient(135deg, rgba(102, 126, 234, .08), rgba(118, 75, 162, .06));
}

.mobile-nav-avatar {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-nav-avatar img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--yg-primary);
}

.mobile-nav-username {
    font-size: 15px;
    font-weight: 600;
    color: var(--yg-text);
}

.mobile-nav-close {
    background: none;
    border: none;
    color: var(--yg-text-secondary);
    cursor: pointer;
    padding: 4px;
    border-radius: 50%;
    display: flex;
    transition: var(--yg-transition);
}

.mobile-nav-close:hover {
    background: rgba(0, 0, 0, .05);
    color: var(--yg-text);
}

.mobile-nav-body {
    flex: 1;
    padding: 12px 0;
    overflow-y: auto;
}

.mobile-nav-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    margin-right: 10px;
    color: var(--yg-text-secondary);
    flex-shrink: 0;
}

.mobile-nav-icon svg {
    width: 16px;
    height: 16px;
}

.mobile-nav-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    font-size: 15px;
    color: var(--yg-text);
    transition: var(--yg-transition);
}

a.mobile-nav-item {
    justify-content: flex-start;
}

.mobile-nav-item:hover,
a.mobile-nav-item:hover {
    background: rgba(102, 126, 234, .06);
    color: var(--yg-primary);
}

a.mobile-nav-item:hover .mobile-nav-icon {
    color: var(--yg-primary);
}

.mobile-nav-item.has-children {
    flex-wrap: wrap;
}

.mobile-nav-item.has-children > a {
    flex: 1;
    padding: 12px 0;
    font-size: 15px;
    color: var(--yg-text);
    display: flex;
    align-items: center;
}

.mobile-nav-item.has-children > a:hover {
    color: var(--yg-primary);
}

.mobile-nav-item.has-children > a:hover .mobile-nav-icon {
    color: var(--yg-primary);
}

.mobile-nav .submenu-arrow {
    cursor: pointer;
    padding: 12px 20px;
    color: var(--yg-text-secondary);
    transition: transform .3s ease;
    user-select: none;
}

.mobile-nav-item.open .submenu-arrow {
    transform: rotate(180deg);
}

.mobile-sub-menu {
    width: 100%;
    display: none;
    padding-left: 16px;
}

.mobile-nav-item.open .mobile-sub-menu {
    display: block;
}

.mobile-sub-link {
    display: block;
    padding: 10px 20px 10px 46px;
    font-size: 14px;
    color: var(--yg-text-secondary);
    transition: var(--yg-transition);
}

.mobile-sub-link:hover {
    color: var(--yg-primary);
}

.mobile-nav-footer {
    padding: 16px 20px;
    border-top: 1px solid var(--yg-border);
}

.mobile-nav-login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    background: var(--yg-primary);
    color: #fff;
    border: none;
    border-radius: var(--yg-radius);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--yg-transition);
}

.mobile-nav-login-btn:hover {
    opacity: .9;
}

.mobile-nav-user-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-nav-user-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 8px;
    font-size: 14px;
    color: var(--yg-text-secondary);
    border-radius: var(--yg-radius);
    transition: var(--yg-transition);
}

.mobile-nav-user-link:hover {
    background: rgba(102, 126, 234, .06);
    color: var(--yg-primary);
}

.mobile-nav-user-link.mobile-nav-logout {
    color: #e74c3c;
}

.mobile-nav-user-link.mobile-nav-logout:hover {
    background: rgba(231, 76, 60, .06);
}

.mobile-dark-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--yg-bg);
    border: none;
    border-radius: 50%;
    color: var(--yg-text-secondary);
    cursor: pointer;
    transition: var(--yg-transition);
    flex-shrink: 0;
}

.mobile-dark-toggle:hover {
    background: var(--yg-primary);
    color: #fff;
}

body.nav-open {
    overflow: hidden;
}

/* Mobile Search Section (homepage only, hidden on PC) */
.mobile-search-section {
    display: none;
}

@media (max-width: 992px) {
    .mobile-search-section {
        display: block;
        padding: 12px 16px 0;
    }

    .mobile-search-form {
        display: flex;
        align-items: center;
        background: var(--yg-card-bg);
        border-radius: 24px;
        border: 1px solid var(--yg-border);
        overflow: hidden;
        box-shadow: 0 2px 8px rgba(0, 0, 0, .04);
        transition: var(--yg-transition);
    }

    .mobile-search-form:focus-within {
        border-color: var(--yg-primary);
        box-shadow: 0 2px 12px rgba(102, 126, 234, .12);
    }

    .mobile-search-input {
        flex: 1;
        height: 42px;
        padding: 0 16px;
        border: none;
        background: transparent;
        font-size: 14px;
        color: var(--yg-text);
        outline: none;
    }

    .mobile-search-input::placeholder {
        color: var(--yg-text-secondary);
    }

    .mobile-search-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        background: var(--yg-gradient);
        color: #fff;
        border: none;
        border-radius: 0 24px 24px 0;
        cursor: pointer;
        flex-shrink: 0;
        transition: var(--yg-transition);
    }

    .mobile-search-btn:hover,
    .mobile-search-btn:active {
        opacity: .9;
    }
}

/* ------------------------------------------------------------
   5. Post List Items (.post-item)
   ------------------------------------------------------------ */
.post-item {
    display: flex;
    gap: 20px;
    background: var(--yg-card-bg);
    border-radius: var(--yg-radius);
    padding: 20px;
    border: 1px solid var(--yg-border);
    box-shadow: 0 1px 8px rgba(0, 0, 0, .06);
    transition: var(--yg-transition);
    overflow: hidden;
}

.post-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, .1);
    border-color: rgba(102, 126, 234, .2);
}

.post-item .post-thumbnail {
    display: block;
    flex-shrink: 0;
    width: 240px;
    height: 160px;
    border-radius: var(--yg-radius-sm);
    overflow: hidden;
    position: relative;
    background: var(--yg-bg);
}

.post-item .post-thumbnail::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    transition: background .4s ease;
    z-index: 1;
    border-radius: inherit;
}

.post-item:hover .post-thumbnail::after {
    background: rgba(0, 0, 0, .08);
}

.post-item .post-thumbnail img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .5s cubic-bezier(.4, 0, .2, 1);
}

.post-item:hover .post-thumbnail img {
    transform: scale(1.05);
}

.post-item .post-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    word-break: break-word;
    overflow: hidden;
}

.post-item .post-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-item .post-title a {
    color: var(--yg-text);
    text-decoration: none;
    transition: color .3s ease;
}

.post-item .post-title a:hover {
    color: var(--yg-primary);
}

.post-item .post-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 12px;
    margin-bottom: 10px;
}

.post-item .post-meta span,
.post-item .post-meta a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--yg-text-secondary);
    transition: var(--yg-transition);
    position: relative;
}

.post-item .post-meta span + span::before {
    content: "\00b7";
    position: absolute;
    left: -9px;
    color: var(--yg-border);
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
}

.post-item .post-meta a:hover {
    color: var(--yg-primary);
}

.post-item .post-excerpt {
    font-size: 14px;
    color: var(--yg-text-secondary);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-list,
.yicego-post-list {
    display: flex;
    flex-direction: column;
    gap: var(--yg-gap);
}

/* ---- Post Grid (2-Column) ---- */
.post-list.post-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--yg-gap);
}

.post-item.grid-card {
    flex-direction: column;
    padding: 0;
    border: 1px solid var(--yg-border);
    overflow: hidden;
    border-radius: var(--yg-radius);
}

.post-item.grid-card:hover {
    border-color: rgba(102, 126, 234, .3);
    box-shadow: 0 0 24px rgba(102, 126, 234, .08), var(--yg-shadow-hover);
}

.post-item.grid-card .post-thumb {
    display: block;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    position: relative;
    overflow: hidden;
}

.post-item.grid-card .post-thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s cubic-bezier(.4, 0, .2, 1);
}

.post-item.grid-card:hover .post-thumb img {
    transform: scale(1.06);
}

.post-item.grid-card .post-info {
    padding: 16px 20px 20px;
}

.post-item.grid-card .post-info h2 {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-item.grid-card .post-info h2 a {
    color: var(--yg-text);
}

.post-item.grid-card .post-info h2 a:hover {
    color: var(--yg-primary);
}

.post-item.grid-card .post-excerpt {
    font-size: 13px;
    color: var(--yg-text-secondary);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 12px;
}

.post-item.grid-card .post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.post-item.grid-card .post-meta span {
    font-size: 12px;
    color: var(--yg-text-secondary);
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.post-cat-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 500;
    padding: 2px 10px;
    background: rgba(102, 126, 234, .1);
    color: var(--yg-primary);
    border-radius: 50px;
    transition: var(--yg-transition);
    letter-spacing: .02em;
    line-height: 1.6;
    text-decoration: none;
    margin-bottom: 6px;
}

.post-cat-tag:hover {
    background: var(--yg-gradient);
    color: #fff;
    transform: translateY(-1px);
}

/* List layout variant */
.post-item.list-style {
    flex-direction: row;
}

.post-item.grid-style {
    flex-direction: column;
}

.post-item.grid-style .post-thumbnail {
    width: 100%;
    height: 180px;
}

/* ------------------------------------------------------------
   5.5 Category Columns (.home-cat-columns)
   ------------------------------------------------------------ */

.home-cat-columns {
    width: 100%;
    margin-bottom: var(--yg-gap);
}

.cat-columns-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--yg-gap);
}

.cat-column {
    background: var(--yg-card-bg);
    border: 1px solid var(--yg-border);
    border-radius: var(--yg-radius);
    box-shadow: var(--yg-shadow);
    padding: 0;
    overflow: hidden;
}

.cat-column-header {
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--yg-border);
    position: relative;
}

.cat-column-header::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 24px;
    background: var(--yg-gradient);
    border-radius: 0 3px 3px 0;
}

.cat-column-title-area {
    display: flex;
    align-items: center;
    gap: 4px;
}

.cat-column-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--yg-text);
    margin: 0;
    padding-left: 12px;
}

.cat-column-desc {
    font-size: 13px;
    color: var(--yg-text-secondary);
    margin-left: 10px;
}

.cat-column-more {
    font-size: 13px;
    color: var(--yg-text-secondary);
    text-decoration: none;
    transition: var(--yg-transition);
}

.cat-column-more:hover {
    color: var(--yg-primary);
}

.cat-column-list {
    padding: 0;
}

.cat-column-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 20px;
    border-bottom: 1px solid var(--yg-border);
    text-decoration: none;
    color: inherit;
    transition: var(--yg-transition);
}

.cat-column-item:last-child {
    border-bottom: none;
}

.cat-column-item:hover {
    background: rgba(102, 126, 234, .03);
}

.cat-column-thumb {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: var(--yg-radius-sm);
    overflow: hidden;
    background: var(--yg-bg);
}

.cat-column-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cat-column-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
}

.cat-column-item-title {
    font-size: 15px;
    font-weight: 500;
    color: var(--yg-text);
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.4;
}

.cat-column-item:hover .cat-column-item-title {
    color: var(--yg-primary);
}

.cat-column-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--yg-text-secondary);
}

/* ------------------------------------------------------------
   6. Single Post (.single-post)
   ------------------------------------------------------------ */

/* Breadcrumb */
.single-post .breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--yg-text-secondary);
    padding: 0 4px;
    margin-bottom: 14px;
    overflow: hidden;
}

.single-post .breadcrumb a,
.single-post .breadcrumb .breadcrumb-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--yg-text-secondary);
    white-space: nowrap;
    transition: color .2s ease;
}

.single-post .breadcrumb a:hover,
.single-post .breadcrumb a.breadcrumb-item:hover {
    color: var(--yg-primary);
}

.single-post .breadcrumb .breadcrumb-icon {
    flex-shrink: 0;
}

.single-post .breadcrumb .breadcrumb-item.current {
    color: var(--yg-text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 300px;
}

.single-post .breadcrumb .breadcrumb-separator {
    color: var(--yg-text-secondary);
    opacity: .3;
    flex-shrink: 0;
    display: inline-flex;
}

/* Single Post Card (header + content combined) */
.single-post-card {
    background: var(--yg-card-bg);
    border-radius: var(--yg-radius);
    box-shadow: var(--yg-shadow);
    margin-bottom: var(--yg-gap);
    overflow: hidden;
}

/* Post Header (inside card) */
.single-post .post-header {
    padding: 32px 36px 24px;
}

.single-post .post-header .post-title {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 16px;
    color: var(--yg-text);
}

.single-post .post-header .post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--yg-border);
}

.single-post .post-header .post-meta .post-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: var(--yg-text-secondary);
    white-space: nowrap;
}

.single-post .post-header .post-meta .post-meta-item i {
    font-size: 14px;
    opacity: .6;
}

.single-post .post-header .post-meta .post-meta-item a {
    color: var(--yg-text-secondary);
}

.single-post .post-header .post-meta .post-meta-item a:hover {
    color: var(--yg-primary);
}

.single-post .post-header .post-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: var(--yg-text-secondary);
}

.single-post .post-header .post-meta .author-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
}

/* Content Area */
.content-warp {
    background: var(--yg-card-bg);
    border-radius: var(--yg-radius);
    padding: 36px;
    box-shadow: var(--yg-shadow);
    margin-bottom: var(--yg-gap);
    word-break: break-word;
    overflow-wrap: break-word;
}

/* When content-warp is inside single-post-card, remove its own card styles */
.single-post-card .content-warp {
    background: none;
    border-radius: 0;
    box-shadow: none;
    margin-bottom: 0;
    padding: 8px 36px 36px;
}

.content-warp p {
    margin-bottom: 1.2em;
    font-size: 16px;
    line-height: 1.8;
    color: var(--yg-text);
}

/* Headings */
.content-warp h1,
.content-warp h2,
.content-warp h3,
.content-warp h4,
.content-warp h5,
.content-warp h6 {
    margin: 2em 0 .8em;
    font-weight: 600;
    line-height: 1.35;
    color: var(--yg-text);
    position: relative;
    padding-left: 16px;
    letter-spacing: -.01em;
}

.content-warp > :first-child {
    margin-top: 0;
}

.content-warp h1::before,
.content-warp h2::before,
.content-warp h3::before,
.content-warp h4::before,
.content-warp h5::before,
.content-warp h6::before {
    content: "";
    position: absolute;
    left: 0;
    top: .15em;
    bottom: .15em;
    width: 4px;
    background: var(--yg-gradient);
    border-radius: 4px;
}

.content-warp h1 { font-size: 26px; }
.content-warp h2 { font-size: 22px; }
.content-warp h3 { font-size: 19px; }
.content-warp h4 { font-size: 17px; }
.content-warp h5 { font-size: 15px; }
.content-warp h6 { font-size: 14px; }

/* Images in content */
.content-warp img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 1.6em auto;
    border-radius: var(--yg-radius-sm);
    box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
    transition: box-shadow .3s ease;
}

.content-warp img:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, .12);
}

.content-warp figure {
    margin: 1.6em 0;
    text-align: center;
}

.content-warp figcaption {
    margin-top: 8px;
    font-size: 13px;
    color: var(--yg-text-secondary);
}

/* Blockquotes */
.content-warp blockquote {
    position: relative;
    margin: 1.6em 0;
    padding: 20px 24px;
    background: rgba(102, 126, 234, .04);
    border-radius: 0 var(--yg-radius-sm) var(--yg-radius-sm) 0;
    border-left: 4px solid var(--yg-primary);
    font-style: italic;
    color: var(--yg-text-secondary);
}

.content-warp blockquote p {
    color: inherit;
}

.content-warp blockquote p:last-child {
    margin-bottom: 0;
}

.content-warp blockquote cite {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    color: var(--yg-text-secondary);
    font-style: normal;
}

/* Code */
.content-warp code {
    font-family: "JetBrains Mono", "Fira Code", "SF Mono", Monaco, "Cascadia Code", Consolas, monospace;
    font-size: .875em;
    background: rgba(102, 126, 234, .08);
    color: var(--yg-primary);
    padding: 3px 8px;
    border-radius: 4px;
    word-break: break-word;
}

.content-warp pre {
    margin: 1.6em 0;
    padding: 24px;
    background: #1e1e2e;
    color: #cdd6f4;
    border-radius: var(--yg-radius);
    overflow-x: auto;
    font-size: 14px;
    line-height: 1.7;
    position: relative;
    border: 1px solid rgba(255, 255, 255, .06);
}

.content-warp pre code {
    background: none;
    color: inherit;
    padding: 0;
    border-radius: 0;
    font-size: inherit;
}

.content-warp pre::before {
    content: "";
    position: absolute;
    top: 14px;
    left: 16px;
    width: 12px;
    height: 12px;
    background: #ff5f57;
    border-radius: 50%;
    box-shadow: 20px 0 0 #febc2e, 40px 0 0 #28c840;
}

.content-warp pre code {
    display: block;
    padding-top: 16px;
}

/* Tables */
.content-warp table {
    width: 100%;
    margin: 1.6em 0;
    border-collapse: collapse;
    border-radius: var(--yg-radius-sm);
    overflow: hidden;
    font-size: 14px;
}

.content-warp table thead {
    background: var(--yg-gradient);
    color: #fff;
}

.content-warp table th,
.content-warp table td {
    padding: 13px 18px;
    text-align: left;
    border-bottom: 1px solid var(--yg-border);
}

.content-warp table th {
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.content-warp table tbody tr:nth-child(even) {
    background: rgba(102, 126, 234, .03);
}

.content-warp table tbody tr:hover {
    background: rgba(102, 126, 234, .06);
    transition: background .2s ease;
}

/* Lists */
.content-warp ul,
.content-warp ol {
    margin: 1.2em 0;
    padding-left: 1.6em;
    line-height: 1.8;
}

.content-warp ul li {
    position: relative;
    margin-bottom: .6em;
    padding-left: 8px;
    list-style: none;
}

.content-warp ul li::before {
    content: "";
    position: absolute;
    left: -14px;
    top: .65em;
    width: 6px;
    height: 6px;
    background: var(--yg-gradient);
    border-radius: 50%;
}

.content-warp ol {
    list-style: decimal;
}

.content-warp ol li {
    margin-bottom: .6em;
    padding-left: 4px;
}

.content-warp li > ul,
.content-warp li > ol {
    margin-top: .4em;
    margin-bottom: .4em;
}

/* Links in content */
.content-warp a {
    color: var(--yg-primary);
    text-decoration: none;
    border-bottom: 1px dashed rgba(102, 126, 234, .3);
    transition: var(--yg-transition);
}

.content-warp a:hover {
    color: var(--yg-primary-end);
    border-bottom-style: solid;
    border-bottom-color: var(--yg-primary-end);
}

/* Horizontal Rule */
.content-warp hr {
    border: none;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--yg-border), transparent);
    margin: 2.5em 0;
}

/* Post Copyright */
.post-copyright {
    background: rgba(102, 126, 234, .03);
    border: 1px solid var(--yg-border);
    border-left: 4px solid var(--yg-primary);
    border-radius: 0 var(--yg-radius) var(--yg-radius) 0;
    padding: 20px 24px;
    margin-bottom: var(--yg-gap);
    font-size: 13px;
    color: var(--yg-text-secondary);
    line-height: 1.8;
    position: relative;
}

.post-copyright .copyright-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--yg-text);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.post-copyright .copyright-title i {
    color: var(--yg-primary);
    font-size: 16px;
}

.post-copyright .copyright-text {
    margin-bottom: 4px;
}

.post-copyright .copyright-text:last-child {
    margin-bottom: 0;
}

.post-copyright .copyright-text a {
    color: var(--yg-primary);
    word-break: break-all;
}

.post-copyright .copyright-text a:hover {
    text-decoration: underline;
}

.post-copyright strong {
    color: var(--yg-text);
}

/* Post Actions */
.post-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 24px 0;
    margin-bottom: var(--yg-gap);
}

.post-actions .action-btn,
.post-actions .post-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--yg-transition);
    border: 1px solid var(--yg-border);
    background: var(--yg-card-bg);
    color: var(--yg-text-secondary);
}

.post-actions .action-btn:hover,
.post-actions .post-action-btn:hover {
    color: var(--yg-primary);
    border-color: var(--yg-primary);
    box-shadow: 0 4px 16px rgba(102, 126, 234, .12);
    transform: translateY(-2px);
}

.post-actions .action-btn.liked,
.post-actions .post-action-btn.liked {
    background: var(--yg-gradient);
    color: #fff;
    border-color: transparent;
}

.post-actions .action-btn .count,
.post-actions .post-action-btn .like-count {
    font-weight: 600;
}

/* ------------------------------------------------------------
   7. Sidebar (.aside-box)
   ------------------------------------------------------------ */
.aside-box {
    background: var(--yg-card-bg);
    border: 1px solid var(--yg-border);
    border-radius: var(--yg-radius);
    padding: 20px;
    box-shadow: 0 1px 8px rgba(0, 0, 0, .06);
    transition: var(--yg-transition);
}

.aside-box:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, .1);
}

.widget-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
    padding-bottom: 12px;
    padding-left: 12px;
    position: relative;
    color: var(--yg-text);
    border-bottom: 1px solid var(--yg-border);
}

.widget-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    bottom: 14px;
    width: 4px;
    background: var(--yg-gradient);
    border-radius: 4px;
}

.widget-title::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--yg-gradient);
    border-radius: 2px;
}

/* Tag Cloud */
.tag-cloud,
.tagcloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-cloud a,
.tagcloud a {
    display: inline-block;
    padding: 4px 14px;
    font-size: 12px;
    color: var(--yg-text-secondary);
    background: var(--yg-bg);
    border: 1px solid var(--yg-border);
    border-radius: 20px;
    transition: var(--yg-transition);
    line-height: 1.5;
}

.tag-cloud a:hover,
.tagcloud a:hover {
    color: #fff;
    background: var(--yg-gradient);
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(102, 126, 234, .25);
}

.yg-tag-count {
    display: inline-block;
    font-size: 10px;
    min-width: 16px;
    height: 16px;
    line-height: 16px;
    text-align: center;
    margin-left: 4px;
    padding: 0 4px;
    border-radius: 8px;
    background: rgba(102, 126, 234, .1);
    color: var(--yg-primary);
    font-weight: 500;
    vertical-align: 1px;
}

.tag-cloud a:hover .yg-tag-count {
    background: rgba(255, 255, 255, .25);
    color: #fff;
}

/* Search Widget */
.widget-search {
    position: relative;
}

.widget-search input {
    width: 100%;
    height: 42px;
    padding: 0 42px 0 16px;
    border: 1px solid var(--yg-border);
    border-radius: 50px;
    font-size: 14px;
    transition: var(--yg-transition);
    background: var(--yg-bg);
    color: var(--yg-text);
}

.widget-search input::placeholder {
    color: var(--yg-text-secondary);
    font-size: 13px;
}

.widget-search input:focus {
    border-color: var(--yg-primary);
    background: var(--yg-card-bg);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, .1);
}

.widget-search button {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--yg-gradient);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: var(--yg-transition);
}

.widget-search button:hover {
    opacity: .85;
    transform: translateY(-50%) scale(1.05);
}

/* Sidebar Search (single post) */
.sidebar-search-box {
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.sidebar-search-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--yg-gradient);
    border-radius: var(--yg-radius) var(--yg-radius) 0 0;
}

.sidebar-search-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 15px;
    font-weight: 600;
    color: var(--yg-text);
}

.sidebar-search-header svg {
    color: var(--yg-primary);
}

.sidebar-search-form {
    display: flex;
    flex-direction: column;
}

.sidebar-search-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-search-input {
    flex: 1;
    height: 44px;
    padding: 0 16px;
    border: 2px solid var(--yg-border);
    border-radius: var(--yg-radius-sm);
    font-size: 14px;
    transition: var(--yg-transition);
    background: var(--yg-bg);
    color: var(--yg-text);
    min-width: 0;
}

.sidebar-search-input::placeholder {
    color: var(--yg-text-secondary);
    font-size: 13px;
}

.sidebar-search-input:focus {
    border-color: var(--yg-primary);
    background: var(--yg-card-bg);
    box-shadow: 0 0 0 4px rgba(102, 126, 234, .1);
}

.sidebar-search-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    height: 44px;
    padding: 0 18px;
    background: var(--yg-gradient);
    color: #fff;
    border: none;
    border-radius: var(--yg-radius-sm);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: var(--yg-transition);
    box-shadow: 0 2px 8px rgba(102, 126, 234, .3);
}

.sidebar-search-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(102, 126, 234, .4);
}

.sidebar-search-btn:active {
    transform: translateY(0);
    box-shadow: 0 1px 4px rgba(102, 126, 234, .3);
}

.sidebar-search-btn svg {
    flex-shrink: 0;
}

/* Recent Posts Widget */
.widget-recent-posts .recent-item {
    display: flex;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--yg-border);
}

.widget-recent-posts .recent-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.widget-recent-posts .recent-item:first-child {
    padding-top: 0;
}

.widget-recent-posts .recent-item-link {
    display: flex;
    gap: 12px;
    color: inherit;
    text-decoration: none;
    width: 100%;
}

.widget-recent-posts .recent-item-thumb {
    width: 60px;
    height: 60px;
    border-radius: var(--yg-radius-sm);
    overflow: hidden;
    flex-shrink: 0;
}

.widget-recent-posts .recent-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.widget-recent-posts .recent-item:hover .recent-item-thumb img {
    transform: scale(1.08);
}

.widget-recent-posts .recent-item-title {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--yg-text);
    transition: color .2s ease;
}

.widget-recent-posts .recent-item:hover .recent-item-title {
    color: var(--yg-primary);
}

.widget-recent-posts .recent-item-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 4px;
}

.widget-recent-posts .recent-item-date {
    font-size: 12px;
    color: var(--yg-text-secondary);
}

.widget-recent-posts .recent-item-views {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 12px;
    color: var(--yg-text-secondary);
}

.widget-recent-posts .recent-item-views svg {
    opacity: .6;
}

/* Calendar Widget */
.widget-calendar table {
    width: 100%;
    text-align: center;
    font-size: 13px;
}

.widget-calendar th {
    padding: 8px 0;
    font-weight: 600;
    color: var(--yg-text-secondary);
    font-size: 12px;
}

.widget-calendar td {
    padding: 6px 0;
    border-radius: 50%;
}

.widget-calendar td a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    color: var(--yg-primary);
    font-weight: 600;
}

.widget-calendar td a:hover {
    background: var(--yg-gradient);
    color: #fff;
}

.widget-calendar td.today {
    background: var(--yg-gradient);
    color: #fff;
    border-radius: 50%;
}

/* ------------------------------------------------------------
   8. Comments
   ------------------------------------------------------------ */
.comment-area {
    background: var(--yg-card-bg);
    border-radius: var(--yg-radius);
    padding: 28px;
    box-shadow: var(--yg-shadow);
    margin-bottom: var(--yg-gap);
}

.comment-area .comment-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--yg-border);
}

.comment-list {
    list-style: none;
}

.comment-item {
    display: flex;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(229, 231, 235, .5);
}

.comment-item:last-child {
    border-bottom: none;
}

.comment-item .comment-avatar {
    flex-shrink: 0;
}

.comment-item .comment-avatar img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.comment-item .comment-body {
    flex: 1;
    min-width: 0;
}

.comment-item .comment-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.comment-item .comment-author {
    font-size: 15px;
    font-weight: 600;
    color: var(--yg-text);
}

.comment-item .comment-date {
    font-size: 12px;
    color: var(--yg-text-secondary);
}

.comment-item .comment-reply-link {
    margin-left: auto;
    font-size: 12px;
    color: var(--yg-text-secondary);
    padding: 3px 12px;
    border: 1px solid var(--yg-border);
    border-radius: 20px;
    transition: var(--yg-transition);
}

.comment-item .comment-reply-link:hover {
    color: var(--yg-primary);
    border-color: var(--yg-primary);
}

.comment-item .comment-text {
    font-size: 14px;
    line-height: 1.7;
    color: var(--yg-text);
}

/* Threaded Comments */
.comment-list .children {
    margin-left: 48px;
    padding-left: 16px;
    border-left: 2px solid var(--yg-border);
}

/* Comment Form */
.comment-form {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--yg-border);
}

.comment-form .form-row {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"] {
    flex: 1;
    height: 44px;
    padding: 0 16px;
    border: 1px solid var(--yg-border);
    border-radius: var(--yg-radius-sm);
    font-size: 14px;
    transition: var(--yg-transition);
    background: var(--yg-bg);
}

.comment-form textarea {
    width: 100%;
    min-height: 120px;
    padding: 14px 16px;
    border: 1px solid var(--yg-border);
    border-radius: var(--yg-radius-sm);
    font-size: 14px;
    resize: vertical;
    transition: var(--yg-transition);
    background: var(--yg-bg);
    margin-bottom: 16px;
}

.comment-form input:focus,
.comment-form textarea:focus {
    border-color: var(--yg-primary);
    background: var(--yg-card-bg);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, .1);
}

.comment-form .submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 32px;
    background: var(--yg-gradient);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--yg-transition);
    border: none;
}

.comment-form .submit-btn:hover {
    opacity: .9;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(102, 126, 234, .3);
}

/* Comment Reply Hint */
.comment-form .reply-hint {
    font-size: 13px;
    color: var(--yg-text-secondary);
    background: rgba(102, 126, 234, .06);
    padding: 8px 14px;
    border-radius: var(--yg-radius-sm);
    margin-bottom: 12px;
}

/* Comment Pagination */
.comment-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 20px 0 0;
}

.comment-pagination a,
.comment-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    color: var(--yg-text-secondary);
    background: var(--yg-bg);
    border: 1px solid var(--yg-border);
    transition: var(--yg-transition);
}

.comment-pagination a:hover {
    color: var(--yg-primary);
    border-color: var(--yg-primary);
}

.comment-pagination span.current {
    background: var(--yg-gradient);
    color: #fff;
    border-color: transparent;
}

/* Need Login Tip */
.need-login-tip {
    font-size: 14px;
    color: var(--yg-text-secondary);
    padding: 24px 0;
    text-align: center;
}

.need-login-tip a {
    color: var(--yg-primary);
    font-weight: 600;
}

.need-login-tip a:hover {
    text-decoration: underline;
}

/* ------------------------------------------------------------
   9. Footer (.yicego-footer)
   ------------------------------------------------------------ */
.yicego-footer {
    background: linear-gradient(180deg, var(--yg-bg) 0%, #e2e6f0 100%);
    margin-top: 40px;
    position: relative;
    overflow: hidden;
}

.yicego-footer .footer-wave {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
}

.yicego-footer .footer-wave svg {
    width: 100%;
    height: 60px;
    display: block;
}

/* Footer Content Grid */
.footer-content-grid {
    border-top: 1px solid var(--yg-border);
    padding: 40px 0 20px;
}

.footer-content-inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-col-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--yg-text);
    position: relative;
    padding-bottom: 10px;
}

.footer-col-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--yg-gradient);
    border-radius: 2px;
}

.footer-post-list li,
.footer-cat-list li {
    margin-bottom: 8px;
}

.footer-post-list a,
.footer-cat-list a {
    font-size: 14px;
    color: var(--yg-text-secondary);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 0;
    transition: var(--yg-transition);
}

.footer-post-list a:hover,
.footer-cat-list a:hover {
    color: var(--yg-primary);
    padding-left: 4px;
}

.footer-cat-count {
    font-size: 12px;
    background: rgba(102, 126, 234, .08);
    color: var(--yg-primary);
    padding: 1px 8px;
    border-radius: 10px;
}

.footer-widgets {
    max-width: var(--yg-container-width);
    margin: 0 auto;
    padding: 60px var(--yg-gap) 30px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-widget .footer-widget-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--yg-text);
}

.footer-widget ul li {
    margin-bottom: 10px;
}

.footer-widget ul li a {
    font-size: 14px;
    color: var(--yg-text-secondary);
    transition: var(--yg-transition);
}

.footer-widget ul li a:hover {
    color: var(--yg-primary);
    padding-left: 4px;
}

.footer-copyright {
    border-top: 1px solid var(--yg-border);
    max-width: var(--yg-container-width);
    margin: 0 auto;
    padding: 20px var(--yg-gap);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: var(--yg-text-secondary);
}

.footer-copyright a {
    color: var(--yg-primary);
}

/* ------------------------------------------------------------
   10. Pagination
   ------------------------------------------------------------ */
.yicego-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 24px 0;
    margin-top: 8px;
}

.yicego-pagination a,
.yicego-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    color: var(--yg-text-secondary);
    background: var(--yg-card-bg);
    border: 1px solid var(--yg-border);
    transition: var(--yg-transition);
}

.yicego-pagination a:hover {
    color: var(--yg-primary);
    border-color: var(--yg-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, .12);
}

.yicego-pagination .current,
.yicego-pagination span.current {
    background: var(--yg-gradient);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 16px rgba(102, 126, 234, .3);
    font-weight: 600;
}

.yicego-pagination .prev,
.yicego-pagination .next {
    font-weight: 600;
    padding: 0 18px;
}

.yicego-pagination .dots {
    background: none;
    border: none;
    box-shadow: none;
    color: var(--yg-text-secondary);
    min-width: auto;
    padding: 0 4px;
}

/* ------------------------------------------------------------
   11. 404 Page
   ------------------------------------------------------------ */
.page-404 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    text-align: center;
    padding: 40px var(--yg-gap);
}

.page-404 .error-code {
    font-size: 120px;
    font-weight: 900;
    background: var(--yg-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 16px;
}

.page-404 .error-message {
    font-size: 20px;
    color: var(--yg-text-secondary);
    margin-bottom: 32px;
}

.page-404 .error-illustration {
    max-width: 400px;
    margin-bottom: 32px;
}

.page-404 .back-home {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 32px;
    background: var(--yg-gradient);
    color: #fff;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--yg-transition);
}

.page-404 .back-home:hover {
    opacity: .9;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(102, 126, 234, .3);
}

/* ------------------------------------------------------------
   12. Search Page
   ------------------------------------------------------------ */
.search-page-header {
    text-align: center;
    padding: 40px 0 30px;
}

.search-page-header h1 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

.search-page-header .search-keyword {
    background: var(--yg-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.search-page-form {
    max-width: 560px;
    margin: 0 auto 32px;
    display: flex;
    gap: 12px;
}

.search-page-form input {
    flex: 1;
    height: 48px;
    padding: 0 20px;
    border: 2px solid var(--yg-border);
    border-radius: 50px;
    font-size: 16px;
    transition: var(--yg-transition);
    background: var(--yg-card-bg);
}

.search-page-form input:focus {
    border-color: var(--yg-primary);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, .1);
}

.search-page-form button {
    height: 48px;
    padding: 0 28px;
    background: var(--yg-gradient);
    color: #fff;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--yg-transition);
    white-space: nowrap;
}

.search-page-form button:hover {
    opacity: .9;
    transform: translateY(-1px);
}

.search-results-count {
    font-size: 14px;
    color: var(--yg-text-secondary);
    margin-bottom: 20px;
}

/* ------------------------------------------------------------
   13. Author Page
   ------------------------------------------------------------ */
.author-header {
    background: var(--yg-card-bg);
    border-radius: var(--yg-radius);
    padding: 32px;
    box-shadow: var(--yg-shadow);
    margin-bottom: var(--yg-gap);
    display: flex;
    align-items: center;
    gap: 24px;
}

.author-header .author-avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid transparent;
    background: var(--yg-gradient);
    padding: 3px;
    flex-shrink: 0;
}

.author-header .author-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.author-header .author-info .author-name {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 6px;
}

.author-header .author-info .author-bio {
    font-size: 14px;
    color: var(--yg-text-secondary);
    margin-bottom: 12px;
    line-height: 1.6;
}

.author-header .author-stats {
    display: flex;
    gap: 24px;
}

.author-header .author-stats .stat-item {
    text-align: center;
}

.author-header .author-stats .stat-num {
    font-size: 20px;
    font-weight: 700;
    color: var(--yg-primary);
}

.author-header .author-stats .stat-label {
    font-size: 12px;
    color: var(--yg-text-secondary);
}

/* ------------------------------------------------------------
   14. Shortcode Styles
   ------------------------------------------------------------ */

/* Gradient Button */
.yicego-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: var(--yg-gradient);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--yg-transition);
    border: none;
    text-decoration: none;
}

.yicego-btn:hover {
    opacity: .9;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(102, 126, 234, .3);
    color: #fff;
}

.yicego-btn.btn-outline {
    background: transparent;
    color: var(--yg-primary);
    border: 2px solid var(--yg-primary);
}

.yicego-btn.btn-outline:hover {
    background: var(--yg-gradient);
    color: #fff;
    border-color: transparent;
}

.yicego-btn.btn-sm {
    padding: 6px 16px;
    font-size: 13px;
}

.yicego-btn.btn-lg {
    padding: 14px 36px;
    font-size: 16px;
}

/* Notice Boxes */
.yicego-notice {
    padding: 16px 20px;
    border-radius: var(--yg-radius-sm);
    margin: 1em 0;
    font-size: 14px;
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.yicego-notice::before {
    flex-shrink: 0;
    font-size: 18px;
    line-height: 1;
    margin-top: 2px;
}

.yicego-notice.info {
    background: rgba(102, 126, 234, .08);
    border-left: 4px solid var(--yg-primary);
    color: #4a5fc1;
}

.yicego-notice.info::before {
    content: "\2139";
}

.yicego-notice.success {
    background: rgba(16, 185, 129, .08);
    border-left: 4px solid #10b981;
    color: #047857;
}

.yicego-notice.success::before {
    content: "\2713";
}

.yicego-notice.warning {
    background: rgba(245, 158, 11, .08);
    border-left: 4px solid #f59e0b;
    color: #b45309;
}

.yicego-notice.warning::before {
    content: "\26A0";
}

.yicego-notice.danger {
    background: rgba(239, 68, 68, .08);
    border-left: 4px solid #ef4444;
    color: #b91c1c;
}

.yicego-notice.danger::before {
    content: "\2717";
}

/* Collapse / Accordion */
.yicego-collapse {
    border: 1px solid var(--yg-border);
    border-radius: var(--yg-radius-sm);
    margin: 1em 0;
    overflow: hidden;
}

.yicego-collapse .collapse-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    background: var(--yg-bg);
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    transition: var(--yg-transition);
    user-select: none;
}

.yicego-collapse .collapse-header:hover {
    background: rgba(102, 126, 234, .06);
}

.yicego-collapse .collapse-icon {
    transition: transform .3s ease;
    font-size: 12px;
}

.yicego-collapse.active .collapse-icon {
    transform: rotate(180deg);
}

.yicego-collapse .collapse-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s cubic-bezier(.4, 0, .2, 1);
}

.yicego-collapse.active .collapse-body {
    max-height: 1000px;
}

.yicego-collapse .collapse-content {
    padding: 16px 18px;
    font-size: 14px;
    line-height: 1.7;
}

/* Text Highlight */
.yicego-highlight {
    background: linear-gradient(120deg, rgba(102, 126, 234, .15) 0%, rgba(118, 75, 162, .15) 100%);
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 500;
}

/* Progress Bar */
.yicego-progress {
    margin: 1em 0;
}

.yicego-progress .progress-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 600;
}

.yicego-progress .progress-bar {
    height: 8px;
    background: var(--yg-bg);
    border-radius: 8px;
    overflow: hidden;
}

.yicego-progress .progress-fill {
    height: 100%;
    background: var(--yg-gradient);
    border-radius: 8px;
    transition: width 1s cubic-bezier(.4, 0, .2, 1);
    position: relative;
}

.yicego-progress .progress-fill::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, .3) 50%, transparent 100%);
    animation: progressShine 2s infinite;
}

@keyframes progressShine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Download Card */
.yicego-download {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--yg-card-bg);
    border: 1px solid var(--yg-border);
    border-radius: var(--yg-radius);
    margin: 1em 0;
    transition: var(--yg-transition);
}

.yicego-download:hover {
    box-shadow: var(--yg-shadow-hover);
    transform: translateY(-2px);
}

.yicego-download .download-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--yg-gradient);
    color: #fff;
    border-radius: var(--yg-radius-sm);
    font-size: 22px;
    flex-shrink: 0;
}

.yicego-download .download-info {
    flex: 1;
    min-width: 0;
}

.yicego-download .download-name {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 2px;
}

.yicego-download .download-desc {
    font-size: 13px;
    color: var(--yg-text-secondary);
}

.yicego-download .download-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    background: var(--yg-gradient);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    border-radius: 50px;
    white-space: nowrap;
    transition: var(--yg-transition);
}

.yicego-download .download-btn:hover {
    opacity: .9;
    color: #fff;
}

/* Password-Protected Content */
.yicego-pwdshow {
    position: relative;
    padding: 40px 20px;
    text-align: center;
    background: var(--yg-bg);
    border-radius: var(--yg-radius);
    border: 2px dashed var(--yg-border);
    margin: 1em 0;
}

.yicego-pwdshow .pwd-mask {
    position: absolute;
    inset: 0;
    background: rgba(240, 242, 245, .9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: var(--yg-radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.yicego-pwdshow .pwd-icon {
    font-size: 36px;
    color: var(--yg-text-secondary);
}

.yicego-pwdshow .pwd-text {
    font-size: 14px;
    color: var(--yg-text-secondary);
    margin-bottom: 8px;
}

.yicego-pwdshow .pwd-input {
    display: flex;
    gap: 8px;
}

.yicego-pwdshow .pwd-input input {
    height: 40px;
    padding: 0 16px;
    border: 1px solid var(--yg-border);
    border-radius: 50px;
    font-size: 14px;
    background: var(--yg-card-bg);
    width: 200px;
}

.yicego-pwdshow .pwd-input button {
    height: 40px;
    padding: 0 20px;
    background: var(--yg-gradient);
    color: #fff;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--yg-transition);
}

.yicego-pwdshow .pwd-input button:hover {
    opacity: .9;
}

/* ------------------------------------------------------------
   15. Utility Classes
   ------------------------------------------------------------ */

/* Gradient Text */
.text-gradient {
    background: var(--yg-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glassmorphism */
.glass {
    background: rgba(255, 255, 255, .6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, .4);
}

/* Text Utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.font-bold { font-weight: 700; }
.font-medium { font-weight: 500; }

.text-sm { font-size: 13px; }
.text-lg { font-size: 18px; }

.text-muted { color: var(--yg-text-secondary); }

/* Spacing */
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }

/* Display */
.d-flex { display: flex; }
.d-none { display: none; }
.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.animate-fadeIn {
    animation: fadeIn .5s ease both;
}

.animate-slideUp {
    animation: slideUp .5s ease both;
}

.animate-pulse {
    animation: pulse 2s ease infinite;
}

/* Staggered entrance */
.stagger-item:nth-child(1) { animation-delay: .05s; }
.stagger-item:nth-child(2) { animation-delay: .1s; }
.stagger-item:nth-child(3) { animation-delay: .15s; }
.stagger-item:nth-child(4) { animation-delay: .2s; }
.stagger-item:nth-child(5) { animation-delay: .25s; }
.stagger-item:nth-child(6) { animation-delay: .3s; }

/* ------------------------------------------------------------
   16. Responsive Design
   ------------------------------------------------------------ */

/* Tablet: <= 992px */
@media (max-width: 992px) {
    :root {
        --yg-gap: 16px;
    }

    .container {
        flex-direction: column;
    }

    aside,
    .sidebar {
        width: 100%;
        position: static;
        max-height: none;
        flex-direction: row;
        flex-wrap: wrap;
    }

    aside .aside-box,
    .sidebar .aside-box {
        flex: 1;
        min-width: 280px;
    }

    .header-nav {
        display: none;
    }

    /* Mobile header layout: [hamburger] ... [logo centered] ... [right area] */
    .header-inner {
        justify-content: center;
        position: relative;
    }

    .header-hamburger {
        display: flex;
        position: absolute;
        left: 12px;
        top: 50%;
        transform: translateY(-50%);
    }

    .header-logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    .header-right {
        position: absolute;
        right: 12px;
        top: 50%;
        transform: translateY(-50%);
    }

    .header-search {
        display: none;
    }

    .header-search .search-input {
        width: 100%;
        min-width: 0;
    }

    .header-search .search-input:focus {
        width: 100%;
    }

    .post-list.post-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .yicego-swiper .swiper-slide {
        height: 300px;
    }

    .yicego-swiper .swiper-slide-title {
        font-size: 22px;
    }

    .yicego-swiper .swiper-slide-content {
        padding: 30px 32px;
    }

    .footer-content-inner {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .footer-widgets {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .author-header {
        flex-direction: column;
        text-align: center;
    }

    .author-header .author-stats {
        justify-content: center;
    }

    /* Card list: 3 columns on tablet */
    .yicego-card-list-area {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Related articles: 2 columns on tablet */
    .yicego-related-articles-list {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Section header: allow tab nav horizontal scroll */
    .section-header {
        gap: 12px;
    }

    .tab-nav {
        max-width: 100%;
        overflow-x: auto;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .tab-nav::-webkit-scrollbar {
        display: none;
    }

    /* Author header - tablet */
    .yicego-author-header {
        flex-direction: column;
        text-align: center;
    }

    .yicego-author-stats {
        justify-content: center;
    }

    /* Archive header - tablet */
    .yicego-archive-header {
        padding: 28px 24px;
    }

    .yicego-archive-title {
        font-size: 22px;
    }

    /* Search header - tablet */
    .yicego-search-title {
        font-size: 22px;
    }

    /* Content table horizontal scroll */
    .content-warp table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* Single post header */
    .single-post .post-header {
        padding: 24px;
    }

    .single-post .post-header .post-title {
        font-size: 24px;
    }

    /* Full page article */
    .full-page-article {
        padding: 30px;
    }

    /* User center */
    .user-center-warp {
        max-width: 100%;
    }

    /* Download card: allow wrapping */
    .yicego-download {
        flex-wrap: wrap;
    }

    /* Breadcrumb: allow wrapping */
    .single-post .breadcrumb {
        flex-wrap: wrap;
    }

    /* Category Columns: stack to single column */
    .cat-columns-inner {
        grid-template-columns: 1fr;
    }

    /* Prevent horizontal overflow */
    #yicego-app {
        overflow-x: hidden;
    }
}

/* Mobile: <= 768px */
@media (max-width: 768px) {
    :root {
        --yg-gap: 12px;
        --yg-header-height: 56px;
    }

    /* Prevent horizontal overflow on mobile */
    html, body {
        overflow-x: hidden;
        max-width: 100vw;
    }

    body {
        font-size: 15px;
    }

    .body-warp,
    .container,
    .main-warp {
        max-width: 100%;
        overflow-x: hidden;
    }

    /* ---- Header ---- */
    .header-inner {
        padding: 0 12px;
        gap: 12px;
    }

    .header-logo {
        font-size: 18px;
        max-width: 140px;
        overflow: hidden;
    }

    .header-logo img {
        height: 30px;
    }

    .header-search {
        display: none;
    }

    /* Hamburger: 44px touch target */
    .header-hamburger {
        min-width: 44px;
        min-height: 44px;
        justify-content: center;
        align-items: center;
    }

    /* Dark toggle: 44px touch target */
    .dark-toggle {
        width: 40px;
        height: 40px;
    }

    /* ---- Post Cards ---- */
    .post-list.post-grid {
        grid-template-columns: 1fr;
    }

    .post-item {
        flex-direction: column;
        padding: 0;
        overflow: hidden;
        width: 100%;
        box-sizing: border-box;
    }

    .post-item .post-thumbnail {
        width: 100%;
        height: 180px;
        border-radius: var(--yg-radius) var(--yg-radius) 0 0;
        flex-shrink: 0;
    }

    .post-item .post-content {
        padding: 16px;
    }

    .post-item .post-title {
        font-size: 16px;
    }

    .post-item .post-excerpt {
        -webkit-line-clamp: 2;
        font-size: 13px;
    }

    .post-item .post-meta {
        gap: 4px 8px;
    }

    /* Archive/Search post list (.yicego-post-list) */
    .yicego-post-list {
        display: flex;
        flex-direction: column;
        gap: var(--yg-gap);
    }

    /* ---- Hero Swiper ---- */
    .yicego-swiper .swiper-slide {
        height: 240px;
    }

    .yicego-swiper .swiper-slide-title {
        font-size: 18px;
    }

    .yicego-swiper .swiper-slide-content {
        padding: 20px 24px;
    }

    .yicego-swiper .swiper-button-next,
    .yicego-swiper .swiper-button-prev {
        display: none;
    }

    /* ---- Section Header & Tab Nav ---- */
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .section-title {
        font-size: 18px;
    }

    .tab-nav {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        flex-wrap: nowrap;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .tab-nav::-webkit-scrollbar {
        display: none;
    }

    .tab-nav .tab-btn {
        padding: 6px 14px;
        font-size: 12px;
    }

    /* ---- Card List ---- */
    .yicego-card-list-area {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* ---- Single Post ---- */
    .single-post .breadcrumb {
        font-size: 13px;
        margin-bottom: 8px;
        padding: 0 2px;
        gap: 5px;
    }

    .single-post .breadcrumb .breadcrumb-icon {
        width: 13px;
        height: 13px;
    }

    .single-post .breadcrumb .breadcrumb-item.current {
        max-width: 160px;
    }

    .single-post .post-header {
        padding: 20px 20px 16px;
    }

    .single-post .post-header .post-title {
        font-size: 22px;
    }

    .single-post .post-header .post-meta {
        gap: 6px 10px;
    }

    .content-warp {
        padding: 20px;
    }

    .single-post-card .content-warp {
        padding: 4px 20px 20px;
    }

    .content-warp p {
        font-size: 15px;
    }

    .content-warp h1 { font-size: 22px; }
    .content-warp h2 { font-size: 19px; }
    .content-warp h3 { font-size: 17px; }

    .content-warp img {
        margin: 1.2em auto;
    }

    .content-warp pre {
        padding: 16px;
        font-size: 13px;
        border-radius: var(--yg-radius-sm);
        max-width: 100%;
    }

    /* Code copy button: always visible on touch devices */
    .copy-code-btn {
        opacity: 1;
    }

    /* Content tables: horizontal scroll */
    .content-warp table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .content-warp blockquote {
        padding: 14px 16px;
        margin: 1.2em 0;
    }

    /* ---- Post Actions ---- */
    .post-actions {
        flex-wrap: wrap;
        gap: 10px;
        padding: 20px 0;
    }

    .post-actions .action-btn,
    .post-actions .post-action-btn {
        padding: 10px 18px;
        font-size: 13px;
        min-height: 44px;
    }

    /* ---- Post Tags ---- */
    .post-tags {
        padding: 16px 0;
        margin: 16px 0;
    }

    /* ---- Post Copyright ---- */
    .post-copyright {
        padding: 16px 18px;
        font-size: 12px;
    }

    /* ---- Related Articles ---- */
    .yicego-related-articles {
        padding: 20px;
    }

    .yicego-related-articles-title {
        font-size: 16px;
    }

    .yicego-related-articles-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .related-item .related-thumb {
        height: 100px;
    }

    .related-item .related-info {
        padding: 10px;
    }

    .related-item .related-title {
        font-size: 13px;
    }

    /* ---- Comments ---- */
    .comment-area {
        padding: 20px;
    }

    .comment-area .comment-title {
        font-size: 16px;
        margin-bottom: 16px;
    }

    .comment-form .form-row {
        flex-direction: column;
    }

    .comment-form input[type="text"],
    .comment-form input[type="email"],
    .comment-form input[type="url"] {
        height: 44px;
    }

    .comment-form textarea {
        min-height: 100px;
    }

    .comment-form .submit-btn {
        width: 100%;
        justify-content: center;
        min-height: 44px;
    }

    .comment-item .comment-header {
        flex-wrap: wrap;
        gap: 6px;
    }

    .comment-item .comment-reply-link {
        margin-left: 0;
        min-height: 32px;
        display: inline-flex;
        align-items: center;
    }

    .comment-list .children {
        margin-left: 20px;
        padding-left: 12px;
    }

    /* ---- Sidebar ---- */
    aside .aside-box,
    .sidebar .aside-box {
        min-width: 100%;
    }

    /* ---- Footer ---- */
    .footer-content-inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-widgets {
        grid-template-columns: 1fr;
        gap: 24px;
        padding-top: 40px;
    }

    .footer-copyright {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .footer-info-inner {
        flex-direction: column;
        gap: 4px;
    }

    .footer-divider {
        display: none;
    }

    .footer-legal {
        flex-direction: column;
        gap: 8px;
    }

    .footer-legal a::before {
        display: none;
    }

    .footer-disclaimer {
        padding: 0 16px;
        font-size: 11px;
    }

    /* Footer wave responsive */
    .footer-wave svg,
    .yicego-footer .footer-wave svg {
        height: 40px;
    }

    /* Footer bottom padding for phone-nav */
    .site-footer,
    .yicego-footer {
        padding-bottom: 56px;
    }

    /* ---- 404 Page ---- */
    .page-404 .error-code {
        font-size: 80px;
    }

    .yicego-404-container {
        padding: 24px var(--yg-gap);
    }

    .yicego-404-illustration svg {
        width: 180px;
        height: auto;
    }

    .yicego-404-title {
        font-size: 26px;
    }

    .yicego-404-message {
        font-size: 14px;
    }

    .yicego-404-search .yicego-search-form {
        flex-direction: column;
    }

    .yicego-404-search .yicego-search-btn {
        width: 100%;
    }

    .yicego-404-action {
        flex-direction: column;
        gap: 10px;
    }

    .yicego-404-action .yicego-btn {
        width: 100%;
    }

    /* ---- Search Page ---- */
    .search-page-form {
        flex-direction: column;
    }

    .search-page-form button {
        width: 100%;
    }

    .search-page-header h1 {
        font-size: 20px;
    }

    .yicego-search-header {
        padding: 24px 0 16px;
    }

    .yicego-search-title {
        font-size: 20px;
    }

    .yicego-search-form {
        flex-direction: column;
    }

    .yicego-search-btn {
        width: 100%;
    }

    .yicego-search-input {
        height: 46px;
        font-size: 15px;
    }

    /* ---- Archive Page ---- */
    .yicego-archive-header {
        padding: 24px 20px;
    }

    .yicego-archive-title {
        font-size: 20px;
    }

    .yicego-archive-description {
        font-size: 13px;
    }

    /* Archive Timeline */
    .archive-page-header {
        padding: 24px 16px;
    }

    .archive-page-title {
        font-size: 1.4rem;
    }

    .archive-page-stats {
        gap: 20px;
    }

    .archive-timeline {
        padding-left: 24px;
    }

    .timeline-year-title {
        font-size: 1.1rem;
    }

    .timeline-year-dot {
        left: -24px;
        width: 12px;
        height: 12px;
    }

    .timeline-month-dot {
        left: -34px;
        width: 6px;
        height: 6px;
    }

    .timeline-post-dot {
        left: -38px;
    }

    .timeline-post-link {
        font-size: 0.85rem;
    }

    /* ---- Author Page ---- */
    .yicego-author-header {
        flex-direction: column;
        text-align: center;
        padding: 24px 20px;
    }

    .yicego-author-avatar-img {
        width: 72px;
        height: 72px;
    }

    .yicego-author-name {
        font-size: 18px;
    }

    .yicego-author-stats {
        justify-content: center;
    }

    /* ---- Pagination ---- */
    .yicego-pagination {
        flex-wrap: wrap;
        gap: 6px;
    }

    .yicego-pagination a,
    .yicego-pagination span {
        min-width: 40px;
        height: 40px;
        font-size: 13px;
        padding: 0 10px;
    }

    .yicego-pagination .prev,
    .yicego-pagination .next {
        padding: 0 14px;
    }

    /* ---- Download Card ---- */
    .yicego-download {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .yicego-download .download-btn {
        width: 100%;
        justify-content: center;
    }

    /* ---- Share Dialog ---- */
    .share-dialog {
        min-width: auto;
        margin: 0 16px;
        padding: 24px 20px;
    }

    .share-dialog-links {
        flex-wrap: wrap;
        gap: 12px;
    }

    .share-icon {
        width: 44px;
        height: 44px;
    }

    /* ---- Toast Notifications ---- */
    .yicego-toast {
        max-width: calc(100vw - 32px);
        white-space: normal;
        text-align: center;
        padding: 10px 20px;
        font-size: 13px;
    }

    /* ---- Go-Top Button ---- */
    .go-top-btn {
        bottom: 70px;
        right: 16px;
    }

    .back-to-top {
        bottom: 70px;
        right: 16px;
    }

    /* ---- Mobile Bottom Nav ---- */
    .mobile-bottom-nav {
        display: block;
    }

    .phone-nav {
        display: block;
    }

    /* ---- Login Modal ---- */
    .user-modal {
        padding: 24px;
        width: 360px;
    }

    .yicego-modal {
        width: 360px;
    }

    /* ---- Lightbox ---- */
    .yicego-lightbox .lightbox-inner {
        max-width: 95vw;
    }

    .yicego-lightbox .lightbox-close {
        top: -12px;
        right: -8px;
        width: 36px;
        height: 36px;
    }

    /* ---- User Center ---- */
    .user-center-profile,
    .user-center-edit,
    .user-center-links,
    .user-center-guest {
        padding: 20px;
    }

    .user-center-avatar-section {
        flex-direction: column;
        text-align: center;
    }

    .user-center-stats {
        justify-content: center;
        flex-wrap: wrap;
    }

    .user-center-guest {
        padding: 40px 20px;
    }

    .user-center-guest-actions {
        flex-direction: column;
    }

    .user-center-guest-actions .yicego-btn {
        width: 100%;
    }

    /* ---- Full Page ---- */
    .full-page-article {
        padding: 20px;
    }

    .full-page-title {
        font-size: 1.4rem;
    }

    .full-page-meta {
        flex-wrap: wrap;
        gap: 8px;
        font-size: 0.8rem;
    }

    /* ---- Site Notice ---- */
    .yicego-site-notice {
        padding: 10px 36px 10px 12px;
        font-size: 13px;
    }

    /* ---- Password Protected ---- */
    .yicego-pwdshow .pwd-input {
        flex-direction: column;
        align-items: center;
    }

    .yicego-pwdshow .pwd-input input {
        width: 100%;
        max-width: 240px;
    }

    .yicego-pwdshow .pwd-input button {
        width: 100%;
        max-width: 240px;
    }

    /* ---- Shortcode Notice ---- */
    .yicego-notice {
        padding: 12px 16px;
        font-size: 13px;
    }

    /* ---- Collapse ---- */
    .yicego-collapse .collapse-header {
        padding: 12px 14px;
        font-size: 14px;
    }

    .yicego-collapse .collapse-content {
        padding: 12px 14px;
        font-size: 13px;
    }

    /* ---- Customer Service Float ---- */
    .yicego-cs-float {
        bottom: 130px;
        right: 16px;
    }

    .yicego-cs-btn {
        width: 44px;
        height: 44px;
    }

    .yicego-cs-qr-popup {
        right: auto;
        left: 50%;
        bottom: calc(100% + 10px);
        top: auto;
        transform: translateX(-50%);
    }
}

/* Small Mobile: <= 480px */
@media (max-width: 480px) {
    :root {
        --yg-gap: 10px;
    }

    .container {
        padding: 12px;
    }

    .post-item .post-thumbnail {
        height: 150px;
    }

    .post-item .post-content {
        padding: 12px;
    }

    .post-item .post-title {
        font-size: 15px;
    }

    .post-item .post-meta span,
    .post-item .post-meta a {
        font-size: 11px;
        padding: 2px 8px;
    }

    .single-post .post-header .post-title {
        font-size: 20px;
    }

    .content-warp {
        padding: 16px;
    }

    .content-warp table {
        font-size: 12px;
    }

    .content-warp table th,
    .content-warp table td {
        padding: 8px 10px;
    }

    .comment-item {
        gap: 10px;
    }

    .comment-item .comment-avatar img {
        width: 36px;
        height: 36px;
    }

    .comment-list .children {
        margin-left: 12px;
        padding-left: 8px;
    }

    .page-404 .error-code {
        font-size: 64px;
    }

    .page-404 .error-message {
        font-size: 16px;
    }

    .author-header {
        padding: 20px;
    }

    .author-header .author-avatar {
        width: 72px;
        height: 72px;
    }

    .author-header .author-info .author-name {
        font-size: 18px;
    }

    /* Card list: keep 2 columns on very small screens */
    .yicego-card-list-area {
        grid-template-columns: 1fr 1fr !important;
    }

    /* Related articles: single column on very small screens */
    .yicego-related-articles-list {
        grid-template-columns: 1fr;
    }

    /* 404 page */
    .yicego-404-title {
        font-size: 22px;
    }

    .yicego-404-illustration svg {
        width: 140px;
    }

    /* Post actions: buttons flex and center */
    .post-actions .action-btn {
        flex: 1;
        min-width: 100px;
        justify-content: center;
    }

    /* Search form */
    .yicego-search-input {
        height: 44px;
        padding: 0 16px;
        font-size: 14px;
    }

    .yicego-search-btn {
        height: 44px;
        padding: 0 20px;
        font-size: 14px;
    }

    /* Share dialog */
    .share-dialog {
        margin: 0 10px;
        padding: 20px 16px;
    }

    /* Stat cards */
    .site-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .stat-card {
        padding: 10px 6px;
    }

    .stat-value {
        font-size: 18px;
    }

    /* User modal */
    .user-modal {
        padding: 20px 16px;
        width: 320px;
    }

    .yicego-modal {
        width: 320px;
    }

    /* Timeline */
    .archive-timeline {
        padding-left: 20px;
    }

    .timeline-year-dot {
        left: -20px;
        width: 10px;
        height: 10px;
    }

    .timeline-month-dot {
        left: -30px;
    }

    .timeline-post-dot {
        left: -34px;
    }

    /* Category Columns: compact on mobile */
    .cat-column-thumb {
        width: 64px;
        height: 64px;
    }

    .cat-column-item-title {
        font-size: 14px;
    }

    .cat-column-item {
        padding: 10px 16px;
        gap: 12px;
    }
}

/* ------------------------------------------------------------
   17. Custom Scrollbar
   ------------------------------------------------------------ */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--yg-text-secondary);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--yg-primary);
}

/* Firefox scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--yg-text-secondary) transparent;
}

/* ------------------------------------------------------------
   18. Loading Animation
   ------------------------------------------------------------ */
.yicego-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.yicego-loading .spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--yg-border);
    border-top-color: var(--yg-primary);
    border-radius: 50%;
    animation: spin .8s linear infinite;
}

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

/* Skeleton Loading */
.skeleton {
    background: linear-gradient(90deg, var(--yg-bg) 25%, rgba(255, 255, 255, .5) 50%, var(--yg-bg) 75%);
    background-size: 200% 100%;
    animation: skeletonShimmer 1.5s infinite;
    border-radius: var(--yg-radius-sm);
}

.skeleton-text {
    height: 14px;
    margin-bottom: 10px;
    width: 100%;
}

.skeleton-text.short {
    width: 60%;
}

.skeleton-title {
    height: 20px;
    width: 80%;
    margin-bottom: 14px;
}

.skeleton-thumb {
    width: 100%;
    height: 160px;
    border-radius: var(--yg-radius-sm);
}

.skeleton-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

@keyframes skeletonShimmer {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Page transition */
.page-transition {
    animation: fadeIn .4s ease both;
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--yg-gradient);
    color: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(102, 126, 234, .3);
    cursor: pointer;
    transition: var(--yg-transition);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    z-index: 999;
    font-size: 18px;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 24px rgba(102, 126, 234, .4);
}

/* ------------------------------------------------------------
   19. Hero Swiper Area
   ------------------------------------------------------------ */
.hero-swiper-section {
    max-width: var(--yg-container-width);
    margin: 0 auto var(--yg-gap);
    padding: 0 var(--yg-gap);
}

.hero-swiper-inner {
    border-radius: var(--yg-radius-lg);
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0, 0, 0, .15);
}

.yicego-swiper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.yicego-swiper .swiper-slide {
    position: relative;
    overflow: hidden;
    height: 380px;
}

.yicego-swiper .swiper-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 8s ease;
}

.yicego-swiper .swiper-slide-active .swiper-slide-bg {
    transform: scale(1.05);
}

.yicego-swiper .swiper-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 10, 30, .7) 0%, rgba(10, 10, 30, .3) 100%);
    z-index: 1;
}

.yicego-swiper .swiper-slide-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    padding: 40px 48px;
    color: #fff;
}

.yicego-swiper .swiper-slide-title {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 16px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .3);
    max-width: 600px;
}

.yicego-swiper .swiper-slide-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: rgba(255, 255, 255, .15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 50px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    transition: var(--yg-transition);
    width: fit-content;
}

.yicego-swiper .swiper-slide-btn:hover {
    background: var(--yg-primary);
    border-color: var(--yg-primary);
    color: #fff;
    transform: translateX(4px);
}

.yicego-swiper .swiper-pagination-bullet {
    background: rgba(255, 255, 255, .5);
    width: 10px;
    height: 10px;
    opacity: 1;
}

.yicego-swiper .swiper-pagination-bullet-active {
    background: var(--yg-primary);
    width: 28px;
    border-radius: 5px;
}

.yicego-swiper .swiper-button-next,
.yicego-swiper .swiper-button-prev {
    color: #fff;
    background: rgba(255, 255, 255, .1);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .2);
    transition: var(--yg-transition);
}

.yicego-swiper .swiper-button-next:hover,
.yicego-swiper .swiper-button-prev:hover {
    background: var(--yg-primary);
    border-color: var(--yg-primary);
}

.yicego-swiper .swiper-button-next::after,
.yicego-swiper .swiper-button-prev::after {
    font-size: 16px;
}

/* Home Card Section */
.home-card-section {
    max-width: var(--yg-container-width);
    margin: 0 auto var(--yg-gap);
    padding: 0 var(--yg-gap);
}

/* ------------------------------------------------------------
   20. Card List Area
   ------------------------------------------------------------ */
.yicego-card-list-area {
    margin-bottom: var(--yg-gap);
}

.yicego-card-list-area .card-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 14px;
    background: var(--yg-card-bg);
    border-radius: var(--yg-radius);
    box-shadow: var(--yg-shadow);
    transition: var(--yg-transition);
    text-decoration: none;
    gap: 8px;
}

.yicego-card-list-area .card-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--yg-shadow-hover);
}

.yicego-card-list-area .card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(102,126,234,.1), rgba(118,75,162,.1));
    border-radius: var(--yg-radius-sm);
    font-size: 24px;
    color: var(--yg-primary);
}

.yicego-card-list-area .card-icon img {
    width: 32px;
    height: 32px;
    border-radius: 6px;
}

.yicego-card-list-area .card-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--yg-text);
}

.yicego-card-list-area .card-desc {
    font-size: 12px;
    color: var(--yg-text-secondary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Card list grid */
.yicego-card-list-area {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--yg-gap);
}

/* ------------------------------------------------------------
   21. Section Header & Tab Navigation
   ------------------------------------------------------------ */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: var(--yg-gap);
    flex-wrap: wrap;
}

.section-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--yg-text);
    position: relative;
    padding-left: 16px;
    flex-shrink: 0;
    letter-spacing: -.01em;
}

.section-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 22px;
    background: var(--yg-gradient);
    border-radius: 4px;
    box-shadow: 0 0 8px rgba(102, 126, 234, .3);
}

.tab-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px;
    background: var(--yg-bg);
    border: 1px solid var(--yg-border);
    border-radius: 50px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.tab-nav .tab-btn {
    padding: 7px 18px;
    font-size: 13px;
    font-weight: 500;
    color: var(--yg-text-secondary);
    border-radius: 50px;
    cursor: pointer;
    transition: var(--yg-transition);
    white-space: nowrap;
    border: none;
    background: none;
    line-height: 1.4;
}

.tab-nav .tab-btn:hover {
    color: var(--yg-primary);
    background: rgba(102, 126, 234, .06);
}

.tab-nav .tab-btn.active {
    color: #fff;
    background: var(--yg-gradient);
    box-shadow: 0 2px 8px rgba(102, 126, 234, .25);
}

/* ------------------------------------------------------------
   22. Toast Notifications
   ------------------------------------------------------------ */
.yicego-toast {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    padding: 12px 28px;
    background: var(--yg-card-bg);
    color: var(--yg-text);
    border-radius: 50px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, .15);
    font-size: 14px;
    font-weight: 500;
    z-index: 10000;
    opacity: 0;
    transition: all .3s cubic-bezier(.4, 0, .2, 1);
    pointer-events: none;
    white-space: nowrap;
}

.yicego-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.yicego-toast-success {
    border-left: 4px solid #10b981;
}

.yicego-toast-error {
    border-left: 4px solid #ef4444;
}

.yicego-toast-warning {
    border-left: 4px solid #f59e0b;
}

.yicego-toast-info {
    border-left: 4px solid var(--yg-primary);
}

/* ------------------------------------------------------------
   23. Lightbox
   ------------------------------------------------------------ */
.yicego-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .85);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .3s ease;
    cursor: zoom-out;
}

.yicego-lightbox.show {
    opacity: 1;
}

.yicego-lightbox .lightbox-inner {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}

.yicego-lightbox .lightbox-inner img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: var(--yg-radius);
    box-shadow: 0 8px 40px rgba(0, 0, 0, .4);
}

.yicego-lightbox .lightbox-close {
    position: absolute;
    top: -16px;
    right: -16px;
    width: 40px;
    height: 40px;
    background: #fff;
    color: var(--yg-text);
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
    transition: var(--yg-transition);
}

.yicego-lightbox .lightbox-close:hover {
    background: #ef4444;
    color: #fff;
}

/* ------------------------------------------------------------
   24. Table of Contents / Directory
   ------------------------------------------------------------ */
.post-directory {
    background: var(--yg-card-bg);
    border-radius: var(--yg-radius);
    padding: 20px;
    box-shadow: var(--yg-shadow);
}

.post-directory .toc-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--yg-border);
    position: relative;
}

.post-directory .toc-title::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--yg-gradient);
    border-radius: 2px;
}

.post-directory .toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.post-directory .toc-item {
    transition: var(--yg-transition);
}

.post-directory .toc-item a {
    display: block;
    padding: 6px 12px;
    font-size: 13px;
    color: var(--yg-text-secondary);
    border-radius: var(--yg-radius-sm);
    border-left: 2px solid transparent;
    transition: var(--yg-transition);
    text-decoration: none;
}

.post-directory .toc-item a:hover {
    color: var(--yg-primary);
    background: rgba(102, 126, 234, .06);
}

.post-directory .toc-item.active a {
    color: var(--yg-primary);
    background: rgba(102, 126, 234, .08);
    border-left-color: var(--yg-primary);
    font-weight: 500;
}

.post-directory .toc-level-1 a {
    padding-left: 24px;
}

.post-directory .toc-level-2 a {
    padding-left: 36px;
}

/* ------------------------------------------------------------
   25. Site Notice Banner
   ------------------------------------------------------------ */
.yicego-site-notice {
    position: relative;
    background: linear-gradient(135deg, rgba(102, 126, 234, .08), rgba(118, 75, 162, .08));
    border: 1px solid rgba(102, 126, 234, .15);
    border-radius: var(--yg-radius);
    padding: 12px 40px 12px 16px;
    margin-bottom: var(--yg-gap);
    display: flex;
    align-items: center;
    gap: 10px;
    overflow: hidden;
}

.yicego-site-notice .notice-icon {
    flex-shrink: 0;
    color: var(--yg-primary);
    font-size: 18px;
}

.yicego-site-notice .notice-content {
    flex: 1;
    font-size: 14px;
    color: var(--yg-text);
    overflow: hidden;
    white-space: nowrap;
}

.yicego-site-notice .notice-content.scrolling {
    overflow: hidden;
}

.yicego-site-notice .notice-content.scrolling .scroll-text {
    display: inline-block;
    animation: noticeScroll 20s linear infinite;
}

@keyframes noticeScroll {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

.yicego-site-notice .notice-close {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    color: var(--yg-text-secondary);
    transition: var(--yg-transition);
    background: none;
    border: none;
    font-size: 14px;
}

.yicego-site-notice .notice-close:hover {
    background: rgba(0, 0, 0, .08);
    color: var(--yg-text);
}

/* ------------------------------------------------------------
   26. Share Dialog
   ------------------------------------------------------------ */
.share-dialog-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .5);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn .2s ease;
}

.share-dialog {
    background: var(--yg-card-bg);
    border-radius: var(--yg-radius-lg);
    padding: 28px;
    min-width: 360px;
    max-width: 90vw;
    box-shadow: 0 16px 48px rgba(0, 0, 0, .2);
    animation: slideUp .3s ease;
}

.share-dialog-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.share-dialog-title {
    font-size: 18px;
    font-weight: 700;
}

.share-dialog-close {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    color: var(--yg-text-secondary);
    transition: var(--yg-transition);
    background: none;
    border: none;
    font-size: 18px;
}

.share-dialog-close:hover {
    background: var(--yg-bg);
}

.share-dialog-post-title {
    font-size: 14px;
    color: var(--yg-text-secondary);
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.share-dialog-links {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.share-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 12px;
    border-radius: var(--yg-radius);
    cursor: pointer;
    transition: var(--yg-transition);
    text-decoration: none;
    border: none;
    background: none;
}

.share-link:hover {
    background: var(--yg-bg);
    transform: translateY(-2px);
}

.share-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.share-icon-qq { background: #12b7f5; color: #fff; }
.share-icon-weibo { background: #e6162d; color: #fff; }
.share-icon-qzone { background: #f8bd18; color: #fff; }
.share-icon-copy { background: var(--yg-bg); color: var(--yg-text-secondary); }

.share-text {
    font-size: 12px;
    color: var(--yg-text-secondary);
}

/* ------------------------------------------------------------
   27. Loading Overlay
   ------------------------------------------------------------ */
.yicego-loading-overlay {
    position: fixed;
    inset: 0;
    background: var(--yg-card-bg);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity .4s ease;
}

.yicego-loading-overlay.hide {
    opacity: 0;
    pointer-events: none;
}

.loading-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--yg-border);
    border-top-color: var(--yg-primary);
    border-radius: 50%;
    animation: spin .8s linear infinite;
}

.loading-dots {
    display: flex;
    gap: 8px;
}

.loading-dots span {
    width: 10px;
    height: 10px;
    background: var(--yg-primary);
    border-radius: 50%;
    animation: loadingBounce .6s ease infinite alternate;
}

.loading-dots span:nth-child(2) { animation-delay: .2s; }
.loading-dots span:nth-child(3) { animation-delay: .4s; }

@keyframes loadingBounce {
    from { transform: translateY(0); opacity: .4; }
    to { transform: translateY(-12px); opacity: 1; }
}

/* ------------------------------------------------------------
   28. Read Progress Bar
   ------------------------------------------------------------ */
.read-progress-bar {
    position: fixed;
    top: var(--yg-header-height);
    left: 0;
    height: 3px;
    background: var(--yg-gradient);
    z-index: 1001;
    transition: width .1s linear;
    border-radius: 0 3px 3px 0;
    width: 0;
}

/* ------------------------------------------------------------
   29. Copy Code Button
   ------------------------------------------------------------ */
.copy-code-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 4px 12px;
    background: rgba(255, 255, 255, .1);
    color: #cdd6f4;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
    transition: var(--yg-transition);
    opacity: 0;
}

.content-warp pre:hover .copy-code-btn {
    opacity: 1;
}

.copy-code-btn:hover {
    background: rgba(255, 255, 255, .2);
}

/* ------------------------------------------------------------
   30. Related Articles
   ------------------------------------------------------------ */
.yicego-related-articles {
    background: var(--yg-card-bg);
    border-radius: var(--yg-radius);
    padding: 28px;
    box-shadow: var(--yg-shadow);
    margin-bottom: var(--yg-gap);
}

.yicego-related-articles-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--yg-border);
    display: flex;
    align-items: center;
    gap: 8px;
}

.yicego-related-articles-title::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 18px;
    background: var(--yg-gradient);
    border-radius: 4px;
}

.yicego-related-articles-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.related-item {
    border-radius: var(--yg-radius-sm);
    overflow: hidden;
    background: var(--yg-bg);
    transition: var(--yg-transition);
    border: 1px solid transparent;
}

.related-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--yg-shadow-hover);
    border-color: var(--yg-border);
}

.related-item .related-thumb {
    width: 100%;
    height: 130px;
    overflow: hidden;
    position: relative;
}

.related-item .related-thumb::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(to top, rgba(0, 0, 0, .08), transparent);
    pointer-events: none;
}

.related-item .related-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s cubic-bezier(.4, 0, .2, 1);
}

.related-item:hover .related-thumb img {
    transform: scale(1.08);
}

.related-item .related-info {
    padding: 14px;
}

.related-item .related-title {
    font-size: 14px;
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 8px;
    line-height: 1.5;
}

.related-item .related-title a {
    color: var(--yg-text);
    transition: color .2s ease;
}

.related-item .related-title a:hover {
    color: var(--yg-primary);
}

.related-item .related-date {
    font-size: 12px;
    color: var(--yg-text-secondary);
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ------------------------------------------------------------
   31. Post Tags
   ------------------------------------------------------------ */
.post-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 20px 0;
    padding: 20px 0;
    border-top: 1px solid var(--yg-border);
}

.post-tags > i {
    color: var(--yg-text-secondary);
    font-size: 15px;
    opacity: .6;
}

.post-tags .post-tag {
    display: inline-flex;
    align-items: center;
    padding: 5px 14px;
    font-size: 13px;
    color: var(--yg-text-secondary);
    background: var(--yg-bg);
    border-radius: 20px;
    transition: var(--yg-transition);
    border: 1px solid transparent;
}

.post-tags .post-tag:hover {
    color: #fff;
    background: var(--yg-gradient);
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(102, 126, 234, .2);
}

/* ------------------------------------------------------------
   32. Go-Top Button
   ------------------------------------------------------------ */
.go-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--yg-card-bg);
    border: 1px solid var(--yg-border);
    border-radius: 50%;
    box-shadow: var(--yg-shadow);
    cursor: pointer;
    transition: var(--yg-transition);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    z-index: 999;
    font-size: 18px;
    color: var(--yg-text-secondary);
}

.go-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.go-top-btn:hover {
    background: var(--yg-gradient);
    color: #fff;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 6px 24px rgba(102, 126, 234, .3);
}

/* ------------------------------------------------------------
   33. Login/Register Modal
   ------------------------------------------------------------ */
.user-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .5);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn .2s ease;
}

.user-modal {
    background: var(--yg-card-bg);
    border-radius: var(--yg-radius-lg);
    padding: 36px;
    width: 400px;
    max-width: 90vw;
    box-shadow: 0 16px 48px rgba(0, 0, 0, .2);
    animation: slideUp .3s ease;
}

.user-modal h2 {
    font-size: 22px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 24px;
}

.user-modal .modal-tabs {
    display: flex;
    margin-bottom: 24px;
    border-bottom: 2px solid var(--yg-border);
}

.user-modal .modal-tab {
    flex: 1;
    text-align: center;
    padding: 10px;
    font-size: 15px;
    font-weight: 500;
    color: var(--yg-text-secondary);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: var(--yg-transition);
    background: none;
    border-left: none;
    border-right: none;
    border-top: none;
}

.user-modal .modal-tab.active {
    color: var(--yg-primary);
    border-bottom-color: var(--yg-primary);
}

.user-modal .form-group {
    margin-bottom: 16px;
}

.user-modal .form-group input {
    width: 100%;
    height: 46px;
    padding: 0 16px;
    border: 1px solid var(--yg-border);
    border-radius: var(--yg-radius-sm);
    font-size: 14px;
    transition: var(--yg-transition);
    background: var(--yg-bg);
}

.user-modal .form-group input:focus {
    border-color: var(--yg-primary);
    background: var(--yg-card-bg);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, .1);
}

.user-modal .submit-btn {
    width: 100%;
    height: 46px;
    background: var(--yg-gradient);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--yg-transition);
    border: none;
    margin-top: 8px;
}

.user-modal .submit-btn:hover {
    opacity: .9;
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(102, 126, 234, .3);
}

/* ------------------------------------------------------------
   34. Mobile Bottom Navigation
   ------------------------------------------------------------ */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, .95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--yg-border);
    z-index: 998;
    padding: 6px 0;
    padding-bottom: env(safe-area-inset-bottom, 0);
}

.mobile-bottom-nav .nav-items {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.mobile-bottom-nav .nav-items a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 4px 8px;
    font-size: 11px;
    color: var(--yg-text-secondary);
    transition: var(--yg-transition);
    text-decoration: none;
}

.mobile-bottom-nav .nav-items a.active,
.mobile-bottom-nav .nav-items a:hover {
    color: var(--yg-primary);
}

.mobile-bottom-nav .nav-items a .nav-icon {
    font-size: 20px;
}

/* Phone Nav (actual template class) */
.phone-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, .95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--yg-border);
    z-index: 998;
    padding: 6px 0;
    padding-bottom: env(safe-area-inset-bottom, 0);
}

.phone-nav-inner {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.phone-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 4px 8px;
    font-size: 11px;
    color: var(--yg-text-secondary);
    transition: var(--yg-transition);
    text-decoration: none;
}

.phone-nav-item i {
    font-size: 20px;
    line-height: 1;
}

.phone-nav-item span {
    font-size: 11px;
    line-height: 1.2;
}

.phone-nav-item.active,
.phone-nav-item:hover {
    color: var(--yg-primary);
}

/* ------------------------------------------------------------
   35. Archive Header
   ------------------------------------------------------------ */
.yicego-archive-header {
    background: var(--yg-card-bg);
    border-radius: var(--yg-radius);
    padding: 36px 32px;
    box-shadow: var(--yg-shadow);
    margin-bottom: var(--yg-gap);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.yicego-archive-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--yg-gradient);
}

.yicego-archive-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 10px;
    background: var(--yg-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.yicego-archive-description {
    font-size: 14px;
    color: var(--yg-text-secondary);
    margin-bottom: 12px;
    line-height: 1.7;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.yicego-archive-count {
    font-size: 13px;
    color: var(--yg-text-secondary);
    background: var(--yg-bg);
    padding: 5px 16px;
    border-radius: 20px;
    display: inline-block;
    font-weight: 500;
}

/* ------------------------------------------------------------
   36. Search Header
   ------------------------------------------------------------ */
.yicego-search-header {
    text-align: center;
    padding: 36px 0 24px;
}

.yicego-search-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 10px;
}

.yicego-search-keyword {
    background: var(--yg-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.yicego-search-count {
    font-size: 14px;
    color: var(--yg-text-secondary);
    font-weight: 500;
}

.yicego-search-form-warp {
    max-width: 560px;
    margin: 0 auto 24px;
}

.yicego-search-form {
    display: flex;
    gap: 12px;
}

.yicego-search-input {
    flex: 1;
    height: 50px;
    padding: 0 24px;
    border: 2px solid var(--yg-border);
    border-radius: 50px;
    font-size: 16px;
    transition: var(--yg-transition);
    background: var(--yg-card-bg);
}

.yicego-search-input:focus {
    border-color: var(--yg-primary);
    box-shadow: 0 0 0 4px rgba(102, 126, 234, .1);
    outline: none;
}

.yicego-search-btn {
    height: 50px;
    padding: 0 32px;
    background: var(--yg-gradient);
    color: #fff;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--yg-transition);
    white-space: nowrap;
    border: none;
    font-size: 15px;
    box-shadow: 0 4px 12px rgba(102, 126, 234, .25);
}

.yicego-search-btn:hover {
    opacity: .92;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, .35);
}

/* No results */
.yicego-no-result {
    text-align: center;
    padding: 80px 20px;
    background: var(--yg-card-bg);
    border-radius: var(--yg-radius);
    box-shadow: var(--yg-shadow);
}

.yicego-no-result-icon {
    color: var(--yg-text-secondary);
    opacity: .4;
    margin-bottom: 24px;
}

.yicego-no-result-text {
    font-size: 18px;
    font-weight: 600;
    color: var(--yg-text);
    margin-bottom: 12px;
}

.yicego-no-result-tips {
    font-size: 14px;
    color: var(--yg-text-secondary);
    line-height: 1.6;
}

.yicego-no-result-tips a {
    color: var(--yg-primary);
    font-weight: 500;
}

.yicego-no-result-tips a:hover {
    text-decoration: underline;
}

/* No content */
.yicego-no-content {
    text-align: center;
    padding: 80px 20px;
    color: var(--yg-text-secondary);
    font-size: 16px;
    background: var(--yg-card-bg);
    border-radius: var(--yg-radius);
    box-shadow: var(--yg-shadow);
}

/* ------------------------------------------------------------
   37. Author Header
   ------------------------------------------------------------ */
.yicego-author-header {
    background: var(--yg-card-bg);
    border-radius: var(--yg-radius);
    padding: 32px;
    box-shadow: var(--yg-shadow);
    margin-bottom: var(--yg-gap);
    display: flex;
    align-items: center;
    gap: 24px;
}

.yicego-author-avatar {
    flex-shrink: 0;
}

.yicego-author-avatar-img {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid transparent;
    background: var(--yg-gradient);
    padding: 3px;
}

.yicego-author-name {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 6px;
}

.yicego-author-description {
    font-size: 14px;
    color: var(--yg-text-secondary);
    margin-bottom: 12px;
    line-height: 1.6;
}

.yicego-author-stats {
    display: flex;
    gap: 24px;
}

.yicego-author-stat-item {
    text-align: center;
}

.yicego-author-stat-count {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: var(--yg-primary);
}

.yicego-author-stat-label {
    font-size: 12px;
    color: var(--yg-text-secondary);
}

.yicego-author-post-list-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--yg-border);
}

/* ------------------------------------------------------------
   38. 404 Page Enhanced
   ------------------------------------------------------------ */
.yicego-404-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - var(--yg-header-height) - 100px);
    padding: 40px var(--yg-gap);
}

.yicego-404-content {
    text-align: center;
    max-width: 500px;
}

.yicego-404-illustration {
    margin-bottom: 24px;
}

.yicego-404-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 12px;
    background: var(--yg-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.yicego-404-message {
    font-size: 16px;
    color: var(--yg-text-secondary);
    margin-bottom: 32px;
    line-height: 1.6;
}

.yicego-404-search {
    margin-bottom: 24px;
}

.yicego-404-action {
    display: flex;
    gap: 12px;
    justify-content: center;
}

/* ------------------------------------------------------------
   39. Footer Enhanced
   ------------------------------------------------------------ */
.site-footer {
    background: var(--yg-bg);
    border-top: 1px solid var(--yg-border);
    margin-top: 40px;
    position: relative;
}

.container-footer {
    max-width: var(--yg-container-width);
    margin: 0 auto;
    padding: 32px var(--yg-gap);
    text-align: center;
}

.footer-desc {
    font-size: 14px;
    color: var(--yg-text-secondary);
    margin-bottom: 16px;
}

.footer-wave {
    position: relative;
    top: -1px;
    line-height: 0;
}

.footer-wave svg {
    width: 100%;
    height: 60px;
    display: block;
}

.wave-path {
    fill: var(--yg-bg);
}

.footer-widgets {
    max-width: var(--yg-container-width);
    margin: 0 auto;
    padding: 40px var(--yg-gap) 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.footer-nav {
    border-top: 1px solid var(--yg-border);
    border-bottom: 1px solid var(--yg-border);
}

.footer-nav-inner {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 16px var(--yg-gap);
}

.footer-nav-link {
    padding: 6px 14px;
    font-size: 14px;
    color: var(--yg-text-secondary);
    border-radius: var(--yg-radius-sm);
    transition: var(--yg-transition);
}

.footer-nav-link:hover {
    color: var(--yg-primary);
    background: rgba(102, 126, 234, .06);
}

.footer-disclaimer {
    max-width: 600px;
    margin: 0 auto 16px;
    text-align: center;
    font-size: 12px;
    color: var(--yg-text-secondary);
    opacity: 0.7;
    line-height: 1.6;
}

.footer-legal {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.footer-legal a {
    font-size: 12px;
    color: var(--yg-text-secondary);
    transition: var(--yg-transition);
}

.footer-legal a:hover {
    color: var(--yg-primary);
}

.footer-legal a::before {
    content: "·";
    margin-right: 16px;
    opacity: 0.3;
}

.footer-legal a:first-child::before {
    display: none;
}

/* Friend Links */
.footer-friend-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px 0;
    margin-bottom: 16px;
    font-size: 13px;
    line-height: 1.8;
}

.footer-friend-links .friend-links-label {
    color: var(--yg-text-secondary);
    margin-right: 4px;
}

.footer-friend-links a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--yg-text-secondary);
    transition: color .2s ease;
}

.footer-friend-links a:hover {
    color: var(--yg-primary);
}

.footer-friend-links a .friend-link-icon {
    width: 16px;
    height: 16px;
    object-fit: contain;
    border-radius: 2px;
    flex-shrink: 0;
}

.footer-friend-links a:not(:last-child)::after {
    content: "·";
    margin: 0 8px;
    color: var(--yg-text-secondary);
    opacity: .4;
}

.footer-info {
    border-top: 1px solid var(--yg-border);
    padding: 16px 0 0;
    margin-top: 16px;
}

.footer-info-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
    text-align: center;
    font-size: 13px;
    color: var(--yg-text-secondary);
    line-height: 1.8;
}

.footer-info-inner a {
    color: var(--yg-text-secondary);
    transition: var(--yg-transition);
}

.footer-info-inner a:hover {
    color: var(--yg-primary);
}

.footer-divider {
    margin: 0 10px;
    opacity: 0.3;
}

.footer-icp a,
.footer-police a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.police-icon {
    width: 14px;
    height: 14px;
}

/* ------------------------------------------------------------
   39.5 Login/Register Modal
   ------------------------------------------------------------ */
.yicego-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.yicego-modal {
    background: var(--yg-bg-card);
    border-radius: var(--yg-radius);
    width: 400px;
    max-width: 90vw;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    animation: modalFadeIn 0.3s ease;
    overflow: hidden;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.yicego-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px 0;
}

.yicego-modal-tabs {
    display: flex;
    gap: 24px;
}

.yicego-modal-tab {
    background: none;
    border: none;
    font-size: 18px;
    font-weight: 600;
    color: var(--yg-text-secondary);
    cursor: pointer;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    transition: var(--yg-transition);
}

.yicego-modal-tab.active {
    color: var(--yg-primary);
    border-bottom-color: var(--yg-primary);
}

.yicego-modal-close {
    background: none;
    border: none;
    color: var(--yg-text-secondary);
    cursor: pointer;
    padding: 4px;
    border-radius: 50%;
    transition: var(--yg-transition);
    display: flex;
    align-items: center;
}

.yicego-modal-close:hover {
    background: var(--yg-bg-hover);
    color: var(--yg-text);
}

.yicego-modal-body {
    padding: 24px;
}

.yicego-modal-body .yicego-form-group {
    margin-bottom: 16px;
}

.yicego-modal-body .yicego-form-input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--yg-border);
    border-radius: var(--yg-radius-sm);
    font-size: 14px;
    background: var(--yg-bg);
    color: var(--yg-text);
    transition: var(--yg-transition);
    outline: none;
    box-sizing: border-box;
}

.yicego-modal-body .yicego-form-input:focus {
    border-color: var(--yg-primary);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.yicego-form-captcha {
    display: flex;
    gap: 10px;
}

.yicego-form-captcha .yicego-form-input {
    flex: 1;
}

.yicego-captcha-img {
    height: 40px;
    border-radius: var(--yg-radius-sm);
    cursor: pointer;
    border: 1px solid var(--yg-border);
}

.yicego-form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.yicego-checkbox {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--yg-text-secondary);
    cursor: pointer;
}

.yicego-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: var(--yg-radius-sm);
    font-size: 14px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: var(--yg-transition);
}

.yicego-btn-primary {
    background: var(--yg-gradient);
    color: #fff;
}

.yicego-btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.yicego-btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.yicego-btn-block {
    width: 100%;
}

.yicego-btn-outline {
    background: none;
    border: 1px solid var(--yg-primary);
    color: var(--yg-primary);
    white-space: nowrap;
}

.yicego-send-code-btn {
    padding: 10px 16px;
    font-size: 13px;
}

.yicego-send-code-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ------------------------------------------------------------
   40. Comment Face
   ------------------------------------------------------------ */
.comment-face {
    display: inline-block;
    width: 24px;
    height: 24px;
    vertical-align: middle;
    margin: 0 2px;
}

/* Admin badge */
.admin-badge {
    display: inline-block;
    padding: 1px 8px;
    font-size: 11px;
    color: #fff;
    background: var(--yg-gradient);
    border-radius: 10px;
    margin-left: 6px;
    font-weight: 500;
}

/* ------------------------------------------------------------
   41. Sub Title
   ------------------------------------------------------------ */
.post-sub-title {
    font-size: 16px;
    color: var(--yg-text-secondary);
    margin-bottom: 12px;
    line-height: 1.5;
}

/* ------------------------------------------------------------
   42. Pagination List Type Override
   ------------------------------------------------------------ */
.yicego-pagination ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.yicego-pagination ul li {
    margin: 0;
    padding: 0;
}

/* ------------------------------------------------------------
   43. Site Statistics Widget
   ------------------------------------------------------------ */
.site-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.stat-card {
    text-align: center;
    padding: 14px 8px;
    background: var(--yg-bg);
    border-radius: var(--yg-radius-sm);
    transition: var(--yg-transition);
}

.stat-card:hover {
    background: rgba(102, 126, 234, .06);
}

.stat-value {
    font-size: 22px;
    font-weight: 700;
    color: var(--yg-primary);
    display: block;
}

.stat-label {
    font-size: 12px;
    color: var(--yg-text-secondary);
    margin-top: 4px;
}

/* ------------------------------------------------------------
   44. User Info Widget
   ------------------------------------------------------------ */
.user-info-card {
    text-align: center;
}

.user-info-card .user-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 12px;
    object-fit: cover;
    border: 3px solid transparent;
    background: var(--yg-gradient);
    padding: 3px;
}

.user-info-card .user-name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
}

.user-info-card .user-desc {
    font-size: 13px;
    color: var(--yg-text-secondary);
    margin-bottom: 16px;
    line-height: 1.5;
}

.user-info-card .social-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 16px;
}

.user-info-card .social-links a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--yg-bg);
    color: var(--yg-text-secondary);
    transition: var(--yg-transition);
    font-size: 16px;
}

.user-info-card .social-links a:hover {
    background: var(--yg-gradient);
    color: #fff;
    transform: translateY(-2px);
}

.user-info-card .user-stats {
    display: flex;
    justify-content: space-around;
    padding-top: 16px;
    border-top: 1px solid var(--yg-border);
}

.user-info-card .user-stat .count {
    font-size: 18px;
    font-weight: 700;
    color: var(--yg-primary);
    display: block;
}

.user-info-card .user-stat .label {
    font-size: 12px;
    color: var(--yg-text-secondary);
}

/* ------------------------------------------------------------
   45. Load More & Pagination
   ------------------------------------------------------------ */
.post-pagination {
    text-align: center;
    padding: 16px 0;
}

.load-more-btn,
.yicego-load-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 36px;
    background: var(--yg-card-bg);
    border: 1px solid var(--yg-border);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    color: var(--yg-text-secondary);
    cursor: pointer;
    transition: var(--yg-transition);
}

.load-more-btn:hover,
.yicego-load-more-btn:hover {
    color: var(--yg-primary);
    border-color: var(--yg-primary);
    transform: translateY(-2px);
    box-shadow: var(--yg-shadow-hover);
}

.load-more-btn.loading,
.yicego-load-more-btn.loading {
    pointer-events: none;
    opacity: .7;
}

.load-more-info {
    font-size: 13px;
    color: var(--yg-text-secondary);
    margin-top: 10px;
}

/* List end text */
.yicego-list-end {
    text-align: center;
    padding: 20px 0;
    font-size: 14px;
    color: var(--yg-text-secondary);
}

/* Search keyword highlight */
.yicego-search-highlight {
    background: rgba(102, 126, 234, .15);
    color: var(--yg-primary);
    padding: 1px 4px;
    border-radius: 3px;
}

/* fadeInUp for lazy-loaded items */
.fadeInUp {
    animation: slideUp .5s ease both;
}

/* rotating for loading icon */
.rotating {
    display: inline-block;
    animation: spin 1s linear infinite;
}

/* ------------------------------------------------------------
   Customer Service Float Button
   ------------------------------------------------------------ */
.yicego-cs-float {
    position: fixed;
    bottom: 90px;
    right: 30px;
    z-index: 997;
}

.yicego-cs-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--yg-gradient);
    border: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(102, 126, 234, .3);
    transition: var(--yg-transition);
}

.yicego-cs-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(102, 126, 234, .4);
}

.yicego-cs-panel {
    position: absolute;
    bottom: 60px;
    right: 0;
    min-width: 200px;
    background: var(--yg-card-bg);
    border: 1px solid var(--yg-border);
    border-radius: var(--yg-radius);
    box-shadow: var(--yg-shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--yg-transition);
}

.yicego-cs-float.open .yicego-cs-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.yicego-cs-header {
    padding: 12px 16px;
    font-weight: 600;
    font-size: 14px;
    border-bottom: 1px solid var(--yg-border);
    color: var(--yg-text);
}

.yicego-cs-body {
    padding: 4px 0;
}

.yicego-cs-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    color: var(--yg-text);
    text-decoration: none;
    transition: background .2s;
    cursor: pointer;
    position: relative;
    font-size: 14px;
}

.yicego-cs-item:hover {
    background: rgba(102, 126, 234, .06);
    color: var(--yg-primary);
}

.yicego-cs-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.yicego-cs-icon svg {
    width: 18px;
    height: 18px;
}

.yicego-cs-label {
    white-space: nowrap;
}

.yicego-cs-qr-popup {
    display: none;
    position: absolute;
    right: calc(100% + 10px);
    top: 50%;
    transform: translateY(-50%);
    background: var(--yg-card-bg);
    border: 1px solid var(--yg-border);
    border-radius: var(--yg-radius-sm);
    padding: 8px;
    box-shadow: var(--yg-shadow);
    z-index: 10;
}

.yicego-cs-qrcode:hover .yicego-cs-qr-popup {
    display: block;
}

.yicego-cs-qr-popup img {
    width: 150px;
    height: 150px;
    display: block;
    border-radius: 4px;
}

/* (Responsive additions consolidated into main breakpoints above) */

/* Print styles */
@media print {
    .yicego-header,
    .sidebar,
    aside,
    .yicego-footer,
    .site-footer,
    .post-actions,
    .comment-form,
    .back-to-top,
    .go-top-btn,
    .yicego-cs-float,
    .yicego-pagination,
    .mobile-bottom-nav,
    .read-progress-bar {
        display: none !important;
    }

    .body-warp {
        padding-top: 0;
    }

    .container {
        max-width: 100%;
    }

    .content-warp {
        box-shadow: none;
        padding: 0;
    }
}

/* ==================== Archive Timeline Page ==================== */
.archive-page-header {
    text-align: center;
    padding: 40px 30px;
    margin-bottom: 24px;
}

.archive-page-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 12px;
    background: var(--yg-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.archive-page-desc {
    color: #6b7280;
    font-size: 0.95rem;
    margin: 0 0 20px;
}

.archive-page-desc strong {
    color: var(--yg-primary);
    font-weight: 600;
}

.archive-page-stats {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.archive-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.archive-stat-num {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--yg-primary);
}

.archive-stat-label {
    font-size: 0.8rem;
    color: #9ca3af;
}

.archive-timeline {
    position: relative;
    padding-left: 30px;
}

.archive-timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--yg-primary), var(--yg-primary-end, #764ba2), transparent);
    border-radius: 1px;
}

.timeline-year {
    margin-bottom: 32px;
}

.timeline-year-title {
    position: relative;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 0 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.timeline-year-dot {
    position: absolute;
    left: -30px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--yg-gradient);
    border: 3px solid #fff;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, .2);
}

.timeline-year-count {
    font-size: 0.8rem;
    font-weight: 400;
    color: #9ca3af;
    margin-left: 8px;
}

.timeline-month {
    margin-bottom: 20px;
    padding-left: 10px;
}

.timeline-month-title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 10px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
}

.timeline-month-dot {
    position: absolute;
    left: -40px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--yg-primary);
    opacity: 0.6;
}

.timeline-month-count {
    font-size: 0.75rem;
    font-weight: 400;
    color: #9ca3af;
    background: rgba(102, 126, 234, .08);
    padding: 1px 8px;
    border-radius: 10px;
}

.timeline-post-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.timeline-post-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    border-bottom: 1px dashed rgba(0, 0, 0, .06);
}

.timeline-post-item:last-child {
    border-bottom: none;
}

.timeline-post-dot {
    position: absolute;
    left: -44px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #d1d5db;
}

.timeline-post-day {
    font-size: 0.8rem;
    color: #9ca3af;
    min-width: 32px;
    flex-shrink: 0;
}

.timeline-post-link {
    color: #374151;
    font-size: 0.92rem;
    text-decoration: none;
    transition: color 0.3s;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.timeline-post-link:hover {
    color: var(--yg-primary);
}

.archive-empty {
    text-align: center;
    padding: 60px 20px;
    color: #9ca3af;
}

/* ==================== User Center Page ==================== */
.user-center-warp {
    max-width: 680px;
    margin: 0 auto;
}

.user-center-profile,
.user-center-edit,
.user-center-links,
.user-center-guest {
    padding: 30px;
    margin-bottom: 20px;
}

.user-center-avatar-section {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
}

.user-center-avatar {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.user-center-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-center-avatar-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    background: rgba(0, 0, 0, .5);
    color: #fff;
    font-size: 0.7rem;
    opacity: 0;
    transition: opacity 0.3s;
    cursor: pointer;
}

.user-center-avatar:hover .user-center-avatar-overlay {
    opacity: 1;
}

.user-center-info {
    flex: 1;
    min-width: 0;
}

.user-center-name {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 0 4px;
}

.user-center-email {
    color: #6b7280;
    font-size: 0.85rem;
    margin: 0;
}

.user-center-stats {
    display: flex;
    gap: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, .06);
}

.user-center-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.user-center-stat-num {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--yg-primary);
}

.user-center-stat-label {
    font-size: 0.75rem;
    color: #9ca3af;
}

.user-center-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(102, 126, 234, .15);
}

.user-center-link-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.user-center-link-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: var(--yg-radius-sm, 8px);
    color: #374151;
    text-decoration: none;
    transition: all 0.2s;
}

.user-center-link-item:hover {
    background: rgba(102, 126, 234, .06);
    color: var(--yg-primary);
}

.user-center-logout {
    color: #ef4444;
}

.user-center-logout:hover {
    background: rgba(239, 68, 68, .06);
    color: #ef4444;
}

/* Guest View */
.user-center-guest {
    text-align: center;
    padding: 60px 30px;
}

.user-center-guest-icon {
    margin-bottom: 20px;
}

.user-center-guest h2 {
    font-size: 1.3rem;
    margin: 0 0 8px;
}

.user-center-guest p {
    color: #6b7280;
    margin: 0 0 24px;
}

.user-center-guest-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
}

/* Form components used in user center */
.yicego-form-group {
    margin-bottom: 16px;
}

.yicego-form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 6px;
    color: #374151;
}

.yicego-form-input {
    display: block;
    width: 100%;
    padding: 10px 14px;
    font-size: 0.9rem;
    border: 1px solid #e5e7eb;
    border-radius: var(--yg-radius-sm, 8px);
    background: #fff;
    color: #1a1a1a;
    transition: border-color 0.3s, box-shadow 0.3s;
    box-sizing: border-box;
}

.yicego-form-input:focus {
    outline: none;
    border-color: var(--yg-primary);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, .12);
}

.yicego-form-textarea {
    resize: vertical;
    min-height: 80px;
}

.yicego-form-actions {
    padding-top: 8px;
}

/* Buttons */
.yicego-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 24px;
    font-size: 0.9rem;
    font-weight: 500;
    border: none;
    border-radius: var(--yg-radius-sm, 8px);
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    line-height: 1.4;
}

.yicego-btn-primary {
    background: var(--yg-gradient);
    color: #fff;
    box-shadow: 0 4px 12px rgba(102, 126, 234, .25);
}

.yicego-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, .35);
    color: #fff;
}

.yicego-btn-outline {
    background: transparent;
    color: #667eea;
    border: 1px solid #667eea;
}

.yicego-btn-outline:hover {
    background: rgba(102, 126, 234, .06);
}

/* ==================== Full-Width Page ==================== */
.full-width-container {
    display: block;
}

.full-width-warp {
    max-width: 900px;
    margin: 0 auto;
}

.full-page-article {
    padding: 40px;
    margin-bottom: 24px;
}

.full-page-header {
    margin-bottom: 30px;
    text-align: center;
}

.full-page-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 12px;
}

.full-page-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: #6b7280;
    font-size: 0.85rem;
}

.full-page-meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.full-page-content {
    line-height: 1.85;
}

/* YiceGo Card (common container style) */
.yicego-card {
    background: rgba(255, 255, 255, .75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, .4);
    border-radius: var(--yg-radius, 12px);
    box-shadow: 0 4px 24px rgba(0, 0, 0, .04);
    transition: box-shadow 0.3s, transform 0.3s;
}

/* (Responsive - New Page Templates consolidated into main breakpoints above) */
