/* ===== Gailery shared CSS — common blocks for all pages ===== */

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

/* --- Page header (единая шапка для всех страниц) --- */
.header-sticky { position: sticky; top: 0; z-index: 20; background: #161b22; transition: transform .2s; }
.header-sticky h1 { margin: 0; display: flex; align-items: center; justify-content: space-between; position: relative; padding: 14px 20px; border-bottom: 1px solid #30363d; font-size: 16px; color: #58a6ff; }
.header-sticky h1 .logo { height: 32px; width: auto; margin-right: 6px; }
.header-sticky h1 .nav { font-size: 13px; padding-right: 50px; }
.header-sticky h1 .nav a { color: #6e7681; text-decoration: none; margin-left: 14px; }
.header-sticky h1 .nav a:hover { color: #58a6ff; }
.header-sticky h1 .nav a.active { color: #58a6ff; }
.light-theme .header-sticky { background: #f6f8fa; }
.light-theme .header-sticky h1 { background: #f6f8fa; border-bottom-color: #d0d7de; }
.light-theme .header-sticky h1 .nav a { color: #57606a; }
.light-theme .header-sticky h1 .nav a:hover { color: #0969da; }
.light-theme .header-sticky h1 .nav a.active { color: #0969da; }

/* --- Theme toggle button --- */
.header-sticky h1 .theme-toggle { position: absolute; right: 12px; top: 50%; transform: translateY(-55%); background: none; border: none; cursor: pointer; color: #e3b341; font-size: 24px; padding: 8px 12px; display: flex; align-items: center; justify-content: center; z-index: 10; }
.header-sticky h1 .theme-toggle:hover { background: rgba(255,255,255,.08); }
.light-theme .header-sticky h1 .theme-toggle { color: #0969da; }
.light-theme .header-sticky h1 .theme-toggle:hover { background: rgba(0,0,0,.06); }

/* --- Logo --- */
.header-sticky h1 .logo { height: 32px; width: auto; margin-right: 6px; }
.header-sticky h1 .logo-link { text-decoration: none; display: inline-flex; align-items: center; }
.light-theme .header-sticky h1 .logo { filter: drop-shadow(0 2px 4px rgba(0,0,0,.3)); }
.header-sticky h1 .logo-link:hover .logo { transform: scale(1.1) rotate(-3deg); filter: drop-shadow(0 0 12px rgba(240,200,120,.85)); }
.light-theme .header-sticky h1 .logo-link:hover .logo { filter: drop-shadow(0 3px 10px rgba(0,0,0,.45)); }

/* --- Hamburger button --- */
.hamburger { display: none; background: none; border: none; color: #c9d1d9; font-size: 20px; cursor: pointer; padding: 8px 10px; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; order: 99; }
.light-theme .hamburger { color: #24292f; }

/* --- Mobile nav panel --- */
.mm-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 999; }
.mm-overlay.open { display: block; }
.mm-panel { position: fixed; top: 0; right: 0; width: 280px; height: 100%; background: #161b22; border-left: 1px solid #30363d; z-index: 1000; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .3s ease; will-change: transform; }
.mm-panel.open { transform: translateX(0); }
.mm-panel.dragging { transition: none; }
.mm-head { padding: 14px 16px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid #21262d; }
.mm-head img { height: 24px; }
.mm-head span { font-size: 14px; font-weight: 600; color: #c9d1d9; }
.mm-x { margin-left: auto; background: none; border: none; color: #6e7681; font-size: 20px; cursor: pointer; min-width: 44px; min-height: 44px; display: flex; align-items: center; justify-content: center; }
.mm-x:hover { color: #c9d1d9; }
.mm-nav { flex: 1; overflow-y: auto; padding: 4px 0; }
.mm-a { display: flex; align-items: center; gap: 12px; padding: 13px 16px; color: #8b949e; text-decoration: none; font-size: 14px; border-left: 3px solid transparent; transition: background .15s, color .15s; }
.mm-a:hover { background: #21262d; color: #c9d1d9; }
.mm-a.active { color: #58a6ff; background: rgba(88,166,255,.06); border-left-color: #58a6ff; }
.mm-a.active .mm-lbl { font-weight: 600; }
.mm-ico { width: 24px; text-align: center; font-size: 18px; flex-shrink: 0; }
.mm-lbl { flex: 1; }
.mm-foot { padding: 10px 16px; border-top: 1px solid #21262d; }
.mm-theme { display: flex; align-items: center; gap: 10px; background: none; border: none; color: #8b949e; font-size: 13px; cursor: pointer; padding: 10px 0; width: 100%; font-family: monospace; }
.mm-theme:hover { color: #c9d1d9; }
.mm-theme-ico { font-size: 18px; }
.mm-edge { display: none; position: fixed; top: 0; right: 0; width: 24px; height: 100%; z-index: 998; }

/* --- Mobile nav light theme --- */
.light-theme .mm-panel { background: #f6f8fa; border-left-color: #d0d7de; }
.light-theme .mm-head { border-bottom-color: #d0d7de; }
.light-theme .mm-head span { color: #24292f; }
.light-theme .mm-x { color: #57606a; }
.light-theme .mm-a { color: #57606a; }
.light-theme .mm-a:hover { background: #eaeef2; color: #24292f; }
.light-theme .mm-a.active { color: #0969da; background: rgba(9,105,218,.06); border-left-color: #0969da; }
.light-theme .mm-foot { border-top-color: #d0d7de; }
.light-theme .mm-theme { color: #57606a; }

/* --- Mobile breakpoint --- */
@media (max-width: 768px) {
    .header-sticky h1 .hamburger { display: flex; }
    .header-sticky h1 .nav { display: none; }
    .header-sticky h1 .theme-toggle { display: none; }
    .header-sticky h1 .logo { display: none; }
    .mm-edge { display: block; }
}

/* --- Gallery styles (from gallery.html) --- */
:root { --safe-bottom: env(safe-area-inset-bottom, 0px); }
html { overflow-anchor: none; }
body { font-family: monospace; background: #0d1117; color: #c9d1d9; }
html.embedded, html.embedded body { background: transparent; }
html.embedded .page-header, html.embedded .search-bar, html.embedded .filter-sheet-overlay, html.embedded .filter-sheet, html.embedded #timelineWrap, html.embedded #grid, html.embedded #gridTools, html.embedded .info-bar, html.embedded .header-sticky .hamburger { display: none !important; }

.search-bar { padding: 10px 20px; background: #161b22; border-bottom: 1px solid #30363d; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.search-bar input[type="text"] { background: #0d1117; color: #c9d1d9; border: 1px solid #30363d; border-radius: 4px; padding: 6px 10px; font-family: monospace; font-size: 13px; flex: 1; min-width: 200px; }
.search-bar input[type="text"]:focus { outline: none; border-color: #58a6ff; }
.search-bar select { background: #0d1117; color: #c9d1d9; border: 1px solid #30363d; border-radius: 4px; padding: 5px 8px; font-family: monospace; font-size: 12px; }
.search-bar select:focus { outline: none; border-color: #58a6ff; }
.type-dropdown { position: relative; }
.type-dropdown-btn { background: #0d1117; color: #c9d1d9; border: 1px solid #30363d; border-radius: 4px; padding: 5px 8px; font-family: monospace; font-size: 12px; cursor: pointer; white-space: nowrap; position: relative; }
.type-dropdown-btn .dd-dot { display: none; position: absolute; top: 2px; right: 2px; width: 7px; height: 7px; background: #f85149; border-radius: 50%; }
.type-dropdown-btn.has-filter .dd-dot { display: inline-block; }
.type-dropdown-btn:hover { border-color: #58a6ff; }
.type-dropdown-menu { display: none; position: absolute; top: 100%; left: 0; z-index: 100; background: #161b22; border: 1px solid #30363d; border-radius: 6px; padding: 6px; min-width: 120px; box-shadow: 0 8px 24px rgba(0,0,0,.4); margin-top: 2px; }
.type-dropdown-menu.open { display: block; }
.type-check { display: flex; align-items: center; gap: 6px; padding: 4px 6px; border-radius: 4px; cursor: pointer; font-size: 12px; color: #c9d1d9; white-space: nowrap; }
.type-check:hover { background: rgba(255,255,255,.05); }
.type-check input[type="checkbox"] { accent-color: #58a6ff; }
.light-theme .type-dropdown-btn { background: #fff; color: #24292f; border-color: #d0d7de; }
.light-theme .type-dropdown-btn:hover { border-color: #0969da; }
.light-theme .type-dropdown-menu { background: #fff; border-color: #d0d7de; }
.light-theme .type-check { color: #24292f; }
.light-theme .type-check:hover { background: rgba(0,0,0,.03); }
.fs-type-checks { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0; }
.search-bar button { background: #238636; color: #fff; border: none; padding: 6px 14px; border-radius: 4px; cursor: pointer; font-size: 12px; }
.search-bar button:hover { background: #2ea043; }
.search-bar .btn-secondary { background: #21262d; color: #c9d1d9; }
.search-bar .btn-secondary:hover { background: #30363d; }
.search-bar label { color: #8b949e; font-size: 11px; display: flex; align-items: center; gap: 4px; }
.search-bar label input[type="checkbox"] { accent-color: #238636; }
.search-bar label.chk-danger { color: #f85149; }
.timeline { position: sticky; z-index: 17; background: #0d1117; border-bottom: 1px solid #21262d; height: 48px; cursor: grab; overflow: hidden; transition: top .2s; }
.timeline.dragging { cursor: grabbing; }

.header-sticky { position: sticky; top: 0; z-index: 20; background: #161b22; transition: transform .2s; }
#tlCanvas { display: block; width: 100%; height: 100%; }
.tl-needle { position: absolute; bottom: 0; transform: translateX(-50%); z-index: 2; pointer-events: none; transition: left .4s ease-out; filter: drop-shadow(0 0 4px rgba(218,54,51,.6)); display: flex; flex-direction: column; align-items: center; }
.tl-needle-arrow { width: 0; height: 0; border-left: 6px solid transparent; border-right: 6px solid transparent; border-bottom: 10px solid #da3633; }
.tl-needle-flag { background: #da3633; color: #fff; font-size: 10px; padding: 1px 6px; border-radius: 2px; white-space: nowrap; margin-top: 1px; text-align: center; }

.info-bar { padding: 6px 20px; background: #0d1117; border-bottom: 1px solid #21262d; font-size: 11px; color: #8b949e; display: flex; justify-content: space-between; align-items: center; }
.info-bar b { color: #c9d1d9; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 6px; padding: 10px 20px; }
.month-divider { grid-column: 1 / -1; padding: 6px 0 2px 2px; font-size: 12px; font-weight: 600; color: #8b949e; border-bottom: 1px solid #21262d; margin-bottom: 2px; display: flex; align-items: center; gap: 6px; }
.month-divider .md-year { color: #58a6ff; font-size: 13px; }
.month-divider .md-month { color: #c9d1d9; }
.month-divider .md-ago { color: #6e7681; font-size: 11px; font-weight: 400; margin-left: 2px; }
.light-theme .month-divider .md-ago { color: #8c949e; }
.card { background: #161b22; border-radius: 4px; overflow: hidden; cursor: pointer; position: relative; transition: transform .15s; }
.card:hover { transform: scale(1.02); }
.card .card-ripple { position: absolute; inset: 0; pointer-events: none; z-index: 4; display: flex; align-items: center; justify-content: center; }
.card .card-ripple::before,
.card .card-ripple::after { content: ''; position: absolute; width: 100%; height: 100%; border: 2px solid rgba(88,166,255,.7); border-radius: 4px; box-sizing: border-box; opacity: 0; }
.card:hover .card-ripple::before { animation: corridorFly 1.4s ease-out infinite; }
.card:hover .card-ripple::after { animation: corridorFly 1.4s ease-out infinite .7s; }
@keyframes corridorFly {
    0%   { transform: scale(.05); opacity: 1; border-color: rgba(88,166,255,.9); border-width: 3px; }
    60%  { opacity: .5; border-width: 2px; }
    100% { transform: scale(1.4); opacity: 0; border-width: 1px; border-color: rgba(88,166,255,.2); }
}
.card img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; background: #21262d; transition: transform .3s; }
.card .overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 6px 8px; background: linear-gradient(transparent, rgba(0,0,0,.85)); font-size: 10px; line-height: 1.4; z-index: 3; pointer-events: none; }
.card .overlay .date { color: #8b949e; }
.card .overlay .desc { color: #c9d1d9; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.card .overlay .faces { display: flex; gap: 3px; margin-top: 3px; }
.card .face-thumb { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; border: 1px solid #30363d; pointer-events: auto; cursor: pointer; transition: transform .2s ease-out, border-color .2s; }
.card .face-thumb:hover { transform: scale(1.6); z-index: 10; border-color: #58a6ff; }
.card .face-thumb.named { border-color: #3fb950; }
.card .face-thumb.named:hover { border-color: #58a6ff; }
.card .top-badges { position: absolute; top: 4px; left: 50%; transform: translateX(-50%); display: flex; gap: 4px; z-index: 2; }
.card .top-badges .tb { background: rgba(0,0,0,.8); color: #fff; font-size: 9px; padding: 1px 5px; border-radius: 3px; font-weight: 600; letter-spacing: .3px; white-space: nowrap; }
.card .top-badges .tb.gps { background: rgba(88,166,255,.85); cursor: pointer; }
.card .top-badges .tb.gps:hover { background: rgba(88,166,255,1); }
.card .top-badges .tb.raw { background: #f0883e; }
.card .top-badges .tb.dur { background: rgba(0,0,0,.8); }
.light-theme .card .top-badges .tb { background: rgba(0,0,0,.7); }
.light-theme .card .top-badges .tb.gps { background: rgba(9,105,218,.8); }
.light-theme .card .top-badges .tb.gps:hover { background: rgba(9,105,218,1); }
.light-theme .card .top-badges .tb.raw { background: #f0883e; }
.card .badge { position: absolute; left: 4px; background: rgba(0,0,0,.7); color: #3fb950; font-size: 9px; padding: 2px 5px; border-radius: 3px; }
.card .badge.badge-rel { top: 4px; }
.card .badge.badge-faces { top: 22px; }
.card .badge.badge-only { top: 4px; }
.card .video-play-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.3); opacity: 0; transition: opacity .2s; pointer-events: none; z-index: 1; }
.card:hover .video-play-overlay { opacity: 1; }
.card .video-play-overlay span { font-size: 36px; color: #fff; text-shadow: 0 0 8px rgba(0,0,0,.5); }
.card-preview-video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; background: #000; }

.card .del-mark { position: absolute; bottom: 4px; right: 4px; width: 22px; height: 22px; background: none; color: #c9d1d9; display: flex; align-items: center; justify-content: center; font-size: 14px; cursor: pointer; z-index: 3; opacity: 0; transition: opacity .15s; text-shadow: 0 0 2px #000, 0 0 2px #000, 0 0 4px #000; }
.card:hover .del-mark { opacity: 1; }
.card .del-mark:hover { color: #f85149; }
.card .undo-mark { position: absolute; bottom: 4px; right: 4px; padding: 2px 8px; background: rgba(35,134,54,.9); color: #fff; border-radius: 12px; font-size: 10px; font-weight: 600; cursor: pointer; z-index: 2; font-family: monospace; }
.card .undo-mark:hover { background: rgba(35,134,54,1); }
.card.deleted-card img { opacity: .45; filter: grayscale(.5); }

.loading { text-align: center; padding: 40px; color: #8b949e; }
.empty { text-align: center; padding: 60px 20px; color: #6e7681; font-size: 14px; }
.scroll-sentinel { height: 2px; width: 100%; position: relative; }
.scroll-sentinel .ss-loadbar { display: none; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, transparent 0%, #58a6ff 50%, transparent 100%); background-size: 200% 100%; animation: ssSlide 1.2s ease-in-out infinite; }
.scroll-sentinel.loading { height: 3px; margin-bottom: 200px; }
.scroll-sentinel.loading .ss-loadbar { display: block; }
@keyframes ssSlide { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.scroll-sentinel.end { height: auto; margin-bottom: 0; text-align: center; }
.scroll-sentinel.end::after { content: '~ конец ~'; display: block; height: auto; color: #21262d; font-size: 12px; padding: 24px 0 40px; letter-spacing: 2px; text-transform: lowercase; background: none; margin-top: 0; }

.top-sentinel { height: 2px; width: 100%; position: relative; text-align: center; }
.top-sentinel .ts-end { display: none; color: #21262d; font-size: 12px; padding: 24px 0 16px; letter-spacing: 2px; text-transform: lowercase; }
.top-sentinel .ts-loadbar { display: none; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, transparent 0%, #58a6ff 50%, transparent 100%); background-size: 200% 100%; animation: ssSlide 1.2s ease-in-out infinite; }
.top-sentinel.at-end { height: auto; }
.top-sentinel.at-end .ts-end { display: block; }
.top-sentinel.loading .ts-loadbar { display: block; }

.card .expand-btn { position: absolute; top: 4px; right: 4px; background: rgba(0,0,0,.6); color: #c9d1d9; border: none; border-radius: 3px; width: 28px; height: 28px; cursor: pointer; font-size: 16px; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .15s; z-index: 3; }
.card:hover .expand-btn { opacity: .8; }
.card .expand-btn:hover { opacity: 1; background: rgba(0,0,0,.8); animation: btnWiggle .4s ease-in-out infinite; }
@keyframes btnWiggle { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-8deg); } 75% { transform: rotate(8deg); } }
.card .goto-btn { position: absolute; top: 36px; right: 4px; background: rgba(0,0,0,.6); color: #c9d1d9; border: none; border-radius: 3px; width: 28px; height: 28px; cursor: pointer; font-size: 14px; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .15s; }
.card:hover .goto-btn { opacity: .8; }
.card .goto-btn:hover { opacity: 1; background: rgba(0,0,0,.8); }


.detail-panel { background: #161b22; color: #c9d1d9; font-size: 13px; box-sizing: border-box; }
.detail-panel.show { display: block; }
.detail-panel h2 { color: #58a6ff; font-size: 14px; margin-bottom: 10px; }
.detail-panel .dp-close { position: absolute; top: 10px; right: 14px; cursor: pointer; color: #6e7681; font-size: 18px; }
.detail-panel .dp-close:hover { color: #c9d1d9; }
.detail-panel .dp-img { width: 100%; max-width: 100%; height: auto; border-radius: 4px; margin-bottom: 4px; display: block; }
.dp-img-bar { display: flex; justify-content: flex-end; gap: 6px; margin-bottom: 4px; }
.dp-img-bar button { padding: 4px 10px; background: #21262d; color: #c9d1d9; border: 1px solid #30363d; border-radius: 4px; cursor: pointer; font-size: 14px; font-family: monospace; }
.dp-img-bar button:hover { background: #1f6feb; border-color: #58a6ff; }
.flir-mode-bar { display: flex; gap: 0; margin-bottom: 12px; border: 1px solid #30363d; border-radius: 4px; overflow: hidden; }
.flir-mode-bar button { flex: 1; padding: 4px 6px; background: #21262d; color: #8b949e; border: none; cursor: pointer; font-size: 10px; font-family: monospace; text-align: center; transition: all .15s; }
.flir-mode-bar button:not(:last-child) { border-right: 1px solid #30363d; }
.flir-mode-bar button.active { background: #da3633; color: #fff; }
.flir-mode-bar button:hover:not(.active) { background: #30363d; color: #c9d1d9; }
.modal-topbar .flir-mbtn { padding: 2px 6px; background: transparent; color: #8b949e; border: 1px solid transparent; border-radius: 3px; cursor: pointer; font-size: 14px; margin: 0 1px; }
.modal-topbar .flir-mbtn:hover { color: #c9d1d9; border-color: #30363d; }
.modal-topbar .flir-mbtn.active { color: #da3633; border-color: #da3633; }
.light-theme .modal-topbar .flir-mbtn { color: #57606a; }
.light-theme .modal-topbar .flir-mbtn:hover { color: #24292f; border-color: #d0d7de; }
.light-theme .modal-topbar .flir-mbtn.active { color: #cf222e; border-color: #cf222e; }
#flirOverlayControls input[type=range] { background: transparent; cursor: pointer; vertical-align: middle; }
.detail-panel .dp-desc { color: #c9d1d9; margin-bottom: 12px; line-height: 1.5; }
.detail-panel .dp-desc.rich { color: #d29922; border-left: 3px solid #d29922; padding-left: 8px; }
.detail-panel .dp-meta { color: #8b949e; font-size: 11px; margin-bottom: 4px; }
.copy-hash-btn { padding: 1px 6px; background: #21262d; color: #8b949e; border: 1px solid #30363d; border-radius: 3px; cursor: pointer; font-size: 11px; line-height: 1; }
.rich-preview textarea { width: 100%; height: 60px; background: #161b22; color: #e6edf3; border: 1px solid #30363d; border-radius: 4px; padding: 6px; font-size: 12px; font-family: monospace; resize: vertical; }
.rich-preview textarea:focus { border-color: #1f6feb; outline: none; }
.rich-actions { margin-top: 4px; font-size: 11px; font-family: monospace; }
.rich-actions button { padding: 3px 10px; border: none; border-radius: 4px; cursor: pointer; font-size: 11px; font-family: monospace; margin-right: 4px; }
.rich-actions .btn-save { background: #238636; color: #fff; }
.rich-actions .btn-reject { background: #da3633; color: #fff; }
.rich-actions .btn-cancel { background: #484f58; color: #fff; }
.rich-error { color: #f85149; font-size: 11px; }
.detail-panel .dp-personas { margin-top: 10px; }
.manual-date-badge { display: inline-block; background: rgba(218,54,51,.8); color: #fff; font-size: 10px; font-weight: 600; padding: 1px 6px; border-radius: 3px; cursor: pointer; }
.manual-date-badge:hover { background: rgba(218,54,51,1); }
.dp-date-btn { font-size: 10px; color: #6e7681; cursor: pointer; font-family: monospace; text-decoration: underline; }
.dp-date-btn:hover { color: #58a6ff; }
.dp-date-clear { font-size: 11px; color: #f85149; cursor: pointer; font-weight: 600; }
.dp-date-clear:hover { color: #da3633; }
.dp-date-input { background: #0d1117; color: #c9d1d9; border: 1px solid #30363d; border-radius: 4px; padding: 3px 6px; font-family: monospace; font-size: 11px; }
.dp-date-input:focus { outline: none; border-color: #58a6ff; }
.dp-date-save { padding: 3px 8px; background: #238636; color: #fff; border: none; border-radius: 4px; cursor: pointer; font-size: 10px; font-family: monospace; }
.dp-date-save:hover { background: #2ea043; }
.dp-date-cancel { padding: 3px 8px; background: #21262d; color: #c9d1d9; border: none; border-radius: 4px; cursor: pointer; font-size: 10px; font-family: monospace; }
.dp-date-cancel:hover { background: #30363d; }
.dp-pchip { display: inline-flex; align-items: center; gap: 5px; background: #0d1117; border-radius: 4px; padding: 4px 6px; margin: 3px 2px; cursor: pointer; }
.dp-pchip:hover { background: #21262d; }
.dp-pchip img { width: 28px; height: 28px; border-radius: 2px; object-fit: cover; }
.dp-pchip .nm { font-size: 11px; color: #58a6ff; }
.dp-pchip.has-name .nm { color: #3fb950; }

.person-filter { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,.7); z-index: 1030; justify-content: center; align-items: center; }
.person-filter.show { display: flex; }
.pf-box { background: #161b22; border: 1px solid #30363d; border-radius: 8px; padding: 20px; width: 400px; max-height: 80vh; overflow-y: auto; }
.pf-box h3 { color: #58a6ff; font-size: 14px; margin-bottom: 12px; }
.pf-search { width: 100%; background: #0d1117; color: #c9d1d9; border: 1px solid #30363d; border-radius: 4px; padding: 6px 8px; font-family: monospace; font-size: 13px; margin-bottom: 8px; box-sizing: border-box; }
.pf-item { display: flex; align-items: center; gap: 8px; padding: 6px 4px; cursor: pointer; border-radius: 4px; }
.pf-item:hover { background: #21262d; }
.pf-item img { width: 32px; height: 32px; border-radius: 2px; object-fit: cover; }
.pf-item .nm { color: #c9d1d9; font-size: 12px; }
.pf-item .cnt { color: #6e7681; font-size: 10px; margin-left: auto; }
.pf-close { text-align: center; margin-top: 12px; }
.pf-close button { background: #21262d; color: #c9d1d9; border: none; padding: 6px 16px; border-radius: 4px; cursor: pointer; }

.del-dialog { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,.7); z-index: 1050; justify-content: center; align-items: center; }
.del-dialog.show { display: flex; }
.dd-box { background: #161b22; border: 1px solid #30363d; border-radius: 8px; padding: 20px; max-width: 400px; color: #c9d1d9; font-size: 13px; }
.dd-title { font-weight: 600; font-size: 15px; margin-bottom: 8px; }
.dd-hint { color: #8b949e; margin-bottom: 14px; line-height: 1.5; }
.dd-btns { display: flex; gap: 8px; }
.dd-confirm { padding: 8px 18px; border: none; border-radius: 4px; cursor: pointer; font-size: 13px; background: #da3633; color: #fff; }
.dd-confirm:hover { background: #f85149; }
.dd-cancel { padding: 8px 18px; border: none; border-radius: 4px; cursor: pointer; font-size: 13px; background: #21262d; color: #c9d1d9; }
.dd-cancel:hover { background: #30363d; }

.light-theme { background: #ffffff; color: #24292f; }
.light-theme .search-bar { background: #f6f8fa; border-bottom: 1px solid #d0d7de; }
.light-theme .search-bar input[type=text] { background: #ffffff; color: #24292f; border: 1px solid #d0d7de; }
.light-theme .search-bar input[type=text]:focus { border-color: #0969da; }
.light-theme .search-bar select { background: #ffffff; color: #24292f; border: 1px solid #d0d7de; }
.light-theme .search-bar select:focus { border-color: #0969da; }
.light-theme .search-bar button { background: #1f883d; color: #fff; }
.light-theme .search-bar button:hover { background: #29994a; }
.light-theme .search-bar .btn-secondary { background: #f6f8fa; color: #24292f; border: 1px solid #d0d7de; }
.light-theme .search-bar .btn-secondary:hover { background: #eaeef2; }
.light-theme .search-bar label { color: #57606a; }
.light-theme .search-bar label input[type=checkbox] { accent-color: #1f883d; }
.light-theme .timeline { background: #ffffff; border-bottom: 1px solid #d8dee4; }
.light-theme .tl-needle-arrow { border-bottom-color: #da3633; }
.light-theme .tl-needle-flag { background: #da3633; }
.light-theme .info-bar { background: #ffffff; border-bottom: 1px solid #d8dee4; color: #57606a; }
.light-theme .info-bar b { color: #24292f; }
.light-theme .grid { background: #ffffff; }
.light-theme .card { background: #f6f8fa; }
.light-theme .card img { background: #eaeef2; }
.light-theme .card .overlay { background: linear-gradient(transparent, rgba(0,0,0,.75)); }
.light-theme .card .overlay .date { color: #b1bac4; }
.light-theme .card .overlay .desc { color: #ffffff; }
.light-theme .card .face-thumb { border-color: #d0d7de; }
.light-theme .card .face-thumb:hover { border-color: #0969da; }
.light-theme .card .face-thumb.named { border-color: #1f883d; }
.light-theme .card .face-thumb.named:hover { border-color: #0969da; }
.light-theme .card .badge { background: rgba(0,0,0,.5); }
.light-theme .card .del-mark { background: rgba(0,0,0,.35); color: #6e7681; }
.light-theme .card .del-mark:hover { background: rgba(207,34,46,.9); color: #fff; }
.light-theme .card .undo-mark { background: rgba(31,136,61,.9); }
.light-theme .card .undo-mark:hover { background: rgba(31,136,61,1); }
.light-theme .card.deleted-card img { opacity: .45; filter: grayscale(.5); }
.light-theme .top-sentinel .ts-end { color: #d0d7de; }
.light-theme .scroll-sentinel.end::after { color: #d0d7de; }
.light-theme .detail-panel { background: #f6f8fa; border-left: 1px solid #d0d7de; color: #24292f; }
.light-theme .detail-panel h2 { color: #0969da; }
.light-theme .detail-panel .dp-close { color: #57606a; }
.light-theme .detail-panel .dp-close:hover { color: #24292f; }
.light-theme .detail-panel .dp-desc { color: #24292f; }
.light-theme .detail-panel .dp-desc.rich { color: #9a6700; border-left-color: #9a6700; }
.light-theme .dp-img-bar button { background: #f6f8fa; color: #24292f; border-color: #d0d7de; }
.light-theme .dp-img-bar button:hover { background: #0969da; color: #fff; border-color: #0969da; }
.light-theme .flir-mode-bar { border-color: #d0d7de; }
.light-theme .flir-mode-bar button { background: #f6f8fa; color: #57606a; }
.light-theme .flir-mode-bar button.active { background: #cf222e; color: #fff; }
.light-theme .flir-mode-bar button:hover:not(.active) { background: #eaeef2; color: #24292f; }
.light-theme .detail-panel .dp-meta { color: #24292f; }
.light-theme .detail-panel .manual-date-badge { background: rgba(207,34,46,.85); }
.light-theme .detail-panel .dp-date-btn { color: #57606a; }
.light-theme .detail-panel .dp-date-btn:hover { color: #0969da; }
.light-theme .detail-panel .dp-date-clear { color: #cf222e; }
.light-theme .detail-panel .dp-date-input { background: #ffffff; color: #24292f; border: 1px solid #d0d7de; }
.light-theme .detail-panel .dp-date-save { background: #1f883d; color: #fff; }
.light-theme .detail-panel .dp-date-cancel { background: #eaeef2; color: #24292f; }
.light-theme .detail-panel .copy-hash-btn { background: #f6f8fa; color: #57606a; border-color: #d0d7de; }
.light-theme .rich-preview textarea { background: #ffffff; color: #24292f; border: 1px solid #d0d7de; }
.light-theme .rich-preview textarea:focus { border-color: #0969da; }
.light-theme .rich-actions .btn-save { background: #1f883d; }
.light-theme .rich-actions .btn-reject { background: #cf222e; }
.light-theme .rich-actions .btn-cancel { background: #eaeef2; color: #24292f; }
.light-theme .rich-error { color: #cf222e; }
.light-theme .dp-pchip { background: #ffffff; }
.light-theme .dp-pchip:hover { background: #eaeef2; }
.light-theme .dp-pchip .nm { color: #0969da; }
.light-theme .dp-pchip.has-name .nm { color: #1f883d; }
.light-theme .card .expand-btn { background: rgba(0,0,0,.5); color: #c9d1d9; }
.light-theme .card .expand-btn:hover { background: rgba(0,0,0,.8); }
.light-theme .card .goto-btn { background: rgba(0,0,0,.5); color: #c9d1d9; }
.light-theme .card .goto-btn:hover { background: rgba(0,0,0,.8); }
.light-theme .card .overlay .faces { display: flex; gap: 3px; margin-top: 3px; }
.light-theme .pf-close button { background: #eaeef2; color: #24292f; }
.light-theme .pf-close button:hover { background: #d0d7de; }
.light-theme .person-filter { background: rgba(0,0,0,.5); }
.light-theme .del-dialog { background: rgba(0,0,0,.5); }
.light-theme .dd-box { background: #f6f8fa; border: 1px solid #d0d7de; color: #24292f; }
.light-theme .dd-hint { color: #57606a; }
.light-theme .dd-confirm { background: #cf222e; color: #fff; }
.light-theme .dd-confirm:hover { background: #a40e26; }
.light-theme .dd-cancel { background: #eaeef2; color: #24292f; }
.light-theme .dd-cancel:hover { background: #d0d7de; }
.light-theme .card-preview-video { background: #eaeef2; }
.light-theme .loading { color: #57606a; }
.light-theme .empty { color: #6e7681; }
.light-theme .copy-hash-btn { background: #f6f8fa; color: #57606a; border-color: #d0d7de; }
.light-theme .manual-date-badge { background: rgba(207,34,46,.85); color: #fff; }
.light-theme .manual-date-badge:hover { background: rgba(207,34,46,1); }
.light-theme .dp-date-btn { color: #57606a; }
.light-theme .dp-date-btn:hover { color: #0969da; }
.light-theme .dp-date-clear { color: #cf222e; }
.light-theme .dp-date-clear:hover { color: #a40e26; }
.light-theme .dp-date-input { background: #ffffff; color: #24292f; border: 1px solid #d0d7de; }
.light-theme .dp-date-input:focus { border-color: #0969da; }
.light-theme .dp-date-save { background: #1f883d; color: #fff; }
.light-theme .dp-date-save:hover { background: #29994a; }
.light-theme .dp-date-cancel { background: #eaeef2; color: #24292f; }
.light-theme .dp-date-cancel:hover { background: #d0d7de; }
.light-theme .pf-box { background: #f6f8fa; border: 1px solid #d0d7de; }
.light-theme .pf-box h3 { color: #0969da; }
.light-theme .pf-search { background: #f6f8fa; color: #24292f; border-color: #d0d7de; }
.light-theme .pf-item { border-radius: 4px; }
.light-theme .pf-item:hover { background: #eaeef2; }
.light-theme .pf-item img { border-radius: 2px; }
.light-theme .pf-item .nm { color: #24292f; }
.light-theme .pf-item .cnt { color: #6e7681; }
.light-theme .mob-filter-btn { background: #eaeef2; color: #24292f; border: 1px solid #d0d7de; }
.light-theme .mob-filter-btn .badge-dot { background: #0969da; }
.light-theme .filter-sheet-overlay { background: rgba(0,0,0,.5); }
.light-theme .fs-actions button { border: none; }
.light-theme .fs-btn-apply { background: #1f883d; color: #fff; }
.light-theme .fs-btn-person { background: #0969da; color: #fff; }

.mob-filter-btn { display: none; background: #21262d; color: #c9d1d9; border: none; padding: 10px 14px; border-radius: 4px; cursor: pointer; font-size: 18px; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
.mob-filter-btn .badge-dot { position: absolute; top: 4px; right: 4px; width: 8px; height: 8px; background: #58a6ff; border-radius: 50%; display: none; }
.mob-filter-btn.has-filters .badge-dot { display: block; }
.filter-sheet-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 900; }
.filter-sheet-overlay.open { display: block; }
.filter-sheet { position: fixed; bottom: -100%; left: 0; right: 0; width: 100svw; max-width: 100svw; background: #161b22; border-top: 1px solid #30363d; border-radius: 16px 16px 0 0; z-index: 901; max-height: 85svh; overflow-x: hidden; overflow-y: auto; -webkit-overflow-scrolling: touch; box-sizing: border-box; padding: 0 12px calc(24px + var(--safe-bottom)); transition: bottom .3s ease; }
.filter-sheet.open { bottom: 0; }
.filter-sheet * { box-sizing: border-box; max-width: 100%; }
.filter-sheet .fs-handle { width: 40px; height: 5px; background: #30363d; border-radius: 3px; margin: 8px auto 12px; }
.filter-sheet .fs-title { font-size: 14px; font-weight: 600; color: #c9d1d9; margin-bottom: 12px; }
.light-theme .filter-sheet .fs-handle { background: #d0d7de; }
.light-theme .filter-sheet { background: #f6f8fa; border-top-color: #d0d7de; }
.toggle-row { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid #21262d; min-height: 52px; gap: 12px; }
.light-theme .toggle-row { border-bottom-color: #d0d7de; }
.toggle-row:last-of-type { border-bottom: none; }
.toggle-label { font-size: 15px; color: #c9d1d9; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.toggle-row.danger .toggle-label { color: #f85149; }
.light-theme .toggle-label { color: #24292f; }
.toggle-switch { position: relative; width: 52px; min-width: 52px; height: 32px; flex-shrink: 0; }
.toggle-switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.toggle-track { position: absolute; inset: 0; background: #30363d; border-radius: 16px; cursor: pointer; transition: background .2s; }
.toggle-track::after { content: ''; position: absolute; left: 4px; top: 4px; width: 24px; height: 24px; background: #8b949e; border-radius: 50%; transition: transform .2s, background .2s; }
.toggle-switch input:checked + .toggle-track { background: #238636; }
.toggle-switch input:checked + .toggle-track::after { transform: translateX(20px); background: #fff; }
.light-theme .toggle-track { background: #d0d7de; }
.light-theme .toggle-track::after { background: #8c949e; }
.light-theme .toggle-switch input:checked + .toggle-track { background: #1f883d; }
.light-theme .toggle-switch input:checked + .toggle-track::after { background: #fff; }
.fs-select { display: block; width: 100%; background: #0d1117; color: #c9d1d9; border: 1px solid #30363d; border-radius: 8px; padding: 12px 14px; font-size: 16px; font-family: monospace; margin: 8px 0; -webkit-appearance: none; appearance: none; }
.light-theme .fs-select { background: #fff; color: #24292f; border-color: #d0d7de; }
.fs-actions { display: flex; gap: 10px; margin-top: 16px; }
.fs-actions button { flex: 1; min-height: 48px; font-size: 15px; border-radius: 8px; border: none; cursor: pointer; font-family: monospace; }
.fs-btn-apply { background: #238636; color: #fff; }
.fs-btn-clear { background: #21262d; color: #c9d1d9; }
.light-theme .fs-btn-clear { background: #eaeef2; color: #24292f; }
.fs-btn-person { background: #1f6feb; color: #fff; display: block; width: 100%; margin-top: 8px; min-height: 48px; font-size: 15px; border-radius: 8px; border: none; cursor: pointer; font-family: monospace; }
.fs-hint { display: block; font-size: 11px; color: #8b949e; margin: -4px 0 4px; line-height: 1.3; }
.light-theme .fs-hint { color: #57606a; }
.toggle-row .fs-hint { margin: 2px 0 0; }

html.scroll-lock { overflow: hidden; touch-action: none; }
html.scroll-lock body { overflow: hidden; }

@media (max-width: 768px) {
    html, body { overflow-x: clip; max-width: 100svw; }
    .header-sticky h1 span { font-size: 15px; }
    .search-bar select, .search-bar label, .search-bar .btn-secondary { display: none; }
    .search-bar button:not(.mob-filter-btn) { display: none; }
    .dp-handle { display: block; width: 40px; height: 5px; background: #30363d; border-radius: 3px; margin: 8px auto 0; }
    .light-theme .dp-handle { background: #d0d7de; }

    .modal-nav { font-size: 36px; padding: 30px 16px; opacity: .7; }
    .modal-close { font-size: 30px; top: 10px; right: 10px; min-width: 44px; min-height: 44px; }
    .modal-fs { font-size: 24px; top: 10px; right: 50px; min-width: 44px; min-height: 44px; }
    .modal-fit { top: 10px; right: 90px; min-width: 44px; min-height: 44px; }
    .modal-topbar { font-size: 14px; padding: 6px 10px; flex-wrap: wrap; }
    .modal-topbar button { font-size: 20px; padding: 4px 8px; min-width: 44px; min-height: 44px; }

    .face-overlays .face-box { opacity: 1; }
    .face-overlays:hover .face-box { opacity: 1; }
    .face-box-label { max-width: 120px; font-size: 11px; }

    .fm-right .btn-row button { min-height: 44px; font-size: 14px; padding: 10px 18px; }

    .rd-box { max-width: 90vw; }
    .rd-box button { min-height: 44px; font-size: 14px; }
    .rd-box .rd-btns { flex-wrap: wrap; }
    .dd-box button { min-height: 44px; font-size: 14px; }

    .detail-panel button { min-height: 44px; font-size: 14px; padding: 10px 14px; }
    .detail-panel input[type="datetime-local"] { font-size: 16px; padding: 10px; width: 100%; }
    .dp-date-btn, .dp-date-clear { font-size: 14px; padding: 8px; }
    .dp-date-save, .dp-date-cancel { min-height: 44px; font-size: 14px; padding: 10px 14px; }
}
@media (max-width: 480px) {
    .grid { grid-template-columns: repeat(2, 1fr); gap: 3px; padding: 4px 4px; }
}
.rp-overlay { display:none; position:fixed; inset:0; background:rgba(0,0,0,.7); z-index:2000; justify-content:center; align-items:center; }
.rp-overlay.show { display:flex; }
.rp-modal { background:#161b22; border:1px solid #30363d; border-radius:8px; padding:20px; width:420px; max-height:80vh; overflow-y:auto; color:#c9d1d9; font-family:monospace; font-size:12px; }
.rp-modal h3 { color:#58a6ff; margin:0 0 12px; font-size:14px; }
.rp-steps { display:flex; gap:8px; margin-bottom:12px; }
.rp-step { flex:1; text-align:center; padding:6px 4px; border-radius:4px; background:#21262d; border:1px solid #30363d; font-size:10px; text-transform:uppercase; }
.rp-step.running { border-color:#58a6ff; background:#0d2240; animation:rpPulse 1.5s infinite; }
.rp-step.done { border-color:#238636; background:#0d2818; }
.rp-step.fail { border-color:#da3633; background:#2d0a0a; }
@keyframes rpPulse { 0%,100%{opacity:1} 50%{opacity:.6} }
.rp-log { background:#0d1117; border:1px solid #21262d; border-radius:4px; padding:8px; height:140px; overflow-y:auto; font-size:10px; line-height:1.4; margin-bottom:12px; white-space:pre-wrap; word-break:break-all; }
.rp-log .log-faces { color:#58a6ff; }
.rp-log .log-describe { color:#d2a8ff; }
.rp-log .log-embed { color:#3fb950; }
.rp-log .log-reprocess { color:#8b949e; }
.rp-result { margin-top:8px; padding:8px; border-radius:4px; background:#0d2818; border:1px solid #238636; display:none; font-size:11px; line-height:1.5; }
.rp-buttons { display:flex; gap:8px; }
.rp-checks label { display:block; margin:2px 0; font-size:11px; cursor:pointer; }
.light-theme .rp-modal { background:#f6f8fa; border-color:#d0d7de; color:#24292f; }
.light-theme .rp-modal h3 { color:#0969da; }
.light-theme .rp-step { background:#f6f8fa; border-color:#d0d7de; color:#24292f; }
.light-theme .rp-step.running { border-color:#0969da; background:#ddf4ff; color:#0969da; }
.light-theme .rp-step.done { border-color:#1a7f37; background:#dafbe1; color:#1a7f37; }
.light-theme .rp-step.fail { border-color:#cf222e; background:#ffebe9; color:#cf222e; }
.light-theme .rp-log { background:#fff; border-color:#d0d7de; color:#24292f; }
.light-theme .rp-log .log-faces { color:#0969da; }
.light-theme .rp-log .log-describe { color:#8250df; }
.light-theme .rp-log .log-embed { color:#1a7f37; }
.light-theme .rp-log .log-reprocess { color:#57606a; }
.light-theme .rp-result { background:#dafbe1; border-color:#1a7f37; color:#24292f; }
.light-theme .rp-overlay { background:rgba(255,255,255,.7); }
.light-theme .rp-buttons button { background:#f6f8fa; color:#24292f; border:1px solid #d0d7de; }
.light-theme .rp-checks label { color:#24292f; }

/* ─── Inline-style replacements (gallery-detail.js, gallery-ui.js, gallery-common.js) ─── */
.dp-muted { color: #6e7681; }
.dp-warning { color: #f0883e; }
.dp-warning-bold { color: #f0883e; font-weight: 600; }
.dp-error { color: #f85149; }
.dp-error-bold { color: #f85149; font-weight: 600; }
.dp-collapse { color: #58a6ff; font-size: 11px; cursor: pointer; padding: 2px 0; border-bottom: 1px solid #21262d; }
.dp-section-label { color: #8b949e; font-size: 10px; margin-bottom: 4px; }
.dp-album-chip { display: inline-flex; align-items: center; gap: 4px; background: #0d1117; border: 1px solid #30363d; border-radius: 4px; padding: 4px 8px; font-size: 11px; color: #58a6ff; text-decoration: none; }
.dp-album-chip:hover { border-color: #58a6ff; }
.dp-map-link { display: flex; align-items: center; gap: 5px; color: #58a6ff; text-decoration: none; background: #0d1117; border: 1px solid #30363d; border-radius: 4px; padding: 4px 8px; font-size: 11px; }
.dp-map-link:hover { border-color: #58a6ff; }
.dp-dup-path { padding-left: 10px; word-break: break-all; color: #8b949e; }
.dp-hash-label { color: #6e7681; }
.dp-persona-comment { font-size: 9px; color: #8b949e; margin-left: 2px; }
.dp-alt-path { color: #58a6ff; margin-right: 10px; text-decoration: none; }
.dp-alt-path:hover { text-decoration: underline; }
.dp-meta-sm { color: #8b949e; font-size: 11px; }
.dp-meta-nowrap { color: #8b949e; font-size: 12px; white-space: nowrap; }
.dp-video-bg { width: 100%; max-height: 400px; background: #000; border-radius: 4px; }
.dp-btn-enrich { padding: 4px 12px; background: #238636; color: #fff; border: none; border-radius: 4px; cursor: pointer; font-size: 11px; font-family: monospace; margin-right: 4px; }
.dp-btn-enrich:hover { background: #2ea043; }
.dp-btn-custom { padding: 4px 12px; background: #1f6feb; color: #fff; border: none; border-radius: 4px; cursor: pointer; font-size: 11px; font-family: monospace; }
.dp-btn-custom:hover { background: #388bfd; }
.dp-btn-reprocess { padding: 4px 12px; background: #6e40c9; color: #fff; border: none; border-radius: 4px; cursor: pointer; font-size: 11px; font-family: monospace; }
.dp-btn-reprocess:hover { background: #8957e5; }
.dp-btn-share { padding: 4px 12px; background: #1f6feb; color: #fff; border: none; border-radius: 4px; cursor: pointer; font-size: 11px; font-family: monospace; margin-left: 4px; }
.dp-btn-share:hover { background: #388bfd; }
.dp-btn-restore { padding: 4px 12px; background: #238636; color: #fff; border: none; border-radius: 4px; cursor: pointer; font-size: 11px; font-family: monospace; margin: 4px 0; }
.dp-btn-restore:hover { background: #2ea043; }
.dp-btn-full { background: #238636; color: #fff; border: none; padding: 6px 14px; border-radius: 4px; cursor: pointer; font-size: 12px; }
.dp-btn-full:hover { background: #2ea043; }
.dp-muted-sm { color: #6e7681; font-size: 10px; padding: 6px 4px; margin-top: 8px; }
.dp-badge-warn { color: #d29922; }
.dp-link-sm { color: #58a6ff; font-size: 11px; cursor: pointer; }
.card-muted { color: #6e7681; }

.light-theme .dp-muted { color: #57606a; }
.light-theme .dp-warning { color: #bc4c00; }
.light-theme .dp-warning-bold { color: #bc4c00; }
.light-theme .dp-error { color: #cf222e; }
.light-theme .dp-error-bold { color: #cf222e; }
.light-theme .dp-collapse { color: #0969da; border-bottom-color: #d0d7de; }
.light-theme .dp-section-label { color: #57606a; }
.light-theme .dp-album-chip { background: #fff; border-color: #d0d7de; color: #0969da; }
.light-theme .dp-album-chip:hover { border-color: #0969da; }
.light-theme .dp-map-link { background: #fff; border-color: #d0d7de; color: #0969da; }
.light-theme .dp-map-link:hover { border-color: #0969da; }
.light-theme .dp-dup-path { color: #57606a; }
.light-theme .dp-hash-label { color: #57606a; }
.light-theme .dp-persona-comment { color: #57606a; }
.light-theme .dp-alt-path { color: #0969da; }
.light-theme .dp-meta-sm { color: #57606a; }
.light-theme .dp-meta-nowrap { color: #57606a; }
.light-theme .dp-btn-enrich { background: #1f883d; }
.light-theme .dp-btn-enrich:hover { background: #1a7f37; }
.light-theme .dp-btn-custom { background: #0969da; }
.light-theme .dp-btn-custom:hover { background: #218bff; }
.light-theme .dp-btn-reprocess { background: #8250df; }
.light-theme .dp-btn-reprocess:hover { background: #6639ba; }
.light-theme .dp-btn-share { background: #0969da; }
.light-theme .dp-btn-share:hover { background: #218bff; }
.light-theme .dp-btn-restore { background: #1f883d; }
.light-theme .dp-btn-restore:hover { background: #1a7f37; }
.light-theme .dp-btn-full { background: #1f883d; }
.light-theme .dp-btn-full:hover { background: #1a7f37; }
.light-theme .dp-muted-sm { color: #57606a; }
.light-theme .dp-badge-warn { color: #9a6700; }
.light-theme .dp-link-sm { color: #0969da; }
.light-theme .card-muted { color: #57606a; }
.light-theme .dp-video-bg { background: #000; }
