*,
        *::before,
        *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }
        html {
            scroll-behavior: smooth;
            font-size: 16px;
        }
        body {
            font-family: 'Segoe UI', Roboto, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
            background: #f4f7fb;
            color: #1a2634;
            line-height: 1.75;
            padding: 0;
            margin: 0;
        }
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        .site-header {
            background: linear-gradient(135deg, #0b1a2e 0%, #1a3a5c 100%);
            color: #fff;
            padding: 16px 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;
        }
        .my-logo {
            font-size: 1.8rem;
            font-weight: 900;
            letter-spacing: -0.5px;
            text-decoration: none;
            color: #ffd966;
            text-shadow: 0 2px 8px rgba(255, 217, 102, 0.3);
            transition: transform 0.2s;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .my-logo:hover {
            transform: scale(1.02);
            color: #ffed9e;
        }
        .my-logo i {
            font-size: 2rem;
            color: #ff6b6b;
        }
        .my-logo span {
            font-weight: 300;
            color: #aad0ff;
            font-size: 1rem;
            letter-spacing: 1px;
        }
        .nav-toggle {
            display: none;
            background: none;
            border: none;
            color: #fff;
            font-size: 1.8rem;
            cursor: pointer;
            padding: 4px 8px;
            border-radius: 8px;
            transition: background 0.2s;
        }
        .nav-toggle:hover {
            background: rgba(255, 255, 255, 0.1);
        }
        .main-nav {
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
            align-items: center;
        }
        .main-nav a {
            color: #e0edff;
            text-decoration: none;
            padding: 8px 16px;
            border-radius: 30px;
            font-size: 0.9rem;
            font-weight: 500;
            transition: all 0.25s;
            border: 1px solid transparent;
        }
        .main-nav a:hover,
        .main-nav a.active {
            background: rgba(255, 217, 102, 0.15);
            border-color: #ffd966;
            color: #ffd966;
        }
        .breadcrumb {
            background: #e9eef3;
            padding: 10px 0;
            font-size: 0.85rem;
            border-bottom: 1px solid #dce3ea;
        }
        .breadcrumb ol {
            list-style: none;
            display: flex;
            flex-wrap: wrap;
            gap: 6px 12px;
            align-items: center;
        }
        .breadcrumb li {
            display: flex;
            align-items: center;
            gap: 6px;
            color: #4a5a6e;
        }
        .breadcrumb li+li::before {
            content: "›";
            color: #8a9aa8;
            font-weight: 700;
            font-size: 1.1rem;
        }
        .breadcrumb a {
            color: #1a6bb0;
            text-decoration: none;
        }
        .breadcrumb a:hover {
            text-decoration: underline;
        }
        .breadcrumb .current {
            color: #1a2634;
            font-weight: 600;
        }
        .hero {
            background: linear-gradient(145deg, #0f2a44, #1b4a72);
            color: #fff;
            padding: 48px 0 40px;
            text-align: center;
            position: relative;
            overflow: hidden;
        }
        .hero::after {
            content: "🎲";
            position: absolute;
            right: -30px;
            bottom: -30px;
            font-size: 200px;
            opacity: 0.06;
            transform: rotate(-15deg);
        }
        .hero h1 {
            font-size: 2.6rem;
            font-weight: 900;
            line-height: 1.2;
            margin-bottom: 16px;
            text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
        }
        .hero h1 i {
            color: #ffd966;
            margin-right: 10px;
        }
        .hero p {
            font-size: 1.15rem;
            max-width: 800px;
            margin: 0 auto 24px;
            color: #cce0ff;
            line-height: 1.6;
        }
        .hero .last-updated {
            display: inline-block;
            background: rgba(255, 217, 102, 0.15);
            padding: 6px 20px;
            border-radius: 30px;
            font-size: 0.9rem;
            color: #ffd966;
            border: 1px solid rgba(255, 217, 102, 0.2);
        }
        .hero .last-updated i {
            margin-right: 6px;
        }
        .search-section {
            background: #fff;
            padding: 24px 0;
            border-bottom: 1px solid #e0e6ed;
        }
        .search-form {
            display: flex;
            max-width: 640px;
            margin: 0 auto;
            border-radius: 50px;
            overflow: hidden;
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
            border: 1px solid #d0dae6;
        }
        .search-form input {
            flex: 1;
            border: none;
            padding: 14px 24px;
            font-size: 1rem;
            outline: none;
            background: #fafcff;
            color: #1a2634;
        }
        .search-form button {
            background: #1a6bb0;
            border: none;
            color: #fff;
            padding: 14px 28px;
            font-size: 1rem;
            cursor: pointer;
            transition: background 0.2s;
            display: flex;
            align-items: center;
            gap: 8px;
            font-weight: 600;
        }
        .search-form button:hover {
            background: #0f4a7a;
        }
        .main-content {
            padding: 40px 0 60px;
        }
        .content-grid {
            display: grid;
            grid-template-columns: 1fr 300px;
            gap: 40px;
        }
        .article-body h2 {
            font-size: 2rem;
            font-weight: 800;
            color: #0b1a2e;
            margin: 48px 0 16px;
            padding-bottom: 8px;
            border-bottom: 4px solid #ffd966;
            display: inline-block;
        }
        .article-body h2 i {
            color: #ff6b6b;
            margin-right: 10px;
        }
        .article-body h3 {
            font-size: 1.5rem;
            font-weight: 700;
            color: #1a3a5c;
            margin: 32px 0 12px;
        }
        .article-body h3 i {
            margin-right: 8px;
            color: #1a6bb0;
        }
        .article-body h4 {
            font-size: 1.2rem;
            font-weight: 600;
            color: #2a4a6a;
            margin: 24px 0 10px;
            padding-left: 12px;
            border-left: 3px solid #ffd966;
        }
        .article-body p {
            margin-bottom: 16px;
            color: #2a3a4e;
            font-size: 1.05rem;
        }
        .article-body strong {
            color: #0b1a2e;
        }
        .article-body ul,
        .article-body ol {
            margin: 12px 0 20px 24px;
            color: #2a3a4e;
        }
        .article-body li {
            margin-bottom: 8px;
        }
        .article-body .highlight-box {
            background: #eef4fa;
            border-left: 4px solid #ffd966;
            padding: 20px 24px;
            border-radius: 0 12px 12px 0;
            margin: 24px 0;
        }
        .article-body .highlight-box strong {
            color: #1a3a5c;
        }
        .article-body .code-block {
            background: #0b1a2e;
            color: #cce0ff;
            padding: 16px 20px;
            border-radius: 10px;
            font-family: 'Courier New', monospace;
            font-size: 0.95rem;
            overflow-x: auto;
            margin: 16px 0;
            border: 1px solid #1a3a5c;
        }
        .content-img {
            margin: 32px 0;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
        }
        .content-img img {
            width: 100%;
            height: auto;
            display: block;
        }
        .content-img figcaption {
            background: #f0f4fa;
            padding: 10px 16px;
            font-size: 0.85rem;
            color: #4a5a6e;
            text-align: center;
            font-style: italic;
        }
        .inline-link {
            color: #1a6bb0;
            text-decoration: none;
            font-weight: 600;
            border-bottom: 1px dotted #1a6bb0;
            transition: all 0.2s;
        }
        .inline-link:hover {
            color: #ff6b6b;
            border-bottom-color: #ff6b6b;
        }
        .sidebar {
            position: sticky;
            top: 110px;
            align-self: start;
        }
        .sidebar-card {
            background: #fff;
            border-radius: 16px;
            padding: 24px;
            margin-bottom: 24px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
            border: 1px solid #e0e6ed;
        }
        .sidebar-card h3 {
            font-size: 1.2rem;
            font-weight: 700;
            color: #0b1a2e;
            margin-bottom: 16px;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .sidebar-card h3 i {
            color: #ffd966;
        }
        .sidebar-links {
            list-style: none;
            padding: 0;
        }
        .sidebar-links li {
            margin-bottom: 10px;
        }
        .sidebar-links a {
            color: #1a6bb0;
            text-decoration: none;
            font-weight: 500;
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 6px 0;
            border-bottom: 1px solid #eef2f6;
            transition: color 0.2s;
        }
        .sidebar-links a:hover {
            color: #ff6b6b;
        }
        .sidebar-links a i {
            width: 20px;
            color: #8a9aa8;
            font-size: 0.85rem;
        }
        .interaction-section {
            margin-top: 48px;
            padding-top: 32px;
            border-top: 2px solid #dce3ea;
        }
        .interaction-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 32px;
        }
        .comment-box,
        .rating-box {
            background: #fff;
            border-radius: 16px;
            padding: 28px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
            border: 1px solid #e0e6ed;
        }
        .comment-box h3,
        .rating-box h3 {
            font-size: 1.3rem;
            font-weight: 700;
            color: #0b1a2e;
            margin-bottom: 16px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .comment-box h3 i,
        .rating-box h3 i {
            color: #ffd966;
        }
        .comment-form textarea,
        .comment-form input {
            width: 100%;
            padding: 12px 16px;
            border: 1px solid #d0dae6;
            border-radius: 10px;
            font-size: 0.95rem;
            margin-bottom: 12px;
            font-family: inherit;
            background: #fafcff;
            transition: border 0.2s;
        }
        .comment-form textarea:focus,
        .comment-form input:focus {
            border-color: #1a6bb0;
            outline: none;
            box-shadow: 0 0 0 3px rgba(26, 107, 176, 0.1);
        }
        .comment-form textarea {
            min-height: 100px;
            resize: vertical;
        }
        .comment-form button,
        .rating-form button {
            background: #1a6bb0;
            color: #fff;
            border: none;
            padding: 12px 28px;
            border-radius: 30px;
            font-size: 0.95rem;
            font-weight: 600;
            cursor: pointer;
            transition: background 0.2s, transform 0.1s;
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }
        .comment-form button:hover,
        .rating-form button:hover {
            background: #0f4a7a;
            transform: translateY(-1px);
        }
        .star-rating {
            display: flex;
            flex-direction: row-reverse;
            justify-content: flex-end;
            gap: 4px;
            margin: 12px 0 16px;
        }
        .star-rating input {
            display: none;
        }
        .star-rating label {
            font-size: 2rem;
            color: #d0dae6;
            cursor: pointer;
            transition: color 0.2s;
        }
        .star-rating label:hover,
        .star-rating label:hover~label,
        .star-rating input:checked~label {
            color: #ffc107;
        }
        .rating-form .score-value {
            font-weight: 700;
            color: #1a3a5c;
            margin-left: 8px;
        }
        .site-footer {
            background: #0b1a2e;
            color: #cce0ff;
            padding: 40px 0 24px;
            margin-top: 40px;
        }
        .footer-inner {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr;
            gap: 32px;
            margin-bottom: 24px;
        }
        .footer-inner h4 {
            color: #ffd966;
            font-size: 1.1rem;
            margin-bottom: 12px;
            font-weight: 700;
        }
        .footer-inner p {
            color: #aabccf;
            font-size: 0.9rem;
            line-height: 1.6;
        }
        .footer-links {
            list-style: none;
        }
        .footer-links li {
            margin-bottom: 8px;
        }
        .footer-links a {
            color: #aabccf;
            text-decoration: none;
            font-size: 0.9rem;
            transition: color 0.2s;
            display: flex;
            align-items: center;
            gap: 6px;
        }
        .footer-links a:hover {
            color: #ffd966;
        }
        .friend-link {
            display: block;
            background: rgba(255, 255, 255, 0.04);
            padding: 20px 24px;
            border-radius: 12px;
            border: 1px solid rgba(255, 255, 255, 0.06);
            margin: 16px 0 24px;
        }
        .friend-link h4 {
            color: #ffd966;
            font-size: 1rem;
            margin-bottom: 12px;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .friend-link ul {
            list-style: none;
            display: flex;
            flex-wrap: wrap;
            gap: 12px 24px;
        }
        .friend-link a {
            color: #aad0ff;
            text-decoration: none;
            font-size: 0.9rem;
            transition: color 0.2s;
        }
        .friend-link a:hover {
            color: #ffd966;
        }
        .copyright {
            border-top: 1px solid rgba(255, 255, 255, 0.06);
            padding-top: 20px;
            text-align: center;
            font-size: 0.85rem;
            color: #7a8a9e;
        }
        .copyright strong {
            color: #aabccf;
        }
        @media (max-width: 900px) {
            .content-grid {
                grid-template-columns: 1fr;
            }
            .sidebar {
                position: static;
            }
            .footer-inner {
                grid-template-columns: 1fr 1fr;
            }
            .interaction-grid {
                grid-template-columns: 1fr;
            }
            .hero h1 {
                font-size: 2rem;
            }
        }
        @media (max-width: 700px) {
            .nav-toggle {
                display: block;
            }
            .main-nav {
                display: none;
                width: 100%;
                flex-direction: column;
                padding: 16px 0 8px;
                gap: 4px;
            }
            .main-nav.open {
                display: flex;
            }
            .main-nav a {
                padding: 10px 16px;
                border-radius: 8px;
                width: 100%;
            }
            .header-inner {
                align-items: center;
            }
            .my-logo {
                font-size: 1.4rem;
            }
            .my-logo span {
                font-size: 0.8rem;
            }
            .hero h1 {
                font-size: 1.6rem;
            }
            .hero p {
                font-size: 1rem;
            }
            .footer-inner {
                grid-template-columns: 1fr;
                gap: 24px;
            }
            .article-body h2 {
                font-size: 1.6rem;
            }
            .article-body h3 {
                font-size: 1.25rem;
            }
            .search-form {
                flex-direction: column;
                border-radius: 16px;
            }
            .search-form input {
                border-radius: 16px 16px 0 0;
            }
            .search-form button {
                border-radius: 0 0 16px 16px;
                justify-content: center;
            }
        }
        @media (max-width: 480px) {
            .container {
                padding: 0 12px;
            }
            .hero h1 {
                font-size: 1.3rem;
            }
            .sidebar-card {
                padding: 16px;
            }
            .comment-box,
            .rating-box {
                padding: 20px;
            }
        }
        .scroll-top {
            position: fixed;
            bottom: 30px;
            right: 30px;
            background: #1a6bb0;
            color: #fff;
            width: 48px;
            height: 48px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.3rem;
            text-decoration: none;
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
            transition: all 0.3s;
            opacity: 0.8;
            z-index: 999;
        }
        .scroll-top:hover {
            background: #ffd966;
            color: #0b1a2e;
            opacity: 1;
            transform: translateY(-4px);
        }
        @keyframes diceRoll {
            0% {
                transform: rotate(0deg);
            }
            100% {
                transform: rotate(360deg);
            }
        }
        .dice-icon {
            display: inline-block;
            animation: diceRoll 4s infinite linear;
        }
