        *,
        *::before,
        *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }
        html {
            scroll-behavior: smooth;
            font-size: 16px;
        }
        body {
            font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
            background: #f8fafc;
            color: #1e293b;
            line-height: 1.7;
            padding: 16px;
            max-width: 1280px;
            margin: 0 auto;
        }
        img,
        video {
            max-width: 100%;
            height: auto;
            display: block;
        }
        a {
            color: #2563eb;
            text-decoration: none;
            transition: color 0.2s ease;
        }
        a:hover {
            color: #1d4ed8;
            text-decoration: underline;
        }
        ul,
        ol {
            padding-left: 1.4rem;
        }
        h1,
        h2,
        h3,
        h4,
        h5,
        h6 {
            line-height: 1.3;
            font-weight: 700;
            letter-spacing: -0.01em;
            margin-top: 1.6em;
            margin-bottom: 0.5em;
        }
        h1 {
            font-size: 2.4rem;
            margin-top: 0.4em;
        }
        h2 {
            font-size: 1.8rem;
            border-bottom: 2px solid #e2e8f0;
            padding-bottom: 0.3em;
        }
        h3 {
            font-size: 1.4rem;
        }
        h4 {
            font-size: 1.15rem;
            font-weight: 600;
        }
        p {
            margin-bottom: 1.2em;
        }
        .container {
            background: #ffffff;
            border-radius: 28px;
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
            padding: 24px 28px 32px;
            margin-bottom: 32px;
        }
        .site-header {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-between;
            padding: 12px 0 8px;
            border-bottom: 1px solid #e2e8f0;
            margin-bottom: 8px;
        }
        .my-logo {
            font-size: 1.8rem;
            font-weight: 800;
            background: linear-gradient(145deg, #0b1e33, #1e3a5f);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            letter-spacing: -0.03em;
            display: inline-block;
            transition: transform 0.2s ease;
        }
        .my-logo:hover {
            transform: scale(1.02);
            text-decoration: none;
        }
        .my-logo small {
            font-size: 0.7rem;
            font-weight: 400;
            -webkit-text-fill-color: #64748b;
            color: #64748b;
            letter-spacing: 0.02em;
        }
        .nav-wrap {
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .nav-list {
            display: flex;
            gap: 6px 18px;
            list-style: none;
            padding: 0;
            flex-wrap: wrap;
            align-items: center;
        }
        .nav-list li a {
            font-weight: 500;
            font-size: 0.95rem;
            padding: 6px 8px;
            border-radius: 40px;
            transition: background 0.2s ease, color 0.2s ease;
            color: #1e293b;
        }
        .nav-list li a:hover {
            background: #eef2ff;
            color: #1d4ed8;
            text-decoration: none;
        }
        .hamburger {
            display: none;
            font-size: 1.6rem;
            background: none;
            border: none;
            cursor: pointer;
            padding: 4px 8px;
            color: #1e293b;
            transition: color 0.2s;
        }
        .hamburger:hover {
            color: #2563eb;
        }
        .breadcrumb {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 6px 10px;
            font-size: 0.9rem;
            padding: 10px 0 6px;
            color: #64748b;
            list-style: none;
        }
        .breadcrumb li+li::before {
            content: "›";
            margin-right: 10px;
            color: #94a3b8;
            font-weight: 600;
        }
        .breadcrumb a {
            color: #475569;
        }
        .breadcrumb a:hover {
            color: #2563eb;
        }
        .breadcrumb .current {
            color: #0f172a;
            font-weight: 500;
        }
        .meta-line {
            display: flex;
            flex-wrap: wrap;
            gap: 12px 24px;
            align-items: center;
            font-size: 0.9rem;
            color: #64748b;
            border-bottom: 1px solid #e2e8f0;
            padding-bottom: 12px;
            margin-bottom: 20px;
        }
        .meta-line i {
            margin-right: 5px;
        }
        .last-updated {
            font-weight: 500;
            color: #1e293b;
        }
        .featured-figure {
            margin: 28px 0 32px;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
            background: #f1f5f9;
        }
        .featured-figure img {
            width: 100%;
            object-fit: cover;
        }
        .featured-figure figcaption {
            padding: 14px 18px;
            font-size: 0.9rem;
            color: #475569;
            background: #f8fafc;
            border-top: 1px solid #e2e8f0;
        }
        .search-block {
            background: #f1f5f9;
            border-radius: 60px;
            padding: 6px 6px 6px 20px;
            display: flex;
            align-items: center;
            max-width: 560px;
            margin: 20px 0 28px;
            border: 1px solid #e2e8f0;
            transition: box-shadow 0.2s;
        }
        .search-block:focus-within {
            box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
            border-color: #2563eb;
        }
        .search-block input {
            flex: 1;
            border: none;
            background: transparent;
            padding: 12px 8px 12px 0;
            font-size: 1rem;
            outline: none;
            font-family: inherit;
            color: #1e293b;
        }
        .search-block input::placeholder {
            color: #94a3b8;
        }
        .search-block button {
            background: #2563eb;
            border: none;
            color: #fff;
            padding: 10px 24px;
            border-radius: 40px;
            font-weight: 600;
            font-size: 0.95rem;
            cursor: pointer;
            transition: background 0.2s ease, transform 0.1s ease;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .search-block button:hover {
            background: #1d4ed8;
            transform: scale(1.02);
        }
        .search-block button i {
            font-size: 0.9rem;
        }
        .rating-section {
            background: #f8fafc;
            border-radius: 24px;
            padding: 22px 24px;
            margin: 28px 0;
            border: 1px solid #e2e8f0;
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 16px 28px;
        }
        .rating-stars {
            display: flex;
            gap: 6px;
            font-size: 1.8rem;
            color: #fbbf24;
            cursor: pointer;
            transition: color 0.15s;
        }
        .rating-stars i:hover,
        .rating-stars i.active~i {
            color: #f59e0b;
        }
        .rating-stars i {
            transition: transform 0.1s ease, color 0.15s;
        }
        .rating-stars i:hover {
            transform: scale(1.2);
        }
        .rating-form {
            display: flex;
            align-items: center;
            gap: 12px;
            flex-wrap: wrap;
        }
        .rating-form button {
            background: #1e293b;
            color: #fff;
            border: none;
            padding: 8px 20px;
            border-radius: 40px;
            font-weight: 600;
            font-size: 0.9rem;
            cursor: pointer;
            transition: background 0.2s;
        }
        .rating-form button:hover {
            background: #0f172a;
        }
        .comment-area {
            margin: 32px 0 28px;
        }
        .comment-area textarea {
            width: 100%;
            border: 1px solid #e2e8f0;
            border-radius: 18px;
            padding: 16px 18px;
            font-size: 1rem;
            font-family: inherit;
            resize: vertical;
            min-height: 100px;
            transition: border-color 0.2s, box-shadow 0.2s;
            background: #fff;
            color: #1e293b;
        }
        .comment-area textarea:focus {
            outline: none;
            border-color: #2563eb;
            box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
        }
        .comment-area .comment-submit {
            display: flex;
            justify-content: flex-end;
            margin-top: 12px;
        }
        .comment-area .comment-submit button {
            background: #2563eb;
            color: #fff;
            border: none;
            padding: 12px 32px;
            border-radius: 40px;
            font-weight: 600;
            font-size: 1rem;
            cursor: pointer;
            transition: background 0.2s, transform 0.1s;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .comment-area .comment-submit button:hover {
            background: #1d4ed8;
            transform: scale(1.02);
        }
        friend-link {
            display: block;
            background: #f1f5f9;
            border-radius: 18px;
            padding: 20px 24px;
            margin: 28px 0 12px;
            border: 1px solid #e2e8f0;
        }
        friend-link a {
            display: inline-block;
            margin: 4px 12px 4px 0;
            padding: 4px 0;
            font-weight: 500;
        }
        .site-footer {
            border-top: 1px solid #e2e8f0;
            padding-top: 20px;
            margin-top: 20px;
            font-size: 0.9rem;
            color: #64748b;
            text-align: center;
        }
        .site-footer .copyright {
            font-weight: 400;
            letter-spacing: 0.02em;
        }
        .toc-card {
            background: #f1f5f9;
            border-radius: 20px;
            padding: 20px 24px;
            margin: 20px 0 32px;
            border-left: 4px solid #2563eb;
        }
        .toc-card summary {
            font-weight: 700;
            font-size: 1.2rem;
            cursor: pointer;
            color: #0f172a;
        }
        .toc-card ul {
            margin-top: 12px;
            columns: 1;
            list-style: none;
            padding: 0;
        }
        .toc-card ul li {
            padding: 4px 0;
            border-bottom: 1px dashed #e2e8f0;
        }
        .toc-card ul li a {
            font-weight: 500;
        }
        @media (max-width: 820px) {
            .nav-list {
                display: none;
                flex-direction: column;
                width: 100%;
                background: #ffffff;
                padding: 16px 0 12px;
                border-top: 1px solid #e2e8f0;
                margin-top: 8px;
                gap: 6px;
            }
            .nav-list.open {
                display: flex;
            }
            .hamburger {
                display: inline-block;
            }
            .site-header {
                flex-wrap: wrap;
            }
            .container {
                padding: 16px 16px 24px;
                border-radius: 20px;
            }
            h1 {
                font-size: 1.8rem;
            }
            h2 {
                font-size: 1.4rem;
            }
            h3 {
                font-size: 1.2rem;
            }
            .search-block {
                flex-wrap: wrap;
                border-radius: 30px;
                padding: 6px 6px 6px 16px;
            }
            .search-block button {
                padding: 8px 16px;
                font-size: 0.85rem;
            }
            .rating-section {
                flex-direction: column;
                align-items: flex-start;
            }
            .meta-line {
                flex-direction: column;
                gap: 6px;
            }
            .toc-card ul {
                columns: 1;
            }
        }
        @media (max-width: 480px) {
            body {
                padding: 8px;
            }
            .container {
                padding: 12px 12px 20px;
                border-radius: 16px;
            }
            .my-logo {
                font-size: 1.4rem;
            }
            .search-block input {
                font-size: 0.9rem;
            }
            .rating-stars {
                font-size: 1.5rem;
            }
        }
        @media print {
            .search-block,
            .rating-section,
            .comment-area .comment-submit,
            .hamburger {
                display: none !important;
            }
            .nav-list {
                display: flex !important;
            }
            body {
                font-size: 12pt;
                background: #fff;
                padding: 0;
            }
            .container {
                box-shadow: none;
                border: 1px solid #ddd;
            }
        }
        .text-highlight {
            background: #fef9c3;
            padding: 0 4px;
            border-radius: 4px;
            font-weight: 500;
        }
        .callout {
            background: #eef2ff;
            border-left: 4px solid #2563eb;
            padding: 16px 20px;
            border-radius: 12px;
            margin: 24px 0;
        }
        .callout-warn {
            background: #fef3c7;
            border-left-color: #f59e0b;
        }
        .callout-tip {
            background: #d1fae5;
            border-left-color: #10b981;
        }
        .inline-icon {
            margin-right: 6px;
            color: #2563eb;
        }
        .grid-2 {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
            margin: 20px 0;
        }
        @media (max-width: 640px) {
            .grid-2 {
                grid-template-columns: 1fr;
            }
        }
        :target {
            scroll-margin-top: 80px;
        }
