/* SlotCheater shared cheat-sheet navigation. Theme-neutral overlay. */

.sc-nav-top {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    height: 48px;
    z-index: 100;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 215, 0, 0.3);
    margin: -12px -12px 12px -12px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 0.85rem;
}

.sc-nav-top a,
.sc-nav-top button {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 0 12px;
    background: transparent;
    border: 0;
    color: #ffd700;
    text-decoration: none;
    font-family: inherit;
    font-size: inherit;
    font-weight: 600;
    cursor: pointer;
    -webkit-tap-highlight-color: rgba(255, 215, 0, 0.2);
}

.sc-nav-top .sc-nav-back { justify-content: flex-start; flex: 0 0 auto; }
.sc-nav-top .sc-nav-home {
    flex: 1 1 auto;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.02em;
}
.sc-nav-top .sc-nav-all { justify-content: flex-end; flex: 0 0 auto; }

.sc-nav-top .sc-nav-home-mark { color: #ffd700; margin-right: 6px; }

.sc-nav-bottom {
    display: flex;
    gap: 8px;
    margin: 24px -12px 0 -12px;
    padding: 12px;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 215, 0, 0.3);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.sc-nav-bottom a {
    flex: 1 1 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 44px;
    padding: 8px 12px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 8px;
    text-decoration: none;
    color: #ffd700;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.2;
    -webkit-tap-highlight-color: rgba(255, 215, 0, 0.2);
}

.sc-nav-bottom a.sc-nav-prev { text-align: left; }
.sc-nav-bottom a.sc-nav-next { text-align: right; }

.sc-nav-bottom .sc-nav-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 500;
    color: rgba(255, 215, 0, 0.6);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.sc-nav-bottom a.sc-nav-solo { flex: 1 1 100%; }

@media (max-width: 360px) {
    .sc-nav-top a,
    .sc-nav-top button { padding: 0 8px; font-size: 0.8rem; }
    .sc-nav-bottom a { font-size: 0.85rem; }
}
