/* ==========================================================================
   QueryQuest OS X 🗺️ - Apple Mac OS X "Aqua & Brushed Metal" + Sequel Pro Edition
   Stylistyka: Mac OS X Tiger / Dark Graphite Aqua, 3 kulki "Traffic Lights" (🔴🟡🟢),
   szczotkowane aluminium (Brushed Metal), żelowe przyciski Aqua Blue & Emerald,
   Złote Krążki Baz Danych Sequel Pro (🪙) oraz Skarbiec RPG i Diagram ERD.
   ========================================================================== */

:root {
    /* Paleta Mac OS X Dark Brushed Metal & Aqua */
    --osx-bg-deep: #0b111e;
    --osx-bg-metal: #172033;
    --osx-surface: #131c2e;
    --osx-surface-alt: #1b263b;
    --osx-titlebar:
        repeating-linear-gradient(
            0deg,
            rgba(255, 255, 255, 0.03) 0px,
            rgba(255, 255, 255, 0.03) 1px,
            transparent 1px,
            transparent 2px
        ),
        linear-gradient(180deg, #334155 0%, #1e293b 52%, #151e2e 100%);
    --osx-menubar:
        linear-gradient(180deg, #283548 0%, #162032 55%, #0f172a 100%);

    /* Akcenty Aqua Blue, Sequel Pro Gold & Emerald */
    --aqua-blue: #0ea5e9;
    --aqua-blue-bright: #38bdf8;
    --aqua-blue-deep: #0284c7;
    --sequel-gold: #f59e0b;
    --sequel-gold-light: #fde047;
    --emerald-green: #10b981;
    --emerald-light: #34d399;
    --osx-danger: #ef4444;
    --osx-border: #334155;
    --osx-border-light: rgba(148, 163, 184, 0.25);

    /* Kolory kulek Traffic Lights Mac OS X */
    --tl-red: #ff5f56;
    --tl-yellow: #ffbd2e;
    --tl-green: #27c93f;

    --osx-text: #f8fafc;
    --osx-text-muted: #cbd5e1;
    --osx-text-dim: #94a3b8;

    --osx-font: "Inter", -apple-system, BlinkMacSystemFont, "Lucida Grande", "Helvetica Neue", sans-serif;
    --osx-font-mono: "JetBrains Mono", "Monaco", "Menlo", Consolas, monospace;
    --osx-radius-win: 9px 9px 6px 6px;
    --osx-transition: all 0.16s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* ==========================================================================
   Tapeta Pulpitu Mac OS X Tiger Aqua & Układ Pełnoekranowy 100vh
   ========================================================================== */
body.theme-queryquest {
    background:
        radial-gradient(circle at 18% 15%, rgba(14, 165, 233, 0.22) 0%, transparent 45%),
        radial-gradient(circle at 82% 20%, rgba(245, 158, 11, 0.16) 0%, transparent 45%),
        radial-gradient(circle at 50% 85%, rgba(16, 185, 129, 0.14) 0%, transparent 50%),
        linear-gradient(135deg, #090f1d 0%, #111c33 50%, #0b1324 100%);
    color: var(--osx-text);
    font-family: var(--osx-font);
    margin: 0;
    height: 100vh;
    overflow: hidden;
    -webkit-font-smoothing: antialiased;
}

.scroller::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
.scroller::-webkit-scrollbar-track {
    background: #0d1526;
}
.scroller::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
}
.scroller::-webkit-scrollbar-thumb:hover {
    background: var(--aqua-blue);
}

/* ==========================================================================
   Górny Pasek Systemowy Apple Mac OS X Menu Bar
   ========================================================================== */
.top-navbar.osx-menubar {
    height: 46px !important;
    padding: 0 10px !important;
    background: var(--osx-menubar) !important;
    border-bottom: 1px solid rgba(56, 189, 248, 0.45) !important;
    box-shadow: 0 3px 14px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    box-sizing: border-box;
    overflow: hidden;
}

.navbar-brand-group {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-shrink: 0;
}

.osx-apple-menu-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.05) 100%);
    color: #f8fafc;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    text-decoration: none;
    transition: var(--osx-transition);
}
.osx-apple-menu-btn:hover {
    background: linear-gradient(180deg, #38bdf8 0%, #0284c7 100%);
    border-color: #7dd3fc;
    color: #ffffff;
}
.osx-apple-icon {
    font-size: 0.9rem;
    line-height: 1;
}

.brand.osx-brand-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 11px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.25) 0%, rgba(245, 158, 11, 0.22) 100%);
    color: #ffffff;
    font-size: 0.86rem;
    font-weight: 700;
    border-radius: 999px;
    border: 1px solid rgba(245, 158, 11, 0.55);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
    user-select: none;
}

.brand-icon {
    font-size: 1.1rem;
}
.brand-text {
    font-weight: 800;
    letter-spacing: -0.01em;
}
.brand-accent {
    color: var(--sequel-gold-light);
}
.brand-badge {
    background: linear-gradient(180deg, #f59e0b 0%, #b45309 100%);
    color: #ffffff;
    font-size: 0.6rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid rgba(254, 240, 138, 0.4);
}

.osx-daemons-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 8px;
    background: rgba(9, 14, 26, 0.72);
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: 5px;
    font-family: var(--osx-font-mono);
    font-size: 0.65rem;
    color: #cbd5e1;
}
.daemon-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.daemon-sep {
    color: #64748b;
}
.daemon-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 6px #22c55e;
    display: inline-block;
}

.osx-led-panel {
    background: linear-gradient(180deg, #09101d 0%, #111c30 100%);
    border: 1px solid #3b4f6b;
    border-radius: 5px;
    padding: 3px 9px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.8);
}
.led-divider {
    color: #475569;
    font-size: 0.7rem;
}
.brand-progress-badge {
    font-family: var(--osx-font-mono);
    font-size: 0.71rem;
    font-weight: 700;
    color: #7dd3fc;
}
.brand-coins-badge {
    font-family: var(--osx-font-mono);
    font-size: 0.71rem;
    font-weight: 800;
    color: var(--sequel-gold-light);
    cursor: help;
}

/* Pasek 30 Pigułek Poziomów (Mac OS X Aqua Segmented Control) */
.levels-bar-container {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    display: flex;
    justify-content: center;
}

.level-pills {
    display: flex;
    align-items: center;
    gap: 2px;
    flex-wrap: nowrap;
}

.level-pill {
    width: 22px;
    height: 22px;
    min-width: 22px;
    padding: 0;
    border-radius: 4px;
    font-family: var(--osx-font-mono);
    font-size: 0.65rem;
    font-weight: 700;
    background: linear-gradient(180deg, #334155 0%, #1e293b 100%);
    color: #cbd5e1;
    border: 1px solid rgba(148, 163, 184, 0.35);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--osx-transition);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.level-pill:hover:not(:disabled) {
    background: linear-gradient(180deg, #38bdf8 0%, #0284c7 100%);
    color: #ffffff;
    border-color: #bae6fd;
    transform: translateY(-1px);
}
.level-pill.completed {
    background: linear-gradient(180deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    border-color: #6ee7b7;
}
.level-pill.has-coin {
    box-shadow: 0 0 6px rgba(245, 158, 11, 0.65), inset 0 1px 0 rgba(254, 240, 138, 0.7);
    border-color: #fde047;
}
.level-pill.active {
    background: linear-gradient(180deg, #38bdf8 0%, #0369a1 100%);
    color: #ffffff;
    border-color: #ffffff;
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.5);
    transform: scale(1.08);
    z-index: 2;
}
.level-pill.locked {
    opacity: 0.38;
    cursor: not-allowed;
    font-size: 0.55rem;
}

.osx-nav-btn {
    background: linear-gradient(180deg, #334155 0%, #1e293b 100%);
    border: 1px solid rgba(148, 163, 184, 0.4);
    color: #f8fafc;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 9px;
    border-radius: 5px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.osx-nav-btn:hover {
    border-color: var(--aqua-blue-bright);
    background: linear-gradient(180deg, #3b4f6b 0%, #24344d 100%);
}

.nav-actions .btn-icon {
    width: 28px;
    height: 28px;
    font-size: 0.85rem;
    border-radius: 5px;
    background: linear-gradient(180deg, #334155 0%, #1e293b 100%);
    border: 1px solid rgba(148, 163, 184, 0.35);
}
.nav-actions .btn-icon-danger:hover {
    background: rgba(220, 38, 38, 0.35);
    border-color: #f87171;
}

/* ==========================================================================
   Układ 4 Kwadrantów Pulpitu Mac OS X (2 Kolumny x 2 Wiersze = 4 Okna)
   ========================================================================== */
.game-container {
    height: calc(100vh - 46px);
    padding: 8px;
    box-sizing: border-box;
    overflow: hidden;
}

.game-workspace {
    display: grid;
    grid-template-columns: 48% 52%;
    gap: 8px;
    height: 100%;
    max-width: 100%;
    margin: 0;
}

.workspace-column {
    display: grid;
    grid-template-rows: 52% 48%;
    gap: 8px;
    height: 100%;
    min-height: 0;
    min-width: 0;
}

.quadrant-card {
    background: var(--osx-surface);
    border: 1px solid var(--osx-border);
    border-radius: var(--osx-radius-win);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    min-height: 0;
    min-width: 0;
    overflow: hidden;
}

/* Belka Tytułowa Okna Mac OS X Brushed Metal & 3 Kulki Traffic Lights */
.osx-titlebar {
    height: 30px;
    min-height: 30px;
    padding: 0 10px;
    background: var(--osx-titlebar);
    border-bottom: 1px solid #0f172a;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    user-select: none;
}

.osx-traffic-lights {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.osx-light {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.45);
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.55);
    cursor: pointer;
    padding: 0;
}
.osx-light-close {
    background: radial-gradient(circle at 35% 30%, #ff8a84, var(--tl-red) 70%, #b91c1c 100%);
}
.osx-light-min {
    background: radial-gradient(circle at 35% 30%, #ffe082, var(--tl-yellow) 70%, #b45309 100%);
}
.osx-light-max {
    background: radial-gradient(circle at 35% 30%, #86efac, var(--tl-green) 70%, #15803d 100%);
}

.osx-titlebar-center {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    overflow: hidden;
}
.osx-app-icon {
    font-size: 0.9rem;
    flex-shrink: 0;
}
.osx-app-title {
    font-size: 0.74rem;
    font-weight: 700;
    color: #e2e8f0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.osx-titlebar-right {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.osx-pill-tag {
    font-family: var(--osx-font-mono);
    font-size: 0.62rem;
    font-weight: 700;
    color: #94a3b8;
    background: rgba(9, 14, 26, 0.55);
    border: 1px solid rgba(148, 163, 184, 0.25);
    padding: 1px 6px;
    border-radius: 4px;
}

/* ==========================================================================
   KWADRANT 1: Preview.app — Specyfikacja CKE & Pasek Walki ze Strażnikiem RPG
   ========================================================================== */
.task-window-body {
    flex: 1;
    padding: 8px 10px;
    display: flex;
    flex-direction: column;
    gap: 7px;
    overflow-y: auto;
    min-height: 0;
}

.task-top-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    flex-wrap: wrap;
}

.level-header-tags,
.level-right-badges {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
}

.tag-pill {
    font-size: 0.66rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
}
.tag-level {
    background: rgba(56, 189, 248, 0.18);
    color: #bae6fd;
    border-color: rgba(56, 189, 248, 0.4);
}
.tag-phase {
    background: rgba(139, 92, 246, 0.18);
    color: #ddd6fe;
    border-color: rgba(139, 92, 246, 0.4);
}
.tag-exam {
    background: rgba(30, 41, 59, 0.85);
    color: #cbd5e1;
    font-family: var(--osx-font-mono);
}
.tag-coin {
    background: rgba(245, 158, 11, 0.15);
    color: #fde047;
    border-color: rgba(245, 158, 11, 0.45);
    cursor: help;
}
.tag-coin.earned {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.35), rgba(180, 83, 9, 0.45));
    color: #fef08a;
    border-color: #fde047;
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.45);
}
.tag-points {
    background: rgba(16, 185, 129, 0.2);
    color: #6ee7b7;
    border-color: rgba(16, 185, 129, 0.45);
    font-family: var(--osx-font-mono);
}

/* Interaktywny Pasek Walki ze Strażnikiem Danych (RPG Boss Battle Bar) */
.monster-battle-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 10px;
    border-radius: 7px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.92) 0%, rgba(30, 41, 59, 0.88) 100%);
    border: 1px solid rgba(56, 189, 248, 0.32);
    transition: var(--osx-transition);
}
.monster-battle-bar.mood-attack {
    border-color: #f59e0b;
    box-shadow: 0 0 12px rgba(245, 158, 11, 0.25);
}
.monster-battle-bar.mood-error {
    border-color: #ef4444;
    background: linear-gradient(135deg, rgba(69, 10, 10, 0.55) 0%, rgba(15, 23, 42, 0.92) 100%);
}
.monster-battle-bar.mood-defeated {
    border-color: #10b981;
    background: linear-gradient(135deg, rgba(6, 78, 59, 0.55) 0%, rgba(15, 23, 42, 0.92) 100%);
    box-shadow: 0 0 14px rgba(16, 185, 129, 0.3);
}

.monster-avatar {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.2) 0%, rgba(9, 14, 26, 0.85) 100%);
    border: 1px solid rgba(255, 255, 255, 0.16);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}
.monster-battle-bar.mood-attack .monster-avatar {
    animation: monsterHitShake 0.35s ease;
}
.monster-battle-bar.mood-defeated .monster-avatar {
    transform: scale(0.92) rotate(-8deg);
    filter: drop-shadow(0 0 6px #10b981);
}

@keyframes monsterHitShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-4px) rotate(-6deg); }
    75% { transform: translateX(4px) rotate(6deg); }
}

.monster-battle-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.monster-battle-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}
.monster-title-wrap {
    display: flex;
    align-items: baseline;
    gap: 6px;
    min-width: 0;
}
.monster-name {
    font-size: 0.78rem;
    font-weight: 800;
    color: #f8fafc;
}
.monster-subtitle {
    font-size: 0.65rem;
    color: #94a3b8;
}
.monster-hp-stats {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}
.monster-attack-pill {
    font-family: var(--osx-font-mono);
    font-size: 0.64rem;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 4px;
    background: rgba(245, 158, 11, 0.2);
    color: #fde047;
    border: 1px solid rgba(245, 158, 11, 0.4);
}
.monster-hp-text {
    font-family: var(--osx-font-mono);
    font-size: 0.66rem;
    font-weight: 800;
    color: #fca5a5;
}
.monster-hp-track {
    height: 7px;
    background: #090e1a;
    border-radius: 999px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
}
.monster-hp-fill {
    height: 100%;
    background: linear-gradient(90deg, #ef4444 0%, #f97316 60%, #eab308 100%);
    border-radius: 999px;
    transition: width 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.monster-mood-desc {
    font-size: 0.7rem;
    color: #cbd5e1;
    line-height: 1.3;
}

/* Dokument Arkusza CKE (Preview.app Well) */
.osx-doc-well {
    background: #0d1526;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 6px;
    padding: 8px 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.level-title {
    font-size: 0.92rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
    line-height: 1.25;
}

.level-instruction {
    font-size: 0.78rem;
    color: #e2e8f0;
    line-height: 1.45;
}

.inline-code-pill {
    font-family: var(--osx-font-mono);
    font-size: 0.74rem;
    background: rgba(56, 189, 248, 0.14);
    color: #7dd3fc;
    border: 1px solid rgba(56, 189, 248, 0.3);
    padding: 1px 5px;
    border-radius: 4px;
}

/* Zwijana Checklista CKE (Zasada Anty-Spoilera) */
.cke-checklist-box {
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 5px;
    padding: 4px 8px;
}
.cke-checklist-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-size: 0.72rem;
    font-weight: 700;
    color: #cbd5e1;
    user-select: none;
}
.cke-checklist-badge {
    font-family: var(--osx-font-mono);
    font-size: 0.66rem;
    padding: 1px 6px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.2);
    color: #e2e8f0;
}
.cke-checklist-badge.all-passed {
    background: rgba(16, 185, 129, 0.25);
    color: #6ee7b7;
    border: 1px solid rgba(16, 185, 129, 0.5);
}
.cke-checklist-toggle-hint {
    font-size: 0.65rem;
    color: #64748b;
}
.cke-checklist {
    list-style: none;
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px solid rgba(148, 163, 184, 0.15);
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.cke-checklist-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    color: #94a3b8;
}
.cke-checklist-item.completed {
    color: #6ee7b7;
}
.cke-check-icon {
    font-family: var(--osx-font-mono);
    font-weight: 800;
}

/* Zwijana Księga Wskazówek & Pułapka CKE */
.cke-trap-box {
    background: linear-gradient(135deg, rgba(120, 53, 15, 0.32) 0%, rgba(30, 41, 59, 0.9) 100%);
    border: 1px solid rgba(245, 158, 11, 0.5);
    border-radius: 6px;
    padding: 7px 9px;
}
.cke-trap-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
}
.cke-trap-badge {
    font-size: 0.7rem;
    font-weight: 800;
    color: #fde047;
}
.cke-trap-close-btn {
    background: transparent;
    border: none;
    color: #cbd5e1;
    cursor: pointer;
    font-size: 0.78rem;
}
.cke-trap-desc {
    font-size: 0.73rem;
    color: #fef3c7;
    line-height: 1.4;
}
.merlin-hints-container {
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px dashed rgba(245, 158, 11, 0.35);
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.merlin-hints-title {
    font-size: 0.7rem;
    font-weight: 700;
    color: #7dd3fc;
}
.merlin-hint-step {
    font-size: 0.72rem;
    color: #e2e8f0;
}
.hint-bullet {
    color: #fde047;
    font-weight: 700;
}

/* Dolny pasek przycisków akcji Mac OS X Aqua Gel */
.task-bottom-bar {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.workspace-actions {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
}

.osx-aqua-btn {
    background: linear-gradient(180deg, #7dd3fc 0%, #0ea5e9 48%, #0284c7 52%, #0369a1 100%) !important;
    border: 1px solid #bae6fd !important;
    box-shadow: 0 2px 8px rgba(14, 165, 233, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.65) !important;
    color: #ffffff !important;
    font-size: 0.76rem !important;
    font-weight: 800 !important;
    padding: 5px 12px !important;
    border-radius: 999px !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}
.osx-aqua-btn:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

.osx-metal-btn {
    background: linear-gradient(180deg, #475569 0%, #334155 50%, #1e293b 100%) !important;
    border: 1px solid #64748b !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
    color: #f1f5f9 !important;
    font-size: 0.74rem !important;
    font-weight: 700 !important;
    padding: 5px 11px !important;
    border-radius: 999px !important;
}

.osx-emerald-btn {
    background: linear-gradient(180deg, #6ee7b7 0%, #10b981 48%, #059669 52%, #047857 100%) !important;
    border: 1px solid #a7f3d0 !important;
    box-shadow: 0 2px 10px rgba(16, 185, 129, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.6) !important;
    color: #ffffff !important;
    font-size: 0.76rem !important;
    font-weight: 800 !important;
    padding: 5px 13px !important;
    border-radius: 999px !important;
    cursor: pointer;
}

.feedback-box {
    display: none;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 0.74rem;
    line-height: 1.35;
}
.feedback-box.active {
    display: block;
}
.feedback-box.success {
    background: rgba(6, 78, 59, 0.65);
    border: 1px solid #10b981;
    color: #a7f3d0;
}
.feedback-box.warning {
    background: rgba(120, 53, 15, 0.65);
    border: 1px solid #f59e0b;
    color: #fde68a;
}
.feedback-box.error {
    background: rgba(127, 29, 29, 0.65);
    border: 1px solid #ef4444;
    color: #fecaca;
}

/* ==========================================================================
   KWADRANT 2: OmniGraffle & Sequel Pro Schema — Diagram ERD, Tabele & Wzorzec
   ========================================================================== */
.q2-mode-switcher {
    display: inline-flex;
    background: #090f1d;
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 5px;
    overflow: hidden;
}
.q2-tab-btn {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 0.66rem;
    font-weight: 700;
    padding: 3px 8px;
    cursor: pointer;
    transition: var(--osx-transition);
}
.q2-tab-btn.active {
    background: linear-gradient(180deg, #38bdf8 0%, #0284c7 100%);
    color: #ffffff;
}

.erd-panel-view,
.tables-panel-view,
.blueprint-panel-view {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow-y: auto;
    padding: 8px 10px;
    gap: 8px;
}

.erd-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
    padding-bottom: 5px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
    font-size: 0.72rem;
}
.erd-toolbar-title code {
    color: var(--sequel-gold-light);
    font-family: var(--osx-font-mono);
}
.erd-legend {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.66rem;
    color: #cbd5e1;
}
.pk-badge {
    background: rgba(245, 158, 11, 0.22);
    color: #fde047;
    border: 1px solid rgba(245, 158, 11, 0.5);
    padding: 1px 5px;
    border-radius: 4px;
    font-family: var(--osx-font-mono);
    font-size: 0.62rem;
    font-weight: 800;
}
.fk-badge {
    background: rgba(56, 189, 248, 0.2);
    color: #7dd3fc;
    border: 1px solid rgba(56, 189, 248, 0.45);
    padding: 1px 5px;
    border-radius: 4px;
    font-family: var(--osx-font-mono);
    font-size: 0.62rem;
    font-weight: 800;
}

/* Siatka Encji Diagramu ERD */
.erd-canvas-mount {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.erd-entities-grid {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    flex-wrap: wrap;
}
.erd-entity-card {
    background: #0b1324;
    border: 1px solid #38bdf8;
    border-radius: 6px;
    min-width: 195px;
    flex: 1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
    overflow: hidden;
}
.erd-entity-header {
    background: linear-gradient(180deg, #1e3a5f 0%, #0f2540 100%);
    padding: 5px 9px;
    border-bottom: 1px solid rgba(56, 189, 248, 0.4);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--osx-font-mono);
    font-size: 0.74rem;
    font-weight: 800;
    color: #ffffff;
}
.erd-entity-rows-count {
    font-size: 0.62rem;
    color: #93c5fd;
    font-weight: 600;
}
.erd-cols-list {
    list-style: none;
    margin: 0;
    padding: 4px 0;
}
.erd-col-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 3px 9px;
    font-family: var(--osx-font-mono);
    font-size: 0.7rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.08);
    cursor: pointer;
    transition: background 0.12s;
}
.erd-col-item:hover {
    background: rgba(56, 189, 248, 0.12);
}
.erd-col-item.col-added {
    background: rgba(16, 185, 129, 0.18);
}
.erd-col-left {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #f1f5f9;
}
.erd-col-type {
    font-size: 0.62rem;
    color: #94a3b8;
}

.erd-relations-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.erd-rel-pill {
    background: rgba(14, 165, 233, 0.12);
    border: 1px dashed rgba(56, 189, 248, 0.5);
    border-radius: 5px;
    padding: 4px 8px;
    font-family: var(--osx-font-mono);
    font-size: 0.68rem;
    color: #bae6fd;
}

/* Eksplorator Tabel (Stan PRZED / PO) */
.pma-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
    padding-bottom: 5px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}
.pma-tables-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    font-size: 0.72rem;
}
.pma-tables-tabs {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}
.pma-table-pill {
    background: #0d1526;
    border: 1px solid rgba(148, 163, 184, 0.3);
    color: #cbd5e1;
    font-family: var(--osx-font-mono);
    font-size: 0.68rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    cursor: pointer;
}
.pma-table-pill.active {
    background: rgba(14, 165, 233, 0.25);
    border-color: #38bdf8;
    color: #ffffff;
}
.pma-reset-btn {
    background: rgba(245, 158, 11, 0.16);
    border: 1px solid rgba(245, 158, 11, 0.45);
    color: #fde047;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    cursor: pointer;
}

/* Sticky Responsive Data Tables (zgodnie z modern-web-guidance: responsive-table) */
.table-wrapper {
    overflow: auto;
    max-inline-size: 100%;
    max-block-size: min(260px, 38vh);
    container-type: inline-size;
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 6px;
    background: #090f1d;
}

.sql-data-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-family: var(--osx-font-mono);
    font-size: 0.72rem;
}
.sql-data-table thead {
    position: sticky;
    inset-block-start: 0;
    z-index: 2;
}
.sql-data-table th {
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    color: #7dd3fc;
    font-weight: 800;
    text-align: left;
    padding: 5px 9px;
    border-bottom: 1px solid rgba(56, 189, 248, 0.35);
    border-right: 1px solid rgba(148, 163, 184, 0.14);
    white-space: nowrap;
}
.sql-data-table td {
    padding: 4px 9px;
    color: #e2e8f0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
    border-right: 1px solid rgba(148, 163, 184, 0.08);
}
.sql-data-table tbody tr:nth-child(even) {
    background: rgba(30, 41, 59, 0.35);
}
.sql-data-table tbody tr.row-inserted {
    background: rgba(16, 185, 129, 0.22);
}
.sql-data-table tbody tr.row-updated {
    background: rgba(245, 158, 11, 0.22);
}
.sql-data-table tbody tr.row-deleted {
    background: rgba(239, 68, 68, 0.2);
    text-decoration: line-through;
    color: #fca5a5;
}

/* ==========================================================================
   KWADRANT 3: TextMate — Schemat DDL (baza.sql) + Edytor SQL (kwerendy.txt)
   ========================================================================== */
.code-window-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
}

.code-panel {
    display: flex;
    flex-direction: column;
    min-height: 0;
}
.ddl-panel {
    height: 38%;
    border-bottom: 1px solid var(--osx-border);
}
.sql-editor-panel {
    height: 62%;
}

.code-panel-header {
    height: 28px;
    min-height: 28px;
    padding: 0 9px;
    background: #0d1526;
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}
.code-header-left,
.code-header-right {
    display: flex;
    align-items: center;
    gap: 6px;
}
.code-lang-tag {
    font-family: var(--osx-font-mono);
    font-size: 0.62rem;
    font-weight: 800;
    padding: 1px 6px;
    border-radius: 3px;
}
.ddl-lang-badge {
    background: rgba(139, 92, 246, 0.25);
    color: #c4b5fd;
    border: 1px solid rgba(139, 92, 246, 0.45);
}
.sql-lang-badge {
    background: rgba(245, 158, 11, 0.25);
    color: #fde047;
    border: 1px solid rgba(245, 158, 11, 0.5);
}
.code-panel-title {
    font-family: var(--osx-font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    color: #f1f5f9;
}
.code-scope-pill {
    font-size: 0.62rem;
    color: #94a3b8;
    background: rgba(255, 255, 255, 0.06);
    padding: 1px 6px;
    border-radius: 4px;
}
.code-hover-tip {
    font-size: 0.64rem;
    color: #64748b;
}

/* Przełącznik Trybu Hardcore */
.osx-hardcore-toggle {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    user-select: none;
}
.hardcore-label-title {
    font-size: 0.63rem;
    font-weight: 800;
    color: #fde047;
}
.osx-hardcore-toggle input {
    display: none;
}
.osx-switch-track {
    padding: 1px 7px;
    border-radius: 999px;
    background: #1e293b;
    border: 1px solid #475569;
    font-family: var(--osx-font-mono);
    font-size: 0.62rem;
    font-weight: 800;
    color: #94a3b8;
}
.osx-hardcore-toggle input:checked + .osx-switch-track {
    background: linear-gradient(180deg, #f59e0b 0%, #b45309 100%);
    border-color: #fde047;
    color: #ffffff;
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.5);
}

.ddl-code-wrapper {
    flex: 1;
    padding: 6px 10px;
    background: #080d18;
    overflow: auto;
}
.ddl-code-display {
    margin: 0;
    font-family: var(--osx-font-mono);
    font-size: 0.71rem;
    line-height: 1.4;
    color: #93c5fd;
    white-space: pre-wrap;
}

/* Pigułki Szybkiego Wstawiania Słów Kluczowych SQL */
.sql-quick-chips {
    display: flex;
    align-items: center;
    gap: 3px;
}
.sql-chip-btn {
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.32);
    color: #7dd3fc;
    font-family: var(--osx-font-mono);
    font-size: 0.6rem;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 3px;
    cursor: pointer;
}
.sql-chip-btn:hover {
    background: rgba(56, 189, 248, 0.3);
    color: #ffffff;
}

.sql-line-error-badge {
    background: rgba(220, 38, 38, 0.28);
    border: 1px solid #ef4444;
    color: #fecaca;
    font-family: var(--osx-font-mono);
    font-size: 0.64rem;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 4px;
}

/* Powierzchnia Edytora SQL z Numerami Linii */
.editor-body {
    flex: 1;
    background: #070b14;
    padding: 8px 10px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sql-block-card {
    background: #0c1322;
    border: 1px solid rgba(56, 189, 248, 0.25);
    border-radius: 6px;
    overflow: hidden;
}
.sql-block-header {
    padding: 4px 8px;
    background: rgba(30, 41, 59, 0.65);
    border-bottom: 1px solid rgba(148, 163, 184, 0.15);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--osx-font-mono);
    font-size: 0.67rem;
    color: #cbd5e1;
}
.sql-locked-line {
    padding: 4px 10px;
    background: rgba(14, 165, 233, 0.09);
    color: #38bdf8;
    font-family: var(--osx-font-mono);
    font-size: 0.76rem;
    font-weight: 700;
    border-bottom: 1px dashed rgba(56, 189, 248, 0.2);
}
.sql-editor-row {
    display: flex;
    align-items: stretch;
    min-height: 76px;
}
.sql-line-numbers {
    width: 30px;
    padding: 6px 4px;
    background: #060911;
    border-right: 1px solid rgba(148, 163, 184, 0.15);
    font-family: var(--osx-font-mono);
    font-size: 0.72rem;
    line-height: 1.5;
    color: #475569;
    text-align: right;
    user-select: none;
}
.sql-line-num.error-line {
    background: rgba(239, 68, 68, 0.35);
    color: #fecaca;
    font-weight: 800;
    padding-right: 2px;
}
.sql-textarea {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #fde047;
    font-family: var(--osx-font-mono);
    font-size: 0.78rem;
    line-height: 1.5;
    padding: 6px 10px;
    resize: none;
}
.sql-textarea::placeholder {
    color: #475569;
}

/* ==========================================================================
   KWADRANT 4: Sequel Pro — Skrzynia Skarbów, Wynik SQL & Porównywarka Diff
   ========================================================================== */
.live-pulse-badge {
    font-family: var(--osx-font-mono);
    font-size: 0.62rem;
    font-weight: 800;
    color: #34d399;
    background: rgba(6, 78, 59, 0.55);
    border: 1px solid rgba(16, 185, 129, 0.45);
    padding: 1px 6px;
    border-radius: 999px;
}

.sequel-view-tabs {
    display: flex;
    align-items: center;
    background: #0d1526;
    border-bottom: 1px solid rgba(148, 163, 184, 0.22);
    padding: 0 8px;
    gap: 4px;
}
.sq-view-tab {
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    color: #94a3b8;
    font-size: 0.71rem;
    font-weight: 700;
    padding: 6px 10px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.sq-view-tab.active {
    color: #38bdf8;
    border-bottom-color: #38bdf8;
    background: rgba(56, 189, 248, 0.08);
}

.diff-tab-badge {
    font-family: var(--osx-font-mono);
    font-size: 0.6rem;
    padding: 1px 5px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.2);
    color: #cbd5e1;
}
.diff-tab-badge.match {
    background: rgba(16, 185, 129, 0.25);
    color: #6ee7b7;
}
.diff-tab-badge.mismatch {
    background: rgba(239, 68, 68, 0.25);
    color: #fca5a5;
}

.sequel-viewport {
    flex: 1;
    padding: 8px 10px;
    overflow-y: auto;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dock-stamp-approved {
    display: none;
    background: linear-gradient(90deg, rgba(6, 78, 59, 0.9), rgba(4, 120, 87, 0.9));
    border: 1px solid #34d399;
    color: #ecfdf5;
    font-family: var(--osx-font-mono);
    font-size: 0.7rem;
    font-weight: 800;
    text-align: center;
    padding: 4px 8px;
    border-radius: 5px;
    letter-spacing: 0.04em;
}
.dock-stamp-approved.visible {
    display: block;
}

/* Animowana Skrzynia ze Skarbami CKE */
.treasure-vault-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 10px;
    border-radius: 7px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 41, 59, 0.85) 100%);
    border: 1px solid rgba(148, 163, 184, 0.28);
    transition: var(--osx-transition);
}
.treasure-vault-banner.chest-opened {
    background: linear-gradient(135deg, rgba(120, 53, 15, 0.45) 0%, rgba(6, 78, 59, 0.5) 100%);
    border-color: #fde047;
    box-shadow: 0 0 18px rgba(245, 158, 11, 0.3);
}

.treasure-chest-visual {
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.22) 0%, rgba(9, 14, 26, 0.9) 100%);
    border: 1px solid rgba(245, 158, 11, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.chest-icon-stage {
    font-size: 1.55rem;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.chest-sparkles {
    position: absolute;
    top: -9px;
    font-size: 0.62rem;
    opacity: 0;
    transform: translateY(6px) scale(0.7);
    transition: all 0.35s ease;
    pointer-events: none;
    white-space: nowrap;
}
.treasure-vault-banner.chest-opened .chest-sparkles {
    opacity: 1;
    transform: translateY(0) scale(1);
}
.treasure-vault-banner.chest-opened .chest-icon-stage {
    transform: scale(1.18);
    filter: drop-shadow(0 0 8px #fde047);
}

.treasure-vault-info {
    flex: 1;
    min-width: 0;
}
.treasure-vault-title {
    font-size: 0.76rem;
    font-weight: 800;
    color: #fde047;
}
.treasure-vault-desc {
    font-size: 0.69rem;
    color: #cbd5e1;
}
.treasure-coin-pill {
    font-family: var(--osx-font-mono);
    font-size: 0.66rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.45);
    color: #fde047;
    white-space: nowrap;
}

/* Porównywarka Wizualna Diff Viewer */
.diff-summary-banner {
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 0.73rem;
    font-weight: 700;
    margin-bottom: 6px;
}
.diff-summary-banner.ok {
    background: rgba(6, 78, 59, 0.55);
    border: 1px solid #10b981;
    color: #a7f3d0;
}
.diff-summary-banner.err {
    background: rgba(127, 29, 29, 0.45);
    border: 1px solid #ef4444;
    color: #fecaca;
}

.diff-cols-bar {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
    margin-bottom: 6px;
    font-family: var(--osx-font-mono);
    font-size: 0.66rem;
}
.diff-col-pill {
    padding: 2px 7px;
    border-radius: 4px;
    font-weight: 700;
}
.diff-col-pill.match {
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid #10b981;
    color: #6ee7b7;
}
.diff-col-pill.extra {
    background: rgba(239, 68, 68, 0.22);
    border: 1px solid #ef4444;
    color: #fca5a5;
}
.diff-col-pill.missing {
    background: rgba(245, 158, 11, 0.22);
    border: 1px dashed #f59e0b;
    color: #fde047;
}

.diff-cell-ok {
    color: #6ee7b7 !important;
}
.diff-cell-err {
    background: rgba(239, 68, 68, 0.24) !important;
    color: #fecaca !important;
}
.diff-expected-hint {
    display: block;
    font-size: 0.62rem;
    color: #fde047;
}

/* Konsola mysql> & Plan EXPLAIN */
.iterm-console-box,
.explain-plan-box {
    background: #070b14;
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 6px;
    padding: 7px 9px;
}
.iterm-header,
.explain-header {
    font-family: var(--osx-font-mono);
    font-size: 0.68rem;
    font-weight: 700;
    color: #93c5fd;
    margin-bottom: 6px;
}
.iterm-input-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}
.iterm-prompt {
    font-family: var(--osx-font-mono);
    font-size: 0.74rem;
    font-weight: 800;
    color: #34d399;
}
.iterm-sql-input {
    flex: 1;
    background: #0f172a;
    border: 1px solid #334155;
    border-radius: 4px;
    color: #fde047;
    font-family: var(--osx-font-mono);
    font-size: 0.73rem;
    padding: 4px 8px;
}
.osx-mini-btn {
    background: linear-gradient(180deg, #38bdf8 0%, #0284c7 100%);
    border: 1px solid #7dd3fc;
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 4px 9px;
    border-radius: 4px;
    cursor: pointer;
}

.explain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
    gap: 6px;
}
.explain-card {
    background: #0d1526;
    border: 1px solid rgba(56, 189, 248, 0.25);
    border-radius: 5px;
    padding: 5px 8px;
    font-family: var(--osx-font-mono);
    font-size: 0.66rem;
}
.explain-label {
    color: #94a3b8;
    font-size: 0.6rem;
}
.explain-val {
    color: #7dd3fc;
    font-weight: 700;
}

/* Dolny Pasek Stanu Mac OS X */
.osx-statusbar {
    height: 24px;
    min-height: 24px;
    padding: 0 10px;
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    border-top: 1px solid rgba(148, 163, 184, 0.22);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.66rem;
    color: #cbd5e1;
}
.osx-status-left,
.osx-status-right {
    display: flex;
    align-items: center;
    gap: 6px;
}
.osx-status-pill {
    font-family: var(--osx-font-mono);
    font-size: 0.62rem;
    background: rgba(9, 14, 26, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.22);
    padding: 1px 6px;
    border-radius: 4px;
}

/* Okna Modalne Mac OS X Sheet Dialog */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(5, 10, 20, 0.72);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}
.modal-backdrop.open {
    display: flex;
}
.modal-content.osx-dialog {
    background: #131c2e;
    border: 1px solid #38bdf8;
    border-radius: var(--osx-radius-win);
    width: min(560px, 92vw);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
    overflow: hidden;
}
.modal-content.osx-dialog-wide {
    width: min(760px, 94vw);
}
.osx-dialog-body {
    padding: 14px 16px;
}
.cheatsheet-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.cheat-card {
    background: #090f1d;
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: 6px;
    padding: 8px 10px;
}
.cheat-card h4 {
    font-size: 0.74rem;
    color: #fde047;
    margin: 0 0 5px 0;
}
.cheat-card pre {
    margin: 0;
    font-family: var(--osx-font-mono);
    font-size: 0.68rem;
    color: #93c5fd;
    white-space: pre-wrap;
}
.btn-danger {
    background: linear-gradient(180deg, #ef4444 0%, #b91c1c 100%);
    border: 1px solid #fca5a5;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 999px;
    cursor: pointer;
}
