/* HC Galeri · Görünüm/Tema menüsü ekran çözünürlüğü v3 */

.header-display-menu-panel {
    min-width: 264px;
}

.header-display-menu-panel > .header-screen-resolution-link-v3 {
    position: relative;
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) 16px;
    align-items: center;
    gap: 9px;
    width: 100%;
    min-height: 48px;
    padding: 7px 9px;
    border: 0;
    border-bottom: 1px solid var(--border);
    border-radius: 9px 9px 0 0;
    color: var(--text);
    background: transparent;
    text-decoration: none;
    text-align: left;
    transition:
        color .16s ease,
        background .16s ease;
}

.header-display-menu-panel > .header-screen-resolution-link-v3:hover,
.header-display-menu-panel > .header-screen-resolution-link-v3:focus-visible {
    color: var(--primary);
    background: var(--surface-2);
    outline: none;
}

.header-screen-resolution-link-v3 .header-tool-menu-icon {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--border);
    border-radius: 9px;
    color: var(--primary);
    background: var(--surface);
}

.header-screen-resolution-link-v3 .header-tool-menu-icon .icon {
    width: 17px;
    height: 17px;
}

.header-screen-resolution-link-v3 .header-tool-menu-copy {
    display: grid;
    min-width: 0;
    gap: 2px;
}

.header-screen-resolution-link-v3 .header-tool-menu-copy strong {
    display: flex;
    align-items: baseline;
    min-width: 0;
    gap: 4px;
    overflow: hidden;
    color: inherit;
    font-size: 12px;
    font-weight: 760;
    line-height: 1.15;
    white-space: nowrap;
}

.header-screen-resolution-link-v3 .header-tool-menu-copy strong span {
    flex: 0 1 auto;
    overflow: hidden;
    text-overflow: ellipsis;
}

.header-screen-resolution-link-v3 .header-tool-menu-copy strong b {
    flex: 0 0 auto;
    color: var(--primary);
    font-size: 12px;
    font-weight: 850;
    font-variant-numeric: tabular-nums;
}

.header-screen-resolution-link-v3 .header-tool-menu-copy small {
    overflow: hidden;
    color: var(--muted);
    font-size: 10px;
    font-weight: 620;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.header-screen-resolution-arrow-v3 {
    width: 14px;
    height: 14px;
    opacity: .52;
}

.header-screen-resolution-link-v3:hover
.header-screen-resolution-arrow-v3,
.header-screen-resolution-link-v3:focus-visible
.header-screen-resolution-arrow-v3 {
    opacity: 1;
    transform: translateX(1px);
}

/* Çözünürlük satırı Tam genişlik düğmesinden önce sabit kalır. */
.header-display-menu-panel > .header-screen-resolution-link-v3
+ #width-toggle {
    margin-top: 2px;
}

@media (max-width: 430px) {
    .header-display-menu-panel {
        min-width: min(264px, calc(100vw - 18px));
    }

    .header-display-menu-panel > .header-screen-resolution-link-v3 {
        border-bottom: 0;
        border-radius: 9px;
    }
}
