        *,
        *::before,
        *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }
        html {
            scroll-behavior: smooth;
            font-size: 16px;
        }
        body {
            font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
            background: #f4f0eb;
            color: #1a1a2e;
            line-height: 1.7;
            display: flex;
            flex-direction: column;
            min-height: 100vh;
        }
        img {
            max-width: 100%;
            height: auto;
            display: block;
        }
        a {
            color: #c0392b;
            text-decoration: none;
            transition: color 0.2s ease;
        }
        a:hover,
        a:focus-visible {
            color: #e74c3c;
            text-decoration: underline;
        }
        ul,
        ol {
            padding-left: 1.5rem;
        }
        h1,
        h2,
        h3,
        h4,
        h5,
        h6 {
            line-height: 1.25;
            color: #0f0f1a;
            margin-top: 1.8rem;
            margin-bottom: 0.6rem;
        }
        h1 {
            font-size: 2.4rem;
            margin-top: 0.4rem;
        }
        h2 {
            font-size: 1.8rem;
            border-bottom: 3px solid #c0392b;
            padding-bottom: 0.3rem;
        }
        h3 {
            font-size: 1.4rem;
        }
        h4 {
            font-size: 1.15rem;
        }
        p {
            margin-bottom: 1rem;
        }
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 1.2rem;
        }
        .skip-link {
            position: absolute;
            top: -100%;
            left: 1rem;
            background: #c0392b;
            color: #fff;
            padding: 0.6rem 1.2rem;
            border-radius: 0 0 6px 6px;
            z-index: 9999;
            font-weight: 600;
        }
        .skip-link:focus {
            top: 0;
        }
        .site-header {
            background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
            color: #fff;
            padding: 0.4rem 0;
            position: sticky;
            top: 0;
            z-index: 1000;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
        }
        .header-inner {
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 0.6rem;
        }
        .my-logo {
            font-size: 1.5rem;
            font-weight: 800;
            color: #f5c518;
            text-transform: uppercase;
            letter-spacing: 0.04em;
            background: linear-gradient(to right, #f5c518, #e67e22);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            transition: opacity 0.2s;
        }
        .my-logo:hover {
            opacity: 0.85;
            text-decoration: none;
        }
        .my-logo small {
            font-size: 0.7rem;
            font-weight: 400;
            display: block;
            -webkit-text-fill-color: #bbb;
            color: #bbb;
            letter-spacing: 0.08em;
        }
        .nav-wrapper {
            display: flex;
            align-items: center;
            gap: 0.8rem;
        }
        .nav-list {
            display: flex;
            list-style: none;
            gap: 0.2rem;
            flex-wrap: wrap;
            padding: 0;
        }
        .nav-list a {
            color: #eee;
            padding: 0.5rem 0.9rem;
            border-radius: 30px;
            font-size: 0.9rem;
            font-weight: 500;
            transition: background 0.2s, color 0.2s;
            white-space: nowrap;
        }
        .nav-list a:hover,
        .nav-list a:focus-visible {
            background: rgba(255, 255, 255, 0.12);
            color: #f5c518;
            text-decoration: none;
        }
        .nav-list a.active {
            background: #c0392b;
            color: #fff;
        }
        .hamburger {
            display: none;
            background: none;
            border: 2px solid #f5c518;
            color: #f5c518;
            font-size: 1.5rem;
            padding: 0.3rem 0.7rem;
            border-radius: 8px;
            cursor: pointer;
            transition: background 0.2s;
        }
        .hamburger:hover {
            background: rgba(245, 197, 24, 0.15);
        }
        .hamburger:focus-visible {
            outline: 3px solid #f5c518;
            outline-offset: 2px;
        }
        @media (max-width: 900px) {
            .hamburger {
                display: block;
            }
            .nav-list {
                display: none;
                flex-direction: column;
                width: 100%;
                background: #0f1a2e;
                padding: 0.8rem 0.6rem;
                border-radius: 12px;
                margin-top: 0.4rem;
                gap: 0.1rem;
            }
            .nav-list.show {
                display: flex;
            }
            .nav-list a {
                padding: 0.6rem 1rem;
                border-radius: 8px;
            }
            .header-inner {
                flex-wrap: wrap;
            }
            .nav-wrapper {
                width: 100%;
                flex-direction: column;
                align-items: stretch;
            }
        }
        .breadcrumb {
            background: #e8e3de;
            padding: 0.5rem 0;
            font-size: 0.85rem;
            border-bottom: 1px solid #d5ccc4;
        }
        .breadcrumb ol {
            display: flex;
            flex-wrap: wrap;
            list-style: none;
            padding: 0;
            gap: 0.3rem 0.6rem;
        }
        .breadcrumb li+li::before {
            content: "›";
            margin-right: 0.5rem;
            color: #888;
        }
        .breadcrumb a {
            color: #7f5a4b;
        }
        .breadcrumb a:hover {
            color: #c0392b;
        }
        .breadcrumb .current {
            color: #1a1a2e;
            font-weight: 600;
        }
        .main-content {
            flex: 1;
            padding: 2rem 0 3rem;
        }
        .article-wrapper {
            background: #fff;
            border-radius: 20px;
            padding: 2rem 2.5rem;
            box-shadow: 0 8px 40px rgba(0, 0, 0, 0.06);
        }
        @media (max-width: 600px) {
            .article-wrapper {
                padding: 1.2rem 1rem;
                border-radius: 12px;
            }
            h1 {
                font-size: 1.7rem;
            }
            h2 {
                font-size: 1.4rem;
            }
            h3 {
                font-size: 1.15rem;
            }
        }
        .featured-image-wrap {
            margin: 1.5rem 0 2rem;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 6px 24px rgba(0, 0, 0, 0.10);
            background: #e8e3de;
        }
        .featured-image-wrap img {
            width: 100%;
            height: auto;
            aspect-ratio: 16/9;
            object-fit: cover;
        }
        .featured-image-wrap figcaption {
            padding: 0.6rem 1rem;
            font-size: 0.85rem;
            color: #555;
            background: #f9f6f2;
            border-top: 1px solid #e0d8d0;
        }
        .search-section {
            background: #f0ebe6;
            border-radius: 16px;
            padding: 1.5rem 2rem;
            margin: 2rem 0;
            border: 1px solid #ddd6ce;
        }
        .search-form {
            display: flex;
            gap: 0.6rem;
            flex-wrap: wrap;
        }
        .search-form input[type="text"] {
            flex: 1;
            min-width: 180px;
            padding: 0.7rem 1.2rem;
            border: 2px solid #ccc4bc;
            border-radius: 40px;
            font-size: 1rem;
            background: #fff;
            transition: border-color 0.2s;
        }
        .search-form input[type="text"]:focus {
            border-color: #c0392b;
            outline: none;
        }
        .search-form button {
            background: #c0392b;
            color: #fff;
            border: none;
            padding: 0.7rem 1.8rem;
            border-radius: 40px;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: background 0.2s, transform 0.1s;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        .search-form button:hover {
            background: #a93226;
            transform: scale(1.02);
        }
        .search-form button:active {
            transform: scale(0.97);
        }
        .interaction-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1.5rem;
            margin: 2.5rem 0;
        }
        @media (max-width: 700px) {
            .interaction-grid {
                grid-template-columns: 1fr;
            }
        }
        .interaction-card {
            background: #faf7f4;
            border: 1px solid #e5ddd6;
            border-radius: 16px;
            padding: 1.5rem 1.8rem;
        }
        .interaction-card h3 {
            margin-top: 0;
            font-size: 1.2rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            color: #1a1a2e;
        }
        .star-rating {
            display: flex;
            flex-direction: row-reverse;
            justify-content: flex-end;
            gap: 0.2rem;
            margin: 0.8rem 0;
        }
        .star-rating input {
            display: none;
        }
        .star-rating label {
            font-size: 1.8rem;
            color: #ccc4bc;
            cursor: pointer;
            transition: color 0.15s;
        }
        .star-rating label:hover,
        .star-rating label:hover~label,
        .star-rating input:checked~label {
            color: #f5c518;
        }
        .score-btn {
            background: #1a1a2e;
            color: #fff;
            border: none;
            padding: 0.5rem 1.8rem;
            border-radius: 30px;
            font-weight: 600;
            cursor: pointer;
            transition: background 0.2s;
            margin-top: 0.5rem;
        }
        .score-btn:hover {
            background: #2c2c4a;
        }
        .comment-form textarea {
            width: 100%;
            padding: 0.7rem 1rem;
            border: 2px solid #ddd6ce;
            border-radius: 12px;
            font-size: 0.95rem;
            font-family: inherit;
            resize: vertical;
            min-height: 80px;
            transition: border-color 0.2s;
            background: #fff;
        }
        .comment-form textarea:focus {
            border-color: #c0392b;
            outline: none;
        }
        .comment-form .form-actions {
            display: flex;
            gap: 0.6rem;
            margin-top: 0.6rem;
            flex-wrap: wrap;
        }
        .comment-form .form-actions button {
            background: #c0392b;
            color: #fff;
            border: none;
            padding: 0.5rem 1.5rem;
            border-radius: 30px;
            font-weight: 600;
            cursor: pointer;
            transition: background 0.2s;
        }
        .comment-form .form-actions button:hover {
            background: #a93226;
        }
        .comment-form .form-actions button.reset-btn {
            background: #7f8c8d;
        }
        .comment-form .form-actions button.reset-btn:hover {
            background: #5d6d7e;
        }
        friend-link {
            display: block;
            padding: 1.5rem 0 0.8rem;
        }
        friend-link ul {
            display: flex;
            flex-wrap: wrap;
            gap: 0.8rem 1.8rem;
            list-style: none;
            padding: 0;
            justify-content: center;
        }
        friend-link a {
            color: #f5c518;
            font-weight: 500;
            padding: 0.2rem 0.4rem;
            border-radius: 4px;
            transition: background 0.2s, color 0.2s;
        }
        friend-link a:hover {
            background: rgba(245, 197, 24, 0.15);
            color: #ffd966;
            text-decoration: none;
        }
        .site-footer {
            background: linear-gradient(135deg, #0f0f1a 0%, #1a1a2e 100%);
            color: #ccc;
            padding: 2.5rem 0 1.5rem;
            margin-top: 2rem;
            border-top: 4px solid #c0392b;
        }
        .footer-inner {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            gap: 0.8rem;
        }
        .footer-inner .copyright {
            font-size: 0.85rem;
            opacity: 0.8;
            max-width: 700px;
        }
        .footer-inner .copyright strong {
            color: #f5c518;
        }
        @media (max-width: 480px) {
            .article-wrapper {
                padding: 0.8rem 0.7rem;
            }
            .search-section {
                padding: 1rem 1.2rem;
            }
            .interaction-card {
                padding: 1rem 1.2rem;
            }
            .star-rating label {
                font-size: 1.5rem;
            }
        }
        .data-table {
            width: 100%;
            border-collapse: collapse;
            margin: 1.2rem 0;
            font-size: 0.95rem;
            background: #fcfaf8;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
        }
        .data-table th {
            background: #1a1a2e;
            color: #f5c518;
            padding: 0.7rem 1rem;
            text-align: left;
            font-weight: 600;
        }
        .data-table td {
            padding: 0.6rem 1rem;
            border-bottom: 1px solid #e8e2db;
        }
        .data-table tr:last-child td {
            border-bottom: none;
        }
        .data-table tr:hover td {
            background: #f5f0eb;
        }
        .callout {
            background: #f0ebe6;
            border-left: 5px solid #c0392b;
            padding: 1rem 1.5rem;
            border-radius: 0 12px 12px 0;
            margin: 1.5rem 0;
        }
        .callout p:last-child {
            margin-bottom: 0;
        }
        .pro-tip {
            background: #eaf6ed;
            border-left: 5px solid #27ae60;
            padding: 1rem 1.5rem;
            border-radius: 0 12px 12px 0;
            margin: 1.5rem 0;
        }
        .toc {
            background: #f8f5f1;
            border: 1px solid #e0d8d0;
            border-radius: 16px;
            padding: 1.2rem 1.8rem;
            margin: 1.5rem 0 2rem;
        }
        .toc h3 {
            margin-top: 0;
            font-size: 1.2rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        .toc ul {
            columns: 2 240px;
            list-style: none;
            padding: 0;
            margin-top: 0.8rem;
        }
        .toc li {
            padding: 0.2rem 0;
        }
        .toc a {
            color: #7f5a4b;
            font-weight: 500;
        }
        .toc a:hover {
            color: #c0392b;
        }
        @media (max-width: 500px) {
            .toc ul {
                columns: 1;
            }
        }
        .kw {
            font-weight: 700;
            color: #c0392b;
        }
        .last-updated {
            font-size: 0.85rem;
            color: #888;
            display: flex;
            align-items: center;
            gap: 0.4rem;
            margin-top: 0.4rem;
            flex-wrap: wrap;
        }
        .last-updated i {
            color: #c0392b;
        }
        .anchor-offset {
            scroll-margin-top: 90px;
        }
