/* twitter-snowflake-examples — tool styles scoped to .tool-card */

.tool-card .header h1 { font-size: 32px; margin-bottom: 15px; }
.tool-card .section { margin-bottom: 40px; }
.tool-card .section h2 { color: #1DA1F2; font-size: 28px; margin-bottom: 20px; }
.tool-card .examples-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 20px;
            margin: 30px 0;
        }
.tool-card .example-card {
            background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
            padding: 20px;
            border-radius: 12px;
            border-left: 5px solid #1DA1F2;
            transition: transform 0.2s;
        }
.tool-card .example-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(29,161,242,0.2); }
.tool-card .example-id {
            font-family: 'Courier New', monospace;
            font-size: 14px;
            color: #1a202c;
            background: white;
            padding: 10px;
            border-radius: 6px;
            margin-bottom: 12px;
            word-break: break-all;
            font-weight: 600;
        }
.tool-card .example-date {
            font-size: 16px;
            color: #0d8bd9;
            font-weight: 600;
            margin-bottom: 8px;
        }
.tool-card .example-time { font-size: 14px; color: #666; margin-bottom: 8px; }
.tool-card .example-timestamp {
            font-size: 12px;
            color: #999;
            font-family: monospace;
        }
.tool-card .calculation-box {
            background: #1a202c;
            color: #10b981;
            padding: 20px;
            border-radius: 8px;
            font-family: 'Courier New', monospace;
            font-size: 14px;
            margin: 20px 0;
            overflow-x: auto;
        }
.tool-card .decoder-tool {
            background: linear-gradient(135deg, #1DA1F215 0%, #0d8bd915 100%);
            padding: 30px;
            border-radius: 12px;
            border: 2px solid #1DA1F2;
            margin: 30px 0;
        }
.tool-card input[type="text"] {
            width: 100%;
            padding: 14px;
            border: 2px solid #1DA1F2;
            border-radius: 8px;
            font-size: 15px;
            font-family: monospace;
            margin-bottom: 15px;
        }
.tool-card .btn {
            width: 100%;
            padding: 14px;
            background: linear-gradient(135deg, #1DA1F2 0%, #0d8bd9 100%);
            color: white;
            border: none;
            border-radius: 8px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
        }
.tool-card .result {
            display: none;
            background: white;
            padding: 20px;
            border-radius: 8px;
            margin-top: 20px;
        }
.tool-card .category-badge {
            display: inline-block;
            background: #10b981;
            color: white;
            padding: 4px 10px;
            border-radius: 12px;
            font-size: 11px;
            font-weight: 600;
            margin-bottom: 10px;
        }
.tool-card .code-block { background: #1e1e1e; border-radius: 8px; overflow: hidden; margin: 20px 0; }
.tool-card .code-block pre { margin: 0; padding: 20px; overflow-x: auto; }
.tool-card .code-block code { background: transparent; padding: 0; color: #d4d4d4; display: block; line-height: 1.6; }
.tool-card .code-header { background: #2d2d2d; padding: 10px 20px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #404040; }
.tool-card .code-header span { color: #9cdcfe; font-size: 12px; font-weight: 600; text-transform: uppercase; }
.tool-card .code-header button { background: #667eea; color: white; border: none; padding: 6px 12px; border-radius: 4px; cursor: pointer; font-size: 12px; transition: background 0.2s; }
.tool-card .code-header button:hover { background: #5568d3; }
.tool-card .example-box { background: linear-gradient(135deg, #667eea15 0%, #764ba215 100%); padding: 20px; border-radius: 8px; border-left: 4px solid #667eea; margin: 20px 0; }
.tool-card .example-box h4 { color: #667eea; margin-bottom: 15px; font-size: 18px; }
.tool-card .example-box code { background: #f8f9fa; padding: 2px 6px; border-radius: 3px; color: #e83e8c; font-family: 'Courier New', monospace; }
.tool-card .comparison-table { width: 100%; border-collapse: collapse; margin: 20px 0; background: white; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
.tool-card .comparison-table thead { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; }
.tool-card .comparison-table th { padding: 15px; text-align: left; font-weight: 600; }
.tool-card .comparison-table td { padding: 12px 15px; border-bottom: 1px solid #eee; }
.tool-card .comparison-table tbody tr:hover { background: #f8f9fa; }
.tool-card .error-box h4 { color: #e53e3e; margin-bottom: 10px; font-size: 16px; }
.tool-card .error-box p { color: #742a2a; margin: 5px 0; font-size: 14px; }
.tool-card .tip-box { background: #f0fff4; border-left: 4px solid #38a169; padding: 15px 20px; border-radius: 8px; margin: 15px 0; }
.tool-card .tip-box h4 { color: #38a169; margin-bottom: 10px; font-size: 16px; }
.tool-card .tip-box p { color: #22543d; margin: 5px 0; font-size: 14px; }
.tool-card .visual-diagram { background: white; padding: 20px; border-radius: 8px; margin: 20px 0; border: 2px solid #e2e8f0; }
.tool-card .bit-diagram { display: flex; border: 2px solid #667eea; border-radius: 8px; overflow: hidden; margin: 15px 0; }
.tool-card .bit-section { flex: 1; padding: 15px; text-align: center; border-right: 1px solid #667eea; }
.tool-card .bit-section:last-child { border-right: none; }
.tool-card .bit-section.timestamp { background: #667eea15; }
.tool-card .bit-section.worker { background: #764ba215; }
.tool-card .bit-section.sequence { background: #f8f9fa; }
.tool-card .bit-label { font-size: 11px; color: #666; margin-bottom: 5px; font-weight: 600; }
.tool-card .bit-content { font-size: 14px; color: #1a202c; font-weight: 600; }
.tool-card .cta-section h3 { font-size: 28px; margin-bottom: 15px; }
.tool-card .cta-section p { font-size: 16px; margin-bottom: 25px; opacity: 0.95; }
.tool-card .cta-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-top: 25px; }
.tool-card .cta-card { background: rgba(255,255,255,0.15); padding: 20px; border-radius: 8px; text-decoration: none; color: white; transition: all 0.3s; border: 2px solid rgba(255,255,255,0.2); }
.tool-card .cta-card:hover { background: rgba(255,255,255,0.25); transform: translateY(-5px); }
.tool-card .cta-card h4 { font-size: 18px; margin-bottom: 10px; }
.tool-card .cta-card p { font-size: 14px; opacity: 0.9; }
.tool-card .cta-arrow { font-size: 24px; margin-top: 10px; display: block; }
.tool-card .try-it-section { margin: 30px 0; }
.tool-card .example-card { background: white; padding: 20px; border-radius: 8px; border: 2px solid #e2e8f0; cursor: pointer; transition: all 0.3s; margin-bottom: 15px; }
.tool-card .example-card:hover { border-color: #667eea; box-shadow: 0 4px 12px rgba(102,126,234,0.15); transform: translateY(-2px); }
.tool-card .example-platform { color: #667eea; font-weight: 600; font-size: 14px; margin-bottom: 8px; }
.tool-card .example-id { font-family: 'Courier New', monospace; font-size: 16px; color: #1a202c; margin-bottom: 8px; }
.tool-card .example-result { color: #38a169; font-size: 14px; margin-bottom: 10px; }
.tool-card .example-card button { background: #667eea; color: white; border: none; padding: 8px 16px; border-radius: 4px; cursor: pointer; font-size: 14px; }
.tool-card .seo-content {
            margin-top: 40px;
            line-height: 1.9;
            color: #444;
            font-size: 15px;
        }
.tool-card .seo-content .container {
            padding: 0 20px;
        }
.tool-card .seo-content h2, .tool-card .seo-content h3 {
            font-size: 18px;
            font-weight: 600;
            margin-top: 24px;
            margin-bottom: 10px;
            color: #667eea;
        }
.tool-card .seo-content p {
            margin-bottom: 14px;
            color: #555;
        }
.tool-card .seo-content ul, .tool-card .seo-content ol {
            margin-left: 22px;
            margin-bottom: 16px;
        }
.tool-card .seo-content li {
            margin-bottom: 8px;
            color: #555;
        }
.tool-card .examples-content {
            margin-top: 40px;
            line-height: 1.9;
            color: #444;
            font-size: 15px;
        }
.tool-card .examples-content .container {
            padding: 0 20px;
        }
.tool-card .examples-content h2, .tool-card .examples-content h3 {
            font-size: 18px;
            font-weight: 600;
            margin-top: 24px;
            margin-bottom: 10px;
            color: #667eea;
        }
.tool-card .examples-content p {
            margin-bottom: 14px;
            color: #555;
        }
.tool-card .examples-content pre {
            background: #1e1e2e;
            color: #cdd6f4;
            padding: 18px 20px;
            border-radius: 8px;
            overflow-x: auto;
            margin-bottom: 18px;
            font-size: 13px;
            line-height: 1.6;
        }
.tool-card .examples-content code {
            font-family: 'Fira Code', 'Cascadia Code', 'Monaco', 'Menlo', monospace;
        }
.tool-card .examples-content ul, .tool-card .examples-content ol {
            margin-left: 22px;
            margin-bottom: 16px;
        }
.tool-card .examples-content li {
            margin-bottom: 8px;
            color: #555;
        }
