/* Shared operational marketplace surfaces. */

      :root {
        --color-primary: #6366F1;
        --color-secondary: #818CF8;
        --color-cta: #10B981;
        --color-background: #2b1d5d;
        --color-text: #f8fafc;
        --mk-cyan: #22d3ee;
        --mk-violet: #a78bfa;
        --mk-surface: rgba(45, 23, 75, 0.95);
        --mk-border: rgba(148, 163, 184, 0.22);
        --mk-ink-soft: rgba(41, 18, 61, 0.56);
        --mk-panel-stroke: rgba(148, 163, 184, 0.26);
        --mk-glow-cyan: 0 0 0 1px rgba(34, 211, 238, 0.16), 0 14px 40px rgba(14, 116, 144, 0.22);
        --shadow-xl: 0 20px 25px rgba(0,0,0,0.3);
      }

      body {
        font-family: 'Plus Jakarta Sans', sans-serif;
        background-color: transparent;
        color: var(--color-text);
      }

      .mk-hero-band {
        max-width: 1080px;
        margin: 0 auto;
        padding: 4rem 2rem;
        border-radius: 32px;
        border: 1px solid var(--mk-border);
        background: rgba(65, 31, 89, 0.4);
        backdrop-filter: blur(20px);
        box-shadow: var(--shadow-xl);
        text-align: center;
      }

      .text-gradient-smart {
        background: linear-gradient(135deg, #fff 30%, var(--mk-cyan) 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
      }

      .mk-hub-actions {
        display: flex;
        gap: 1rem;
        justify-content: center;
        flex-wrap: wrap;
        margin: 2rem 0;
      }

      .btn-smart {
        padding: 1rem 2rem;
        border-radius: 12px;
        font-weight: 700;
        text-decoration: none;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        cursor: pointer;
      }

      .btn-smart-primary {
        background: var(--color-cta);
        color: #fff;
        box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
      }

      .btn-smart-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(16, 185, 129, 0.6);
      }

      .btn-smart-secondary {
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid var(--mk-border);
        color: #fff;
      }

      .btn-smart-secondary:hover {
        background: rgba(255, 255, 255, 0.1);
        border-color: var(--mk-cyan);
      }

      .mk-live-wrap {
        max-width: 1200px;
        margin: 3rem auto;
        padding: 2rem;
        background: var(--mk-surface);
        border: 1px solid var(--mk-border);
        border-radius: 24px;
        box-shadow: var(--shadow-xl);
      }

      .mk-live-card {
        background: rgba(30, 41, 59, 0.5);
        border: 1px solid var(--mk-border);
        border-radius: 20px;
        padding: 1.5rem;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
        margin-bottom: 1.5rem;
      }

      .mk-live-card:hover {
        transform: translateY(-4px);
        border-color: var(--mk-cyan);
        background: rgba(30, 41, 59, 0.8);
      }

      .mk-card-owner {
        display: flex;
        align-items: center;
        gap: 1rem;
        margin-bottom: 1.25rem;
      }

      .mk-avatar {
        width: 56px;
        height: 56px;
        border-radius: 16px;
        object-fit: cover;
        border: 2px solid var(--mk-border);
      }

      .mk-owner-meta strong {
        font-size: 1.1rem;
        color: #fff;
        display: block;
      }

      .mk-owner-meta span {
        font-size: 0.85rem;
        color: var(--mk-cyan);
      }

      .mk-avatar-wrapper {
        position: relative;
        display: inline-block;
      }

      .mk-verified-badge {
        position: absolute;
        bottom: -2px;
        right: -2px;
        width: 18px;
        height: 18px;
        background: #0ea5e9;
        color: white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 10px;
        font-weight: bold;
        border: 2px solid var(--color-background);
        box-shadow: 0 2px 4px rgba(0,0,0,0.3);
      }

      .mk-match-score {
        background: rgba(16, 185, 129, 0.1) !important;
        border-color: rgba(16, 185, 129, 0.3) !important;
        color: #34d399 !important;
        font-weight: 800 !important;
      }

      .mk-pill-verified {
        background: rgba(14, 165, 233, 0.1) !important;
        border-color: rgba(14, 165, 233, 0.3) !important;
        color: #38bdf8 !important;
      }

      .mk-live-desc {
        font-size: 1rem;
        line-height: 1.6;
        color: #cbd5e1;
        margin: 1rem 0;
      }

      .mk-pill-list {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
        margin: 1rem 0;
      }

      .mk-pill {
        background: rgba(99, 102, 241, 0.1);
        border: 1px solid rgba(99, 102, 241, 0.3);
        color: #818CF8;
        padding: 0.3rem 0.8rem;
        border-radius: 8px;
        font-size: 0.75rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.05em;
      }

      .mk-pill-urgent {
        background: rgba(239, 68, 68, 0.1);
        border-color: rgba(239, 68, 68, 0.3);
        color: #fca5a5;
      }

      .mk-pill-featured {
        background: rgba(245, 158, 11, 0.1);
        border-color: rgba(245, 158, 11, 0.3);
        color: #fbbf24;
        animation: glow-pulse 2s infinite ease-in-out;
      }

      @keyframes glow-pulse {
        0%, 100% { opacity: 1; box-shadow: 0 0 5px rgba(245, 158, 11, 0.2); }
        50% { opacity: 0.8; box-shadow: 0 0 15px rgba(245, 158, 11, 0.4); }
      }

      .mk-contact-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 0.75rem;
        margin-top: 1.5rem;
        padding-top: 1.5rem;
        border-top: 1px solid var(--mk-border);
      }

      .mk-contact-link {
        padding: 0.5rem 1rem;
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.05);
        color: #fff;
        text-decoration: none;
        font-size: 0.85rem;
        font-weight: 600;
        transition: all 0.2s ease;
        border: 1px solid transparent;
      }

      .mk-contact-link:hover {
        background: rgba(255, 255, 255, 0.1);
        border-color: var(--mk-cyan);
        color: var(--mk-cyan);
      }

      .mk-msg-thread {
        margin-top: 2rem;
        background: rgba(65, 31, 89, 0.4);
        border-radius: 16px;
        padding: 1.25rem;
      }

      .mk-msg-item {
        background: rgba(255, 255, 255, 0.03);
        border-radius: 12px;
        padding: 1rem;
        margin-bottom: 0.75rem;
        border-left: 3px solid var(--color-primary);
      }

      .mk-msg-head strong {
        color: var(--mk-cyan);
        font-size: 0.9rem;
      }

      .mk-msg-head span {
        font-size: 0.75rem;
        color: #64748b;
        margin-left: 0.5rem;
      }

      .mk-msg-form input, .mk-msg-form textarea {
        background: rgba(15, 23, 42, 0.6);
        border: 1px solid var(--mk-border);
        border-radius: 12px;
        color: #fff;
        padding: 0.75rem;
        width: 100%;
        margin-bottom: 0.75rem;
        transition: border-color 0.2s ease;
      }

      .mk-msg-form input:focus, .mk-msg-form textarea:focus {
        border-color: var(--mk-cyan);
        outline: none;
      }

      .mk-neural-info {
        margin: 4rem auto;
        max-width: 1000px;
        padding: 3rem;
        background: linear-gradient(145deg, rgba(30, 41, 59, 0.4), rgba(15, 23, 42, 0.6));
        border: 1px solid var(--mk-border);
        border-radius: 32px;
        position: relative;
        overflow: hidden;
      }

      .mk-neural-info::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, rgba(99, 102, 241, 0.05) 0%, transparent 70%);
        pointer-events: none;
      }

      .mk-neural-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2rem;
        margin-top: 3rem;
      }

      .mk-neural-step {
        text-align: center;
        padding: 1.5rem;
        background: rgba(255, 255, 255, 0.03);
        border-radius: 24px;
        border: 1px solid transparent;
        transition: all 0.3s ease;
      }

      .mk-neural-step:hover {
        background: rgba(255, 255, 255, 0.05);
        border-color: var(--mk-cyan);
        transform: translateY(-5px);
      }

      .mk-step-icon {
        width: 64px;
        height: 64px;
        margin: 0 auto 1.5rem;
        background: rgba(34, 211, 238, 0.1);
        border-radius: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--mk-cyan);
        font-size: 1.5rem;
      }

      .mk-badge-explain {
        margin-top: 4rem;
        display: flex;
        align-items: center;
        gap: 3rem;
        padding: 2rem;
        background: rgba(14, 165, 233, 0.05);
        border-radius: 24px;
        border: 1px dashed rgba(14, 165, 233, 0.3);
      }

      .mk-badge-visual {
        flex-shrink: 0;
        width: 80px;
        height: 80px;
        background: #0ea5e9;
        border-radius: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 2rem;
        color: white;
        box-shadow: 0 0 30px rgba(14, 165, 233, 0.4);
      }

      @media (max-width: 768px) {
        .mk-badge-explain {
          flex-direction: column;
          text-align: center;
        }
      }

      .mk-filters {
        display: grid;
        grid-template-columns: 1.3fr 1fr 1fr;
        gap: 0.75rem;
        margin-bottom: 2rem;
      }

      .mk-filters input, .mk-filters select {
        background: linear-gradient(145deg, rgba(15, 23, 42, 0.72), rgba(30, 41, 59, 0.62));
        border: 1px solid rgba(148, 163, 184, 0.28);
        border-radius: 12px;
        color: #fff;
        padding: 0.75rem 1rem;
        font-family: inherit;
        transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
      }

      .mk-filters input:focus,
      .mk-filters select:focus {
        outline: none;
        border-color: rgba(34, 211, 238, 0.58);
        box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.14);
        transform: translateY(-1px);
      }

      .mk-card-top {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        margin-bottom: 1.5rem;
      }

      .mk-share-bar {
        display: flex;
        gap: 0.5rem;
      }

      .btn-share {
        width: 32px;
        height: 32px;
        border-radius: 8px;
        border: 1px solid var(--mk-border);
        background: rgba(255, 255, 255, 0.05);
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.2s ease;
        font-size: 0.9rem;
      }

      .btn-share:hover {
        background: var(--mk-cyan);
        color: var(--color-background);
        border-color: var(--mk-cyan);
      }

      .mk-card-title {
        font-size: 1.4rem;
        font-weight: 700;
        color: #fff;
        margin: 0.5rem 0;
        line-height: 1.2;
      }

      .mk-owner-sheet {
        margin-top: 1.5rem;
        background: rgba(255, 255, 255, 0.03);
        border-radius: 16px;
        padding: 1.25rem;
        border: 1px solid rgba(255, 255, 255, 0.05);
      }

      .mk-sheet-label {
        font-size: 0.7rem;
        font-weight: 700;
        text-transform: uppercase;
        color: #64748b;
        letter-spacing: 0.05em;
        margin-bottom: 1rem;
      }

      .mk-social-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
        margin-top: 0.75rem;
      }

      .mk-msg-title-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 1.5rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        padding-bottom: 0.75rem;
      }

      .mk-msg-form-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
      }

      .mk-speaker-card {
        border-color: rgba(16, 185, 129, 0.2);
      }

      .mk-speaker-card:hover {
        border-color: var(--color-cta);
      }

      .mk-msg-thread {
        margin-top: 2rem;
        background: rgba(65, 31, 89, 0.4);
        border-radius: 16px;
        padding: 1.5rem;
        border: 1px solid rgba(255, 255, 255, 0.05);
      }

      .mk-avatar-fallback {
        background: var(--color-primary);
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 800;
        font-size: 1.5rem;
      }

      .mk-speaker-card .mk-avatar-fallback {
        background: var(--color-cta);
      }

      .mk-msg-list {
        max-height: 400px;
        overflow-y: auto;
        padding-right: 0.5rem;
        margin-bottom: 1.5rem;
      }

      /* Custom scrollbar for message list */
      .mk-msg-list::-webkit-scrollbar { width: 4px; }
      .mk-msg-list::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 2px; }

      .mk-msg-item p {
        margin: 0.5rem 0 0;
        color: #cbd5e1;
        font-size: 0.9rem;
        line-height: 1.5;
      }

      .mk-msg-feedback {
        font-size: 0.8rem;
        font-weight: 600;
      }
      .mk-msg-actions {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: 1rem;
      }

      .mk-honeypot {
        display: none;
      }

      @media (max-width: 768px) {
        .mk-hero-band { padding: 3rem 1rem; border-radius: 0; }
        .mk-hub-actions { flex-direction: column; }
        .btn-smart { width: 100%; justify-content: center; }
        .mk-filters { grid-template-columns: 1fr; }
        .mk-msg-form-grid { grid-template-columns: 1fr; }
        .mk-card-top { flex-direction: column; gap: 1rem; }
        .mk-share-bar { align-self: flex-end; }
      }

      /* Nuovi stili per correzione Card e Allineamento */
      .mk-seo-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.5rem;
        max-width: 1120px;
        margin: 2rem auto;
      }

      .mk-seo-card {
        background: rgba(30, 41, 59, 0.4);
        border: 1px solid var(--mk-border);
        border-radius: 20px;
        padding: 1.75rem;
        transition: all 0.3s ease;
        text-align: left;
      }

      .mk-seo-card:hover {
        transform: translateY(-4px);
        border-color: var(--mk-cyan);
        background: rgba(30, 41, 59, 0.6);
      }

      .mk-seo-card h3 {
        color: #fff;
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
      }

      .mk-seo-card p {
        color: #cbd5e1;
        line-height: 1.6;
        font-size: 0.95rem;
      }

      .mk-live-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
        gap: 1.5rem;
        margin-top: 1.5rem;
      }

      .mk-radio-hub {
        max-width: 1120px;
        margin: 2rem auto;
        padding: 2rem;
        background: rgba(30, 41, 59, 0.3);
        border: 1px solid var(--mk-border);
        border-radius: 24px;
      }

      .mk-chip {
        display: inline-block;
        padding: 0.4rem 1rem;
        background: rgba(99, 102, 241, 0.1);
        border: 1px solid rgba(99, 102, 241, 0.2);
        color: #818CF8;
        border-radius: 999px;
        font-size: 0.8rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.05em;
      }

      /* Magnificent Popup for No Messages */
      .mk-no-messages-popup {
        position: fixed;
        bottom: 2rem;
        right: 2rem;
        width: min(400px, calc(100vw - 4rem));
        background: rgba(15, 23, 42, 0.85);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        border: 1px solid rgba(34, 211, 238, 0.3);
        border-radius: 24px;
        padding: 2rem;
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 30px rgba(34, 211, 238, 0.1);
        z-index: 2000;
        opacity: 0;
        transform: translateY(20px) scale(0.95);
        transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        pointer-events: none;
      }

      .mk-no-messages-popup.visible {
        opacity: 1;
        transform: translateY(0) scale(1);
        pointer-events: auto;
      }

      .mk-no-msg-close {
        position: absolute;
        top: 1rem;
        right: 1rem;
        background: rgba(255, 255, 255, 0.05);
        border: none;
        color: #94a3b8;
        width: 32px;
        height: 32px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.2s ease;
        font-size: 1.2rem;
      }

      .mk-no-msg-close:hover {
        background: rgba(239, 68, 68, 0.2);
        color: #ef4444;
        transform: rotate(90deg);
      }

      .mk-no-msg-kicker {
        color: var(--mk-cyan);
        font-size: 0.75rem;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0.15em;
        margin-bottom: 0.75rem;
      }

      .mk-no-messages-popup h3 {
        font-size: 1.5rem;
        font-weight: 800;
        color: #fff;
        margin-bottom: 1rem;
        line-height: 1.2;
      }

      .mk-no-messages-popup p {
        color: #94a3b8;
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
      }

      .mk-no-msg-cta {
        display: block;
        width: 100%;
        padding: 1rem;
        background: linear-gradient(135deg, var(--mk-cyan), #0ea5e9);
        color: #0f172a;
        text-align: center;
        text-decoration: none;
        font-weight: 800;
        border-radius: 12px;
        transition: all 0.3s ease;
        box-shadow: 0 10px 15px -3px rgba(34, 211, 238, 0.3);
      }

      .mk-no-msg-cta:hover {
        transform: translateY(-2px);
        box-shadow: 0 20px 25px -5px rgba(34, 211, 238, 0.4);
        filter: brightness(1.1);
      }

      @media (max-width: 640px) {
        .mk-no-messages-popup {
          bottom: 1rem;
          right: 1rem;
          left: 1rem;
          width: auto;
          padding: 1.5rem;
        }
      }

      .mk-experience-bar {
        margin-top: 1rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 0.8rem;
        flex-wrap: wrap;
        padding: 0.95rem;
        border: 1px solid rgba(34, 211, 238, 0.22);
        background:
          radial-gradient(circle at 14% -10%, rgba(34, 211, 238, 0.13), transparent 46%),
          linear-gradient(135deg, rgba(15, 23, 42, 0.82), rgba(30, 41, 59, 0.64));
        border-radius: 16px;
        box-shadow: var(--mk-glow-cyan);
      }

      .mk-experience-left,
      .mk-experience-right {
        display: flex;
        align-items: center;
        gap: 0.55rem;
        flex-wrap: wrap;
      }

      .mk-switch-pill {
        display: inline-flex;
        align-items: center;
        gap: 0.35rem;
        padding: 0.48rem 0.75rem;
        border-radius: 999px;
        background: rgba(148, 163, 184, 0.13);
        color: #dbeafe;
        font-size: 0.78rem;
        border: 1px solid rgba(148, 163, 184, 0.33);
        transition: border-color 0.2s ease, background 0.2s ease;
      }

      .mk-switch-pill:hover {
        border-color: rgba(34, 211, 238, 0.48);
        background: rgba(34, 211, 238, 0.08);
      }

      .mk-switch-pill input {
        accent-color: #22d3ee;
      }

      .mk-sort-select,
      .mk-mini-btn {
        height: 36px;
        border-radius: 10px;
        border: 1px solid rgba(34, 211, 238, 0.34);
        background: rgba(2, 6, 23, 0.62);
        color: #e2e8f0;
        font-size: 0.78rem;
        padding: 0 0.7rem;
      }

      .mk-mini-btn {
        cursor: pointer;
        font-weight: 700;
        background: linear-gradient(135deg, rgba(34, 211, 238, 0.22), rgba(99, 102, 241, 0.2));
        box-shadow: 0 8px 20px rgba(15, 23, 42, 0.38);
        transition: transform 0.2s ease, border-color 0.2s ease, filter 0.2s ease;
      }

      .mk-mini-btn:hover {
        transform: translateY(-1px);
        border-color: rgba(103, 232, 249, 0.68);
        filter: brightness(1.05);
      }

      .mk-mini-btn--ghost {
        border-color: rgba(148, 163, 184, 0.35);
        background: rgba(15, 23, 42, 0.42);
      }

      .mk-experience-meta {
        margin-top: 0.75rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 0.7rem;
        color: #a5b4fc;
        font-size: 0.76rem;
      }

      .mk-card-fav {
        border: 1px solid rgba(148, 163, 184, 0.45);
        color: #e2e8f0;
        background: rgba(15, 23, 42, 0.7);
        border-radius: 999px;
        padding: 0.24rem 0.55rem;
        font-size: 0.7rem;
        font-weight: 700;
        cursor: pointer;
      }

      .mk-card-fav.is-active {
        color: #0f172a;
        background: linear-gradient(135deg, #fbbf24, #f59e0b);
        border-color: transparent;
      }

      .mk-profile-score {
        margin-top: 0.7rem;
        padding: 0.6rem 0.7rem;
        border: 1px solid rgba(148, 163, 184, 0.2);
        background: rgba(15, 23, 42, 0.45);
        border-radius: 12px;
        font-size: 0.72rem;
        color: #cbd5e1;
      }

      .mk-profile-score strong {
        color: #67e8f9;
      }

      .mk-faq-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.1rem;
        max-width: 980px;
        margin: 0 auto;
      }

      @media (max-width: 720px) {
        .mk-faq-grid {
          grid-template-columns: 1fr;
        }
      }

      .mk-faq-item {
        position: relative;
        border: 1px solid rgba(34, 211, 238, 0.22);
        border-radius: 18px;
        padding: 1.4rem 1.4rem 1.2rem;
        background:
          radial-gradient(circle at 100% 0%, rgba(34, 211, 238, 0.08), transparent 46%),
          linear-gradient(160deg, rgba(2, 6, 23, 0.72), rgba(15, 23, 42, 0.55));
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
        transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
      }

      .mk-faq-item:hover {
        transform: translateY(-3px);
        border-color: rgba(34, 211, 238, 0.5);
        box-shadow: 0 18px 36px rgba(2, 6, 23, 0.4), 0 0 24px rgba(34, 211, 238, 0.1);
      }

      .mk-faq-item .mk-faq-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        border-radius: 12px;
        font-size: 1.25rem;
        margin-bottom: 0.85rem;
        background: linear-gradient(135deg, rgba(34, 211, 238, 0.18), rgba(99, 102, 241, 0.16));
        border: 1px solid rgba(34, 211, 238, 0.3);
      }

      .mk-faq-item h3 {
        margin: 0 0 0.6rem;
        color: #fff;
        font-size: 1.04rem;
        font-weight: 800;
        letter-spacing: 0.005em;
        line-height: 1.35;
      }

      .mk-faq-item p {
        margin: 0;
        color: #b6c2d6;
        font-size: 0.9rem;
        line-height: 1.65;
      }

      .mk-faq-item p strong {
        color: #67e8f9;
      }

      .mk-media-lab {
        margin: 0 auto 1.2rem;
        max-width: 1120px;
        border: 1px solid rgba(34, 211, 238, 0.28);
        background:
          radial-gradient(circle at 92% -18%, rgba(34, 211, 238, 0.14), transparent 44%),
          linear-gradient(135deg, rgba(15, 23, 42, 0.84), rgba(30, 41, 59, 0.58));
        border-radius: 20px;
        padding: 1.1rem;
        box-shadow: var(--mk-glow-cyan);
        position: relative;
        overflow: hidden;
      }

      .mk-media-lab::after {
        content: '';
        position: absolute;
        inset: 0;
        pointer-events: none;
        background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.05) 50%, transparent 70%);
        transform: translateX(-130%);
        animation: mkShimmer 7s ease-in-out infinite;
      }

      @keyframes mkShimmer {
        0%, 70%, 100% { transform: translateX(-130%); }
        82% { transform: translateX(130%); }
      }

      .mk-media-lab-head h3 {
        margin: 0.2rem 0 0.4rem;
        color: #fff;
        font-size: 1.12rem;
        letter-spacing: 0.01em;
      }

      .mk-media-lab-head p {
        color: #94a3b8;
        margin: 0;
        font-size: 0.92rem;
        line-height: 1.55;
      }

      .mk-media-lab-grid {
        margin-top: 0.9rem;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 0.9rem;
      }

      .mk-media-steps {
        margin-top: 1rem;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 0.7rem;
      }

      .mk-media-step {
        display: flex;
        align-items: flex-start;
        gap: 0.65rem;
        padding: 0.75rem 0.85rem;
        border-radius: 12px;
        border: 1px solid rgba(148, 163, 184, 0.2);
        background: rgba(2, 6, 23, 0.45);
        text-align: left;
      }

      .mk-media-step-num {
        flex-shrink: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 26px;
        height: 26px;
        border-radius: 999px;
        font-size: 0.78rem;
        font-weight: 800;
        color: #0f172a;
        background: linear-gradient(135deg, #67e8f9, #22d3ee);
      }

      .mk-media-step strong {
        display: block;
        color: #e2e8f0;
        font-size: 0.84rem;
        margin-bottom: 0.15rem;
      }

      .mk-media-step span {
        color: #94a3b8;
        font-size: 0.78rem;
        line-height: 1.5;
      }

      .mk-media-card .mk-media-desc {
        margin: -0.35rem 0 0.75rem;
        color: #94a3b8;
        font-size: 0.8rem;
        line-height: 1.55;
      }

      .mk-media-card {
        border: 1px solid var(--mk-panel-stroke);
        border-radius: 16px;
        padding: 1rem;
        background: linear-gradient(160deg, rgba(2, 6, 23, 0.66), rgba(15, 23, 42, 0.52));
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
        transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
      }

      .mk-media-card:hover {
        transform: translateY(-2px);
        border-color: rgba(34, 211, 238, 0.44);
        box-shadow: 0 16px 32px rgba(2, 6, 23, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.06);
      }

      .mk-media-card h4 {
        margin: 0 0 0.7rem;
        color: #e2e8f0;
        font-size: 0.98rem;
        letter-spacing: 0.01em;
      }

      .mk-media-card input[type="file"] {
        width: 100%;
        margin-bottom: 0.65rem;
        color: #cbd5e1;
        font-size: 0.8rem;
      }

      .mk-media-card input[type="file"]::file-selector-button {
        border: 1px solid rgba(148, 163, 184, 0.35);
        border-radius: 10px;
        padding: 0.45rem 0.65rem;
        margin-right: 0.7rem;
        background: rgba(15, 23, 42, 0.72);
        color: #e2e8f0;
        font-weight: 700;
        cursor: pointer;
        transition: border-color 0.2s ease, background 0.2s ease;
      }

      .mk-media-card input[type="file"]::file-selector-button:hover {
        border-color: rgba(34, 211, 238, 0.56);
        background: rgba(30, 41, 59, 0.78);
      }

      .mk-media-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.6rem;
        margin-bottom: 0.6rem;
      }

      .mk-media-row label {
        color: #cbd5e1;
        font-size: 0.78rem;
      }

      .mk-media-row select,
      .mk-media-row input[type="range"] {
        flex: 1;
        background: var(--mk-ink-soft);
        color: #e2e8f0;
        border: 1px solid rgba(148, 163, 184, 0.3);
        border-radius: 10px;
        min-height: 34px;
      }

      .mk-media-result {
        margin-top: 0.7rem;
        border: 1px solid rgba(148, 163, 184, 0.3);
        border-radius: 10px;
        padding: 0.75rem;
        font-size: 0.79rem;
        line-height: 1.55;
        color: #dbeafe;
        background: linear-gradient(135deg, rgba(15, 23, 42, 0.62), rgba(2, 6, 23, 0.5));
      }

      .mk-media-tips {
        margin: 0.7rem 0 0;
        padding-left: 1rem;
        color: #94a3b8;
        font-size: 0.76rem;
        line-height: 1.6;
      }

      .mk-quick-dock {
        position: fixed;
        left: 50%;
        bottom: 14px;
        transform: translateX(-50%);
        z-index: 70;
        display: inline-flex;
        gap: 0.5rem;
        flex-wrap: wrap;
        padding: 0.48rem;
        border-radius: 999px;
        border: 1px solid rgba(34, 211, 238, 0.32);
        background:
          radial-gradient(circle at 20% 0%, rgba(34, 211, 238, 0.16), transparent 52%),
          rgba(2, 6, 23, 0.84);
        backdrop-filter: blur(14px);
        box-shadow: 0 18px 40px rgba(2, 6, 23, 0.5);
      }

      .mk-quick-dock a {
        text-decoration: none;
        color: #e2e8f0;
        font-size: 0.74rem;
        font-weight: 700;
        border-radius: 999px;
        padding: 0.45rem 0.8rem;
        border: 1px solid rgba(148, 163, 184, 0.33);
        transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
      }

      .mk-quick-dock a:hover {
        color: #0f172a;
        background: #22d3ee;
        border-color: #22d3ee;
        transform: translateY(-1px);
      }

      @media (max-width: 760px) {
        .mk-experience-meta {
          flex-direction: column;
          align-items: flex-start;
        }

        .mk-quick-dock {
          left: auto;
          right: 10px;
          transform: none;
          bottom: 10px;
          border-radius: 14px;
          flex-direction: column;
        }
      }

/* Keep translated actions readable; status text gets its own row. */
.mk-detail-overlay .mk-msg-actions{display:grid;grid-template-columns:minmax(0,1fr);gap:.75rem;align-items:start}
.mk-detail-overlay .mk-msg-actions>button{justify-self:start;width:auto;max-width:100%;word-break:normal;overflow-wrap:normal;white-space:normal}
.mk-detail-overlay .mk-msg-feedback{min-width:0;width:100%;margin:0}
@media(max-width:768px){.mk-detail-overlay .mk-msg-actions>button{width:100%;justify-self:stretch}}
