/* Homepage gear-guide tab: desktop-only progressive enhancement. */
.fc-gear-tab {
    display: none;
    position: fixed;
    right: 0;
    top: 50%;
    z-index: 1025;
    transform: translateY(-50%);
}
@media (min-width: 1200px) {
    .fc-gear-tab { display: block; }
}

.fc-gear-tab__panel {
    position: absolute;
    right: 100%;
    top: 50%;
    width: 300px;
    padding: 22px;
    background: var(--fc-surface);
    border: 1px solid var(--fc-border);
    border-right: 0;
    box-shadow: -14px 0 34px rgba(0, 0, 0, .35);
    opacity: 0;
    transform: translate(18px, -50%);
    visibility: hidden;
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}
.fc-gear-tab.is-open .fc-gear-tab__panel {
    opacity: 1;
    transform: translate(0, -50%);
    visibility: visible;
    pointer-events: auto;
}

.fc-gear-tab__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}
.fc-gear-tab__close {
    padding: 0 2px;
    border: 0;
    background: transparent;
    color: var(--fc-muted);
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
}
.fc-gear-tab__close:hover { color: var(--fc-red); }

.fc-gear-tab__panel h2 {
    margin: 0 0 10px;
    color: var(--fc-text);
    font-size: 1.2rem;
    font-weight: 900;
    letter-spacing: -.03em;
}
.fc-gear-tab__panel p {
    margin: 0 0 18px;
    color: var(--fc-muted);
    font-size: .86rem;
    line-height: 1.6;
}
.fc-gear-tab__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 4px;
    border-bottom: 2px solid var(--fc-red);
    color: var(--fc-text);
    font-size: .8rem;
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: .06em;
}
.fc-gear-tab__link:hover { color: var(--fc-red); }

.fc-gear-tab__partner {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--fc-border);
}
.fc-gear-tab__partner .fc-kicker { margin-bottom: 6px; }
.fc-gear-tab__partner-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding-bottom: 3px;
    border-bottom: 2px solid var(--fc-red);
    color: var(--fc-text);
    font-size: .82rem;
    font-weight: 800;
    text-decoration: none;
}
.fc-gear-tab__partner-link:hover { color: var(--fc-red); }
.fc-gear-tab__partner small {
    display: block;
    margin-top: 8px;
    color: var(--fc-muted);
    font-size: .7rem;
    line-height: 1.5;
}

.fc-gear-tab__handle {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 11px;
    border: 1px solid var(--fc-red);
    border-right: 0;
    border-radius: 4px 0 0 4px;
    background: var(--fc-bg);
    color: var(--fc-red);
    box-shadow: -4px 0 16px rgba(0, 0, 0, .35);
    cursor: pointer;
    font-family: inherit;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-decoration: none;
}
.fc-gear-tab__handle:hover { background: var(--fc-surface-2); }
.fc-gear-tab__handle-arrow { font-size: .9rem; }

@media (prefers-reduced-motion: reduce) {
    .fc-gear-tab__panel { transition: none; }
}
