/* Home widgets, notification bell, achievements */
.campus-widgets { text-align: left; margin-bottom: 28px; }
.widget-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.widget-card {
    background: #161b22; border: 1px solid #30363d; border-radius: 14px;
    padding: 20px; position: relative; overflow: hidden;
}
.widget-card h3 { margin: 0 0 10px; font-size: 1rem; color: #f1e05a; }
.widget-card p { margin: 0 0 14px; color: #8b949e; font-size: 0.92rem; line-height: 1.45; }
.widget-btn {
    display: inline-block; padding: 10px 18px; background: #238636; color: #fff !important;
    text-decoration: none; border-radius: 8px; font-weight: 700; border: none; cursor: pointer;
    font-size: 0.95rem;
}
.widget-btn.secondary { background: #1f6feb; }
.badge-strip { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.badge-pill {
    background: #010409; border: 1px solid #30363d; border-radius: 20px;
    padding: 6px 12px; font-size: 0.85rem; color: #c9d1d9;
}
.profile-banner {
    height: 72px; border-radius: 12px 12px 0 0; margin: -24px -24px 16px;
    background: linear-gradient(90deg, var(--abaca-accent, #58a6ff), #a371f7);
}
.profile-banner.banner-stars {
    background: linear-gradient(135deg, #0d1117 25%, transparent 25%) -10px 0/20px 20px,
                linear-gradient(225deg, #58a6ff 25%, transparent 25%) -10px 0/20px 20px,
                linear-gradient(45deg, #a371f7 25%, transparent 25%) 0 0/20px 20px,
                linear-gradient(315deg, #f1e05a 25%, #161b22 25%) 0 0/20px 20px;
}
.profile-banner.banner-stripes {
    background: repeating-linear-gradient(45deg, var(--abaca-accent, #58a6ff), var(--abaca-accent, #58a6ff) 8px, #161b22 8px, #161b22 16px);
}
.profile-banner.banner-rainbow {
    background: linear-gradient(90deg, #ff7b72, #f1e05a, #3fb950, #58a6ff, #a371f7);
}
.profile-banner.banner-waves {
    background: radial-gradient(circle at 20% 50%, #2dd4bf 0%, transparent 50%),
                radial-gradient(circle at 80% 30%, #58a6ff 0%, transparent 45%), #0d1117;
}
.notify-bell-wrap { position: relative; margin-left: 4px; }
.notify-bell {
    border: 1px solid #30363d; background: #161b22; color: #c9d1d9;
    border-radius: 8px; padding: 7px 11px; cursor: pointer; font-size: 1rem; position: relative;
}
.notify-bell .bell-count {
    position: absolute; top: -6px; right: -6px; background: #e34c26; color: #fff;
    font-size: 0.65rem; font-weight: 700; border-radius: 10px; padding: 2px 6px; min-width: 16px;
}
.notify-dropdown {
    display: none; position: absolute; right: 0; top: calc(100% + 8px); width: 320px;
    max-height: 400px; overflow-y: auto; background: #161b22; border: 1px solid #30363d;
    border-radius: 12px; box-shadow: 0 12px 40px rgba(0,0,0,0.5); z-index: 9500; text-align: left;
}
.notify-dropdown.open { display: block; }
.notify-item-dd { padding: 12px 14px; border-bottom: 1px solid #21262d; font-size: 0.88rem; }
.notify-item-dd strong { color: #f1e05a; display: block; margin-bottom: 4px; }
.notify-item-dd span { color: #8b949e; font-size: 0.78rem; }
.achievement-toast {
    position: fixed; bottom: 24px; right: 24px; background: #161b22; border: 2px solid #f1e05a;
    border-radius: 14px; padding: 16px 20px; z-index: 99999; box-shadow: 0 8px 30px rgba(0,0,0,0.5);
    animation: slideUp 0.4s ease; max-width: 300px;
}
@keyframes slideUp { from { transform: translateY(30px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.qr-box { text-align: center; padding: 16px; background: #010409; border-radius: 10px; border: 1px solid #30363d; }
.qr-box img { border-radius: 8px; background: #fff; padding: 8px; }
.cert-page { max-width: 800px; margin: 40px auto; padding: 40px; text-align: center;
    background: linear-gradient(180deg, #161b22, #0d1117); border: 3px solid #f1e05a; border-radius: 16px; }
.cert-page h1 { color: #f1e05a; font-size: 2.2rem; margin-bottom: 8px; }
.cert-seal { font-size: 4rem; margin: 20px 0; }
.lock-label { font-size: 0.7rem; color: #8b949e; display: block; }
.theme-btn.locked, .emoji-btn.locked { opacity: 0.45; position: relative; }
.sound-toggle { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.sound-toggle input { width: 18px; height: 18px; }