@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@500;700&display=swap');
        @import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;500&display=swap');
        body { font-family: 'Quicksand', -apple-system, BlinkMacSystemFont, sans-serif; }
        .doc-container { max-width: 800px; margin: 0 auto; padding: 20px; }
        .endpoint-card {
            background: var(--ios-card);
            border-radius: 20px;
            padding: 25px;
            margin-bottom: 25px;
            box-shadow: var(--shadow);
            position: relative;
            overflow: hidden;
        }
        .method {
            display: inline-block;
            padding: 5px 12px;
            border-radius: 8px;
            font-weight: 700;
            font-size: 12px;
            margin-right: 8px;
            color: white;
            letter-spacing: 0.5px;
        }
        .method.get  { background: #34c759; }
        .method.post { background: #0a84ff; }
        .url { font-family: 'Fira Code', monospace; color: var(--ios-text-secondary); font-size: 14px; }
        .section-title {
            font-size: 22px;
            font-weight: 700;
            margin-bottom: 20px;
            border-left: 5px solid var(--ios-primary);
            padding-left: 15px;
        }
        .pre-wrapper { position: relative; margin-top: 12px; }
        pre {
            background: var(--ios-bg);
            padding: 15px;
            border-radius: 12px;
            overflow: auto;
            border: 1px solid var(--ios-border);
            margin: 0;
        }
        code { font-family: 'Fira Code', monospace; font-size: 13px; color: var(--ios-primary); }
        .copy-btn {
            position: absolute;
            top: 8px;
            right: 8px;
            background: var(--ios-primary);
            color: white;
            border: none;
            border-radius: 8px;
            padding: 5px 10px;
            font-size: 12px;
            font-weight: 700;
            cursor: pointer;
            transition: opacity 0.2s;
            font-family: 'Quicksand', sans-serif;
        }
        .copy-btn:hover { opacity: 0.8; }
        .param-table { width: 100%; border-collapse: collapse; margin-top: 12px; }
        .param-table th, .param-table td {
            text-align: left;
            padding: 11px 12px;
            border-bottom: 1px solid var(--ios-border);
            font-size: 14px;
        }
        .param-table th { font-weight: 700; color: var(--ios-text-secondary); font-size: 12px; text-transform: uppercase; }
        .step-number {
            position: absolute;
            top: -10px;
            right: -10px;
            font-size: 80px;
            font-weight: 800;
            color: rgba(10, 132, 255, 0.05);
            pointer-events: none;
            user-select: none;
        }
        .badge-required {
            display: inline-block;
            background: rgba(255,59,48,0.1);
            color: #ff3b30;
            border-radius: 6px;
            padding: 2px 7px;
            font-size: 11px;
            font-weight: 700;
        }
        .badge-optional {
            display: inline-block;
            background: rgba(52,199,89,0.1);
            color: #34c759;
            border-radius: 6px;
            padding: 2px 7px;
            font-size: 11px;
            font-weight: 700;
        }
        .endpoint-row {
            display: flex;
            align-items: center;
            gap: 8px;
            flex-wrap: wrap;
            margin-bottom: 12px;
        }
        .note-box {
            background: rgba(10, 132, 255, 0.08);
            border-left: 4px solid var(--ios-primary);
            border-radius: 0 10px 10px 0;
            padding: 12px 15px;
            font-size: 13px;
            margin-top: 12px;
            color: var(--ios-text-secondary);
        }
        .note-box i { color: var(--ios-primary); margin-right: 6px; }

        /* Quick Navigation Bar */
        .quick-nav-bar {
            display: flex;
            gap: 8px;
            overflow-x: auto;
            padding: 10px 4px 18px;
            margin-bottom: 24px;
            scrollbar-width: thin;
        }
        .quick-pill {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 8px 14px;
            border-radius: 20px;
            background: var(--ios-card);
            color: var(--ios-text-primary);
            font-size: 13px;
            font-weight: 600;
            text-decoration: none;
            white-space: nowrap;
            border: 1px solid var(--ios-border);
            transition: all 0.2s ease;
        }
        .quick-pill:hover, .quick-pill.active {
            background: var(--ios-primary);
            color: white;
            border-color: var(--ios-primary);
        }
        .quick-pill i { font-size: 12px; }

        /* Code Tabs */
        .code-tabs {
            display: flex;
            gap: 6px;
            margin-top: 14px;
            border-bottom: 1px solid var(--ios-border);
            padding-bottom: 6px;
        }
        .tab-lang-btn {
            background: none;
            border: none;
            color: var(--ios-text-secondary);
            font-weight: 600;
            font-size: 12px;
            padding: 5px 12px;
            border-radius: 6px;
            cursor: pointer;
            transition: all 0.2s ease;
            font-family: 'Quicksand', sans-serif;
        }
        .tab-lang-btn.active {
            background: var(--ios-primary);
            color: white;
        }

        /* Interactive Live API Debugger / Playground */
        .debug-card {
            background: linear-gradient(135deg, rgba(10, 132, 255, 0.05), rgba(99, 102, 241, 0.05));
            border: 1px solid rgba(10, 132, 255, 0.2);
            border-radius: 20px;
            padding: 24px;
            margin-bottom: 35px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        }
        .debug-form-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 14px;
            margin-top: 14px;
        }
        @media (max-width: 600px) {
            .debug-form-grid { grid-template-columns: 1fr; }
        }
        .debug-field {
            display: flex;
            flex-direction: column;
            gap: 5px;
        }
        .debug-label {
            font-size: 12px;
            font-weight: 700;
            color: var(--ios-text-secondary);
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        .debug-input, .debug-select {
            background: var(--ios-bg);
            border: 1px solid var(--ios-border);
            color: var(--ios-text-primary);
            padding: 10px 14px;
            border-radius: 10px;
            font-size: 13px;
            font-family: 'Fira Code', monospace;
            outline: none;
            transition: border-color 0.2s;
        }
        .debug-input:focus, .debug-select:focus {
            border-color: var(--ios-primary);
        }
        .debug-actions {
            margin-top: 16px;
            display: flex;
            align-items: center;
            gap: 12px;
            flex-wrap: wrap;
        }
        .debug-btn {
            background: var(--ios-primary);
            color: white;
            border: none;
            padding: 10px 22px;
            border-radius: 10px;
            font-size: 13px;
            font-weight: 700;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            transition: opacity 0.2s, transform 0.1s;
        }
        .debug-btn:hover { opacity: 0.9; }
        .debug-btn:active { transform: scale(0.98); }
        .debug-btn:disabled { opacity: 0.6; cursor: not-allowed; }
        .debug-status-row {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-top: 14px;
            font-size: 12px;
        }
        .debug-badge {
            padding: 4px 10px;
            border-radius: 6px;
            font-weight: 700;
            font-family: 'Fira Code', monospace;
            font-size: 12px;
        }
        .debug-badge.success { background: rgba(52, 199, 89, 0.15); color: #34c759; }
        .debug-badge.error   { background: rgba(255, 59, 48, 0.15); color: #ff3b30; }
        .debug-badge.waiting { background: rgba(255, 149, 0, 0.15); color: #ff9500; }
        .debug-latency { color: var(--ios-text-secondary); font-family: 'Fira Code', monospace; }
        .debug-response-wrap {
            margin-top: 12px;
            position: relative;
        }
        .debug-response-wrap pre {
            max-height: 280px;
            overflow-y: auto;
        }

        @media (max-width: 640px) {
            .doc-container {
                padding: 10px 8px 30px;
                width: 100%;
                box-sizing: border-box;
                overflow-x: hidden;
            }
            .endpoint-card {
                padding: 14px;
                border-radius: 16px;
                width: 100%;
                box-sizing: border-box;
                overflow: hidden;
            }
            .debug-card {
                padding: 14px;
                border-radius: 16px;
            }
            .param-table {
                display: block;
                width: 100%;
                overflow-x: auto;
                -webkit-overflow-scrolling: touch;
            }
            .param-table th, .param-table td {
                padding: 8px 10px;
                font-size: 12px;
            }
            pre {
                padding: 10px;
                font-size: 11.5px;
            }
            code {
                font-size: 12px;
            }
            .debug-btn {
                width: 100%;
                justify-content: center;
            }
        }
