/* Works Preview v0.10.1 portal only. No changes to the legacy SKV Header Navigation. */
.skv-portal-header .skv-works-rank-select {
    position: relative;
    display: inline-flex;
    align-items: stretch;
    z-index: 120;
}
.skv-portal-header .skv-works-rank-select__trigger {
    appearance: none;
    border: 0;
    border-radius: 0;
    background: transparent;
    font: inherit;
    font-weight: 700;
    color: inherit;
    cursor: pointer;
    padding: 0.5em 0.75em;
    white-space: nowrap;
}
.skv-portal-header .skv-works-rank-select__trigger::after {
    content: '⌄';
    display: inline-block;
    margin-inline-start: 0.35em;
    font-weight: 500;
}
.skv-portal-header .skv-works-rank-select__trigger:focus-visible {
    outline: 2px solid #276ad1;
    outline-offset: 2px;
}
.skv-portal-header .skv-works-rank-select__panel {
    position: absolute;
    top: calc(100% + 3px);
    right: 0;
    z-index: 9999;
    display: grid;
    min-width: 170px;
    padding: 6px;
    background: #fff;
    color: #172540;
    border: 1px solid #dce4ef;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(18,34,59,.18);
}
.skv-portal-header .skv-works-rank-select__panel[hidden] { display: none; }
.skv-portal-header .skv-works-rank-select__panel a {
    display: block;
    padding: 10px 12px;
    border-radius: 7px;
    text-decoration: none;
    color: #172540;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}
.skv-portal-header .skv-works-rank-select__panel a:hover,
.skv-portal-header .skv-works-rank-select__panel a:focus-visible {
    background: #eef4fc;
    color: #1357b9;
}
.skv-mobile-menu .skv-works-rank-select { width: 100%; }
.skv-mobile-menu .skv-works-rank-select__trigger { width: 100%; }
.skv-mobile-menu .skv-works-rank-select__panel {
    top: 100%; left: 0; right: auto; min-width: max(175px, 100%);
}
