        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            margin: 0;
            padding: 0;
        }

        :root {
            --primary-dark: #1a1a1a;
            --primary-light: #ffffff;
            --accent: #666666;
            --text-light: #999999;
            --border-light: #e0e0e0;
            --hover-color: #333333;
            --max-width: 1200px;
            --edit-color: #007acc;
            --save-color: #28a745;
            --cancel-color: #dc3545;
            --game-accent: #007acc;
            --game-success: #28a745;
            --game-danger: #dc3545;
            --game-warning: #ffc107;
            --game-info: #17a2b8;
            --game-bg: #f8f9fa;
        }

        body {
            font-family: 'Consolas', monospace;
            color: var(--primary-dark);
            background-color: var(--primary-light);
            line-height: 1.6;
            overflow-x: hidden;
            margin: 0;
            padding: 0;
        }

        /* Navigation */
        nav {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            width: 100%;
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            z-index: 1000;
            border-bottom: 1px solid var(--border-light);
            box-sizing: border-box;
        }

        .nav-container {
            max-width: var(--max-width);
            margin: 0 auto;
            padding: 20px 40px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            font-size: 18px;
            font-weight: 600;
            letter-spacing: 1px;
        }

        .logo::before {
            content: '> ';
            color: var(--accent);
        }

        .nav-links {
            display: flex;
            gap: 40px;
            list-style: none;
            align-items: center;
        }

        .nav-links a {
            text-decoration: none;
            color: var(--accent);
            font-size: 14px;
            letter-spacing: 0.5px;
            transition: color 0.3s ease;
        }

        .nav-links a:hover {
            color: var(--primary-dark);
        }

        /* Main Content */
        .main-content {
            max-width: var(--max-width);
            margin: 0 auto;
            padding: 120px 40px 60px;
        }

        .page-header {
            text-align: center;
            margin-bottom: 60px;
        }

        .page-title {
            font-size: 36px;
            font-weight: 300;
            letter-spacing: 2px;
            margin-bottom: 20px;
            color: var(--primary-dark);
        }

        .page-subtitle {
            font-size: 16px;
            color: var(--text-light);
            letter-spacing: 1px;
            max-width: 600px;
            margin: 0 auto 30px;
        }

        /* Stats Card */
        .stats-card {
            background: var(--game-bg);
            border: 1px solid var(--border-light);
            border-radius: 8px;
            padding: 25px;
            display: flex;
            justify-content: space-around;
            max-width: 500px;
            margin: 0 auto;
            transition: all 0.3s ease;
        }

        .stats-card:hover {
            border-color: var(--accent);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        }

        .stat-item {
            text-align: center;
        }

        .stat-value {
            font-size: 28px;
            font-weight: 600;
            color: var(--game-accent);
            margin-bottom: 5px;
        }

        .stat-label {
            font-size: 12px;
            color: var(--text-light);
            letter-spacing: 0.5px;
        }

        /* Navigation Tabs */
        .nav-tabs {
            display: flex;
            border-bottom: 2px solid var(--border-light);
            margin-bottom: 30px;
            overflow-x: auto;
            background: var(--game-bg);
            border-radius: 8px 8px 0 0;
        }

        .nav-tab {
            padding: 15px 25px;
            background: none;
            border: none;
            cursor: pointer;
            font-size: 14px;
            font-family: 'Consolas', monospace;
            color: var(--text-light);
            border-bottom: 3px solid transparent;
            transition: all 0.3s ease;
            white-space: nowrap;
            letter-spacing: 0.5px;
        }

        .nav-tab:hover {
            color: var(--primary-dark);
            background: rgba(255, 255, 255, 0.5);
        }

        .nav-tab.active {
            color: var(--game-accent);
            border-bottom-color: var(--game-accent);
            background: var(--primary-light);
        }

        /* Tab Content */
        .tab-content {
            display: none;
            animation: fadeIn 0.3s ease;
        }

        .tab-content.active {
            display: block;
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }

        /* Card Styles */
        .card {
            background: var(--primary-light);
            border: 1px solid var(--border-light);
            border-radius: 8px;
            margin-bottom: 20px;
            transition: all 0.3s ease;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
        }

        .card:hover {
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        }

        .card-header {
            padding: 20px;
            border-bottom: 1px solid var(--border-light);
        }

        .card-title {
            font-size: 18px;
            font-weight: 500;
            margin-bottom: 8px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            letter-spacing: 0.5px;
        }

        .card-description {
            color: var(--text-light);
            font-size: 14px;
            letter-spacing: 0.3px;
        }

        .card-content {
            padding: 20px;
        }

        .card-footer {
            padding: 20px;
            border-top: 1px solid var(--border-light);
            background: var(--game-bg);
        }

        /* Button Styles */
        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 10px 20px;
            font-size: 14px;
            font-weight: 500;
            font-family: 'Consolas', monospace;
            border-radius: 4px;
            border: 1px solid var(--border-light);
            background: var(--primary-light);
            color: var(--primary-dark);
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
            letter-spacing: 0.5px;
        }

        .btn:hover {
            background: var(--game-bg);
            border-color: var(--accent);
        }

        .btn-primary {
            background: var(--game-accent);
            color: var(--primary-light);
            border-color: var(--game-accent);
        }

        .btn-primary:hover {
            opacity: 0.9;
            transform: translateY(-1px);
        }

        .btn-success {
            background: var(--save-color);
            color: var(--primary-light);
            border-color: var(--save-color);
        }

        .btn-danger {
            background: var(--cancel-color);
            color: var(--primary-light);
            border-color: var(--cancel-color);
        }

        .btn-sm {
            padding: 6px 12px;
            font-size: 12px;
        }

        .btn:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }

        /* Input Styles */
        .input {
            width: 100%;
            padding: 12px;
            border: 1px solid var(--border-light);
            border-radius: 4px;
            font-size: 14px;
            font-family: 'Consolas', monospace;
            background: var(--primary-light);
            color: var(--primary-dark);
            transition: all 0.3s ease;
        }

        .input:focus {
            outline: none;
            border-color: var(--game-accent);
            box-shadow: 0 0 0 2px rgba(0, 122, 204, 0.2);
        }

        .textarea {
            width: 100%;
            min-height: 80px;
            padding: 12px;
            border: 1px solid var(--border-light);
            border-radius: 4px;
            font-size: 14px;
            font-family: 'Consolas', monospace;
            resize: vertical;
            background: var(--primary-light);
            color: var(--primary-dark);
            transition: all 0.3s ease;
        }

        .textarea:focus {
            outline: none;
            border-color: var(--game-accent);
            box-shadow: 0 0 0 2px rgba(0, 122, 204, 0.2);
        }

        /* Game Section Styles */
        .game-welcome {
            text-align: center;
            padding: 40px 20px;
        }

        .game-welcome h2 {
            font-size: 28px;
            font-weight: 300;
            letter-spacing: 1px;
            margin-bottom: 15px;
            color: var(--primary-dark);
        }

        .category-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
            gap: 20px;
            margin: 30px 0;
        }

        .category-card {
            padding: 20px;
            text-align: center;
            border: 1px solid var(--border-light);
            border-radius: 8px;
            background: var(--game-bg);
            transition: all 0.3s ease;
            cursor: pointer;
        }

        .category-card:hover {
            border-color: var(--game-accent);
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        }

        .category-title {
            font-weight: 600;
            margin-bottom: 8px;
            font-size: 16px;
            letter-spacing: 0.5px;
        }

        .conversation-history {
            height: 400px;
            overflow-y: auto;
            border: 1px solid var(--border-light);
            border-radius: 8px;
            padding: 15px;
            margin-bottom: 20px;
            background: var(--game-bg);
        }

        .qa-item {
            margin-bottom: 15px;
            padding: 12px;
            border-radius: 6px;
            border-left: 4px solid;
            font-size: 14px;
            line-height: 1.5;
        }

        .qa-item-question {
            background: rgba(0, 122, 204, 0.1);
            border-left-color: var(--game-accent);
        }

        .qa-item-answer-yes {
            background: rgba(40, 167, 69, 0.1);
            border-left-color: var(--save-color);
        }

        .qa-item-answer-no {
            background: rgba(220, 53, 69, 0.1);
            border-left-color: var(--cancel-color);
        }

        .qa-item-answer-neutral {
            background: rgba(108, 117, 125, 0.1);
            border-left-color: var(--accent);
        }

        .qa-item-answer-correct {
            background: rgba(255, 193, 7, 0.2);
            border-left-color: var(--game-warning);
            font-weight: bold;
        }

        .qa-item-answer-hint {
            background: rgba(23, 162, 184, 0.1);
            border-left-color: var(--game-info);
            font-style: italic;
        }

        .question-form {
            display: flex;
            gap: 10px;
            margin-bottom: 20px;
        }

        .question-form .input {
            flex: 1;
        }

        /* Loading Spinner */
        .loading-spinner {
            display: inline-block;
            width: 20px;
            height: 20px;
            border: 3px solid var(--border-light);
            border-top: 3px solid var(--game-accent);
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        /* Stories Grid */
        .stories-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
            gap: 20px;
        }

        .story-card {
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .story-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
        }

        .category-badge {
            font-size: 12px;
            padding: 4px 10px;
            border-radius: 20px;
            background: var(--game-accent);
            color: var(--primary-light);
            letter-spacing: 0.3px;
        }

        /* Star Rating */
        .star-rating {
            display: flex;
            gap: 5px;
            margin: 15px 0;
        }

        .star-rating span {
            font-size: 24px;
            color: var(--text-light);
            cursor: pointer;
            transition: color 0.3s ease;
        }

        .star-rating span.active {
            color: var(--game-warning);
        }

        .star-rating span:hover {
            color: var(--game-warning);
        }

        /* Leaderboard */
        .leaderboard-table {
            width: 100%;
            border-collapse: collapse;
            font-family: 'Consolas', monospace;
        }

        .leaderboard-table th,
        .leaderboard-table td {
            padding: 15px;
            text-align: left;
            border-bottom: 1px solid var(--border-light);
        }

        .leaderboard-table th {
            background: var(--game-bg);
            font-weight: 600;
            letter-spacing: 0.5px;
        }

        .leaderboard-table tr:nth-child(even) {
            background: var(--game-bg);
        }

        .leaderboard-table tr:hover {
            background: rgba(0, 122, 204, 0.05);
        }

        /* Contact Section */
        .contact {
            background-color: var(--primary-dark);
            color: var(--primary-light);
            text-align: center;
            width: 100%;
            padding: 60px 0;
            box-sizing: border-box;
            margin-top: 60px;
        }

        .contact .section-content {
            max-width: var(--max-width);
            margin: 0 auto;
            padding: 0 40px;
        }

        .contact .section-title {
            font-size: 24px;
            font-weight: 300;
            margin-bottom: 30px;
            letter-spacing: 2px;
            position: relative;
            padding-bottom: 15px;
            color: var(--primary-light);
        }

        .contact .section-title::before {
            content: '// ';
            color: var(--text-light);
            font-size: 18px;
        }

        .contact .section-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 40px;
            height: 1px;
            background-color: var(--primary-light);
        }

        .contact-info {
            margin-top: 40px;
        }

        .contact-links {
            display: flex;
            justify-content: center;
            gap: 30px;
            margin-bottom: 30px;
            flex-wrap: wrap;
        }

        .contact-links a {
            color: var(--primary-light);
            text-decoration: none;
            font-size: 14px;
            letter-spacing: 0.5px;
            transition: opacity 0.3s ease;
        }

        .contact-links a:hover {
            opacity: 0.7;
        }

        .contact-links .wechat {
            color: var(--primary-light);
            font-size: 14px;
            letter-spacing: 0.5px;
        }

        .company-info {
            text-align: center;
            margin-top: 20px;
        }

        .company-info p {
            color: var(--text-light);
            font-size: 12px;
            letter-spacing: 0.5px;
            margin: 5px 0;
        }

        /* QR Code Section */
        .qr-section {
            margin: 30px 0;
            text-align: center;
        }

        .qr-title {
            color: var(--primary-light);
            font-size: 16px;
            font-weight: 400;
            letter-spacing: 1px;
            margin-bottom: 20px;
            opacity: 0.8;
        }

        .qr-codes {
            display: flex;
            justify-content: center;
            gap: 20px;
            flex-wrap: wrap;
        }

        .qr-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 8px;
            opacity: 1;
            transition: all 0.3s ease;
        }

        .qr-item:hover {
            opacity: 1;
            transform: scale(1.05);
        }

        .qr-image {
            width: 80px;
            height: 80px;
            object-fit: cover;
            border-radius: 8px;
            border: 2px solid rgba(255, 255, 255, 0.2);
            background-color: #ffffff;
            transition: all 0.3s ease;
        }

        .qr-item:hover .qr-image {
            transform: scale(3);
            border-color: rgba(255, 255, 255, 0.5);
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
            z-index: 1000;
        }

        .qr-label {
            color: var(--primary-light);
            font-size: 10px;
            letter-spacing: 0.3px;
            text-align: center;
            max-width: 80px;
        }

        /* Toast Notification */
        .toast-container {
            position: fixed;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            z-index: 2000;
            display: flex;
            flex-direction: column-reverse;
            gap: 8px;
            pointer-events: none;
        }

        .toast {
            background: var(--primary-dark);
            color: var(--primary-light);
            padding: 12px 24px;
            border-radius: 4px;
            font-family: 'Consolas', monospace;
            font-size: 13px;
            letter-spacing: 0.3px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
            animation: toastIn 0.3s ease, toastOut 0.3s ease 2.7s forwards;
            pointer-events: auto;
            max-width: 400px;
            text-align: center;
        }

        @keyframes toastIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }

        @keyframes toastOut {
            from { opacity: 1; transform: translateY(0); }
            to { opacity: 0; transform: translateY(20px); }
        }

        /* Daily Challenge Tab Indicator */
        .nav-tab .tab-dot {
            display: inline-block;
            width: 6px;
            height: 6px;
            background: var(--game-danger);
            border-radius: 50%;
            margin-left: 6px;
            vertical-align: middle;
            animation: pulse 2s ease-in-out infinite;
        }

        @keyframes pulse {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.3; }
        }

        /* Score Flash Animation */
        @keyframes scoreFlash {
            0% { color: var(--game-accent); }
            50% { color: var(--game-warning); transform: scale(1.15); }
            100% { color: var(--game-accent); }
        }

        .stat-value.flash {
            animation: scoreFlash 0.5s ease;
        }

        /* Level Up Animation */
        @keyframes levelUp {
            0% { transform: scale(1); }
            50% { transform: scale(1.12); }
            100% { transform: scale(1); }
        }

        .level-up {
            animation: levelUp 0.6s ease;
        }

        /* Conversation Item Slide In */
        .qa-item {
            animation: fadeIn 0.3s ease;
        }

        /* Progress Bar for Story Completion */
        .progress-bar {
            width: 100%;
            height: 4px;
            background: var(--border-light);
            border-radius: 2px;
            overflow: hidden;
            margin-top: 10px;
        }

        .progress-bar-fill {
            height: 100%;
            background: var(--game-accent);
            border-radius: 2px;
            transition: width 0.5s ease;
        }

        /* Story Filter Buttons */
        .story-filters {
            display: flex;
            gap: 8px;
            margin-bottom: 15px;
            flex-wrap: wrap;
        }

        .filter-btn {
            padding: 6px 14px;
            font-size: 12px;
            font-family: 'Consolas', monospace;
            border: 1px solid var(--border-light);
            border-radius: 20px;
            background: var(--primary-light);
            color: var(--text-light);
            cursor: pointer;
            transition: all 0.3s ease;
            letter-spacing: 0.3px;
        }

        .filter-btn:hover {
            border-color: var(--accent);
            color: var(--primary-dark);
        }

        .filter-btn.active {
            background: var(--game-accent);
            color: var(--primary-light);
            border-color: var(--game-accent);
        }

        /* Story Completed Badge */
        .story-completed {
            font-size: 11px;
            color: var(--text-light);
            letter-spacing: 0.3px;
        }

        /* Player Title Badge */
        .player-title {
            font-size: 11px;
            padding: 2px 8px;
            border-radius: 10px;
            background: var(--game-bg);
            color: var(--text-light);
            margin-left: 6px;
            letter-spacing: 0.3px;
        }

        .player-title.tang-shen {
            background: rgba(255, 193, 7, 0.15);
            color: var(--game-warning);
        }

        /* Sound Toggle */
        .sound-toggle {
            position: absolute;
            right: 15px;
            top: 50%;
            transform: translateY(-50%);
            background: none;
            border: none;
            color: var(--text-light);
            cursor: pointer;
            font-family: 'Consolas', monospace;
            font-size: 12px;
            padding: 4px 8px;
            transition: color 0.3s ease;
            letter-spacing: 0.3px;
        }

        .sound-toggle:hover {
            color: var(--primary-dark);
        }

        /* Share Result Card */
        .share-card {
            background: var(--game-bg);
            border: 1px solid var(--border-light);
            border-radius: 8px;
            padding: 20px;
            margin: 15px 0;
            font-family: 'Consolas', monospace;
            font-size: 13px;
            line-height: 1.8;
            white-space: pre-line;
        }

        .share-card .copy-btn {
            margin-top: 10px;
            font-size: 12px;
        }

        /* Daily Leaderboard */
        .daily-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 10px;
        }

        .daily-number {
            font-size: 14px;
            color: var(--text-light);
            letter-spacing: 0.5px;
        }

        /* Answer Reveal Card */
        .answer-card {
            background: rgba(255, 193, 7, 0.08);
            border: 1px solid rgba(255, 193, 7, 0.3);
            border-radius: 8px;
            padding: 20px;
            margin: 15px 0;
        }

        .answer-card-title {
            font-weight: 600;
            margin-bottom: 10px;
            font-size: 14px;
            letter-spacing: 0.5px;
        }

        /* Maybe answer type */
        .qa-item-answer-maybe {
            background: rgba(255, 193, 7, 0.1);
            border-left-color: var(--game-warning);
        }

        /* Responsive */
        @media (max-width: 768px) {
            .nav-container {
                padding: 15px 20px;
            }

            .nav-links {
                gap: 20px;
            }

            .main-content {
                padding: 100px 20px 40px;
            }

            .page-title {
                font-size: 28px;
            }

            .stats-card {
                flex-direction: column;
                gap: 15px;
                text-align: center;
            }

            .category-grid {
                grid-template-columns: 1fr;
            }

            .stories-grid {
                grid-template-columns: 1fr;
            }

            .question-form {
                flex-direction: column;
            }

            .contact .section-content {
                padding: 0 20px;
            }

            .contact-links {
                gap: 20px;
                flex-direction: column;
                align-items: center;
            }

            .contact-links a,
            .contact-links .wechat {
                font-size: 12px;
            }

            .qr-codes {
                gap: 15px;
            }

            .qr-image {
                width: 60px;
                height: 60px;
            }

            .qr-label {
                font-size: 9px;
                max-width: 60px;
            }

            .toast {
                max-width: calc(100vw - 40px);
            }

            .story-filters {
                justify-content: center;
            }

            .daily-header {
                flex-direction: column;
                text-align: center;
            }

            .stats-card {
                position: relative;
            }

            .mode-selector {
                flex-direction: column;
            }

            .achievements-grid {
                grid-template-columns: repeat(2, 1fr) !important;
            }

            .checkin-days {
                gap: 4px !important;
            }
        }

        /* Tutorial Overlay */
        .tutorial-overlay {
            position: fixed;
            top: 0; left: 0; right: 0; bottom: 0;
            background: rgba(0, 0, 0, 0.7);
            z-index: 3000;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
        }

        .tutorial-card {
            background: var(--primary-light);
            border: 1px solid var(--border-light);
            border-radius: 8px;
            padding: 30px;
            max-width: 480px;
            width: 100%;
            font-family: 'Consolas', monospace;
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
        }

        .tutorial-progress {
            display: flex;
            gap: 6px;
            justify-content: center;
            margin-bottom: 20px;
        }

        .tutorial-dot {
            width: 8px; height: 8px;
            border-radius: 50%;
            background: var(--border-light);
        }

        .tutorial-dot.active {
            background: var(--game-accent);
        }

        .tutorial-dot.done {
            background: var(--save-color);
        }

        .tutorial-title {
            font-size: 18px;
            font-weight: 600;
            margin-bottom: 12px;
            letter-spacing: 0.5px;
        }

        .tutorial-text {
            font-size: 14px;
            line-height: 1.8;
            color: var(--accent);
            margin-bottom: 20px;
        }

        .tutorial-actions {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .tutorial-highlight {
            position: relative;
            z-index: 3001;
            box-shadow: 0 0 0 4px var(--game-accent), 0 0 20px rgba(0, 122, 204, 0.3);
            border-radius: 4px;
        }

        /* Achievement Toast */
        .achievement-toast {
            background: linear-gradient(135deg, var(--primary-dark), #2a2a2a);
            border: 1px solid var(--game-warning);
        }

        .achievement-icon {
            font-size: 18px;
            font-weight: 600;
            color: var(--game-warning);
        }

        /* Achievements Grid */
        .achievements-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
            gap: 10px;
        }

        .achievement-item {
            padding: 10px;
            border: 1px solid var(--border-light);
            border-radius: 6px;
            text-align: center;
            position: relative;
            transition: all 0.3s ease;
        }

        .achievement-item.unlocked {
            border-color: var(--game-warning);
            background: rgba(255, 193, 7, 0.05);
        }

        .achievement-item:not(.unlocked) {
            opacity: 0.4;
        }

        .achievement-badge {
            display: block;
            font-size: 18px;
            font-weight: 600;
            margin-bottom: 4px;
            color: var(--game-warning);
        }

        .achievement-name {
            font-size: 11px;
            letter-spacing: 0.3px;
        }

        .achievement-lock {
            position: absolute;
            top: 4px; right: 6px;
            font-size: 10px;
            color: var(--text-light);
        }

        /* Mode Selector */
        .mode-selector {
            display: flex;
            gap: 8px;
            justify-content: center;
            flex-wrap: wrap;
        }

        .mode-btn {
            padding: 10px 14px;
            border: 1px solid var(--border-light);
            border-radius: 6px;
            background: var(--primary-light);
            cursor: pointer;
            transition: all 0.3s ease;
            font-family: 'Consolas', monospace;
            text-align: center;
            min-width: 130px;
        }

        .mode-btn:hover {
            border-color: var(--accent);
        }

        .mode-btn.active {
            border-color: var(--game-accent);
            background: rgba(0, 122, 204, 0.05);
        }

        /* Check-in */
        .checkin-days {
            display: flex;
            gap: 6px;
            justify-content: space-between;
        }

        .checkin-day {
            flex: 1;
            text-align: center;
            padding: 6px 2px;
            border: 1px solid var(--border-light);
            border-radius: 4px;
            transition: all 0.3s ease;
        }

        .checkin-day.done {
            background: rgba(40, 167, 69, 0.1);
            border-color: var(--save-color);
        }

        .checkin-day.today {
            border-color: var(--game-accent);
            background: rgba(0, 122, 204, 0.05);
        }

        /* Comments */
        .comments-list {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .comment-item {
            padding: 12px;
            border: 1px solid var(--border-light);
            border-radius: 6px;
            background: var(--game-bg);
        }

        .comment-header {
            display: flex;
            justify-content: space-between;
            margin-bottom: 6px;
            font-size: 12px;
        }

        .comment-author {
            font-weight: 600;
        }

        .comment-date {
            color: var(--text-light);
        }

        .comment-body {
            font-size: 13px;
            line-height: 1.6;
        }

        /* Loading Screen */
        .loading-screen {
            position: fixed;
            top: 0; left: 0; right: 0; bottom: 0;
            background: var(--primary-light);
            z-index: 5000;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .loading-content {
            text-align: center;
            font-family: 'Consolas', monospace;
        }

        .loading-title {
            font-size: 28px;
            font-weight: 300;
            letter-spacing: 3px;
            margin-bottom: 30px;
            color: var(--primary-dark);
        }

        .loading-bar {
            width: 200px;
            height: 2px;
            background: var(--border-light);
            border-radius: 1px;
            overflow: hidden;
            margin: 0 auto 15px;
        }

        .loading-bar-fill {
            height: 100%;
            width: 30%;
            background: var(--game-accent);
            border-radius: 1px;
            animation: loadingSlide 1.5s ease-in-out infinite;
        }

        @keyframes loadingSlide {
            0% { transform: translateX(-100%); width: 30%; }
            50% { width: 60%; }
            100% { transform: translateX(400%); width: 30%; }
        }

        .loading-text {
            font-size: 12px;
            color: var(--text-light);
            letter-spacing: 1px;
        }
