/* HEVC Player - codecs.com/app/hevc-player/ */
/* Theme: amber/orange - signals "specialty / 4K / HDR" */

.hevc-player {
    max-width: 960px;
    margin: 0 auto;
}

/* ===== Hero ===== */
.hero-section {
    text-align: center;
    padding: 2rem 1.5rem;
    background: linear-gradient(135deg, #c2410c 0%, #f97316 50%, #fbbf24 100%);
    border-radius: 8px;
    margin-bottom: 1.25rem;
    position: relative;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 70%, rgba(251,191,36,0.20) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(255,255,255,0.10) 0%, transparent 50%);
    pointer-events: none;
}
.hero-section__icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.25rem;
    position: relative;
    z-index: 1;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-section__icon i {
    font-size: 2.5rem;
    color: #fff;
}
.hero-section__title {
    font-size: 1.85rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.5rem;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.hero-section__subtitle {
    font-size: 1rem;
    color: rgba(255,255,255,0.92);
    margin: 0 auto;
    max-width: 720px;
    line-height: 1.5;
    position: relative;
    z-index: 1;
}
.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 1rem;
    position: relative;
    z-index: 1;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.7rem;
    background: rgba(255,255,255,0.18);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 500;
    backdrop-filter: blur(4px);
}
.hero-badge i { font-size: 0.85rem; }

/* ===== Capability Banner ===== */
.capability-banner {
    display: flex;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-radius: 8px;
    margin-bottom: 1.25rem;
    border: 1px solid #fed7aa;
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    box-shadow: 0 2px 8px rgba(249,115,22,0.06);
    transition: background .25s, border-color .25s;
}
.capability-banner.cap-state-good { border-color: #86efac; background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%); }
.capability-banner.cap-state-partial { border-color: #fcd34d; background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%); }
.capability-banner.cap-state-bad { border-color: #fca5a5; background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%); }

.capability-banner__icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}
.capability-banner__icon i { font-size: 1.4rem; color: #ea580c; }
.cap-state-good .capability-banner__icon i { color: #16a34a; }
.cap-state-partial .capability-banner__icon i { color: #d97706; }
.cap-state-bad .capability-banner__icon i { color: #dc2626; }

.capability-banner__body { flex: 1; min-width: 0; }
.capability-banner__title { margin: 0 0 0.25rem; font-size: 1.05rem; color: #1f2937; }
.capability-banner__text { margin: 0 0 0.6rem; font-size: 0.88rem; color: #4b5563; }

.capability-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.5rem;
    margin-top: 0.5rem;
}
.cap-pill {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.4rem 0.6rem;
    background: #fff;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
    font-size: 0.78rem;
}
.cap-pill__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #9ca3af;
    flex-shrink: 0;
}
.cap-pill--yes .cap-pill__dot { background: #22c55e; }
.cap-pill--smooth .cap-pill__dot { background: #16a34a; box-shadow: 0 0 0 2px rgba(34,197,94,0.2); }
.cap-pill--no .cap-pill__dot { background: #ef4444; }
.cap-pill--unknown .cap-pill__dot { background: #9ca3af; }
.cap-pill__label { color: #374151; font-weight: 500; }
.cap-pill__verdict { margin-left: auto; color: #6b7280; font-size: 0.72rem; }

/* ===== Main Container ===== */
.player-container {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

/* ===== Drop Zone ===== */
.drop-zone {
    margin: 1.25rem;
    padding: 2.5rem 1.5rem;
    border: 2px dashed #fdba74;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s ease;
    background: linear-gradient(135deg, #fff7ed 0%, #fffbeb 100%);
    position: relative;
}
.drop-zone:hover, .drop-zone.dragover {
    border-color: #f97316;
    background: linear-gradient(135deg, #ffedd5 0%, #fef3c7 100%);
    transform: translateY(-1px);
}
.drop-zone__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 0.75rem;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(249,115,22,0.15);
}
.drop-zone__icon i { font-size: 2rem; color: #ea580c; }
.drop-zone__title { font-size: 1.2rem; color: #1f2937; margin: 0 0 0.25rem; font-weight: 600; }
.drop-zone__subtitle { color: #6b7280; font-size: 0.9rem; margin: 0 0 1rem; }
.drop-zone__formats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    justify-content: center;
    margin-top: 0.75rem;
}
.drop-zone__format {
    background: #fff;
    color: #c2410c;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    border: 1px solid #fed7aa;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.drop-zone input[type="file"] { display: none; }

/* Divider */
.divider {
    text-align: center;
    margin: 0.5rem 0;
    position: relative;
    color: #9ca3af;
    font-size: 0.8rem;
}
.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 1.5rem;
    right: 1.5rem;
    height: 1px;
    background: #e5e7eb;
}
.divider span {
    background: #fff;
    padding: 0 0.85rem;
    position: relative;
}

/* URL section */
.url-section { padding: 0 1.25rem 1.25rem; }
.url-input-wrapper {
    display: flex;
    gap: 0.5rem;
}
.url-input {
    flex: 1;
    padding: 0.65rem 0.85rem;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: all 0.2s;
    background: #fff;
}
.url-input:focus {
    outline: none;
    border-color: #f97316;
    box-shadow: 0 0 0 3px rgba(249,115,22,0.12);
}
.url-btn {
    padding: 0.65rem 1.1rem;
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    transition: all 0.2s;
}
.url-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(249,115,22,0.3); }

/* ===== Player Area ===== */
.player-area { display: none; padding: 0 1.25rem 1.25rem; }
.player-area.active { display: block; }

/* Error */
.error-message {
    display: none;
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border: 1px solid #fecaca;
    border-left: 4px solid #dc2626;
    padding: 0.85rem 1rem;
    border-radius: 6px;
    margin-bottom: 1rem;
    gap: 0.75rem;
    align-items: flex-start;
}
.error-message.active { display: flex; }
.error-message__icon { color: #dc2626; font-size: 1.3rem; flex-shrink: 0; margin-top: 2px; }
.error-message__content { flex: 1; }
.error-message__title { margin: 0 0 0.25rem; color: #991b1b; font-size: 0.95rem; }
.error-message__text { margin: 0 0 0.5rem; color: #b91c1c; font-size: 0.85rem; }
.error-message__action {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.75rem;
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.error-message__action:hover { transform: translateY(-1px); box-shadow: 0 3px 10px rgba(249,115,22,0.3); }

/* File info bar */
.file-info-bar {
    display: none;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, #fff7ed 0%, #fffbeb 100%);
    border: 1px solid #fed7aa;
    border-radius: 6px;
    margin-bottom: 1rem;
}
.file-info-bar.active { display: flex; }
.file-info-bar__icon {
    width: 38px;
    height: 38px;
    background: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid #fed7aa;
}
.file-info-bar__icon i { color: #ea580c; font-size: 1.1rem; }
.file-info-bar__details { flex: 1; min-width: 0; }
.file-info-bar__name {
    margin: 0 0 0.15rem;
    font-weight: 600;
    color: #1f2937;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.92rem;
}
.file-info-bar__meta {
    display: flex;
    gap: 0.85rem;
    font-size: 0.78rem;
    color: #6b7280;
    flex-wrap: wrap;
}
.file-info-bar__btn {
    padding: 0.4rem 0.8rem;
    background: #fff;
    border: 1px solid #fed7aa;
    color: #c2410c;
    border-radius: 5px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.82rem;
    font-weight: 600;
    transition: all 0.2s;
}
.file-info-bar__btn:hover { background: #ffedd5; }

/* Media wrapper */
.media-wrapper {
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1rem;
    aspect-ratio: 16 / 9;
}
#videoPlayer { width: 100%; height: 100%; display: block; background: #000; }
#videoPlayer.fit-contain { object-fit: contain; }
#videoPlayer.fit-cover { object-fit: cover; }
#videoPlayer.fit-fill { object-fit: fill; }
#videoPlayer.fit-scale-down { object-fit: scale-down; }

/* ===== Inspector ===== */
.inspector-section {
    background: #fafbfc;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
}
.inspector-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.7rem 1rem;
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    cursor: pointer;
    user-select: none;
}
.inspector-header i:first-child { color: #ea580c; }
.inspector-title { margin: 0; font-size: 0.95rem; color: #1f2937; }
.inspector-status { margin-left: auto; font-size: 0.78rem; color: #6b7280; }
.inspector-toggle { transition: transform 0.2s; color: #9ca3af; }
.inspector-section.collapsed .inspector-content { display: none; }
.inspector-section.collapsed .inspector-toggle { transform: rotate(-90deg); }

.inspector-content { padding: 0.85rem 1rem; }
.inspector-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.5rem 1rem;
}
.inspector-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 0.45rem 0.6rem;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 5px;
}
.inspector-item__label {
    font-size: 0.7rem;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    font-weight: 600;
}
.inspector-item__value {
    font-size: 0.88rem;
    color: #1f2937;
    font-weight: 600;
    word-break: break-word;
}
.inspector-item--highlight {
    background: linear-gradient(135deg, #fff7ed 0%, #fffbeb 100%);
    border-color: #fed7aa;
}
.inspector-item--warn {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border-color: #fcd34d;
}

.hdr-tag {
    margin-top: 0.85rem;
    padding: 0.55rem 0.85rem;
    background: linear-gradient(135deg, #1e1b4b 0%, #4c1d95 50%, #be185d 100%);
    color: #fff;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(76,29,149,0.3);
}
.hdr-tag i { color: #fbbf24; }

/* ===== Quality + Subtitles + Playback (light orange chrome) ===== */
.quality-section,
.subtitle-section,
.playback-section {
    background: #fafbfc;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 0.85rem 1rem;
    margin-bottom: 1rem;
}
.quality-section__header,
.subtitle-section__header { margin-bottom: 0.6rem; }
.quality-section__title,
.subtitle-section__title,
.playback-section__title {
    margin: 0;
    font-size: 0.9rem;
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.quality-section__title i,
.subtitle-section__title i,
.playback-section__title i { color: #ea580c; }

.quality-controls {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}
.quality-info { display: flex; align-items: center; gap: 0.6rem; flex: 1; min-width: 200px; }
.quality-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.6rem;
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: #fff;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 700;
}
.quality-detail { font-size: 0.82rem; color: #6b7280; }

.fit-mode-control { display: flex; align-items: center; gap: 0.5rem; }
.fit-mode-control__label { font-size: 0.85rem; color: #4b5563; }
.fit-mode-select,
.subtitle-select,
#speedSelect,
.convert-option select,
.convert-trim__inputs input {
    padding: 0.4rem 0.6rem;
    border: 1px solid #e5e7eb;
    border-radius: 5px;
    background: #fff;
    font-size: 0.85rem;
    color: #1f2937;
    cursor: pointer;
}
.fit-mode-select:focus,
.subtitle-select:focus,
#speedSelect:focus,
.convert-option select:focus,
.convert-trim__inputs input:focus {
    outline: none;
    border-color: #f97316;
    box-shadow: 0 0 0 2px rgba(249,115,22,0.15);
}

/* Subtitles */
.subtitle-controls { display: flex; gap: 0.5rem; flex-wrap: wrap; align-items: center; }
.subtitle-btn {
    padding: 0.45rem 0.8rem;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 5px;
    color: #4b5563;
    font-size: 0.82rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 600;
    transition: all 0.2s;
}
.subtitle-btn:hover { background: #f9fafb; border-color: #fed7aa; color: #c2410c; }
.subtitle-select { flex: 1; min-width: 200px; }
.hidden-input { display: none; }

/* Playback controls */
.playback-controls {
    margin-top: 0.6rem;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    align-items: center;
}
.control-btn {
    padding: 0.5rem 0.85rem;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    color: #4b5563;
    font-size: 0.85rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
    transition: all 0.2s;
}
.control-btn:hover { background: #f9fafb; border-color: #fed7aa; color: #c2410c; }
.control-btn.active { background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%); border-color: #fdba74; color: #c2410c; }
.control-btn--accent {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: #fff;
    border-color: transparent;
}
.control-btn--accent:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(249,115,22,0.3); color: #fff; }

.speed-control { display: flex; align-items: center; gap: 0.4rem; }
.speed-control__label { font-size: 0.85rem; color: #4b5563; }

/* ===== Conversion Panel ===== */
.convert-panel {
    display: none;
    background: linear-gradient(135deg, #fff7ed 0%, #fffbeb 100%);
    border: 1px solid #fed7aa;
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
}
.convert-panel.active { display: block; }
.convert-panel__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}
.convert-panel__title {
    margin: 0;
    font-size: 1rem;
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.convert-panel__title i { color: #ea580c; }
.convert-panel__close {
    background: transparent;
    border: none;
    color: #6b7280;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transition: all 0.2s;
}
.convert-panel__close:hover { background: rgba(0,0,0,0.05); color: #1f2937; }
.convert-panel__intro { margin: 0 0 1rem; font-size: 0.85rem; color: #4b5563; }

.convert-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}
.convert-option { display: flex; flex-direction: column; gap: 0.3rem; }
.convert-option__label {
    font-size: 0.78rem;
    color: #6b7280;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.convert-trim {
    background: #fff;
    border: 1px solid #fed7aa;
    border-radius: 6px;
    padding: 0.6rem 0.85rem;
    margin-bottom: 0.85rem;
}
.convert-trim__label { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; color: #4b5563; cursor: pointer; }
.convert-trim__inputs {
    display: none;
    margin-top: 0.5rem;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.convert-trim.active .convert-trim__inputs { display: flex; }
.convert-trim__inputs input { width: 110px; font-family: 'Open Sans', sans-serif; }
.convert-trim__inputs span { color: #6b7280; font-size: 0.85rem; }
.convert-trim__chip {
    padding: 0.35rem 0.65rem;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 5px;
    color: #c2410c;
    font-size: 0.78rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-weight: 600;
}
.convert-trim__chip:hover { background: #ffedd5; }

.convert-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.convert-start-btn {
    padding: 0.6rem 1.25rem;
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.92rem;
    transition: all 0.2s;
}
.convert-start-btn:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(249,115,22,0.35); }
.convert-start-btn:disabled { opacity: 0.55; cursor: not-allowed; }
.convert-cancel-btn {
    padding: 0.6rem 1rem;
    background: #fff;
    color: #dc2626;
    border: 1px solid #fca5a5;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
}
.convert-cancel-btn:hover { background: #fef2f2; }

.convert-progress { display: none; margin-top: 0.85rem; }
.convert-progress.active { display: block; }
.convert-progress__bar { width: 100%; height: 8px; background: #fed7aa; border-radius: 4px; overflow: hidden; }
.convert-progress__fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #f97316 0%, #fbbf24 100%);
    transition: width 0.2s;
}
.convert-progress__meta {
    display: flex;
    justify-content: space-between;
    margin-top: 0.4rem;
    font-size: 0.82rem;
    color: #4b5563;
}
.convert-log {
    margin: 0.5rem 0 0;
    max-height: 120px;
    overflow-y: auto;
    background: #1f2937;
    color: #d1d5db;
    padding: 0.5rem 0.7rem;
    border-radius: 5px;
    font-size: 0.72rem;
    line-height: 1.4;
    white-space: pre-wrap;
    word-break: break-word;
    font-family: 'Consolas', 'Monaco', monospace;
}

.convert-result {
    display: none;
    margin-top: 0.85rem;
    padding: 0.7rem 1rem;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 1px solid #86efac;
    border-radius: 6px;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}
.convert-result.active { display: flex; }
.convert-result i { color: #16a34a; font-size: 1.2rem; }
.convert-result span { flex: 1; font-size: 0.88rem; color: #14532d; min-width: 200px; }
.convert-download-btn {
    padding: 0.45rem 0.9rem;
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    color: #fff !important;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    transition: all 0.2s;
}
.convert-download-btn:hover { transform: translateY(-1px); box-shadow: 0 3px 10px rgba(22,163,74,0.3); }

/* ===== Browser Support Matrix ===== */
.support-matrix-wrapper { overflow-x: auto; margin: 0.75rem 0; }
.support-matrix {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}
.support-matrix th {
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    color: #1f2937;
    padding: 0.6rem 0.7rem;
    text-align: left;
    font-weight: 700;
    border-bottom: 2px solid #fed7aa;
    font-size: 0.85rem;
}
.support-matrix td {
    padding: 0.55rem 0.7rem;
    border-bottom: 1px solid #f3f4f6;
}
.support-matrix tr:last-child td { border-bottom: none; }
.support-matrix tr:hover td { background: #fffbeb; }
.support-matrix td:first-child { font-weight: 600; color: #1f2937; }

.support-yes { color: #16a34a; font-weight: 600; }
.support-partial { color: #d97706; font-weight: 600; }
.support-no { color: #dc2626; font-weight: 600; }
.support-na { color: #9ca3af; font-style: italic; }
.support-yes sup, .support-partial sup, .support-no sup { color: #6b7280; font-weight: 400; }

.matrix-notes {
    font-size: 0.8rem;
    color: #6b7280;
    margin: 0.75rem 0 0;
    padding-left: 1.25rem;
    line-height: 1.5;
}
.matrix-notes li { margin-bottom: 0.2rem; }

.reason-list { padding-left: 1.25rem; line-height: 1.6; color: #4b5563; }
.reason-list li { margin-bottom: 0.5rem; }
.reason-list strong { color: #1f2937; }

/* ===== FAQ Accordion ===== */
.faq-accordion { display: flex; flex-direction: column; gap: 0.5rem; padding: 0.75rem; }
.faq-item {
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
    transition: border-color 0.2s;
}
.faq-item.active { border-color: #fed7aa; }
.faq-question {
    width: 100%;
    padding: 0.75rem 1rem;
    background: #fff;
    border: none;
    text-align: left;
    cursor: pointer;
    font-size: 0.92rem;
    font-weight: 600;
    color: #1f2937;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    transition: background 0.2s;
}
.faq-question:hover { background: #fffbeb; }
.faq-item.active .faq-question { background: linear-gradient(135deg, #fff7ed 0%, #fffbeb 100%); }
.faq-chevron { color: #ea580c; transition: transform 0.25s; flex-shrink: 0; }
.faq-item.active .faq-chevron { transform: rotate(180deg); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 1rem;
    color: #4b5563;
    font-size: 0.88rem;
    line-height: 1.55;
}
.faq-item.active .faq-answer { max-height: 500px; padding: 0.75rem 1rem 1rem; }
.faq-answer p { margin: 0; }
.faq-answer a { color: #c2410c; }
.faq-answer a:hover { color: #ea580c; text-decoration: underline; }

/* ===== Tools grid (matches web-player) ===== */
.player-tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.7rem;
    padding: 0.85rem;
}
.player-tool-card {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    padding: 0.85rem;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s;
}
.player-tool-card:hover {
    border-color: #fdba74;
    background: linear-gradient(135deg, #fff7ed 0%, #fffbeb 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(249,115,22,0.12);
}
.player-tool-card__icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ea580c;
    font-size: 1.1rem;
}
.player-tool-card__label {
    font-weight: 700;
    font-size: 0.9rem;
    color: #1f2937;
}
.player-tool-card__desc {
    font-size: 0.78rem;
    color: #6b7280;
    line-height: 1.35;
}

/* About / info body */
.player-info-body { padding: 0.85rem 1rem; line-height: 1.6; color: #4b5563; font-size: 0.93rem; }
.player-info-body p { margin: 0 0 0.85rem; }
.player-info-body p:last-child { margin-bottom: 0; }
.player-info-body a { color: #c2410c; text-decoration: none; font-weight: 600; }
.player-info-body a:hover { color: #ea580c; text-decoration: underline; }

/* ===== Mobile ===== */
@media (max-width: 720px) {
    .hero-section { padding: 1.5rem 1rem; }
    .hero-section__title { font-size: 1.4rem; }
    .hero-section__subtitle { font-size: 0.9rem; }
    .hero-badges { gap: 0.35rem; }
    .hero-badge { font-size: 0.72rem; padding: 0.25rem 0.55rem; }
    .drop-zone { padding: 1.75rem 1rem; }
    .drop-zone__title { font-size: 1.05rem; }
    .url-input-wrapper { flex-direction: column; }
    .url-btn { width: 100%; justify-content: center; }
    .quality-controls { flex-direction: column; align-items: stretch; }
    .playback-controls { gap: 0.4rem; }
    .control-btn { padding: 0.45rem 0.7rem; font-size: 0.8rem; }
    .convert-options { grid-template-columns: 1fr; }
    .support-matrix { font-size: 0.78rem; }
    .support-matrix th, .support-matrix td { padding: 0.4rem 0.5rem; }
    .inspector-grid { grid-template-columns: 1fr 1fr; }
}
