/* Honeypot field — must be invisible to humans, not just hidden */
.hp-trap {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scrollbar-gutter: stable;
}

body {
    font-family: 'HelveticaNeue-Light', 'Helvetica Neue', 'Helvetica', Arial, sans-serif;
    font-weight: 200;
    line-height: 1.4;
    color: #333;
    background: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Main content areas should flex to push footer down */
main {
    flex: 1;
}

.feed-main, .profile-layout, .about-main {
    flex: 1;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.profile-layout {
    max-width: 1200px;
    margin: 0 auto;
    padding: 104px 40px 60px;
}

/* Header */
.header {
    background: #fff;
    border-bottom: 1px solid #ddd;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo-img {
    height: 45px;
    width: auto;
    transition: transform 0.2s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Notification Widget */
.notification-widget {
    position: relative;
}

.notification-btn {
    position: relative;
    background: none;
    border: none;
    padding: 8px;
    border-radius: 8px;
    cursor: pointer;
    color: #2f434e;
    transition: background-color 0.2s ease, color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-btn:hover {
    background-color: rgba(127, 196, 228, 0.1);
    color: #7fc4e4;
}

.notification-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    background: #ff4444;
    color: white;
    font-size: 10px;
    font-weight: bold;
    padding: 2px 5px;
    border-radius: 10px;
    min-width: 16px;
    text-align: center;
    line-height: 1;
    transform: scale(0);
    transition: transform 0.2s ease;
}

.notification-badge.show {
    transform: scale(1);
}

.notification-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    width: 320px;
    max-width: 90vw;
    background: white;
    border: 1px solid #ddd;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 1001;
}

.notification-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.notification-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #eee;
}

.notification-header h3 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.mark-all-read {
    background: none;
    border: none;
    color: #7fc4e4;
    font-size: 12px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.mark-all-read:hover {
    background-color: rgba(127, 196, 228, 0.1);
}

.notification-list {
    max-height: 400px;
    overflow-y: auto;
}

.notification-empty {
    padding: 40px 20px;
    text-align: center;
    color: #666;
    font-size: 14px;
}

.notification-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background-color 0.2s ease;
    position: relative;
}

.notification-item:hover {
    background-color: #f8f8f8;
}

.notification-item.unread {
    background-color: #f0f8ff;
}

.notification-item.unread::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #7fc4e4;
}

.notification-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.notification-content {
    flex: 1;
    min-width: 0;
}

.notification-text {
    font-size: 14px;
    line-height: 1.4;
    color: #333;
    margin-bottom: 4px;
}

.notification-text strong {
    font-weight: 600;
    color: #7fc4e4;
}

.notification-time {
    font-size: 12px;
    color: #666;
}

.notification-footer {
    padding: 12px 20px;
    border-top: 1px solid #eee;
    text-align: center;
}

.view-all-link {
    color: #7fc4e4;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.view-all-link:hover {
    color: #5aafcc;
}


.nav-profile {
    display: flex;
    align-items: center;
}

.nav-profile-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #2f434e;
    padding: 8px 12px;
    border-radius: 8px;
    transition: background-color 0.2s ease;
}

.nav-profile-link:hover {
    background-color: rgba(127, 196, 228, 0.1);
}

.nav-avatar-wrap {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    overflow: hidden;
    display: inline-block;
    border: 1px solid rgba(127, 196, 228, 0.26);
}

.nav-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nav-name {
    font-weight: 500;
    font-size: 14px;
}

/* IM Bottom Bar */
.im-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: #fff;
    border-top: 1px solid #ddd;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.1);
    z-index: 1000;
    transition: height 0.3s ease;
    display: flex;
    flex-direction: column;
}

.im-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid #eee;
    background: #f8fcff;
}

.im-title {
    font-weight: 600;
    color: #2f434e;
    font-size: 14px;
}

.im-toggle {
    background: none;
    border: none;
    font-size: 18px;
    color: #6f7e86;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.im-toggle:hover {
    background-color: rgba(127, 196, 228, 0.1);
}

.im-content {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
    display: none;
}

.im-placeholder {
    text-align: center;
    color: #6f7e86;
    padding: 40px 20px;
}

.im-placeholder p {
    margin: 0 0 8px 0;
    font-size: 16px;
}

.im-placeholder small {
    font-size: 12px;
    opacity: 0.8;
}

/* Add padding to main content to account for fixed bottom bar */
.feed-main, .profile-layout {
    padding-bottom: 60px;
}

.nav-link {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    font-weight: 200;
    transition: color 0.2s;
}

.nav-link:hover {
    color: #333;
}

/* Buttons */
.btn {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 200;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: #7fc4e4;
    color: white;
}

.btn-primary:hover {
    background: #6bb3d3;
}

.btn-secondary {
    background: transparent;
    color: #7fc4e4;
    border: 1px solid #7fc4e4;
}

.btn-secondary:hover {
    background: #7fc4e4;
    color: white;
}

.btn-large {
    padding: 12px 24px;
    font-size: 16px;
}

/* Main content */
.main {
    margin-top: 70px;
}

/* Hero section */
.hero {
    display: flex;
    align-items: center;
    min-height: 600px;
    padding: 60px 0;
}

.hero-content {
    flex: 1;
    padding-right: 60px;
}

.hero-title {
    font-size: 48px;
    font-weight: 200;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #333;
}

.hero-subtitle {
    font-size: 18px;
    font-weight: 200;
    line-height: 1.5;
    color: #666;
    margin-bottom: 40px;
}

/* Sign up form */
.signup-form {
    max-width: 400px;
}

.form-group {
    margin-bottom: 15px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 200;
    font-family: 'HelveticaNeue-Light', 'Helvetica Neue', 'Helvetica', Arial, sans-serif;
}

.form-input:focus {
    outline: none;
    border-color: #7fc4e4;
}

.form-terms {
    font-size: 12px;
    color: #666;
    margin-top: 10px;
    font-weight: 200;
}

/* Data Cosmos Visualization */
.hero-visual {
    flex: 0 0 500px;
}

.data-cosmos {
    --cyan: #7fc4e4;
    --cyan-soft: #a8d8ed;
    --cyan-deep: #59aacf;
    position: relative;
    width: 420px;
    height: 420px;
    margin: 0 auto;
    border-radius: 28px;
    overflow: hidden;
    background:
        radial-gradient(circle at 25% 20%, rgba(127, 196, 228, 0.12), transparent 45%),
        radial-gradient(circle at 80% 75%, rgba(127, 196, 228, 0.1), transparent 48%),
        linear-gradient(160deg, #fbfdff 0%, #f3f9fc 52%, #fbfdff 100%);
    border: 1px solid rgba(127, 196, 228, 0.22);
    box-shadow:
        0 12px 36px rgba(82, 146, 175, 0.12),
        inset 0 0 44px rgba(127, 196, 228, 0.08);
}

.cosmos-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(127, 196, 228, 0.09) 1px, transparent 1px),
        linear-gradient(90deg, rgba(127, 196, 228, 0.09) 1px, transparent 1px);
    background-size: 34px 34px;
    opacity: 0.22;
    animation: gridDrift 18s linear infinite;
}

.cosmos-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(16px);
    pointer-events: none;
}

.glow-1 {
    width: 230px;
    height: 230px;
    top: -70px;
    left: -45px;
    background: rgba(127, 196, 228, 0.18);
    animation: glowFloatA 9s ease-in-out infinite;
}

.glow-2 {
    width: 210px;
    height: 210px;
    right: -70px;
    bottom: -55px;
    background: rgba(89, 170, 207, 0.14);
    animation: glowFloatB 10s ease-in-out infinite;
}

.cosmos-links {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.link {
    fill: none;
    stroke: rgba(127, 196, 228, 0.38);
    stroke-width: 1.2;
    stroke-linecap: round;
    stroke-dasharray: 7 10;
    animation: linkTravel 7.8s linear infinite;
}

.link-2 { animation-duration: 7.2s; }
.link-3 { animation-duration: 6.4s; animation-direction: reverse; }
.link-4 { animation-duration: 8s; }
.link-5 { animation-duration: 9s; animation-direction: reverse; }

.orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 1px solid rgba(127, 196, 228, 0.24);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
}

.orbit-a {
    width: 168px;
    height: 168px;
    animation: spin 12s linear infinite;
}

.orbit-b {
    width: 250px;
    height: 250px;
    animation: spinReverse 16s linear infinite;
}

.orbit-c {
    width: 322px;
    height: 322px;
    animation: spin 22s linear infinite;
}

.pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    border: 1px solid rgba(127, 196, 228, 0.3);
    transform: translate(-50%, -50%);
    z-index: 1;
    animation: ringPulse 6s ease-out infinite;
}

.ring-1 { width: 90px; height: 90px; animation-delay: 0s; }
.ring-2 { width: 90px; height: 90px; animation-delay: 2s; }
.ring-3 { width: 90px; height: 90px; animation-delay: 4s; }

.core-node {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 24px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 4;
    background: radial-gradient(circle at 30% 30%, #d7edf7 0%, #7fc4e4 48%, #59aacf 100%);
    box-shadow:
        0 0 0 6px rgba(127, 196, 228, 0.12),
        0 0 18px rgba(127, 196, 228, 0.55);
    animation: coreBeat 2.4s ease-in-out infinite;
}

.data-node {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #e8f6fd 0%, var(--cyan) 62%, var(--cyan-deep) 100%);
    box-shadow: 0 0 8px rgba(127, 196, 228, 0.45);
    z-index: 5;
    animation: nodePulse 4.6s ease-in-out infinite;
}

.node-a { top: 62px; left: 206px; animation: orbitA 9s linear infinite, nodePulse 3.2s ease-in-out infinite; }
.node-b { top: 146px; left: 324px; animation: orbitB 10.5s linear infinite, nodePulse 4s ease-in-out infinite; }
.node-c { top: 294px; left: 306px; animation: orbitC 11.8s linear infinite, nodePulse 3.8s ease-in-out infinite; }
.node-d { top: 342px; left: 194px; animation: orbitD 8.8s linear infinite, nodePulse 3.3s ease-in-out infinite; }
.node-e { top: 284px; left: 88px; animation: orbitE 10.8s linear infinite, nodePulse 4.2s ease-in-out infinite; }
.node-f { top: 134px; left: 80px; animation: orbitF 9.6s linear infinite, nodePulse 3.5s ease-in-out infinite; }
.node-g { top: 204px; left: 248px; width: 9px; height: 9px; animation: driftA 7.2s ease-in-out infinite, nodePulse 3.4s ease-in-out infinite; }
.node-h { top: 214px; left: 140px; width: 9px; height: 9px; animation: driftB 8.2s ease-in-out infinite, nodePulse 3.6s ease-in-out infinite; }
.node-i { top: 114px; left: 234px; width: 8px; height: 8px; animation: driftC 9.2s ease-in-out infinite, nodePulse 3.9s ease-in-out infinite; }
.node-j { top: 272px; left: 232px; width: 8px; height: 8px; animation: driftD 8.6s ease-in-out infinite, nodePulse 4.1s ease-in-out infinite; }
.node-k { top: 182px; left: 300px; width: 8px; height: 8px; animation: driftE 7.8s ease-in-out infinite, nodePulse 3.7s ease-in-out infinite; }
.node-l { top: 250px; left: 116px; width: 8px; height: 8px; animation: driftF 8.9s ease-in-out infinite, nodePulse 4.3s ease-in-out infinite; }

@keyframes gridDrift {
    0% { transform: translate(0, 0); }
    100% { transform: translate(34px, 34px); }
}

@keyframes glowFloatA {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(20px, 14px); }
}

@keyframes glowFloatB {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-24px, -12px); }
}

@keyframes linkTravel {
    0% { stroke-dashoffset: 0; opacity: 0.4; }
    50% { opacity: 0.95; }
    100% { stroke-dashoffset: -95; opacity: 0.4; }
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes spinReverse {
    0% { transform: translate(-50%, -50%) rotate(360deg); }
    100% { transform: translate(-50%, -50%) rotate(0deg); }
}

@keyframes ringPulse {
    0% { opacity: 0.65; transform: translate(-50%, -50%) scale(0.65); }
    70% { opacity: 0.08; }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(3.4); }
}

@keyframes coreBeat {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.18); }
}

@keyframes nodePulse {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.3); }
}

@keyframes orbitA {
    0% { transform: rotate(0deg) translateX(145px) rotate(0deg); }
    100% { transform: rotate(360deg) translateX(145px) rotate(-360deg); }
}

@keyframes orbitB {
    0% { transform: rotate(60deg) translateX(145px) rotate(-60deg); }
    100% { transform: rotate(420deg) translateX(145px) rotate(-420deg); }
}

@keyframes orbitC {
    0% { transform: rotate(120deg) translateX(145px) rotate(-120deg); }
    100% { transform: rotate(480deg) translateX(145px) rotate(-480deg); }
}

@keyframes orbitD {
    0% { transform: rotate(180deg) translateX(145px) rotate(-180deg); }
    100% { transform: rotate(540deg) translateX(145px) rotate(-540deg); }
}

@keyframes orbitE {
    0% { transform: rotate(240deg) translateX(145px) rotate(-240deg); }
    100% { transform: rotate(600deg) translateX(145px) rotate(-600deg); }
}

@keyframes orbitF {
    0% { transform: rotate(300deg) translateX(145px) rotate(-300deg); }
    100% { transform: rotate(660deg) translateX(145px) rotate(-660deg); }
}

@keyframes driftA {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(18px, -12px); }
}

@keyframes driftB {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-15px, 16px); }
}

@keyframes driftC {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(14px, 14px); }
}

@keyframes driftD {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-12px, -15px); }
}

@keyframes driftE {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(12px, -10px); }
}

@keyframes driftF {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-14px, 12px); }
}

/* Features section */
.features {
    padding: 68px 0;
    position: relative;
    z-index: 0;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    background:
        radial-gradient(circle at 10% 20%, rgba(127, 196, 228, 0.12), transparent 35%),
        radial-gradient(circle at 90% 75%, rgba(127, 196, 228, 0.1), transparent 40%),
        #f6fbfe;
    z-index: -1;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    max-width: 980px;
    margin: 0 auto;
}

.feature {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(127, 196, 228, 0.18);
    border-radius: 18px;
    padding: 22px 20px;
    box-shadow: 0 8px 20px rgba(77, 128, 150, 0.08);
    backdrop-filter: blur(4px);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
    min-height: 220px;
}

.feature:hover {
    transform: translateY(-2px);
    border-color: rgba(127, 196, 228, 0.3);
    box-shadow: 0 10px 24px rgba(77, 128, 150, 0.11);
}

.feature h3 {
    font-size: 36px;
    font-weight: 200;
    line-height: 1.18;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    color: #2f3f48;
}

.feature p {
    color: #60727d;
    line-height: 1.55;
    font-weight: 200;
    font-size: 17px;
}


/* Footer */
.footer {
    background: linear-gradient(125deg, #2a3036 0%, #343c45 52%, #293038 100%);
    color: #fff;
    padding: 52px 0 24px;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    position: relative;
    clear: both;
}

/* Hide footer on feed page due to infinite scroll */
body.feed-page .footer {
    display: none;
}

/* Show footer only when content is long enough to scroll */
@media (min-height: 100vh) {
    .footer {
        margin-top: auto;
    }
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 34px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.footer-section h4 {
    font-size: 19px;
    font-weight: 200;
    margin-bottom: 14px;
    color: #f2f9fd;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #b9c6cf;
    text-decoration: none;
    font-size: 14px;
    font-weight: 200;
    transition: color 0.2s ease;
}

.footer-section a:hover {
    color: #a8d8ed;
}

.footer-copyright {
    grid-column: 1 / -1;
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-copyright p {
    color: #a6b3bc;
    font-size: 15px;
    font-weight: 200;
}

/* Auth pages */
.auth-page {
    min-height: 100vh;
    margin: 0;
    background:
        radial-gradient(circle at 18% 20%, rgba(127, 196, 228, 0.2), transparent 38%),
        radial-gradient(circle at 82% 78%, rgba(127, 196, 228, 0.16), transparent 44%),
        linear-gradient(160deg, #f7fbfe 0%, #eef6fb 55%, #f8fcff 100%);
}

.auth-shell {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.auth-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 16px 56px;
}

.auth-card {
    width: 100%;
    max-width: 460px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(127, 196, 228, 0.28);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 18px 40px rgba(82, 146, 175, 0.14);
    backdrop-filter: blur(6px);
}

.auth-title {
    font-size: 34px;
    font-weight: 200;
    color: #2f3f48;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.auth-subtitle {
    font-size: 16px;
    line-height: 1.5;
    color: #60727d;
    font-weight: 200;
    margin-bottom: 22px;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.edit-profile-card {
    max-width: 900px;
    margin: 0 auto;
    background: linear-gradient(135deg, #ffffff 0%, #f8fcff 100%);
    border: 1px solid rgba(127, 196, 228, 0.2);
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(127, 196, 228, 0.15);
    overflow: hidden;
}

.profile-section {
    margin-bottom: 0;
    padding: 40px;
    border-bottom: 1px solid rgba(127, 196, 228, 0.1);
    background: linear-gradient(135deg, rgba(255,255,255,0.8) 0%, rgba(248,252,255,0.6) 100%);
}

.profile-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 40px;
}

.profile-section:nth-child(odd) {
    background: linear-gradient(135deg, rgba(127,196,228,0.05) 0%, rgba(255,255,255,0.8) 100%);
}

.profile-section h3 {
    font-size: 22px;
    font-weight: 600;
    color: #2f434e;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    position: relative;
    padding-left: 16px;
}

.profile-section h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 24px;
    background: linear-gradient(135deg, #7fc4e4 0%, #5dade2 100%);
    border-radius: 2px;
}

/* Enhanced Profile Picture Upload */
.profile-picture-upload {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 30px;
    padding: 30px;
    background: rgba(255,255,255,0.6);
    border-radius: 16px;
    border: 1px solid rgba(127, 196, 228, 0.15);
}

.current-avatar {
    position: relative;
    width: 140px;
    height: 140px;
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid rgba(127, 196, 228, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 24px rgba(127, 196, 228, 0.2);
}

.current-avatar:hover {
    border-color: rgba(127, 196, 228, 0.6);
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 12px 32px rgba(127, 196, 228, 0.3);
}

.current-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.avatar-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.6) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 15px;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(2px);
}

.current-avatar:hover .avatar-overlay {
    opacity: 1;
}

.upload-controls {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.upload-hint {
    color: #6f7e86;
    font-size: 13px;
    line-height: 1.5;
    font-weight: 400;
}

/* Enhanced Scale Control */
.scale-control {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: rgba(255,255,255,0.8);
    border-radius: 12px;
    border: 1px solid rgba(127, 196, 228, 0.15);
}

.scale-slider {
    flex: 1;
    height: 8px;
    background: linear-gradient(90deg, #e8f4f8 0%, #d1e9f3 100%);
    border-radius: 4px;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
}

.scale-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #7fc4e4 0%, #5dade2 100%);
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid #fff;
    box-shadow: 0 4px 12px rgba(127, 196, 228, 0.3);
    transition: all 0.2s ease;
}

.scale-slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(127, 196, 228, 0.4);
}

.scale-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #7fc4e4 0%, #5dade2 100%);
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid #fff;
    box-shadow: 0 4px 12px rgba(127, 196, 228, 0.3);
    transition: all 0.2s ease;
}

.scale-value {
    min-width: 40px;
    text-align: center;
    font-weight: 600;
    color: #2f434e;
    font-size: 16px;
    background: rgba(127, 196, 228, 0.1);
    padding: 6px 12px;
    border-radius: 8px;
}

/* Enhanced Form Groups */
.form-group {
    margin-bottom: 32px;
}

.form-hint {
    display: block;
    margin-top: 8px;
    color: #6f7e86;
    font-size: 13px;
    line-height: 1.5;
    font-weight: 400;
    font-style: italic;
}

.input-with-prefix {
    position: relative;
    display: flex;
    align-items: center;
}

.input-prefix {
    position: absolute;
    left: 18px;
    color: #6f7e86;
    font-weight: 600;
    pointer-events: none;
    font-size: 16px;
}

.input-with-prefix .auth-input {
    padding-left: 42px;
}

/* Enhanced Character Counter */
.char-counter {
    text-align: right;
    margin-top: 8px;
    font-size: 13px;
    color: #6f7e86;
    font-weight: 500;
}

/* Enhanced Checkboxes */
.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 15px;
    color: #2f434e;
    margin-bottom: 20px;
    padding: 16px;
    background: rgba(255,255,255,0.6);
    border-radius: 12px;
    border: 1px solid rgba(127, 196, 228, 0.15);
    transition: all 0.3s ease;
}

.checkbox-label:hover {
    background: rgba(127, 196, 228, 0.08);
    border-color: rgba(127, 196, 228, 0.3);
    transform: translateY(-1px);
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 24px;
    height: 24px;
    border: 2px solid rgba(127, 196, 228, 0.4);
    border-radius: 6px;
    margin-right: 16px;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255,255,255,0.8);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: linear-gradient(135deg, #7fc4e4 0%, #5dade2 100%);
    border-color: #5dade2;
    transform: scale(1.05);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 7px;
    width: 8px;
    height: 12px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Enhanced Form Actions */
.form-actions {
    display: flex;
    gap: 20px;
    margin-top: 0;
    padding: 40px;
    background: linear-gradient(135deg, rgba(127,196,228,0.05) 0%, rgba(255,255,255,0.8) 100%);
    border-top: 1px solid rgba(127, 196, 228, 0.1);
}

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(127, 196, 228, 0.3);
}

/* Enhanced Auth Inputs */
.auth-input {
    padding: 16px 20px;
    font-size: 16px;
    border: 2px solid rgba(127, 196, 228, 0.2);
    border-radius: 12px;
    background: rgba(255,255,255,0.8);
    transition: all 0.3s ease;
    font-weight: 400;
}

.auth-input:focus {
    border-color: #7fc4e4;
    box-shadow: 0 0 0 4px rgba(127, 196, 228, 0.1);
    background: rgba(255,255,255,0.95);
    transform: translateY(-1px);
}

.auth-textarea {
    min-height: 120px;
    resize: vertical;
}

/* Enhanced Buttons */
.btn {
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: none;
    letter-spacing: normal;
}

.btn-primary {
    background: linear-gradient(135deg, #7fc4e4 0%, #5dade2 100%);
    color: white;
    border: none;
    box-shadow: 0 4px 12px rgba(127, 196, 228, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #5dade2 0%, #3498db 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(127, 196, 228, 0.4);
}

.btn-secondary {
    background: rgba(255,255,255,0.8);
    color: #2f434e;
    border: 2px solid rgba(127, 196, 228, 0.3);
}

.btn-secondary:hover {
    background: rgba(127, 196, 228, 0.1);
    border-color: rgba(127, 196, 228, 0.5);
    transform: translateY(-1px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .edit-profile-card {
        margin: 0 20px;
        border-radius: 16px;
    }
    
    .profile-section {
        padding: 24px;
    }
    
    .profile-picture-upload {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 24px;
    }
    
    .current-avatar {
        width: 120px;
        height: 120px;
    }
    
    .form-actions {
        flex-direction: column;
        padding: 24px;
    }
    
    .btn-large {
        width: 100%;
    }
}

.auth-alert {
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 200;
    margin-bottom: 12px;
}

.auth-alert-error {
    color: #8a2f2f;
    background: rgba(215, 98, 98, 0.12);
    border: 1px solid rgba(215, 98, 98, 0.3);
}

.auth-alert-success {
    color: #246c47;
    background: rgba(84, 189, 127, 0.12);
    border: 1px solid rgba(84, 189, 127, 0.28);
}

.auth-label {
    font-size: 13px;
    color: #4f616b;
    font-weight: 200;
}

.auth-input {
    width: 100%;
    border: 1px solid rgba(127, 196, 228, 0.35);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.95);
    padding: 12px 14px;
    font-size: 15px;
    font-weight: 200;
    font-family: 'HelveticaNeue-Light', 'Helvetica Neue', 'Helvetica', Arial, sans-serif;
    color: #31444f;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.auth-input:focus {
    outline: none;
    border-color: #7fc4e4;
    box-shadow: 0 0 0 3px rgba(127, 196, 228, 0.18);
}

.auth-row {
    margin-top: 2px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.auth-check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #5c6e79;
    font-weight: 200;
}

.auth-check input {
    accent-color: #7fc4e4;
}

.auth-submit {
    width: 100%;
    text-align: center;
    font-size: 16px;
    padding: 12px 18px;
    margin-top: 4px;
}

.auth-switch,
.auth-disclaimer {
    margin-top: 14px;
    font-size: 13px;
    line-height: 1.45;
    color: #6a7b86;
    font-weight: 200;
    text-align: center;
}

.auth-link {
    color: #5daed2;
    text-decoration: none;
    font-weight: 200;
}

.auth-link:hover {
    color: #4a9bc0;
}

.inline-form {
    display: inline;
    margin: 0;
}

.setup-card {
    max-width: 560px;
}

.auth-textarea {
    min-height: 110px;
    resize: vertical;
    line-height: 1.5;
}

.setup-image-preview-wrap {
    width: 92px;
    height: 92px;
    border-radius: 18px;
    overflow: hidden;
    margin-top: -4px;
    margin-bottom: 4px;
    border: 1px dashed rgba(127, 196, 228, 0.42);
    background: rgba(127, 196, 228, 0.08);
}

.setup-image-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform-origin: center center;
}

.setup-image-preview:not([src]),
.setup-image-preview[src=""] {
    display: none;
}

.dashboard-alert {
    max-width: 520px;
    margin: 16px auto 0;
}

.profile-preview {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 12px;
    align-items: start;
}

.profile-preview-image-wrap {
    width: 72px;
    height: 72px;
    border-radius: 14px;
    overflow: hidden;
    display: block;
    border: 1px solid rgba(127, 196, 228, 0.28);
}

.profile-preview-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform-origin: center center;
}

.first-post-card {
    padding: 12px;
    border-radius: 12px;
    background: rgba(127, 196, 228, 0.11);
    border: 1px solid rgba(127, 196, 228, 0.26);
}

.feed-main {
    width: 1200px;
    max-width: 100%;
    margin: 0 auto;
    padding: 104px 24px 60px;
    box-sizing: border-box;
}

.feed-layout {
    display: grid;
    grid-template-columns: 1fr 268px;
    gap: 1.5rem;
    align-items: start;
    width: 100%;
}

.feed-center {
    min-width: 0;
    /* prevent wide content from stretching the column */
    overflow: hidden;
}

/* ── Feed sidebar ────────────────────────────────────────────────────────── */

.feed-sidebar {
    position: sticky;
    top: 5rem;
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.feed-sidebar-card {
    background: #fff;
    border: 1px solid #dde4e8;
    border-radius: 12px;
    padding: 1rem;
}

.feed-sidebar-card-title {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #6f7e86;
    margin-bottom: 0.75rem;
}

.feed-sidebar-profile {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.875rem;
}

.feed-sidebar-avatar-wrap {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: #dde4e8;
}

.feed-sidebar-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform-origin: center;
}

.feed-sidebar-name {
    font-size: 0.88rem;
    font-weight: 700;
    color: #2b3a42;
    line-height: 1.2;
}

.feed-sidebar-handle {
    font-size: 0.75rem;
    color: #6f7e86;
}

.feed-sidebar-stats {
    display: flex;
    justify-content: space-between;
    padding-top: 0.625rem;
    border-top: 1px solid #f0f4f7;
}

.feed-sidebar-stat { text-align: center; }

.feed-sidebar-stat-num {
    display: block;
    font-size: 1.05rem;
    font-weight: 700;
    color: #2b3a42;
}

.feed-sidebar-stat-label {
    display: block;
    font-size: 0.7rem;
    color: #6f7e86;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.feed-sidebar-eng-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0;
    border-bottom: 1px solid #f0f4f7;
}
.feed-sidebar-eng-row:last-of-type { border-bottom: none; }

.feed-sidebar-eng-label {
    font-size: 0.83rem;
    color: #6f7e86;
    flex: 1;
}

.feed-sidebar-eng-num {
    font-size: 0.9rem;
    font-weight: 700;
    color: #2b3a42;
}

.feed-sidebar-more-link {
    display: block;
    font-size: 0.78rem;
    color: #7fc4e4;
    text-decoration: none;
    margin-top: 0.5rem;
    font-weight: 600;
}
.feed-sidebar-more-link:hover { text-decoration: underline; }


/* Calendar day preview card */
.feed-cal-card { padding-bottom: 0.875rem; }

.feed-cal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.feed-cal-date {
    font-size: 0.78rem;
    color: #6f7e86;
    margin-top: 2px;
}

.feed-cal-link {
    color: #7fc4e4;
    display: flex;
    align-items: center;
    padding: 2px;
    border-radius: 4px;
    transition: background 0.12s;
    flex-shrink: 0;
}
.feed-cal-link:hover { background: rgba(127,196,228,0.12); }

.feed-cal-events {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.feed-cal-event {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.6rem;
    background: #f4f7f9;
    border-radius: 7px;
    text-decoration: none;
    transition: background 0.12s;
}
.feed-cal-event:hover { background: #eaf4fb; }

.feed-cal-event-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.feed-cal-event-body { min-width: 0; }

.feed-cal-event-title {
    font-size: 0.83rem;
    font-weight: 600;
    color: #2b3a42;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.feed-cal-event-time {
    font-size: 0.72rem;
    color: #6f7e86;
    margin-top: 1px;
}

.feed-cal-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    padding: 0.875rem 0;
    color: #a0adb5;
    font-size: 0.82rem;
}

@media (prefers-color-scheme: dark) {
    .feed-cal-event { background: #22333c; }
    .feed-cal-event:hover { background: #2a3e4a; }
    .feed-cal-event-title { color: #cdd6e0; }
}

.feed-sidebar-trends {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    min-width: 0;
    overflow: hidden;
}

.feed-sidebar-trend-tag {
    background: rgba(127,196,228,0.12);
    color: #5aafcc;
    border: 1px solid rgba(127,196,228,0.3);
    border-radius: 99px;
    padding: 3px 10px;
    font-size: 0.78rem;
    font-weight: 600;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 800px) {
    .feed-layout { grid-template-columns: 1fr; }
    .feed-sidebar { position: static; }
}

@media (prefers-color-scheme: dark) {
    .feed-sidebar-card { background: #1a2730; border-color: #2c3d48; }
    .feed-sidebar-name, .feed-sidebar-stat-num { color: #cdd6e0; }
    .feed-sidebar-stats { border-color: #2c3d48; }
    .feed-sidebar-trend-tag { background: rgba(127,196,228,0.1); border-color: rgba(127,196,228,0.2); }
}

.feed-compose {
    margin-bottom: 16px;
}

.feed-compose h1 {
    font-size: 34px;
    margin-bottom: 12px;
    font-weight: 200;
    color: #2f434e;
}

.beep-feed-list {
    display: grid;
    gap: 14px;
}

.beep-actions {
    display: flex;
    gap: 16px;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid rgba(127, 196, 228, 0.15);
}

.action-btn {
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    gap: 6px;
    color: #6f7e86;
    font-size: 13px;
    font-weight: 200;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.action-btn:hover {
    background: rgba(127, 196, 228, 0.1);
    color: #59aacf;
}

.action-btn.active {
    color: #7fc4e4;
    font-weight: 400;
}

.action-btn small {
    font-size: 11px;
    opacity: 0.8;
}

/* Icon-only button styles */
.nav-link svg,
.btn svg,
.action-btn svg {
    display: block;
}

.nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    min-width: 40px;
    min-height: 40px;
}

.btn:has(svg) {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    min-width: 40px;
    min-height: 40px;
}

.btn-small:has(svg) {
    padding: 6px 10px;
    min-width: 36px;
    min-height: 36px;
}

.action-btn:has(svg) {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 8px 12px;
    min-width: auto;
    min-height: auto;
}

.action-btn:has(svg) small {
    margin-left: 4px;
}

/* Footer text links */
.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #b9c6cf;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-section a:hover {
    color: #a8d8ed;
}

.beep-comments-area {
    margin-top: 14px;
    padding: 14px;
    background: rgba(127, 196, 228, 0.05);
    border-radius: 12px;
    border-left: 3px solid rgba(127, 196, 228, 0.2);
}

.comment-form {
    margin-bottom: 16px;
}

.auth-textarea.mini {
    min-height: 60px;
    font-size: 14px;
    padding: 8px 12px;
}

.comment-item {
    padding-top: 12px;
    margin-top: 12px;
    border-top: 1px solid rgba(127, 196, 228, 0.1);
}

.comment-head {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
    font-size: 13px;
}

.comment-reply-area {
    margin-top: 10px;
    padding-left: 12px;
    border-left: 2px solid rgba(127, 196, 228, 0.15);
}

.nested-comments {
    margin-top: 12px;
    padding-left: 24px;
}

.comment-item.nested {
    background: rgba(0, 0, 0, 0.01);
    border-radius: 8px;
    padding: 8px 12px;
    border: none;
    margin-top: 8px;
}

/* Profile Split Layout */
.profile-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
    padding-top: 104px;
}

.profile-sidebar {
    background: #fbfdff;
    border-right: 1px solid rgba(127, 196, 228, 0.15);
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.profile-content {
    padding: 60px 40px;
    background: #fff;
}

.profile-pfp-large-wrap {
    margin-bottom: 24px;
}

.profile-preview-image-wrap.large {
    width: 200px;
    height: 200px;
    border-radius: 40px;
    overflow: hidden;
    display: block;
}

.profile-info-block h1 {
    font-size: 42px;
    margin-bottom: 6px;
    color: #2a3c45;
}

.profile-meta {
    font-size: 18px;
    color: #73b7d7;
    margin-bottom: 16px;
}

.profile-bio {
    font-size: 17px;
    line-height: 1.6;
    color: #5d6f7b;
    margin-bottom: 24px;
}

.profile-stats-row {
    display: flex;
    gap: 32px;
    margin-bottom: 32px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-item strong {
    font-size: 24px;
    color: #2f434e;
}

.stat-item small {
    color: #6f7e86;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 11px;
}

.section-title {
    font-size: 24px;
    margin-bottom: 24px;
    font-weight: 200;
    color: #2f434e;
}

.profile-actions {
    margin-bottom: 20px;
}

.profile-self-actions {
    margin-bottom: 20px;
}

@media (max-width: 968px) {
    .profile-layout {
        grid-template-columns: 1fr;
    }
    
    .profile-sidebar {
        padding: 40px 20px;
        border-right: none;
        border-bottom: 1px solid rgba(127, 196, 228, 0.15);
    }
}

.beep-card-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
}

.beep-head-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.delete-btn {
    background: none;
    border: none;
    color: #999;
    font-size: 18px;
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.delete-btn:hover {
    color: #e74c3c;
    background-color: rgba(231, 76, 60, 0.1);
}

.compose-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.drafts-panel {
    margin-top: 20px;
    padding: 16px;
    background: #f8fcff;
    border-radius: 8px;
    border: 1px solid rgba(127, 196, 228, 0.26);
}

.drafts-panel h4 {
    margin: 0 0 12px 0;
    font-size: 16px;
    color: #2f434e;
}

.drafts-list {
    max-height: 200px;
    overflow-y: auto;
}

.draft-item {
    padding: 12px;
    background: #fff;
    border-radius: 6px;
    margin-bottom: 8px;
    border: 1px solid #eee;
}

.draft-content {
    font-size: 14px;
    margin-bottom: 8px;
    color: #2f434e;
    white-space: pre-wrap;
}

.draft-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.draft-time {
    color: #6f7e86;
    font-size: 11px;
}

.no-drafts {
    text-align: center;
    color: #6f7e86;
    font-style: italic;
    margin: 20px 0;
}

.beep-card-head time {
    color: #6f7e86;
    font-size: 12px;
}

.beep-author-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #2f434e;
}

.beep-author-link small {
    display: block;
    color: #6f7e86;
    font-size: 12px;
    margin-top: 2px;
}

.beep-avatar-wrap {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    overflow: hidden;
    display: inline-block;
    vertical-align: middle;
    border: 1px solid rgba(127, 196, 228, 0.26);
    position: relative;
}

.beep-avatar-wrap.tiny {
    width: 24px;
    height: 24px;
    border-radius: 6px;
}

.beep-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform-origin: center center;
    position: absolute;
    top: 0;
    left: 0;
}

/* About page */
.about-page {
    margin: 0;
    background:
        radial-gradient(circle at 8% 15%, rgba(127, 196, 228, 0.16), transparent 36%),
        radial-gradient(circle at 86% 72%, rgba(127, 196, 228, 0.12), transparent 40%),
        #f8fcff;
}

.about-main {
    max-width: 1120px;
    margin: 0 auto;
    padding: 116px 20px 70px;
}

.about-hero {
    max-width: 780px;
    margin: 0 auto 34px;
    text-align: center;
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.cookie-table th,
.cookie-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.cookie-table th {
    background: #f8fcff;
    font-weight: 600;
    color: #2f434e;
    font-size: 14px;
}

.cookie-table td {
    font-size: 14px;
    color: #5d6f7b;
}

.cookie-table tr:last-child td {
    border-bottom: none;
}

.cookie-table tr:hover {
    background: rgba(127, 196, 228, 0.05);
}

.about-kicker {
    font-size: 13px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #73b7d7;
    margin-bottom: 8px;
}

.about-hero h1 {
    font-size: 52px;
    line-height: 1.1;
    font-weight: 200;
    color: #2a3c45;
    letter-spacing: -0.02em;
    margin-bottom: 14px;
}

.about-hero p {
    font-size: 19px;
    line-height: 1.58;
    color: #5d6f7b;
    font-weight: 200;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 26px;
}

.about-card {
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(127, 196, 228, 0.24);
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 10px 26px rgba(85, 142, 169, 0.1);
}

.about-card h2 {
    font-size: 30px;
    line-height: 1.15;
    font-weight: 200;
    color: #2f434e;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.about-card p {
    font-size: 17px;
    line-height: 1.62;
    color: #637684;
    font-weight: 200;
}

.about-band {
    background: linear-gradient(130deg, rgba(127, 196, 228, 0.2), rgba(127, 196, 228, 0.08));
    border: 1px solid rgba(127, 196, 228, 0.34);
    border-radius: 20px;
    padding: 28px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(95, 151, 177, 0.08);
}

.about-band h3 {
    font-size: 36px;
    line-height: 1.1;
    font-weight: 200;
    color: #2b3f4a;
    margin-bottom: 10px;
}

.about-band p {
    font-size: 17px;
    line-height: 1.55;
    color: #5d707d;
    margin-bottom: 18px;
    font-weight: 200;
}

.about-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* Responsive design */
@media (max-width: 968px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        padding-right: 0;
        margin-bottom: 40px;
    }

    .hero-visual {
        flex: 0 0 auto;
    }

    .nav {
        gap: 4px;
    }

    .nav-name {
        display: none;
    }

    .about-main {
        padding-top: 104px;
    }

    .about-hero h1 {
        font-size: 42px;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .data-cosmos {
        width: 320px;
        height: 320px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        max-width: 620px;
    }
    
    .hero-visual {
        flex-basis: auto;
    }

    .auth-main {
        padding-top: 104px;
        padding-bottom: 40px;
    }

    .auth-card {
        padding: 24px 20px;
        border-radius: 16px;
    }

    .about-main {
        padding: 98px 14px 56px;
    }

    .about-hero h1 {
        font-size: 34px;
    }

    .about-hero p,
    .about-card p,
    .about-band p {
        font-size: 16px;
    }

    .about-card h2 {
        font-size: 28px;
    }

    .about-band h3 {
        font-size: 31px;
    }
}

/* ── Comprehensive mobile styles ────────────────────────────────────────────── */

@media (max-width: 640px) {
    /* Header */
    .header-content {
        padding: 10px 14px;
    }
    .logo-img {
        height: 34px;
    }
    .nav {
        gap: 2px;
    }
    .nav-link {
        padding: 6px;
        min-width: 34px;
        min-height: 34px;
    }
    .nav-link svg {
        width: 18px;
        height: 18px;
    }
    .notification-btn {
        padding: 6px;
    }
    .nav-profile-link {
        padding: 5px 6px;
    }
    .nav-avatar-wrap {
        width: 26px;
        height: 26px;
    }
    /* Hide logout on small screens to save space */
    .inline-form .btn[aria-label="Log Out"] {
        display: none;
    }

    /* Feed */
    .feed-main {
        padding: 80px 10px 80px;
    }
    .feed-compose h1 {
        font-size: 22px;
    }

    /* Profile */
    .profile-layout {
        padding: 80px 14px 60px;
    }
    .profile-sidebar {
        padding: 28px 14px;
    }
    .profile-content {
        padding: 28px 14px;
    }
    .profile-info-block h1 {
        font-size: 30px;
    }
    .profile-preview-image-wrap.large {
        width: 120px;
        height: 120px;
        border-radius: 24px;
    }
    .profile-stats-row {
        gap: 20px;
    }

    /* Beep cards */
    .beep-card {
        padding: 14px 14px 12px;
    }

    /* Auth */
    .auth-main {
        padding-top: 80px;
    }

    /* Notification dropdown */
    .notification-dropdown {
        width: calc(100vw - 28px);
        right: -50px;
    }
}

@media (max-width: 480px) {
    /* Stack nav even tighter, hide less-used items */
    .nav > a[aria-label="Analytics"],
    .nav > a[aria-label="Settings"] {
        display: none;
    }
}
