        *,
        *::before,
        *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }
        html {
            scroll-behavior: smooth;
            font-size: 16px;
        }
        body {
            font-family: 'Segoe UI', 'Roboto', system-ui, -apple-system, sans-serif;
            line-height: 1.7;
            color: #1e1e2a;
            background: #f8f6f2;
            padding: 0 1rem;
            max-width: 1280px;
            margin: 0 auto;
        }
        img {
            max-width: 100%;
            height: auto;
            display: block;
            border-radius: 12px;
        }
        a {
            color: #4a3f6b;
            text-decoration: underline;
            text-underline-offset: 2px;
            transition: color 0.2s ease;
        }
        a:hover {
            color: #7c5fbf;
        }
        h1,
        h2,
        h3,
        h4,
        h5,
        h6 {
            font-weight: 700;
            line-height: 1.3;
            color: #1e1e2a;
            margin-top: 2rem;
            margin-bottom: 0.75rem;
        }
        h1 {
            font-size: 2.4rem;
            margin-top: 0.5rem;
            border-bottom: 4px solid #d4c5f0;
            padding-bottom: 0.5rem;
        }
        h2 {
            font-size: 1.8rem;
            border-left: 5px solid #7c5fbf;
            padding-left: 1rem;
        }
        h3 {
            font-size: 1.4rem;
            color: #3d2f5c;
        }
        h4 {
            font-size: 1.15rem;
            color: #4a3f6b;
            font-weight: 600;
        }
        p {
            margin-bottom: 1.2rem;
            color: #2c2c3a;
        }
        ul,
        ol {
            margin-bottom: 1.5rem;
            padding-left: 1.8rem;
        }
        li {
            margin-bottom: 0.4rem;
        }
        blockquote {
            border-left: 5px solid #b8a9d4;
            padding: 1rem 1.5rem;
            margin: 1.5rem 0;
            background: #f0ebfa;
            border-radius: 0 12px 12px 0;
            font-style: italic;
            color: #3a2e55;
        }
        code {
            background: #e8e3f0;
            padding: 0.2rem 0.5rem;
            border-radius: 6px;
            font-size: 0.9rem;
            color: #3d2f5c;
        }
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 1rem 0 3rem;
        }
        .content-grid {
            display: grid;
            grid-template-columns: 1fr 300px;
            gap: 2.5rem;
            margin-top: 2rem;
        }
        @media (max-width: 992px) {
            .content-grid {
                grid-template-columns: 1fr;
            }
        }
        header {
            padding: 1.5rem 0 0.5rem;
            border-bottom: 2px solid #e0d6f0;
            margin-bottom: 0.5rem;
        }
        .header-top {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 1rem;
        }
        .my-logo {
            font-size: 2rem;
            font-weight: 800;
            color: #3d2f5c;
            text-decoration: none;
            letter-spacing: -0.5px;
            background: linear-gradient(135deg, #5c4a8a, #3d2f5c);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            transition: opacity 0.3s;
        }
        .my-logo i {
            -webkit-text-fill-color: #7c5fbf;
            margin-right: 0.3rem;
        }
        .my-logo:hover {
            opacity: 0.8;
        }
        nav {
            display: flex;
            align-items: center;
        }
        .nav-list {
            display: flex;
            list-style: none;
            gap: 0.2rem;
            padding: 0;
            margin: 0;
        }
        .nav-list li a {
            display: block;
            padding: 0.5rem 1rem;
            text-decoration: none;
            color: #3d2f5c;
            font-weight: 500;
            border-radius: 8px;
            transition: background 0.2s, color 0.2s;
            font-size: 0.95rem;
        }
        .nav-list li a:hover {
            background: #e0d6f0;
            color: #1e1e2a;
        }
        .nav-toggle {
            display: none;
            background: none;
            border: none;
            font-size: 1.6rem;
            color: #3d2f5c;
            cursor: pointer;
            padding: 0.4rem 0.8rem;
            border-radius: 8px;
            transition: background 0.2s;
        }
        .nav-toggle:hover {
            background: #e0d6f0;
        }
        @media (max-width: 768px) {
            .nav-toggle {
                display: block;
            }
            .nav-list {
                display: none;
                flex-direction: column;
                width: 100%;
                background: #f8f6f2;
                border: 2px solid #e0d6f0;
                border-radius: 12px;
                padding: 0.5rem;
                margin-top: 0.5rem;
                position: absolute;
                top: 100%;
                left: 0;
                z-index: 100;
                box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
            }
            .nav-list.open {
                display: flex;
            }
            .nav-list li a {
                padding: 0.7rem 1rem;
                border-radius: 6px;
            }
            .header-top {
                position: relative;
            }
            nav {
                order: 3;
                width: 100%;
            }
            .nav-list {
                position: static;
            }
        }
        .breadcrumb {
            display: flex;
            flex-wrap: wrap;
            list-style: none;
            padding: 0.8rem 0;
            margin: 0 0 0.5rem;
            font-size: 0.9rem;
            color: #6a5f85;
        }
        .breadcrumb li {
            margin-bottom: 0;
        }
        .breadcrumb li+li::before {
            content: "›";
            padding: 0 0.6rem;
            color: #b8a9d4;
            font-weight: 700;
        }
        .breadcrumb a {
            color: #5c4a8a;
            text-decoration: none;
        }
        .breadcrumb a:hover {
            text-decoration: underline;
        }
        .breadcrumb .current {
            color: #3d2f5c;
            font-weight: 600;
        }
        .sidebar {
            background: #f0ebfa;
            border-radius: 16px;
            padding: 1.8rem 1.5rem;
            border: 1px solid #ddd0ec;
            height: fit-content;
            position: sticky;
            top: 1.5rem;
        }
        .sidebar h3 {
            margin-top: 0;
            font-size: 1.2rem;
            border-bottom: 2px solid #d4c5f0;
            padding-bottom: 0.5rem;
            margin-bottom: 1rem;
        }
        .sidebar ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        .sidebar li {
            margin-bottom: 0.6rem;
        }
        .sidebar a {
            text-decoration: none;
            font-weight: 500;
            color: #4a3f6b;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.3rem 0;
            border-bottom: 1px solid transparent;
            transition: border-color 0.2s;
        }
        .sidebar a:hover {
            border-bottom-color: #b8a9d4;
            color: #3d2f5c;
        }
        .sidebar a i {
            width: 1.2rem;
            color: #7c5fbf;
        }
        @media (max-width: 992px) {
            .sidebar {
                position: static;
                margin-top: 2rem;
            }
        }
        .form-card {
            background: #fff;
            border-radius: 16px;
            padding: 1.8rem 2rem;
            border: 1px solid #e0d6f0;
            margin: 2rem 0;
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
        }
        .form-card h3 {
            margin-top: 0;
            display: flex;
            align-items: center;
            gap: 0.6rem;
        }
        .form-group {
            margin-bottom: 1.2rem;
        }
        .form-group label {
            display: block;
            font-weight: 600;
            margin-bottom: 0.3rem;
            color: #3d2f5c;
        }
        .form-group input,
        .form-group textarea,
        .form-group select {
            width: 100%;
            padding: 0.7rem 1rem;
            border: 2px solid #ddd0ec;
            border-radius: 10px;
            font-size: 1rem;
            font-family: inherit;
            background: #faf8fc;
            transition: border-color 0.2s, box-shadow 0.2s;
        }
        .form-group input:focus,
        .form-group textarea:focus,
        .form-group select:focus {
            outline: none;
            border-color: #7c5fbf;
            box-shadow: 0 0 0 4px rgba(124, 95, 191, 0.1);
        }
        .form-group textarea {
            min-height: 100px;
            resize: vertical;
        }
        .btn {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            background: #5c4a8a;
            color: #fff;
            border: none;
            padding: 0.7rem 1.8rem;
            border-radius: 10px;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: background 0.2s, transform 0.1s;
        }
        .btn:hover {
            background: #3d2f5c;
            transform: translateY(-1px);
        }
        .btn:active {
            transform: translateY(0);
        }
        .btn-secondary {
            background: #e0d6f0;
            color: #3d2f5c;
        }
        .btn-secondary:hover {
            background: #d4c5f0;
        }
        .star-rating {
            display: flex;
            flex-direction: row-reverse;
            justify-content: flex-end;
            gap: 0.2rem;
        }
        .star-rating input {
            display: none;
        }
        .star-rating label {
            font-size: 1.8rem;
            color: #ddd0ec;
            cursor: pointer;
            transition: color 0.2s;
        }
        .star-rating label:hover,
        .star-rating label:hover~label,
        .star-rating input:checked~label {
            color: #f5b342;
        }
        figure {
            margin: 2rem 0;
            border-radius: 12px;
            overflow: hidden;
            background: #f0ebfa;
            padding: 0.5rem;
            border: 1px solid #e0d6f0;
        }
        figcaption {
            padding: 0.8rem 1rem 0.4rem;
            font-size: 0.9rem;
            color: #5c4a8a;
            font-style: italic;
            text-align: center;
        }
        footer {
            border-top: 2px solid #e0d6f0;
            padding: 2.5rem 0 1.5rem;
            margin-top: 3rem;
        }
        .footer-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 2rem;
            margin-bottom: 2rem;
        }
        @media (max-width: 600px) {
            .footer-grid {
                grid-template-columns: 1fr;
            }
        }
        friend-link {
            display: block;
            background: #f0ebfa;
            padding: 1.5rem 2rem;
            border-radius: 16px;
            border: 1px solid #ddd0ec;
        }
        friend-link h4 {
            margin-top: 0;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        friend-link ul {
            list-style: none;
            padding: 0;
            margin: 0.8rem 0 0;
        }
        friend-link li {
            margin-bottom: 0.4rem;
        }
        friend-link a {
            text-decoration: none;
            font-weight: 500;
        }
        friend-link a:hover {
            text-decoration: underline;
        }
        .copyright {
            text-align: center;
            padding-top: 1.5rem;
            border-top: 1px solid #e0d6f0;
            color: #6a5f85;
            font-size: 0.9rem;
        }
        .copyright p {
            margin-bottom: 0.3rem;
            color: #6a5f85;
        }
        .toc {
            background: #fff;
            border: 2px solid #e0d6f0;
            border-radius: 16px;
            padding: 1.5rem 2rem;
            margin: 2rem 0;
        }
        .toc h3 {
            margin-top: 0;
        }
        .toc ol {
            padding-left: 1.5rem;
            margin-bottom: 0;
        }
        .toc li {
            margin-bottom: 0.3rem;
        }
        .toc a {
            text-decoration: none;
        }
        .tip-box {
            background: #e8f4e8;
            border-left: 5px solid #4caf50;
            padding: 1.2rem 1.5rem;
            border-radius: 0 12px 12px 0;
            margin: 1.5rem 0;
        }
        .tip-box i {
            color: #4caf50;
            margin-right: 0.5rem;
        }
        .warning-box {
            background: #fff4e5;
            border-left: 5px solid #f5a623;
            padding: 1.2rem 1.5rem;
            border-radius: 0 12px 12px 0;
            margin: 1.5rem 0;
        }
        .warning-box i {
            color: #f5a623;
            margin-right: 0.5rem;
        }
        .info-box {
            background: #e8eef8;
            border-left: 5px solid #5b7fb5;
            padding: 1.2rem 1.5rem;
            border-radius: 0 12px 12px 0;
            margin: 1.5rem 0;
        }
        .info-box i {
            color: #5b7fb5;
            margin-right: 0.5rem;
        }
        @media (max-width: 600px) {
            h1 {
                font-size: 1.8rem;
            }
            h2 {
                font-size: 1.4rem;
            }
            h3 {
                font-size: 1.15rem;
            }
            .my-logo {
                font-size: 1.5rem;
            }
            .form-card {
                padding: 1.2rem;
            }
            .header-top {
                flex-wrap: wrap;
            }
        }
        @media print {
            .sidebar,
            .form-card,
            footer friend-link {
                break-inside: avoid;
            }
            .nav-toggle {
                display: none !important;
            }
            .nav-list {
                display: flex !important;
            }
        }
