/* ViewShark - Thumb 3-dot Menu + Mini-Queue Player */

/* ===== 3-dot menu on thumbnails ===== */
.media-meta { position: relative; }
/* Anchored to the bottom-right so the dots sit next to the "X views • Y ago" line */
.tm-3dot-wrap { position: absolute; bottom: 2px; right: 2px; z-index: 5; }
.full-details-holder .tm-3dot-wrap { bottom: 6px; right: 6px; }
/* Title no longer needs right-padding now that the dots aren't beside it */
.media-meta h3 { padding-right: 0; }
.full-details-holder > h3 { padding-right: 0; }
/* Reserve right-padding on the views/date row so its text never runs under the dots */
.media-meta .channel_views,
.media-meta .channel-views,
.media-meta .file-views-nr,
.media-meta .media-meta-data,
.full-details-holder .channel_views,
.full-details-holder .channel-views,
.full-details-holder .file-views-nr,
.full-details-holder .media-meta-data { padding-right: 36px; }
.tm-3dot-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 30px; height: 30px; border-radius: 50%;
    cursor: pointer; border: 0; padding: 0;
    background: transparent;
    color: #0f0f0f;
    box-shadow: none;
    transition: background .15s, color .15s, transform .12s, box-shadow .15s;
    opacity: 1;
}
.tm-3dot-btn:hover {
    background: #f0f0f0; color: #000;
    box-shadow: none;
}
.tm-3dot-btn i { font-size: 18px; line-height: 1; pointer-events: none; }
/* Related section: 3-dot appears only on hover over the content item */
.related-column .full-thumbs .tm-3dot-wrap {
    opacity: 0;
    transition: opacity .15s ease;
}
.related-column .full-thumbs:hover .tm-3dot-wrap,
.related-column .full-thumbs .tm-3dot-wrap.open {
    opacity: 1;
}
/* Always use vertical ellipsis glyph; works on every theme without icon font */
.tm-3dot-btn i::before {
    content: '\22EE';
    font-family: inherit; font-size: 22px; line-height: 1; font-weight: 700;
    letter-spacing: 0;
}
.tm-3dot-btn i.icon-menu2::before { content: '\22EE'; }

/* Dark theme: transparent default, hover circle one step darker */
html.dark .tm-3dot-btn, body.dark .tm-3dot-btn,
[data-theme*="dark"] .tm-3dot-btn, .theme-dark .tm-3dot-btn {
    background: transparent;
    color: #fff;
    box-shadow: none;
}
html.dark .tm-3dot-btn:hover, body.dark .tm-3dot-btn:hover,
[data-theme*="dark"] .tm-3dot-btn:hover, .theme-dark .tm-3dot-btn:hover {
    background: #282828; color: #fff;
}

/* ===== Shorts caption 2-dot button ===== */
.shorts-caption-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: relative;
}
/* remove old 3-dot padding reserve in shorts captions */
.shorts-caption-row .views-number { padding-right: 0 !important; }
/* ensure the button hugs the right edge */
.shorts-caption-row .tm-2dot-btn {
    margin-left: auto;
    margin-right: -2px;
    flex-shrink: 0;
}
.tm-2dot-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 22px; height: 22px; border-radius: 50%;
    cursor: pointer; border: 0; padding: 0;
    background: transparent;
    color: #0f0f0f;
    box-shadow: none;
    transition: background .15s, color .15s, box-shadow .15s;
    opacity: 1;
    margin-left: auto;
}
.tm-2dot-btn:hover {
    background: #f0f0f0; color: #000;
    box-shadow: none;
}
.tm-2dot-btn i { font-size: 14px; line-height: 1; pointer-events: none; }
.tm-2dot-btn i::before { content: '..'; font-family: inherit; font-size: 16px; font-weight: 700; letter-spacing: 1px; }
html.dark .tm-2dot-btn, body.dark .tm-2dot-btn,
[data-theme*="dark"] .tm-2dot-btn, .theme-dark .tm-2dot-btn {
    background: transparent; color: #fff;
    box-shadow: none;
}
html.dark .tm-2dot-btn:hover, body.dark .tm-2dot-btn:hover,
[data-theme*="dark"] .tm-2dot-btn:hover, .theme-dark .tm-2dot-btn:hover {
    background: #282828; color: #fff;
}

.tm-3dot-menu {
    position: absolute; top: 32px; right: 0; min-width: 220px;
    background: #fff; color: #0f0f0f;
    box-shadow: 0 4px 32px rgba(0,0,0,.2);
    border-radius: 12px; padding: 8px 0;
    display: none; z-index: 10000;
    font-size: 14px;
}
.tm-3dot-menu.open { display: block; }
.tm-3dot-menu .tm-item {
    display: flex; align-items: center; gap: 14px;
    padding: 10px 14px; cursor: pointer;
    color: #0f0f0f; text-decoration: none; white-space: nowrap;
}
.tm-3dot-menu .tm-item:hover { background: rgba(0,0,0,.06); }
.tm-3dot-menu .tm-item i { font-size: 18px; width: 20px; text-align: center; }

/* dark theme support */
html.dark .tm-3dot-menu, body.dark .tm-3dot-menu,
[data-theme="dark"] .tm-3dot-menu, .theme-dark .tm-3dot-menu {
    background: #282828; color: #fff;
}
html.dark .tm-3dot-menu .tm-item:hover, body.dark .tm-3dot-menu .tm-item:hover,
[data-theme="dark"] .tm-3dot-menu .tm-item:hover, .theme-dark .tm-3dot-menu .tm-item:hover {
    background: rgba(255,255,255,.1);
}
html.dark .tm-3dot-menu .tm-item, body.dark .tm-3dot-menu .tm-item,
[data-theme="dark"] .tm-3dot-menu .tm-item, .theme-dark .tm-3dot-menu .tm-item { color: #fff; }

/* ===== Mini-Queue floating player ===== */
#mini-queue {
    position: fixed; right: 16px; bottom: 16px;
    width: 400px; max-width: calc(100vw - 24px);
    background: #fff; color: #0f0f0f;
    border-radius: 12px; box-shadow: 0 8px 40px rgba(0,0,0,.35);
    z-index: 99998; overflow: hidden;
    font-family: inherit; font-size: 14px;
    display: none; flex-direction: column;
}
#mini-queue.open { display: flex; }
#mini-queue.minimized .mq-body { display: none; }
#mini-queue.minimized .mq-header { border-bottom: 0; }

html.dark #mini-queue, body.dark #mini-queue,
[data-theme="dark"] #mini-queue, .theme-dark #mini-queue {
    background: #212121; color: #fff;
}

.mq-player-wrap {
    position: relative; width: 100%;
    background: #000; aspect-ratio: 16/9;
}
.mq-player-wrap.shorts { aspect-ratio: 9/16; max-height: 60vh; }
.mq-player-wrap iframe {
    position: absolute; inset: 0;
    width: 100%; height: 100%; border: 0;
}

/* Thumb stage shown before iframe loads */
.mq-stage {
    position: absolute; inset: 0; cursor: pointer;
    background: #000; overflow: hidden;
    display: flex; align-items: center; justify-content: center;
}
.mq-stage-thumb {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover; display: block;
    opacity: .85; transition: opacity .2s, transform .35s;
}
.mq-stage:hover .mq-stage-thumb { opacity: 1; transform: scale(1.02); }
.mq-stage-play {
    position: relative; z-index: 2;
    width: 64px; height: 64px; border-radius: 50%;
    border: 0; padding: 0; cursor: pointer;
    /* uses the user's active theme accent; JS sets --mq-accent on :root */
    background: var(--mq-accent, #ff0033);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 18px rgba(0,0,0,.55);
    transition: background .15s, transform .15s, box-shadow .15s;
}
.mq-stage:hover .mq-stage-play {
    transform: scale(1.08);
    box-shadow: 0 6px 22px rgba(0,0,0,.6);
    filter: brightness(1.08);
}
.mq-stage-play-ico {
    display: block;
    width: 0; height: 0;
    border-style: solid;
    border-width: 14px 0 14px 22px;
    border-color: transparent transparent transparent #fff;
    margin-left: 4px; /* visual centering of the triangle */
}
.mq-player-overlay-close {
    position: absolute; top: 6px; right: 6px;
    width: 30px; height: 30px;
    background: rgba(0,0,0,.6); color: #fff;
    border: 0; border-radius: 50%; cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center;
    z-index: 2; font-size: 16px;
}
.mq-player-overlay-close:hover { background: rgba(0,0,0,.85); }
.mq-player-pip-btn {
    position: absolute; top: 6px; left: 6px;
    width: 30px; height: 30px;
    background: rgba(0,0,0,.6); color: #fff;
    border: 0; border-radius: 6px; cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center;
    z-index: 2; font-size: 14px;
}
.mq-player-pip-btn:hover { background: rgba(0,0,0,.85); }

.mq-header {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 12px; border-bottom: 1px solid rgba(0,0,0,.08);
    cursor: pointer; user-select: none;
}
html.dark .mq-header, body.dark .mq-header,
[data-theme="dark"] .mq-header, .theme-dark .mq-header { border-bottom-color: rgba(255,255,255,.1); }

.mq-header-info { flex: 1 1 auto; min-width: 0; line-height: 1.3; }
.mq-current-title {
    display: block; font-weight: 600; font-size: 14px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mq-counter {
    display: block; font-size: 12px; opacity: .7;
}
.mq-header-actions { display: flex; align-items: center; gap: 6px; flex: 0 0 auto; }
.mq-header-actions button {
    background: transparent; border: 0; cursor: pointer;
    color: inherit; padding: 6px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    width: 32px; height: 32px;
}
.mq-header-actions button:hover { background: rgba(127,127,127,.18); }
.mq-toggle-icon { transition: transform .25s; font-size: 16px; }
#mini-queue.minimized .mq-toggle-icon { transform: rotate(180deg); }

.mq-body { max-height: 280px; overflow-y: auto; }
.mq-list { list-style: none; margin: 0; padding: 0; }
.mq-item {
    display: flex; align-items: center; gap: 10px;
    padding: 8px 12px; cursor: pointer;
    border-left: 3px solid transparent;
}
.mq-item:hover { background: rgba(127,127,127,.1); }
.mq-item.active {
    background: rgba(127,127,127,.12);
    border-left-color: #ff0000;
}
.mq-item-thumb {
    flex: 0 0 auto; width: 80px; height: 45px;
    background: #000; border-radius: 4px; overflow: hidden;
    position: relative;
}
.mq-item-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mq-item-thumb.shorts { width: 30px; height: 45px; }
.mq-item-info { flex: 1 1 auto; min-width: 0; line-height: 1.3; }
.mq-item-title {
    display: block; font-size: 13px; font-weight: 500;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mq-item-channel { display: block; font-size: 11px; opacity: .7; }
.mq-item-remove {
    background: transparent; border: 0; cursor: pointer;
    color: inherit; opacity: .6; padding: 6px;
    width: 28px; height: 28px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    flex: 0 0 auto;
}
.mq-item-remove:hover { opacity: 1; background: rgba(127,127,127,.18); }

.mq-empty { padding: 20px; text-align: center; opacity: .6; font-size: 13px; }

/* ===== Share popup ===== */
.tm-share-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,.6);
    display: none; align-items: center; justify-content: center;
    z-index: 100000;
}
.tm-share-overlay.open { display: flex; }
.tm-share-box {
    background: #fff; color: #0f0f0f;
    width: 480px; max-width: calc(100vw - 24px);
    border-radius: 12px; padding: 20px;
    box-shadow: 0 12px 60px rgba(0,0,0,.4);
}
html.dark .tm-share-box, body.dark .tm-share-box,
[data-theme="dark"] .tm-share-box, .theme-dark .tm-share-box {
    background: #282828; color: #fff;
}
.tm-share-head {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 16px;
}
.tm-share-head h3 { margin: 0; font-size: 18px; font-weight: 600; }
.tm-share-close {
    background: transparent; border: 0; cursor: pointer;
    color: inherit; font-size: 20px; padding: 4px 8px; line-height: 1;
}
.tm-share-socials {
    display: flex; gap: 12px; flex-wrap: wrap;
    margin-bottom: 16px;
}
.tm-share-socials a {
    display: inline-flex; flex-direction: column; align-items: center;
    gap: 6px; text-decoration: none; color: inherit;
    width: 64px; text-align: center;
}
.tm-share-socials a .tm-share-icon {
    width: 48px; height: 48px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    color: #fff; font-size: 20px;
}
.tm-share-socials a:hover .tm-share-icon { opacity: .85; }
.tm-share-socials .s-fb .tm-share-icon { background: #1877f2; }
.tm-share-socials .s-tw .tm-share-icon { background: #000; }
.tm-share-socials .s-wa .tm-share-icon { background: #25d366; }
.tm-share-socials .s-rd .tm-share-icon { background: #ff4500; }
.tm-share-socials .s-tg .tm-share-icon { background: #2aabee; }
.tm-share-socials .s-em .tm-share-icon { background: #607d8b; }
.tm-share-socials .tm-share-lbl { font-size: 12px; }

.tm-share-link {
    display: flex; align-items: center; gap: 8px;
    border: 1px solid rgba(127,127,127,.3); border-radius: 8px;
    padding: 6px 8px;
}
.tm-share-link input {
    flex: 1 1 auto; border: 0; outline: 0; background: transparent;
    color: inherit; font-size: 14px; padding: 6px;
    min-width: 0;
}
.tm-share-link button {
    flex: 0 0 auto; background: #065fd4; color: #fff;
    border: 0; border-radius: 999px; padding: 8px 16px;
    cursor: pointer; font-weight: 500; font-size: 13px;
}
.tm-share-link button:hover { background: #0a4ea8; }
.tm-share-link .tm-share-copied { color: #2e7d32; padding: 0 8px; font-size: 13px; }

/* Toast */
.tm-toast {
    position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
    background: rgba(0,0,0,.85); color: #fff;
    padding: 10px 18px; border-radius: 999px;
    font-size: 14px; z-index: 100001;
    opacity: 0; pointer-events: none;
    transition: opacity .25s, transform .25s;
}
.tm-toast.show { opacity: 1; transform: translateX(-50%) translateY(-6px); }

@media (max-width: 600px) {
    #mini-queue { width: calc(100vw - 16px); right: 8px; bottom: 8px; }
    .tm-3dot-menu { right: -4px; min-width: 200px; }
}

/* hide mini-queue when on watch / shorts pages */
body.is-watch-page #mini-queue { display: none !important; }

/* ===== YouTube-style Save popup (in-page) ===== */
.tm-save-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,.6);
    display: none; align-items: center; justify-content: center;
    z-index: 100000;
}
.tm-save-overlay.open { display: flex; }
.tm-save-box {
    background: #fff; color: #0f0f0f;
    width: 420px; max-width: calc(100vw - 24px);
    max-height: calc(100vh - 48px);
    border-radius: 12px; overflow: hidden;
    box-shadow: 0 12px 60px rgba(0,0,0,.45);
    display: flex; flex-direction: column;
}
html.dark .tm-save-box, body.dark .tm-save-box,
[data-theme*="dark"] .tm-save-box, .theme-dark .tm-save-box {
    background: #282828; color: #fff;
}
.tm-save-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 16px; border-bottom: 1px solid rgba(0,0,0,.08);
    flex: 0 0 auto;
}
html.dark .tm-save-head, body.dark .tm-save-head,
[data-theme*="dark"] .tm-save-head, .theme-dark .tm-save-head { border-bottom-color: rgba(255,255,255,.1); }
.tm-save-head h3 { margin: 0; font-size: 16px; font-weight: 600; }
.tm-save-close {
    background: transparent; border: 0; cursor: pointer;
    color: inherit; font-size: 22px; padding: 4px 8px; line-height: 1;
}
.tm-save-body { overflow-y: auto; flex: 1 1 auto; padding: 4px 0 8px; }
/* Hide the duplicate title that's baked into the watch-page HTML */
.tm-save-body .yt-save-title { display: none; }
.tm-save-body #div-favorite,
.tm-save-body #div-favorite > .more { padding: 0; }
.tm-save-body .yt-save-row:hover { background: rgba(127,127,127,.1); }
html.dark .tm-save-body .yt-save-row:hover, body.dark .tm-save-body .yt-save-row:hover,
[data-theme*="dark"] .tm-save-body .yt-save-row:hover, .theme-dark .tm-save-body .yt-save-row:hover {
    background: rgba(255,255,255,.06);
}

/* ===== Watch-page Queue panel (above related videos) ===== */
.mq-watch-panel {
    margin: 0 0 12px;
    padding: 0;
    border-radius: 12px;
    overflow: hidden;
    background: #fff; color: #0f0f0f;
    border: 1px solid rgba(0,0,0,.08);
}
html.dark .mq-watch-panel, body.dark .mq-watch-panel,
[data-theme*="dark"] .mq-watch-panel, .theme-dark .mq-watch-panel {
    background: #1f1f1f; color: #fff; border-color: rgba(255,255,255,.08);
}
.mq-watch-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 14px;
    border-bottom: 1px solid rgba(0,0,0,.06);
}
html.dark .mq-watch-head, body.dark .mq-watch-head,
[data-theme*="dark"] .mq-watch-head, .theme-dark .mq-watch-head { border-bottom-color: rgba(255,255,255,.06); }
.mq-watch-title { display: flex; flex-direction: column; line-height: 1.2; }
.mq-watch-h { font-size: 15px; font-weight: 600; }
.mq-watch-sub { font-size: 12px; opacity: .7; margin-top: 2px; }
.mq-watch-actions { display: flex; gap: 8px; }
.mq-watch-btn {
    padding: 6px 10px; border-radius: 999px; border: 0; cursor: pointer;
    background: rgba(127,127,127,.15); color: inherit; font-size: 12px; font-weight: 500;
}
.mq-watch-btn:hover { background: rgba(127,127,127,.28); }
.mq-watch-list {
    list-style: none; margin: 0; padding: 4px 0;
    max-height: 320px; overflow-y: auto;
}
.mq-watch-item {
    display: flex; align-items: center; gap: 10px;
    padding: 8px 12px;
    cursor: pointer;
    transition: background .12s;
}
.mq-watch-item:hover { background: rgba(127,127,127,.1); }
.mq-watch-item.active { background: rgba(127,127,127,.16); }
.mq-watch-idx {
    flex: 0 0 18px; text-align: center;
    font-size: 12px; opacity: .65;
    display: inline-flex; align-items: center; justify-content: center;
}
.mq-watch-item.active .mq-watch-idx { opacity: 1; }
.mq-watch-playing {
    display: inline-block;
    width: 0; height: 0;
    border-style: solid;
    border-width: 5px 0 5px 8px;
    border-color: transparent transparent transparent currentColor;
}
.mq-watch-thumb {
    flex: 0 0 88px; width: 88px; height: 50px;
    background: #000; border-radius: 6px; overflow: hidden;
    display: block;
}
.mq-watch-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mq-watch-info { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.mq-watch-name {
    font-size: 13px; font-weight: 500;
    display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden; text-overflow: ellipsis;
}
.mq-watch-ch { font-size: 11px; opacity: .7; margin-top: 2px; }
.mq-watch-remove {
    flex: 0 0 auto; width: 24px; height: 24px;
    background: transparent; border: 0; cursor: pointer;
    color: inherit; opacity: .5; font-size: 16px; line-height: 1; border-radius: 50%;
}
.mq-watch-remove:hover { opacity: 1; background: rgba(127,127,127,.2); }

/* ===== Mini-player hover overlay (play/pause + next) ===== */
.mq-hover-overlay {
    position: absolute; inset: 0;
    background: rgba(0,0,0,.4);
    opacity: 0;
    transition: opacity .2s;
    display: flex; align-items: center; justify-content: center;
    pointer-events: none;
}
.mq-player-wrap:hover .mq-hover-overlay { opacity: 1; pointer-events: auto; }
.mq-hover-play {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
    width: 56px; height: 56px; border-radius: 50%;
    border: 0; padding: 0; cursor: pointer;
    background: rgba(0,0,0,.65);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 16px rgba(0,0,0,.5);
    transition: background .15s, transform .12s;
}
.mq-hover-play:hover { background: var(--mq-accent, #ff0033); transform: translate(-50%, -50%) scale(1.05); }
.mq-hover-play-ico {
    display: block;
    width: 0; height: 0;
    border-style: solid;
    border-width: 12px 0 12px 20px;
    border-color: transparent transparent transparent #fff;
    margin-left: 2px;
}
.mq-hover-play.paused .mq-hover-play-ico {
    border-width: 0;
    width: 18px; height: 18px;
    margin-left: 0;
    background: linear-gradient(to right, #fff 35%, transparent 35%, transparent 65%, #fff 65%);
}
.mq-hover-next {
    position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
    width: 40px; height: 40px; border-radius: 50%;
    border: 0; padding: 0; cursor: pointer;
    background: rgba(0,0,0,.65);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 16px rgba(0,0,0,.5);
    transition: background .15s, transform .12s;
}
.mq-hover-next:hover { background: var(--mq-accent, #ff0033); transform: translateY(-50%) scale(1.05); }
.mq-hover-next-ico {
    display: block;
    width: 0; height: 0;
    border-style: solid;
    border-width: 10px 0 10px 16px;
    border-color: transparent transparent transparent #fff;
    margin-left: 2px;
}

/* ===== Mini-player progress bar ===== */
.mq-progress-wrap {
    position: absolute; bottom: 0; left: 0; right: 0;
    height: 3px; background: rgba(255,255,255,.25);
    z-index: 3; pointer-events: none;
}
.mq-progress-bar {
    height: 100%; width: 0%;
    background: var(--mq-accent, #ff0033);
    transition: width .2s linear;
}
.mq-progress-time {
    position: absolute; bottom: 6px; right: 6px;
    font-size: 11px; color: #fff; background: rgba(0,0,0,.6);
    padding: 2px 5px; border-radius: 3px;
    opacity: 0; transition: opacity .2s;
    pointer-events: none; white-space: nowrap;
}
.mq-player-wrap:hover .mq-progress-time { opacity: 1; }

/* ===== Mini-player resume prompt ===== */
.mq-resume-overlay {
    position: absolute; inset: 0;
    background: rgba(0,0,0,.75);
    display: none; align-items: center; justify-content: center;
    z-index: 4;
}
.mq-resume-overlay.show { display: flex; }
.mq-resume-box {
    background: #fff; color: #0f0f0f;
    border-radius: 10px; padding: 16px 20px;
    text-align: center; max-width: 240px;
    box-shadow: 0 8px 32px rgba(0,0,0,.4);
}
.mq-resume-text {
    display: block; font-size: 14px; font-weight: 600;
    margin-bottom: 12px;
}
.mq-resume-actions { display: flex; gap: 8px; justify-content: center; }
.mq-resume-btn {
    background: var(--mq-accent, #ff0033); color: #fff;
    border: 0; border-radius: 6px; padding: 8px 14px;
    font-size: 13px; font-weight: 600; cursor: pointer;
    transition: background .15s, transform .12s;
}
.mq-resume-btn:hover { transform: scale(1.03); }
.mq-resume-btn.secondary {
    background: rgba(0,0,0,.08); color: #0f0f0f;
}
.mq-resume-btn.secondary:hover { background: rgba(0,0,0,.15); }
html.dark .mq-resume-box, body.dark .mq-resume-box,
[data-theme="dark"] .mq-resume-box, .theme-dark .mq-resume-box {
    background: #2a2a2a; color: #fff;
}
html.dark .mq-resume-btn.secondary, body.dark .mq-resume-btn.secondary,
[data-theme="dark"] .mq-resume-btn.secondary, .theme-dark .mq-resume-btn.secondary {
    background: rgba(255,255,255,.12); color: #fff;
}
