:root {
    --bg: #f5f6f8;
    --surface: #ffffff;
    --surface2: #fafbfc;
    --border: #d1d9e6;
    --text: #222222;
    --muted: #666666;
    --accent: #1677ff;
    --accent-hover: #0958d9;
    --success: #08979c;
    --radius: 8px;
    --shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
    --preview-display-width: 280px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    background-color: #f5f6f8;
    background-image: linear-gradient(180deg, #ffffff 0%, #f5f6f8 120px);
    color: var(--text);
    min-height: 100vh;
    line-height: 1.4;
    font-size: 0.88rem;
}

.page {
    max-width: 920px;
    margin: 0 auto;
    padding: 0.75rem 1rem 0.5rem;
}

.album-sidebar {
    position: fixed;
    top: 0.75rem;
    left: max(0.75rem, calc((100vw - 920px) / 2 - 320px));
    width: 300px;
    max-height: calc(100vh - 1.5rem);
    overflow: auto;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 0.55rem;
}

.album-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--muted);
    font-size: 0.78rem;
    margin-bottom: 0.45rem;
}

.album-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.55rem 0.45rem;
}

.album-item {
    position: relative;
    border: 2px solid transparent;
    border-radius: 6px;
    overflow: hidden;
    background: var(--surface2);
    cursor: pointer;
    min-height: 148px;
    padding-bottom: 2.35rem;
}

.album-item img {
    width: 100%;
    height: 108px;
    object-fit: cover;
    display: block;
}

.album-filename {
    position: absolute;
    left: 3px;
    right: 3px;
    top: 111px;
    color: var(--text);
    font-size: 0.58rem;
    line-height: 1.15;
    max-height: 2.1rem;
    overflow: hidden;
    text-align: center;
    word-break: break-all;
}

.album-item.selected {
    border-color: var(--accent);
}

.album-item.processed::after {
    content: "已压";
    position: absolute;
    top: 3px;
    right: 3px;
    background: var(--success);
    color: #fff;
    border-radius: 999px;
    padding: 0.08rem 0.25rem;
    font-size: 0.58rem;
    line-height: 1.2;
}

.album-empty {
    margin-top: 0.45rem;
    color: var(--muted);
    font-size: 0.72rem;
    text-align: center;
    cursor: pointer;
}

.album-empty.hidden {
    display: none;
}

.header {
    text-align: center;
    margin-bottom: 0.85rem;
    padding: 0.35rem 0 0.15rem;
}

.site-brand {
    text-align: center;
}

.site-logo-row {
    display: flex;
    justify-content: center;
    margin-bottom: 0.35rem;
}

.site-logo {
    max-width: 120px;
    max-height: 52px;
    object-fit: contain;
    display: block;
}

.header h1 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #111111;
}

.subtitle {
    color: var(--muted);
    margin-top: 0.25rem;
    font-size: 0.78rem;
    line-height: 1.5;
}

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0.65rem 0.85rem;
    margin-bottom: 0.5rem;
    box-shadow: var(--shadow);
}

.card-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

.advanced-btn {
    padding: 0.22rem 0.55rem;
    font-size: 0.72rem;
}

.advanced-modal {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.28);
    padding: 1rem;
}

.advanced-modal.hidden {
    display: none;
}

.advanced-modal-content {
    width: min(520px, 100%);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
    padding: 0.75rem;
}

.advanced-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.65rem;
}

.advanced-close-btn {
    padding: 0.22rem 0.55rem;
    font-size: 0.72rem;
}

.advanced-row {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
    font-size: 0.76rem;
    margin-bottom: 0.35rem;
}

.advanced-row strong {
    color: var(--text);
    max-width: 14rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.advanced-note {
    color: var(--muted);
    font-size: 0.7rem;
    line-height: 1.35;
}

.card h2 {
    font-size: 0.9rem;
    color: var(--accent);
    white-space: nowrap;
}

.drop-zone {
    border: 1.5px dashed var(--border);
    border-radius: var(--radius);
    padding: 1.35rem 0.75rem;
    min-height: 132px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: border-color 0.2s, background 0.2s, padding 0.2s, min-height 0.2s;
    cursor: pointer;
}

.upload-card.has-file .drop-zone {
    min-height: 0;
    padding: 0.4rem 0.5rem;
}

.drop-zone.dragover {
    border-color: var(--accent);
    background: rgba(37, 99, 235, 0.06);
}

.drop-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
}

.upload-card.has-file .drop-content {
    flex-direction: row;
    gap: 0.35rem;
}

.drop-icon {
    font-size: 1.85rem;
    line-height: 1;
}

.upload-card.has-file .drop-icon {
    font-size: 1rem;
}

.drop-text {
    font-size: 0.84rem;
    line-height: 1.45;
    max-width: 26rem;
}

.upload-card.has-file .drop-text {
    font-size: 0.78rem;
}

.hint {
    color: var(--muted);
    font-size: 0.75rem;
}

.link-btn {
    background: none;
    border: none;
    color: var(--accent);
    cursor: pointer;
    font-size: inherit;
    text-decoration: underline;
}

.file-info {
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--border);
}

.load-progress {
    margin-top: 0.55rem;
    padding-top: 0.45rem;
    border-top: 1px solid var(--border);
}

.load-progress-bar {
    height: 6px;
    background: #e8ecf2;
    border-radius: 3px;
    overflow: hidden;
}

.load-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #1677ff, #36cfc9);
    border-radius: 3px;
    transition: width 0.15s ease;
}

.load-progress-text {
    margin-top: 0.35rem;
    font-size: 0.72rem;
    color: var(--muted);
    line-height: 1.4;
}

.load-progress-error {
    color: #cf1322;
}

.upload-preview-panel {
    margin-top: 0.55rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--border);
}

.upload-preview-note {
    display: block;
    font-size: 0.72rem;
    color: var(--muted);
    text-align: center;
    margin-bottom: 0.25rem;
}

.upload-preview-frame {
    margin-left: auto;
    margin-right: auto;
}

.preview-size-inline {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-shrink: 0;
    font-size: 0.72rem;
    color: var(--muted);
}

.preview-size-inline label {
    white-space: nowrap;
}

.preview-size-input-wrap {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
}

.preview-size-input-wrap .num-input {
    width: 3.2rem;
    text-align: center;
}

.source-info-row,
.conversion-info-row {
    display: flex;
    align-items: baseline;
    gap: 0.45rem;
    font-size: 0.8rem;
    min-width: 0;
    flex-wrap: wrap;
}

.conversion-info-row {
    justify-content: space-between;
}

.conversion-info-main {
    display: flex;
    align-items: baseline;
    gap: 0.45rem;
    min-width: 0;
    flex: 1;
}

.source-info-row + .conversion-info-row {
    margin-top: 0.25rem;
}

.source-info-row span,
.conversion-info-row span {
    color: var(--muted);
    flex-shrink: 0;
}

.source-info-row strong,
.conversion-info-row strong {
    text-align: left;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}

.source-info-row strong {
    max-width: 18rem;
}

.source-info-row em {
    color: var(--muted);
    font-style: normal;
    white-space: nowrap;
}

.quality-control {
    margin-bottom: 0.45rem;
    margin-top: 0.45rem;
}

.quality-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.3rem;
}

.quality-input-wrap,
.target-size-input-wrap {
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

.num-input {
    width: 58px;
    padding: 0.2rem 0.35rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    background: var(--surface2);
    color: var(--text);
    font-size: 0.82rem;
    text-align: center;
}

.num-input:focus {
    outline: none;
    border-color: var(--accent);
}

.unit-label {
    color: var(--muted);
    font-size: 0.78rem;
}

.output-format-row {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.45rem;
}

.output-format-row label {
    color: var(--muted);
    font-size: 0.8rem;
    white-space: nowrap;
}

.format-select {
    padding: 0.2rem 0.45rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    background: var(--surface2);
    color: var(--text);
    font-size: 0.82rem;
    cursor: pointer;
}

.format-select:focus {
    outline: none;
    border-color: var(--accent);
}

.format-select.hidden {
    display: none;
}

.trim-entry-list {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.trim-entry-row {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    flex-wrap: wrap;
}

.trim-open-btn {
    padding: 0.28rem 0.65rem;
    font-size: 0.78rem;
}

.trim-entry-hint {
    font-size: 0.72rem;
    color: var(--muted);
}

.trim-title-actions {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.trim-card .trim-info {
    font-size: 0.75rem;
    color: var(--muted);
    text-align: right;
}

.trim-close-btn {
    padding: 0.2rem 0.5rem;
    font-size: 0.72rem;
    flex-shrink: 0;
}

.trim-panel {
    padding: 0.1rem 0 0;
}

.trim-track-wrap {
    position: relative;
    height: 28px;
    margin: 0.2rem 0;
    cursor: pointer;
}

.trim-track-bg {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 4px;
    background: var(--border);
    border-radius: 2px;
}

.trim-track-active {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
    left: 0;
    width: 100%;
}

.trim-slider {
    position: absolute;
    left: 0;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
    background: transparent;
    pointer-events: none;
    -webkit-appearance: none;
    appearance: none;
    height: 28px;
}

.trim-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--accent);
    border: 2px solid #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    pointer-events: auto;
}

.trim-slider::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--accent);
    border: 2px solid #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    pointer-events: auto;
}

.trim-slider::-webkit-slider-runnable-track {
    background: transparent;
    height: 4px;
}

.trim-slider::-moz-range-track {
    background: transparent;
    height: 4px;
}

.trim-slider-end {
    z-index: 2;
}

.trim-previews {
    display: flex;
    justify-content: center;
    gap: 0.45rem;
    margin: 0.35rem 0 0.25rem;
}

.trim-preview-box {
    flex: 0 1 var(--preview-display-width);
    width: 100%;
    min-width: 0;
}

.trim-preview-label {
    display: block;
    font-size: 0.72rem;
    color: var(--text);
    text-align: center;
    margin-bottom: 0.2rem;
    font-weight: 600;
}

.trim-restore-tip {
    font-size: 0.72rem;
    color: var(--success);
    white-space: nowrap;
}

.trim-preview-frame,
.upload-preview-frame,
.preview-wrap {
    position: relative;
    width: 100%;
    max-width: var(--preview-display-width);
    min-height: 120px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.upload-preview-frame,
.preview-wrap {
    margin-left: auto;
    margin-right: auto;
}

.preview-wrap {
    background: #eef2f7;
    border-radius: var(--radius);
    margin-bottom: 0.45rem;
}

.trim-preview-frame img,
.trim-preview-frame canvas,
.upload-preview-frame img,
.preview-wrap img {
    max-width: 100%;
    max-height: var(--preview-display-width);
    object-fit: contain;
    display: block;
}

.playback-progress {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    background: rgba(0, 0, 0, 0.12);
    overflow: hidden;
}

.playback-progress-fill {
    height: 100%;
    width: 0%;
    background: var(--accent);
    animation: trim-playback-loop var(--playback-duration, 2s) linear infinite;
}

@keyframes trim-playback-loop {
    from { width: 0%; }
    to { width: 100%; }
}

.trim-preview-placeholder,
.upload-preview-placeholder {
    font-size: 0.68rem;
    color: var(--muted);
    padding: 0.2rem;
    text-align: center;
    line-height: 1.3;
}

.trim-hint {
    font-size: 0.72rem;
    color: var(--muted);
    margin-top: 0.15rem;
}

.trim-only-entry-row {
    align-items: center;
}

.trim-only-entry-row .trim-entry-only {
    flex: 1;
    min-width: 12rem;
}

.trim-entry-only {
    font-size: 0.68rem;
    color: var(--muted);
    line-height: 1.35;
}

.trim-only-panel {
    margin-top: 0.45rem;
    padding: 0.45rem 0.55rem;
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: 6px;
}

.trim-only-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
}

.trim-only-size {
    font-size: 0.72rem;
    color: var(--muted);
}

.trim-only-warning {
    font-size: 0.72rem;
    color: #b26a00;
    line-height: 1.35;
}

.trim-only-active {
    font-size: 0.72rem;
    color: var(--primary);
    white-space: nowrap;
}

.quality-control.is-trim-only .quality-slider-row {
    opacity: 0.45;
    pointer-events: none;
}

.target-size-panel {
    margin-bottom: 0.45rem;
}

.target-size-inline {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 0.35rem 0.55rem;
}

.target-size-actions {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-wrap: nowrap;
}

.suggest-trial-btn {
    font-size: 0.78rem;
    padding: 0.2rem 0.55rem;
}

.suggest-result {
    margin: 0.35rem 0 0;
    padding: 0 0.15rem;
}

.suggest-result.hidden {
    display: none;
}

.trim-confirm-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 0.5rem 0 0.65rem;
}

.trim-confirm-hint {
    font-size: 0.75rem;
    color: var(--muted);
    flex: 1;
}

.process-progress {
    height: 4px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.08);
    margin: 0.45rem 0 0.55rem;
}

.trim-panel .process-progress {
    margin-top: -0.2rem;
}

.process-progress-fill {
    width: 38%;
    height: 100%;
    background: var(--accent);
    animation: process-progress-slide 1.1s ease-in-out infinite;
}

@keyframes process-progress-slide {
    0% { transform: translateX(-110%); }
    100% { transform: translateX(270%); }
}

.target-size-inline label {
    color: var(--muted);
    font-size: 0.8rem;
    white-space: nowrap;
}

.suggest-text {
    font-size: 0.78rem;
    color: var(--success);
}

.suggest-text.pending {
    color: var(--muted);
}

.suggest-text.error {
    color: #dc2626;
}

.apply-suggest-btn {
    flex-shrink: 0;
    border: 1px solid var(--accent);
    border-radius: 5px;
    padding: 0.2rem 0.5rem;
    font-size: 0.72rem;
    color: var(--accent);
    background: transparent;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s, color 0.2s;
}

.apply-suggest-btn:hover {
    background: var(--accent);
    color: #fff;
}

.apply-suggest-btn.hidden {
    display: none;
}

input[type="range"] {
    width: 100%;
    accent-color: var(--accent);
    height: 4px;
    cursor: pointer;
}

.quality-hints {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: var(--muted);
    margin-top: 0.15rem;
}

.estimate-panel {
    background: var(--surface2);
    border-radius: 6px;
    padding: 0.35rem 0.5rem;
    margin-bottom: 0.45rem;
    border: 1px solid var(--border);
}

.estimate-inline {
    display: flex;
    gap: 0.35rem;
}

.estimate-chip {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.1rem;
    font-size: 0.75rem;
    min-width: 0;
}

.estimate-chip span {
    color: var(--muted);
}

.estimate-chip strong {
    font-size: 0.82rem;
    line-height: 1.25;
    overflow-wrap: anywhere;
    text-align: center;
}

.estimate-chip.highlight strong {
    color: var(--success);
}

.estimate-pending {
    color: var(--muted) !important;
    font-weight: 500 !important;
}

.estimate-loading {
    color: var(--accent) !important;
}

.convert-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.convert-actions .primary-btn {
    flex: 0 0 auto;
    width: auto;
    min-width: 140px;
}

.convert-actions .status {
    flex: 1;
    margin-top: 0;
    min-width: 0;
}

.primary-btn,
.secondary-btn {
    border: none;
    border-radius: 6px;
    padding: 0.4rem 0.85rem;
    font-size: 0.82rem;
    cursor: pointer;
    transition: background 0.2s, opacity 0.2s;
}

.primary-btn {
    background: var(--accent);
    color: #fff;
}

.primary-btn:hover:not(:disabled) {
    background: var(--accent-hover);
}

.primary-btn:disabled,
.secondary-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.secondary-btn {
    background: var(--surface2);
    color: var(--text);
    border: 1px solid var(--border);
}

.secondary-btn:hover:not(:disabled) {
    background: #eef2f7;
}

.status {
    font-size: 0.75rem;
    color: var(--muted);
    min-height: 1em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.status.error {
    color: #dc2626;
}

.status.ok {
    color: var(--success);
}

.result-size-inline {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    color: var(--muted);
}

.result-size-inline .out-highlight {
    color: var(--success);
    font-weight: 700;
}

.result-size-inline .ratio-tag {
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 0.1rem 0.35rem;
    font-size: 0.72rem;
}

.size-arrow {
    color: var(--muted);
    font-size: 0.85rem;
}

.preview-placeholder {
    color: var(--muted);
    font-size: 0.78rem;
}

.quality-note {
    margin: 0.35rem 0 0;
    font-size: 0.68rem;
    color: var(--muted);
    line-height: 1.35;
}

.high-compression-row {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin: -0.1rem 0 0.45rem;
    font-size: 0.72rem;
    color: var(--text);
}

.gif-level-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.28rem;
    margin-top: 0.35rem;
}

.segmented-control-label {
    color: var(--muted);
    font-size: 0.78rem;
}

.gif-level-segments {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
    max-width: 360px;
    border: 1px solid var(--border);
    border-radius: 999px;
    overflow: hidden;
    background: var(--surface2);
}

.gif-level-segment {
    border: 0;
    border-right: 1px solid var(--border);
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    font-size: 0.76rem;
    line-height: 1;
    padding: 0.38rem 0.45rem;
    transition: background 0.15s, color 0.15s;
}

.gif-level-segment:last-child {
    border-right: 0;
}

.gif-level-segment:hover {
    background: rgba(22, 119, 255, 0.08);
    color: var(--accent);
}

.gif-level-segment.active {
    background: var(--accent);
    color: #ffffff;
    font-weight: 600;
}

.high-compression-row small {
    color: var(--muted);
    line-height: 1.3;
}

.debug-log-panel {
    margin-top: 0.8rem;
}

.debug-log-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.45rem;
}

.debug-log-header h2 {
    font-size: 1rem;
}

.debug-log-actions {
    display: flex;
    gap: 0.4rem;
}

.debug-log-output {
    max-height: 260px;
    overflow: auto;
    white-space: pre-wrap;
    word-break: break-word;
    font-size: 0.72rem;
    line-height: 1.45;
    color: var(--text);
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 0.6rem;
}

.result-preview-meta {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.35rem;
    font-size: 0.72rem;
}

.result-dim {
    color: var(--muted);
}

.full-size-link {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.72rem;
}

.full-size-link:hover {
    text-decoration: underline;
}

.actions {
    display: flex;
    gap: 0.45rem;
}

.actions .primary-btn {
    flex: 1;
}

.hidden {
    display: none !important;
}

.seo-section {
    margin-top: 0.25rem;
    padding: 0.75rem 0.9rem;
}

.seo-heading {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--accent);
    margin: 0.6rem 0 0.35rem;
}

.seo-heading:first-child {
    margin-top: 0;
}

.seo-text {
    font-size: 0.8rem;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 0.35rem;
}

.seo-steps {
    font-size: 0.8rem;
    color: var(--muted);
    line-height: 1.6;
    padding-left: 1.2rem;
    margin-bottom: 0.35rem;
}

.seo-faq {
    font-size: 0.8rem;
    line-height: 1.55;
}

.seo-faq dt {
    font-weight: 600;
    color: var(--text);
    margin-top: 0.45rem;
}

.seo-faq dt:first-child {
    margin-top: 0;
}

.seo-faq dd {
    color: var(--muted);
    margin: 0.15rem 0 0 0;
}

.footer {
    text-align: center;
    color: var(--muted);
    font-size: 0.68rem;
    margin-top: 0.35rem;
    padding-bottom: 0.25rem;
}

.admin-entry {
    display: inline-block;
    color: inherit;
    text-decoration: none;
    opacity: 0.35;
    margin-left: 0.05rem;
    padding: 0.15rem 0.55rem;
    font-size: 0.55rem;
    vertical-align: middle;
}

.admin-entry:hover {
    opacity: 0.7;
}

@media (max-width: 600px) {
    .advanced-btn,
    #downloadToDirBtn {
        display: none !important;
    }

    .album-sidebar {
        display: none !important;
    }

    .page {
        padding: 0.5rem 0.65rem 0.35rem;
    }

    .convert-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .convert-actions .status {
        white-space: normal;
        text-align: center;
    }

    .target-size-inline {
        flex-direction: column;
        align-items: flex-start;
    }

    .actions {
        flex-direction: column;
    }
}
