        /* ===== FLASHCARD PAGE ===== */
        #fcMainArea {
            display: flex;
            flex-direction: column;
            padding: 22px;
            gap: 14px;
        }

        .fc-toolbar {
            display: flex;
            align-items: center;
            gap: 8px;
            flex-shrink: 0;
            flex-wrap: wrap;
        }

        .fc-progress {
            font-size: 13px;
            font-weight: 600;
            color: var(--ink-soft);
            margin-left: 6px;
        }

        .fc-card-area {
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            min-height: 0;
        }

        .fc-empty {
            color: var(--ink-soft);
            font-size: 15px;
            text-align: center;
            line-height: 1.7;
        }

        .fc-card {
            width: min(680px, 90%);
            max-height: 68vh;
            overflow-y: auto;
            background: var(--panel-bg);
            border: 1px solid var(--card-border);
            border-radius: 20px;
            box-shadow: 0 10px 40px rgba(31, 37, 68, 0.10);
            padding: 44px 36px;
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            gap: 14px;
            cursor: pointer;
            transition: box-shadow 0.2s ease;
            position: relative;
        }

        .fc-card:hover {
            box-shadow: 0 14px 48px rgba(31, 37, 68, 0.16);
        }

        .fc-card-label {
            font-size: 11.5px;
            font-weight: 700;
            letter-spacing: 0.08em;
            color: #FF7518;
            text-transform: uppercase;
        }

        .fc-card-label.fc-label-answer {
            color: #16A34A;
        }

        .fc-card-text {
            font-size: 18px;
            line-height: 1.6;
            color: var(--ink);
            white-space: pre-wrap;
            word-break: break-word;
        }

        .fc-card-hint {
            font-size: 12.5px;
            color: var(--ink-soft);
        }

        .fc-linked-badge {
            position: absolute;
            top: 14px;
            right: 16px;
            font-size: 11px;
            font-weight: 600;
            color: #FF7518;
            background: rgba(232, 93, 4, 0.14);
            padding: 3px 9px;
            border-radius: 999px;
        }

        .fc-answer-input-area {
            width: 100%;
            margin-top: 6px;
            display: flex;
            flex-direction: column;
            gap: 8px;
            border-top: 1px solid var(--card-border);
            padding-top: 14px;
        }

        .fc-answer-input-area textarea {
            width: 100%;
            padding: 10px 14px;
            border: 1px solid var(--card-border);
            border-radius: 10px;
            font-size: 14px;
            font-family: 'Inter', sans-serif;
            background: var(--input-bg);
            color: var(--ink);
            resize: vertical;
            min-height: 50px;
            transition: border-color 0.2s;
        }

        .fc-answer-input-area textarea:focus {
            outline: none;
            border-color: var(--accent);
        }

        .fc-answer-input-area .fc-submit-btn {
            padding: 8px 20px;
            background: var(--root-color);
            color: #fff;
            border: none;
            border-radius: 8px;
            font-size: 13px;
            font-weight: 600;
            cursor: pointer;
            transition: background 0.2s;
            align-self: flex-end;
        }

        .fc-answer-input-area .fc-submit-btn:hover {
            opacity: 0.85;
        }

        .fc-answer-history {
            font-size: 13px;
            color: var(--ink-soft);
            padding: 4px 0;
            text-align: left;
            width: 100%;
            max-height: 120px;
            overflow-y: auto;
            border-top: 1px solid var(--card-border);
            padding-top: 10px;
            margin-top: 4px;
        }

        .fc-answer-history .history-item {
            display: flex;
            gap: 10px;
            padding: 3px 0;
            font-size: 12.5px;
            border-bottom: 1px solid rgba(0, 0, 0, 0.04);
        }

        .fc-answer-history .history-item .h-time {
            color: var(--ink-soft);
            flex-shrink: 0;
        }

        .fc-answer-history .history-item .h-answer {
            flex: 1;
            word-break: break-word;
        }

        .fc-answer-history .history-item .h-correct {
            color: #16A34A;
            font-weight: 600;
        }

        .fc-answer-history .history-item .h-wrong {
            color: #EF4444;
            font-weight: 600;
        }

        .fc-nav {
            display: flex;
            justify-content: center;
            gap: 10px;
            flex-wrap: wrap;
            flex-shrink: 0;
        }

        .fc-list-row {
            display: flex;
            align-items: flex-start;
            gap: 8px;
            padding: 8px;
            border-radius: 8px;
            cursor: pointer;
            font-size: 12.5px;
            line-height: 1.4;
            border: 1px solid transparent;
            margin-bottom: 4px;
        }

        .fc-list-row:hover {
            background: var(--context-hover);
            border-color: var(--card-border);
        }

        .fc-list-row .fc-list-q {
            flex: 1;
            color: var(--ink);
        }

        .fc-list-row .fc-list-stat {
            font-size: 11px;
            color: var(--ink-soft);
            flex-shrink: 0;
        }

        .fc-list-row .fc-list-del {
            color: #EF4444;
            cursor: pointer;
            flex-shrink: 0;
        }

        .fc-list-link-icon {
            flex-shrink: 0;
            color: #FF7518;
        }

        #linkPickBanner {
            position: fixed;
            top: 54px;
            left: 50%;
            transform: translateX(-50%);
            z-index: 3000;
            background: #1D4ED8;
            color: #fff;
            padding: 9px 16px;
            border-radius: 10px;
            font-size: 13px;
            display: flex;
            align-items: center;
            gap: 12px;
            box-shadow: 0 6px 20px rgba(29, 78, 216, 0.35);
        }

        #linkPickBanner button {
            background: rgba(255, 255, 255, 0.15);
            border: none;
            color: #fff;
            padding: 4px 10px;
            border-radius: 6px;
            font-size: 12px;
            cursor: pointer;
        }

        #linkPickBanner button:hover {
            background: rgba(255, 255, 255, 0.28);
        }

