        *,
        *::before,
        *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }
        html {
            scroll-behavior: smooth;
            font-size: 16px;
            -webkit-text-size-adjust: 100%;
        }
        body {
            font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
            background: #f8f6fc;
            color: #1e1a2b;
            line-height: 1.7;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }
        img {
            max-width: 100%;
            height: auto;
            display: block;
        }
        a {
            color: #7b3fa0;
            text-decoration: none;
            transition: color 0.2s ease;
        }
        a:hover,
        a:focus-visible {
            color: #b95fd4;
            text-decoration: underline;
        }
        ul,
        ol {
            padding-left: 1.5rem;
        }
        h1,
        h2,
        h3,
        h4,
        h5,
        h6 {
            line-height: 1.3;
            color: #1e0f2b;
            font-weight: 700;
            margin-top: 0;
        }
        h1 {
            font-size: 2.2rem;
            margin-bottom: 1rem;
        }
        h2 {
            font-size: 1.7rem;
            margin: 2.2rem 0 1rem 0;
            border-bottom: 3px solid #d4b0e6;
            padding-bottom: 0.4rem;
        }
        h3 {
            font-size: 1.3rem;
            margin: 1.8rem 0 0.8rem 0;
            color: #3c2a4f;
        }
        h4 {
            font-size: 1.1rem;
            margin: 1.2rem 0 0.5rem 0;
            color: #4f3a64;
        }
        p {
            margin-bottom: 1rem;
        }
        .container {
            max-width: 1120px;
            margin: 0 auto;
            padding: 0 1.2rem;
        }
        .site-header {
            background: linear-gradient(135deg, #2d1b3e 0%, #4a2a62 60%, #6b3f8a 100%);
            padding: 0.6rem 0;
            position: sticky;
            top: 0;
            z-index: 100;
            box-shadow: 0 4px 20px rgba(45, 27, 62, 0.3);
        }
        .header-inner {
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 0.6rem 1rem;
        }
        .my-logo {
            font-size: 1.6rem;
            font-weight: 800;
            color: #f5e6a3;
            text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
            letter-spacing: -0.5px;
            display: flex;
            align-items: center;
            gap: 0.4rem;
            background: rgba(255, 255, 255, 0.06);
            padding: 0.3rem 1rem 0.3rem 0.8rem;
            border-radius: 40px;
            border: 1px solid rgba(245, 230, 163, 0.2);
            transition: 0.2s;
        }
        .my-logo:hover {
            background: rgba(255, 255, 255, 0.12);
            text-decoration: none;
        }
        .my-logo i {
            color: #f5d742;
            font-size: 1.4rem;
        }
        .my-logo span {
            font-weight: 300;
            font-size: 0.75rem;
            color: #cfb0e3;
            display: block;
            line-height: 1;
        }
        .my-logo .logo-text {
            display: flex;
            flex-direction: column;
            line-height: 1.1;
        }
        .my-logo .logo-main {
            font-size: 1.4rem;
            font-weight: 800;
            color: #f5e6a3;
        }
        .my-logo .logo-sub {
            font-size: 0.6rem;
            font-weight: 400;
            color: #c9a8df;
            letter-spacing: 0.5px;
        }
        .nav-wrapper {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        .nav-list {
            list-style: none;
            display: flex;
            gap: 0.2rem;
            padding: 0;
            margin: 0;
            flex-wrap: wrap;
        }
        .nav-list li a {
            display: block;
            padding: 0.4rem 0.8rem;
            color: #ede4f5;
            font-size: 0.85rem;
            font-weight: 500;
            border-radius: 30px;
            transition: 0.2s;
            white-space: nowrap;
        }
        .nav-list li a:hover,
        .nav-list li a:focus-visible {
            background: rgba(255, 255, 255, 0.15);
            color: #f5e6a3;
            text-decoration: none;
        }
        .nav-list li a i {
            margin-right: 0.3rem;
            font-size: 0.75rem;
        }
        .hamburger {
            display: none;
            background: none;
            border: 1px solid rgba(255, 255, 255, 0.25);
            color: #ede4f5;
            font-size: 1.4rem;
            padding: 0.3rem 0.7rem;
            border-radius: 8px;
            cursor: pointer;
            transition: 0.2s;
        }
        .hamburger:hover {
            background: rgba(255, 255, 255, 0.1);
        }
        #nav-toggle {
            display: none;
        }
        .breadcrumb-wrap {
            background: #efe9f5;
            padding: 0.5rem 0;
            font-size: 0.8rem;
            border-bottom: 1px solid #ddd2e6;
        }
        .breadcrumb-wrap nav ol {
            list-style: none;
            display: flex;
            flex-wrap: wrap;
            gap: 0.3rem 0.6rem;
            padding: 0;
            margin: 0;
        }
        .breadcrumb-wrap nav ol li+li::before {
            content: "›";
            margin-right: 0.6rem;
            color: #8a7a9e;
            font-weight: 700;
        }
        .breadcrumb-wrap nav ol li a {
            color: #5a3d72;
        }
        .breadcrumb-wrap nav ol li [aria-current="page"] {
            color: #2d1b3e;
            font-weight: 600;
        }
        .main-content {
            flex: 1;
            padding: 2rem 0 3rem;
        }
        .content-grid {
            display: grid;
            grid-template-columns: 1fr 280px;
            gap: 2.5rem;
        }
        .article-body {
            background: #ffffff;
            padding: 2rem 2.2rem;
            border-radius: 24px;
            box-shadow: 0 8px 32px rgba(45, 27, 62, 0.06);
        }
        .article-body .update-badge {
            display: inline-flex;
            align-items: center;
            gap: 0.4rem;
            background: #ede4f5;
            padding: 0.2rem 1rem 0.2rem 0.8rem;
            border-radius: 40px;
            font-size: 0.75rem;
            color: #3c2a4f;
            margin-bottom: 1rem;
        }
        .article-body .update-badge i {
            color: #7b3fa0;
        }
        .sidebar {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }
        .sidebar-card {
            background: #ffffff;
            border-radius: 20px;
            padding: 1.2rem 1.4rem;
            box-shadow: 0 8px 24px rgba(45, 27, 62, 0.05);
            border: 1px solid #ede4f5;
        }
        .sidebar-card h3 {
            font-size: 1rem;
            margin: 0 0 0.8rem 0;
            color: #2d1b3e;
            border-bottom: 2px solid #d4b0e6;
            padding-bottom: 0.3rem;
        }
        .sidebar-card ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        .sidebar-card ul li+li {
            margin-top: 0.5rem;
        }
        .sidebar-card ul li a {
            font-size: 0.9rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            color: #3c2a4f;
            padding: 0.3rem 0;
        }
        .sidebar-card ul li a i {
            color: #7b3fa0;
            font-size: 0.7rem;
        }
        .sidebar-card ul li a:hover {
            color: #7b3fa0;
        }
        .search-form {
            display: flex;
            gap: 0.4rem;
            border: 1px solid #ddd2e6;
            border-radius: 60px;
            padding: 0.2rem 0.2rem 0.2rem 1rem;
            background: #f8f6fc;
            transition: 0.2s;
        }
        .search-form:focus-within {
            border-color: #7b3fa0;
            box-shadow: 0 0 0 3px rgba(123, 63, 160, 0.15);
        }
        .search-form input {
            flex: 1;
            border: none;
            background: transparent;
            padding: 0.5rem 0;
            font-size: 0.9rem;
            outline: none;
            color: #1e1a2b;
        }
        .search-form input::placeholder {
            color: #8a7a9e;
        }
        .search-form button {
            background: #7b3fa0;
            border: none;
            color: #fff;
            padding: 0.5rem 1.2rem;
            border-radius: 60px;
            font-size: 0.85rem;
            cursor: pointer;
            transition: 0.2s;
            display: flex;
            align-items: center;
            gap: 0.4rem;
            font-weight: 600;
        }
        .search-form button:hover {
            background: #5e2f7a;
        }
        .comment-section,
        .rating-section {
            margin-top: 2.8rem;
            padding-top: 1.8rem;
            border-top: 2px dashed #ddd2e6;
        }
        .comment-section h2,
        .rating-section h2 {
            border-bottom: none;
            margin-top: 0;
            font-size: 1.4rem;
        }
        .form-group {
            margin-bottom: 1rem;
        }
        .form-group label {
            display: block;
            font-weight: 600;
            font-size: 0.9rem;
            margin-bottom: 0.3rem;
            color: #2d1b3e;
        }
        .form-group input,
        .form-group textarea,
        .form-group select {
            width: 100%;
            padding: 0.65rem 1rem;
            border: 1px solid #ddd2e6;
            border-radius: 12px;
            font-size: 0.95rem;
            background: #faf9fc;
            transition: 0.2s;
            font-family: inherit;
        }
        .form-group input:focus,
        .form-group textarea:focus,
        .form-group select:focus {
            border-color: #7b3fa0;
            box-shadow: 0 0 0 3px rgba(123, 63, 160, 0.1);
            outline: none;
            background: #fff;
        }
        .form-group textarea {
            min-height: 100px;
            resize: vertical;
        }
        .btn-primary {
            background: #7b3fa0;
            color: #fff;
            border: none;
            padding: 0.7rem 2rem;
            border-radius: 60px;
            font-size: 0.95rem;
            font-weight: 600;
            cursor: pointer;
            transition: 0.2s;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
        }
        .btn-primary:hover {
            background: #5e2f7a;
            transform: translateY(-1px);
        }
        .btn-primary i {
            font-size: 0.85rem;
        }
        .rating-stars {
            display: flex;
            gap: 0.5rem;
            font-size: 1.8rem;
            color: #ddd2e6;
            cursor: pointer;
            flex-direction: row-reverse;
            justify-content: flex-end;
        }
        .rating-stars input {
            display: none;
        }
        .rating-stars label {
            cursor: pointer;
            transition: 0.15s;
        }
        .rating-stars label:hover,
        .rating-stars label:hover~label,
        .rating-stars input:checked~label {
            color: #f5c542;
        }
        .featured-image {
            margin: 1.8rem 0 2rem 0;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
            background: #efe9f5;
        }
        .featured-image img {
            width: 100%;
            height: auto;
            object-fit: cover;
        }
        .featured-image figcaption {
            padding: 0.6rem 1.2rem;
            font-size: 0.8rem;
            color: #5a4a6e;
            background: #f4eef8;
            font-style: italic;
        }
        .site-footer {
            background: #1e0f2b;
            color: #cfb8e0;
            padding: 2.5rem 0 1.5rem;
            margin-top: 3rem;
        }
        .footer-inner {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr;
            gap: 2rem;
        }
        .footer-inner h4 {
            color: #f5e6a3;
            font-size: 1rem;
            margin-bottom: 0.8rem;
            border-bottom: 1px solid #3c2a4f;
            padding-bottom: 0.3rem;
        }
        .footer-inner ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        .footer-inner ul li+li {
            margin-top: 0.3rem;
        }
        .footer-inner ul li a {
            color: #cfb8e0;
            font-size: 0.85rem;
        }
        .footer-inner ul li a:hover {
            color: #f5e6a3;
        }
        .footer-inner .footer-logo {
            font-size: 1.3rem;
            font-weight: 800;
            color: #f5e6a3;
        }
        .footer-inner .footer-logo i {
            color: #f5d742;
        }
        .copyright {
            border-top: 1px solid #2d1b3e;
            padding-top: 1.2rem;
            margin-top: 2rem;
            font-size: 0.8rem;
            text-align: center;
            color: #9a84ad;
        }
        friend-link {
            display: block;
            margin-top: 0.8rem;
            font-size: 0.85rem;
        }
        friend-link a {
            color: #cfb8e0;
            margin: 0 0.3rem;
        }
        friend-link a:hover {
            color: #f5e6a3;
        }
        @media (max-width: 820px) {
            .content-grid {
                grid-template-columns: 1fr;
            }
            .sidebar {
                order: -1;
                display: grid;
                grid-template-columns: 1fr 1fr;
                gap: 1rem;
            }
            .footer-inner {
                grid-template-columns: 1fr 1fr;
            }
            h1 {
                font-size: 1.7rem;
            }
            h2 {
                font-size: 1.3rem;
            }
            .article-body {
                padding: 1.2rem 1rem;
            }
        }
        @media (max-width: 640px) {
            .header-inner {
                flex-wrap: nowrap;
            }
            .nav-list {
                display: none;
                flex-direction: column;
                width: 100%;
                background: #2d1b3e;
                padding: 0.8rem 0.5rem;
                border-radius: 16px;
                margin-top: 0.5rem;
                gap: 0.2rem;
                border: 1px solid #4a2a62;
            }
            .nav-list li a {
                white-space: normal;
                padding: 0.5rem 0.8rem;
                border-radius: 10px;
            }
            #nav-toggle:checked~.nav-list {
                display: flex;
            }
            .hamburger {
                display: block;
            }
            .sidebar {
                grid-template-columns: 1fr;
            }
            .footer-inner {
                grid-template-columns: 1fr;
                gap: 1.5rem;
            }
            .my-logo {
                font-size: 1.2rem;
                padding: 0.2rem 0.6rem 0.2rem 0.5rem;
            }
            .my-logo .logo-main {
                font-size: 1.1rem;
            }
            .rating-stars {
                font-size: 1.5rem;
            }
            .search-form {
                flex-wrap: wrap;
                border-radius: 16px;
                padding: 0.3rem;
            }
            .search-form input {
                width: 100%;
                padding: 0.4rem 0.8rem;
            }
            .search-form button {
                width: 100%;
                justify-content: center;
                border-radius: 12px;
            }
        }
        @media (max-width: 400px) {
            .content-grid {
                gap: 1.2rem;
            }
            .article-body {
                padding: 0.8rem 0.8rem;
            }
            h1 {
                font-size: 1.4rem;
            }
            .breadcrumb-wrap {
                font-size: 0.7rem;
            }
        }
        .skip-link {
            position: absolute;
            top: -100%;
            left: 1rem;
            padding: 0.5rem 1rem;
            background: #2d1b3e;
            color: #f5e6a3;
            font-weight: 600;
            border-radius: 0 0 10px 10px;
            z-index: 999;
            transition: 0.2s;
        }
        .skip-link:focus {
            top: 0;
        }
        @media print {
            .site-header {
                position: static;
                background: #fff !important;
                color: #000 !important;
                box-shadow: none;
            }
            .nav-wrapper,
            .hamburger,
            .search-form,
            .comment-section form,
            .rating-section form,
            .sidebar {
                display: none !important;
            }
            .content-grid {
                display: block;
            }
            .article-body {
                box-shadow: none;
                border: 1px solid #ddd;
            }
            .site-footer {
                background: #fff !important;
                color: #000 !important;
                border-top: 1px solid #ddd;
            }
            .footer-inner {
                display: block;
            }
            .copyright {
                border-top: 1px solid #ddd;
            }
            a {
                color: #000 !important;
                text-decoration: underline !important;
            }
        }
