*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    overflow: hidden;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: #fff;
    color: #1d1d1f;
}

a { text-decoration: none; color: inherit; }

.header-link.header-current { color: #1d1d1f; pointer-events: none; }

@keyframes rise {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.sk {
    background: linear-gradient(90deg, #f5f5f7 25%, #ebebed 50%, #f5f5f7 75%);
    background-size: 200% 100%;
    animation: shimmer 1.4s infinite;
    border-radius: 8px;
}

/* ── Burger menu (mobile) ── */
.burger-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    color: #1d1d1f;
    border-radius: 8px;
    flex-shrink: 0;
    margin-left: auto;
    transition: background 0.15s ease;
}
.burger-btn:hover { background: #f5f5f7; }
.burger-btn .icon-close { display: none; }
.burger-btn.open .icon-burger { display: none; }
.burger-btn.open .icon-close  { display: block; }

.burger-menu {
    display: none;
    position: fixed;
    top: 52px;
    left: 0; right: 0;
    flex-direction: column;
    background: #fff;
    border-bottom: 1px solid #e5e5ea;
    z-index: 998;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.burger-menu.open { display: flex; }

.burger-menu a {
    display: flex;
    align-items: center;
    padding: 15px 24px;
    font-size: 15px;
    font-weight: 500;
    color: #1d1d1f;
    border-bottom: 1px solid #f5f5f7;
    transition: background 0.12s ease;
    text-decoration: none;
}
.burger-menu a:last-child { border-bottom: none; }
.burger-menu a:hover { background: #f5f5f7; }
.burger-menu a.burger-current {
    color: #86868b;
    pointer-events: none;
}

.burger-menu a .pending-badge {
    margin-left: auto;
}

@media (max-width: 768px) {
    .header-right { display: none !important; }
    .burger-btn   { display: flex; }
}
