*,
        *::before,
        *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }
        :root {
            --primary: #6a1b9a;
            --primary-light: #8e24aa;
            --primary-dark: #4a148c;
            --accent: #ff6f00;
            --accent-light: #ffb300;
            --bg: #fafafa;
            --bg-card: #ffffff;
            --text: #212121;
            --text-light: #616161;
            --border: #e0e0e0;
            --radius: 12px;
            --shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
            --shadow-hover: 0 12px 40px rgba(106, 27, 154, 0.15);
            --font: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
            --max-width: 1200px;
            --header-height: 70px;
        }
        html {
            scroll-behavior: smooth;
            font-size: 16px;
        }
        body {
            font-family: var(--font);
            background: var(--bg);
            color: var(--text);
            line-height: 1.7;
            padding-top: var(--header-height);
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }
        a {
            color: var(--primary);
            text-decoration: none;
            transition: color 0.2s;
        }
        a:hover,
        a:focus-visible {
            color: var(--primary-light);
            text-decoration: underline;
        }
        img {
            max-width: 100%;
            height: auto;
            display: block;
            border-radius: var(--radius);
        }
        .container {
            max-width: var(--max-width);
            margin: 0 auto;
            padding: 0 20px;
        }
        .site-header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            background: var(--bg-card);
            border-bottom: 1px solid var(--border);
            box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
            height: var(--header-height);
            display: flex;
            align-items: center;
            transition: box-shadow 0.3s;
        }
        .site-header:hover {
            box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
        }
        .header-inner {
            display: flex;
            align-items: center;
            justify-content: space-between;
            width: 100%;
            max-width: var(--max-width);
            margin: 0 auto;
            padding: 0 20px;
            gap: 20px;
        }
        .my-logo {
            font-size: 1.6rem;
            font-weight: 800;
            letter-spacing: -0.5px;
            background: linear-gradient(135deg, var(--primary), var(--accent));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            text-decoration: none !important;
            display: flex;
            align-items: center;
            gap: 8px;
            flex-shrink: 0;
        }
        .my-logo i {
            -webkit-text-fill-color: var(--accent);
            font-size: 1.4rem;
        }
        .my-logo:hover {
            opacity: 0.85;
        }
        .main-nav {
            display: flex;
            align-items: center;
            gap: 8px;
            flex-wrap: wrap;
        }
        .main-nav a {
            padding: 8px 14px;
            border-radius: 40px;
            font-size: 0.9rem;
            font-weight: 500;
            color: var(--text);
            transition: background 0.2s, color 0.2s;
            text-decoration: none;
            white-space: nowrap;
        }
        .main-nav a:hover,
        .main-nav a:focus-visible {
            background: rgba(106, 27, 154, 0.08);
            color: var(--primary);
            text-decoration: none;
        }
        .main-nav a.active {
            background: var(--primary);
            color: #fff;
        }
        .hamburger {
            display: none;
            background: none;
            border: none;
            font-size: 1.6rem;
            color: var(--text);
            cursor: pointer;
            padding: 4px 8px;
            border-radius: 8px;
            transition: background 0.2s;
        }
        .hamburger:hover {
            background: rgba(0, 0, 0, 0.04);
        }
        #nav-toggle {
            display: none;
        }
        .breadcrumb {
            padding: 16px 0 8px;
            font-size: 0.85rem;
            color: var(--text-light);
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 6px;
        }
        .breadcrumb a {
            color: var(--text-light);
            text-decoration: none;
        }
        .breadcrumb a:hover {
            color: var(--primary);
        }
        .breadcrumb span {
            color: var(--text-light);
        }
        .breadcrumb .sep {
            margin: 0 4px;
            color: #bbb;
        }
        .hero {
            background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
            color: #fff;
            padding: 48px 0 40px;
            border-radius: 0 0 var(--radius) var(--radius);
            margin-bottom: 32px;
            position: relative;
            overflow: hidden;
        }
        .hero::after {
            content: '';
            position: absolute;
            top: -40%;
            right: -10%;
            width: 400px;
            height: 400px;
            background: rgba(255, 255, 255, 0.04);
            border-radius: 50%;
            pointer-events: none;
        }
        .hero .container {
            position: relative;
            z-index: 1;
        }
        .hero h1 {
            font-size: 2.6rem;
            font-weight: 800;
            line-height: 1.2;
            margin-bottom: 12px;
            letter-spacing: -0.5px;
        }
        .hero p {
            font-size: 1.15rem;
            opacity: 0.9;
            max-width: 720px;
            margin-bottom: 20px;
        }
        .hero-meta {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            font-size: 0.9rem;
            opacity: 0.8;
        }
        .hero-meta i {
            margin-right: 6px;
        }
        .content-grid {
            display: grid;
            grid-template-columns: 1fr 300px;
            gap: 40px;
            margin: 32px 0;
        }
        .main-content {
            min-width: 0;
        }
        .sidebar {
            position: sticky;
            top: calc(var(--header-height) + 24px);
            align-self: start;
            max-height: calc(100vh - var(--header-height) - 48px);
            overflow-y: auto;
        }
        .sidebar-card {
            background: var(--bg-card);
            border-radius: var(--radius);
            padding: 24px 20px;
            box-shadow: var(--shadow);
            border: 1px solid var(--border);
            margin-bottom: 24px;
        }
        .sidebar-card h3 {
            font-size: 1.1rem;
            margin-bottom: 12px;
            color: var(--primary);
            border-bottom: 2px solid var(--primary);
            padding-bottom: 8px;
            display: inline-block;
        }
        .sidebar-card ul {
            list-style: none;
            padding: 0;
        }
        .sidebar-card li {
            margin-bottom: 8px;
        }
        .sidebar-card li a {
            font-size: 0.9rem;
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 6px 0;
            border-bottom: 1px solid var(--border);
            transition: padding 0.2s;
        }
        .sidebar-card li a:hover {
            padding-left: 6px;
            color: var(--primary);
        }
        .section-card {
            background: var(--bg-card);
            border-radius: var(--radius);
            padding: 32px 28px;
            box-shadow: var(--shadow);
            border: 1px solid var(--border);
            margin-bottom: 28px;
            transition: box-shadow 0.3s;
        }
        .section-card:hover {
            box-shadow: var(--shadow-hover);
        }
        .section-card h2 {
            font-size: 1.8rem;
            font-weight: 700;
            margin-bottom: 16px;
            color: var(--primary-dark);
            border-left: 4px solid var(--accent);
            padding-left: 16px;
        }
        .section-card h3 {
            font-size: 1.35rem;
            font-weight: 600;
            margin-top: 28px;
            margin-bottom: 10px;
            color: var(--primary);
        }
        .section-card h4 {
            font-size: 1.1rem;
            font-weight: 600;
            margin-top: 20px;
            margin-bottom: 8px;
            color: var(--text);
        }
        .section-card p {
            margin-bottom: 16px;
            color: var(--text);
        }
        .section-card ul,
        .section-card ol {
            margin: 12px 0 16px 24px;
        }
        .section-card li {
            margin-bottom: 6px;
        }
        .highlight-box {
            background: #f3e8ff;
            border-left: 4px solid var(--primary);
            padding: 16px 20px;
            border-radius: 0 8px 8px 0;
            margin: 16px 0;
        }
        .highlight-box strong {
            color: var(--primary-dark);
        }
        .tip-box {
            background: #fff8e1;
            border-left: 4px solid var(--accent);
            padding: 16px 20px;
            border-radius: 0 8px 8px 0;
            margin: 16px 0;
        }
        .img-wrapper {
            margin: 20px 0;
            border-radius: var(--radius);
            overflow: hidden;
            background: #f0f0f0;
            position: relative;
        }
        .img-wrapper img {
            width: 100%;
            object-fit: cover;
            min-height: 200px;
            background: #e8e0f0;
        }
        .img-caption {
            font-size: 0.85rem;
            color: var(--text-light);
            text-align: center;
            padding: 8px 12px;
            background: #fafafa;
        }
        .search-form {
            display: flex;
            gap: 8px;
            margin: 16px 0;
            flex-wrap: wrap;
        }
        .search-form input {
            flex: 1;
            min-width: 180px;
            padding: 12px 18px;
            border: 2px solid var(--border);
            border-radius: 40px;
            font-size: 1rem;
            outline: none;
            transition: border 0.3s, box-shadow 0.3s;
            background: #fff;
        }
        .search-form input:focus {
            border-color: var(--primary);
            box-shadow: 0 0 0 4px rgba(106, 27, 154, 0.1);
        }
        .search-form button {
            padding: 12px 28px;
            background: var(--primary);
            color: #fff;
            border: none;
            border-radius: 40px;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: background 0.3s, transform 0.2s;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .search-form button:hover {
            background: var(--primary-dark);
            transform: scale(1.02);
        }
        .comment-section,
        .rating-section {
            margin-top: 24px;
            padding-top: 20px;
            border-top: 2px solid var(--border);
        }
        .comment-section h3,
        .rating-section h3 {
            font-size: 1.3rem;
            margin-bottom: 12px;
            color: var(--primary);
        }
        .comment-form textarea,
        .rating-form select {
            width: 100%;
            padding: 12px 16px;
            border: 2px solid var(--border);
            border-radius: 12px;
            font-size: 1rem;
            font-family: var(--font);
            resize: vertical;
            min-height: 100px;
            transition: border 0.3s;
            background: #fff;
        }
        .comment-form textarea:focus,
        .rating-form select:focus {
            border-color: var(--primary);
            outline: none;
            box-shadow: 0 0 0 4px rgba(106, 27, 154, 0.08);
        }
        .comment-form button,
        .rating-form button {
            margin-top: 12px;
            padding: 10px 28px;
            background: var(--primary);
            color: #fff;
            border: none;
            border-radius: 40px;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: background 0.3s, transform 0.2s;
        }
        .comment-form button:hover,
        .rating-form button:hover {
            background: var(--primary-dark);
            transform: scale(1.02);
        }
        .rating-stars {
            display: flex;
            gap: 6px;
            font-size: 1.8rem;
            color: #ffb300;
            margin-bottom: 12px;
            cursor: default;
        }
        .rating-stars i {
            transition: transform 0.2s;
        }
        .rating-stars i:hover {
            transform: scale(1.2);
        }
        friend-link {
            display: block;
            padding: 20px 0;
            border-top: 2px solid var(--border);
            margin-top: 20px;
        }
        friend-link h3 {
            font-size: 1.1rem;
            color: var(--primary);
            margin-bottom: 12px;
        }
        friend-link ul {
            list-style: none;
            padding: 0;
            display: flex;
            flex-wrap: wrap;
            gap: 16px;
        }
        friend-link li a {
            font-size: 0.9rem;
            padding: 6px 14px;
            background: #f3e8ff;
            border-radius: 40px;
            transition: background 0.2s, color 0.2s;
            display: inline-block;
        }
        friend-link li a:hover {
            background: var(--primary);
            color: #fff;
            text-decoration: none;
        }
        .site-footer {
            background: var(--primary-dark);
            color: rgba(255, 255, 255, 0.85);
            padding: 32px 0 24px;
            margin-top: 48px;
            border-radius: var(--radius) var(--radius) 0 0;
        }
        .site-footer .container {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: center;
            gap: 16px;
        }
        .site-footer .copyright {
            font-size: 0.85rem;
            opacity: 0.8;
        }
        .site-footer a {
            color: rgba(255, 255, 255, 0.85);
        }
        .site-footer a:hover {
            color: #fff;
        }
        @media (max-width: 900px) {
            .content-grid {
                grid-template-columns: 1fr;
                gap: 24px;
            }
            .sidebar {
                position: static;
                max-height: none;
                overflow: visible;
            }
            .hero h1 {
                font-size: 2rem;
            }
        }
        @media (max-width: 768px) {
            .hamburger {
                display: block;
            }
            .main-nav {
                display: none;
                position: absolute;
                top: var(--header-height);
                left: 0;
                right: 0;
                background: var(--bg-card);
                flex-direction: column;
                padding: 16px 20px;
                border-bottom: 2px solid var(--border);
                box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
                gap: 4px;
                z-index: 999;
            }
            #nav-toggle:checked+.hamburger+.main-nav {
                display: flex;
            }
            .main-nav a {
                padding: 12px 16px;
                border-radius: 8px;
                width: 100%;
            }
            .hero h1 {
                font-size: 1.7rem;
            }
            .hero p {
                font-size: 1rem;
            }
            .section-card {
                padding: 20px 16px;
            }
            .section-card h2 {
                font-size: 1.4rem;
            }
            .my-logo {
                font-size: 1.3rem;
            }
            .container {
                padding: 0 14px;
            }
            .search-form button {
                padding: 12px 18px;
                font-size: 0.9rem;
            }
            .rating-stars {
                font-size: 1.5rem;
            }
        }
        @media (max-width: 480px) {
            body {
                font-size: 15px;
            }
            .hero h1 {
                font-size: 1.4rem;
            }
            .section-card h2 {
                font-size: 1.2rem;
                padding-left: 10px;
            }
            .section-card h3 {
                font-size: 1.1rem;
            }
            .breadcrumb {
                font-size: 0.75rem;
            }
            .my-logo {
                font-size: 1.1rem;
            }
        }
        @media (prefers-reduced-motion: reduce) {
            *,
            *::before,
            *::after {
                animation-duration: 0.01ms !important;
                transition-duration: 0.01ms !important;
            }
        }
        @media print {
            .site-header {
                position: static;
            }
            body {
                padding-top: 0;
            }
            .sidebar,
            .search-form,
            .comment-form,
            .rating-form {
                display: none;
            }
            .content-grid {
                grid-template-columns: 1fr;
            }
        }
