/* assets/css/public.css
   Public-facing stylesheet: reset + Instagram dark-mode design tokens.
   Never mix admin/dashboard rules into this file. */

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
    font-family: var(--ob-font-stack);
    background: var(--ob-bg-primary);
    color: var(--ob-text-primary);
    line-height: 1.4;
    -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
ul, ol { list-style: none; }

/* --- Instagram Dark-Mode Design Tokens --- */
:root {
    /* Background layers */
    --ob-bg-primary: #000000;
    --ob-bg-secondary: #121212;
    --ob-bg-elevated: #1c1c1e;
    --ob-bg-hover: #262626;

    /* Text */
    --ob-text-primary: #fafafa;
    --ob-text-secondary: #a8a8a8;
    --ob-text-tertiary: #737373;

    /* Accent */
    --ob-accent-blue: #0095f6;
    --ob-accent-blue-hover: #1877f2;
    --ob-accent-red: #ed4956;

    /* Borders */
    --ob-border-color: #262626;
    --ob-border-subtle: #1a1a1a;

    /* Spacing scale */
    --ob-space-xs: 4px;
    --ob-space-sm: 8px;
    --ob-space-md: 16px;
    --ob-space-lg: 24px;
    --ob-space-xl: 32px;
    --ob-space-2xl: 48px;

    /* Border radius scale */
    --ob-radius-sm: 4px;
    --ob-radius-md: 8px;
    --ob-radius-lg: 12px;
    --ob-radius-full: 9999px;

    /* Font stack */
    --ob-font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
}

/* --- Phase 1: Layout Grid --- */
.ob-topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    gap: var(--ob-space-md);
    height: 52px;
    padding: 0 var(--ob-space-md);
    background: var(--ob-bg-primary);
    border-bottom: 1px solid var(--ob-border-color);
}

.ob-topbar__menu-toggle {
    display: none;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.ob-topbar__menu-icon {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--ob-text-primary);
    position: relative;
}
.ob-topbar__menu-icon::before,
.ob-topbar__menu-icon::after {
    content: '';
    position: absolute;
    left: 0;
    width: 20px;
    height: 2px;
    background: var(--ob-text-primary);
}
.ob-topbar__menu-icon::before { top: -6px; }
.ob-topbar__menu-icon::after { top: 6px; }

.ob-topbar__logo {
    font-weight: 600;
    font-size: 18px;
    color: var(--ob-text-primary);
}

.ob-layout {
    display: grid;
    grid-template-columns: 245px minmax(0, 630px) 320px;
    justify-content: center;
    gap: var(--ob-space-xl);
    max-width: 1320px;
    margin: 0 auto;
    padding: var(--ob-space-lg) var(--ob-space-md);
}

.ob-sidebar-left {
    position: sticky;
    top: 68px;
    height: fit-content;
}

.ob-sidebar-left__nav {
    display: flex;
    flex-direction: column;
    gap: var(--ob-space-xs);
}

.ob-sidebar-left__item {
    display: flex;
    align-items: center;
    gap: var(--ob-space-md);
    padding: var(--ob-space-sm) var(--ob-space-md);
    border-radius: var(--ob-radius-lg);
    border: none;
    background: transparent;
    text-align: left;
    cursor: pointer;
    transition: background 0.15s ease;
}

.ob-sidebar-left__item:hover {
    background: var(--ob-bg-hover);
}

.ob-sidebar-left__item--logo {
    padding-bottom: var(--ob-space-lg);
    margin-bottom: var(--ob-space-sm);
}

.ob-sidebar-left__icon {
    width: 24px;
    height: 24px;
    border-radius: var(--ob-radius-sm);
    background: var(--ob-bg-elevated);
    flex-shrink: 0;
}

.ob-sidebar-left__label {
    font-size: 16px;
    color: var(--ob-text-primary);
}

.ob-main {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: var(--ob-space-lg);
}

.ob-sidebar-right {
    display: flex;
    flex-direction: column;
    gap: var(--ob-space-xl);
}

.ob-sidebar-right__heading {
    font-size: 14px;
    color: var(--ob-text-secondary);
    margin-bottom: var(--ob-space-sm);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.ob-sidebar-right__stats-list,
.ob-sidebar-right__post-list {
    display: flex;
    flex-direction: column;
    gap: var(--ob-space-sm);
    font-size: 14px;
    color: var(--ob-text-primary);
}

.ob-sidebar-right__post-placeholder {
    height: 40px;
    border-radius: var(--ob-radius-md);
    background: var(--ob-bg-elevated);
}

.ob-feed {
    display: flex;
    flex-direction: column;
    gap: var(--ob-space-lg);
}

.ob-feed__empty-state {
    padding: var(--ob-space-2xl) var(--ob-space-md);
    text-align: center;
    color: var(--ob-text-secondary);
    border: 1px solid var(--ob-border-subtle);
    border-radius: var(--ob-radius-lg);
}

.ob-footer {
    max-width: 1320px;
    margin: var(--ob-space-2xl) auto 0;
    padding: var(--ob-space-lg) var(--ob-space-md);
    text-align: center;
    color: var(--ob-text-tertiary);
    font-size: 12px;
}

/* Responsive container widths — full mobile behavior (hide sidebars,
   accordion-first order) lands in Phase 13. This is scaffolding only. */
@media (max-width: 1100px) {
    .ob-layout {
        grid-template-columns: 245px minmax(0, 1fr);
    }
    .ob-sidebar-right {
        display: none;
    }
}

@media (max-width: 700px) {
    .ob-layout {
        grid-template-columns: 1fr;
    }
    .ob-sidebar-left {
        display: none;
    }
    .ob-topbar__menu-toggle {
        display: block;
    }
}

/* --- Phase 2: Auth Forms (login / register / forgot / reset) --- */
.ob-auth {
    min-height: calc(100vh - 60px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--ob-space-xl) var(--ob-space-md);
}

.ob-auth__card {
    width: 100%;
    max-width: 400px;
    background: var(--ob-bg-elevated);
    border: 1px solid var(--ob-border-color);
    border-radius: var(--ob-radius-lg);
    padding: var(--ob-space-2xl) var(--ob-space-xl);
}

.ob-auth__title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--ob-space-lg);
    text-align: center;
}

.ob-auth__alert {
    padding: var(--ob-space-sm) var(--ob-space-md);
    border-radius: var(--ob-radius-sm);
    font-size: 0.875rem;
    margin-bottom: var(--ob-space-md);
}

.ob-auth__alert--error {
    background: rgba(237, 73, 86, 0.12);
    color: var(--ob-accent-red);
    border: 1px solid rgba(237, 73, 86, 0.3);
}

.ob-auth__alert--success {
    background: rgba(0, 149, 246, 0.12);
    color: var(--ob-accent-blue);
    border: 1px solid rgba(0, 149, 246, 0.3);
}

.ob-auth__google-btn {
    display: block;
    text-align: center;
    padding: var(--ob-space-sm) var(--ob-space-md);
    border: 1px solid var(--ob-border-color);
    border-radius: var(--ob-radius-md);
    color: var(--ob-text-primary);
    font-weight: 600;
    margin-bottom: var(--ob-space-md);
    transition: background 0.15s ease;
}

.ob-auth__google-btn:hover {
    background: var(--ob-bg-hover);
}

.ob-auth__divider {
    display: flex;
    align-items: center;
    gap: var(--ob-space-sm);
    color: var(--ob-text-tertiary);
    font-size: 0.75rem;
    margin-bottom: var(--ob-space-md);
}

.ob-auth__divider::before,
.ob-auth__divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--ob-border-color);
}

.ob-auth__form {
    display: flex;
    flex-direction: column;
    gap: var(--ob-space-md);
}

.ob-auth__label {
    display: flex;
    flex-direction: column;
    gap: var(--ob-space-xs);
    font-size: 0.8125rem;
    color: var(--ob-text-secondary);
}

.ob-auth__label input {
    background: var(--ob-bg-secondary);
    border: 1px solid var(--ob-border-color);
    border-radius: var(--ob-radius-sm);
    padding: var(--ob-space-sm) var(--ob-space-md);
    color: var(--ob-text-primary);
    font-size: 0.9375rem;
}

.ob-auth__label input:focus {
    outline: none;
    border-color: var(--ob-accent-blue);
}

.ob-auth__submit {
    background: var(--ob-accent-blue);
    color: #fff;
    border: none;
    border-radius: var(--ob-radius-md);
    padding: var(--ob-space-sm) var(--ob-space-md);
    font-weight: 600;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: background 0.15s ease;
}

.ob-auth__submit:hover {
    background: var(--ob-accent-blue-hover);
}

.ob-auth__switch {
    margin-top: var(--ob-space-md);
    text-align: center;
    font-size: 0.8125rem;
    color: var(--ob-text-secondary);
}

.ob-auth__switch a {
    color: var(--ob-accent-blue);
    font-weight: 600;
}

/* --- Header auth state (login/logout links) --- */
.ob-topbar__auth {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: var(--ob-space-md);
    font-size: 0.875rem;
}

.ob-topbar__auth-greeting {
    color: var(--ob-text-secondary);
}

.ob-topbar__auth-link {
    color: var(--ob-text-primary);
    font-weight: 600;
}

.ob-topbar__auth-link--primary {
    background: var(--ob-accent-blue);
    color: #fff;
    padding: var(--ob-space-xs) var(--ob-space-md);
    border-radius: var(--ob-radius-full);
}

/* Phase 3 — small logo affordance in the public topbar */
.ob-topbar__logo-img { height: 28px; display: block; }

/* Phase 5 — "Wetin dey happen" accordion text-post box */
.ob-textbox {
    background: var(--ob-bg-elevated);
    border: 1px solid var(--ob-border-color);
    border-radius: var(--ob-radius-lg);
    margin-bottom: var(--ob-space-lg);
    overflow: hidden;
}

.ob-textbox__toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--ob-space-md);
    background: transparent;
    border: none;
    color: var(--ob-text-primary);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
}
.ob-textbox__chevron {
    color: var(--ob-text-tertiary);
    transition: transform 0.15s ease;
}
.ob-textbox__toggle[aria-expanded="true"] .ob-textbox__chevron {
    transform: rotate(180deg);
}

.ob-textbox__panel {
    padding: 0 var(--ob-space-md) var(--ob-space-md);
}

.ob-textbox__form { display: flex; flex-direction: column; gap: var(--ob-space-sm); }
.ob-textbox__form textarea {
    width: 100%;
    resize: vertical;
    padding: var(--ob-space-sm);
    background: var(--ob-bg-primary);
    border: 1px solid var(--ob-border-color);
    border-radius: var(--ob-radius-sm);
    color: var(--ob-text-primary);
    font-family: inherit;
    font-size: 14px;
}
.ob-textbox__form textarea:focus { outline: none; border-color: var(--ob-accent-blue); }

.ob-textbox__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.ob-textbox__counter { font-size: 12px; color: var(--ob-text-tertiary); }
.ob-textbox__submit {
    padding: 6px 18px;
    background: var(--ob-accent-blue);
    color: #fff;
    border: none;
    border-radius: var(--ob-radius-full);
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
}
.ob-textbox__submit:hover { background: var(--ob-accent-blue-hover); }

.ob-textbox__status { font-size: 13px; min-height: 16px; }
.ob-textbox__status--success { color: #26a65b; }
.ob-textbox__status--error { color: var(--ob-accent-red); }

.ob-textbox__login-prompt { font-size: 14px; color: var(--ob-text-secondary); }
.ob-textbox__login-prompt a { color: var(--ob-accent-blue); }

/* Phase 6 — feed + post cards */
.ob-feed { display: flex; flex-direction: column; gap: var(--ob-space-md); }

.ob-feed__heading {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: var(--ob-space-sm);
}

.ob-postcard {
    background: var(--ob-bg-elevated);
    border: 1px solid var(--ob-border-color);
    border-radius: var(--ob-radius-lg);
    overflow: hidden;
}

/* Text card */
.ob-postcard--text { padding: var(--ob-space-md); }
.ob-postcard__body-text {
    font-size: 14px;
    line-height: 1.5;
    white-space: pre-wrap;
    word-break: break-word;
}

/* Video card */
.ob-postcard--video { cursor: pointer; }
.ob-postcard__media {
    position: relative;
    aspect-ratio: 9 / 16;
    max-height: 480px;
    background: var(--ob-bg-hover);
    overflow: hidden;
}
.ob-postcard__thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.ob-postcard__thumb--placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--ob-bg-hover), var(--ob-bg-elevated));
}
.ob-postcard__play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.45);
    border-radius: 50%;
    color: #fff;
    font-size: 18px;
    padding-left: 3px;
}
.ob-postcard__body { padding: var(--ob-space-sm) var(--ob-space-md) var(--ob-space-md); }

/* Shared meta row */
.ob-postcard__meta {
    display: flex;
    align-items: center;
    gap: var(--ob-space-sm);
    font-size: 13px;
    margin-bottom: var(--ob-space-xs);
}
.ob-postcard__author { font-weight: 600; color: var(--ob-text-primary); }
.ob-postcard__source, .ob-postcard__date { color: var(--ob-text-tertiary); }
.ob-postcard__caption {
    font-size: 13px;
    color: var(--ob-text-secondary);
    line-height: 1.4;
}

/* Phase 7 — Reels view + in-house video player */
.ob-postcard__media { display: block; }

.ob-reels {
    display: flex;
    flex-direction: column;
    gap: var(--ob-space-md);
    height: calc(100vh - 100px);
    overflow-y: auto;
    scroll-snap-type: y mandatory;
    scrollbar-width: none;
}
.ob-reels::-webkit-scrollbar { display: none; }

.ob-reels__slide {
    scroll-snap-align: start;
    scroll-snap-stop: always;
    flex: 0 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ob-reels__empty {
    padding: var(--ob-space-2xl) var(--ob-space-md);
    text-align: center;
    color: var(--ob-text-secondary);
}

.ob-player {
    position: relative;
    height: 100%;
    aspect-ratio: 9 / 16;
    margin: 0 auto;
    background: var(--ob-bg-hover);
    border-radius: var(--ob-radius-lg);
    overflow: hidden;
}
.ob-player--feed {
    position: absolute;
    inset: 0;
    height: auto;
    aspect-ratio: auto;
    margin: 0;
    border-radius: 0;
}

.ob-player__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: var(--ob-bg-hover);
}

.ob-player__thumb-placeholder {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--ob-bg-hover), var(--ob-bg-elevated));
}

.ob-player__play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.45);
    border-radius: 50%;
    color: #fff;
    font-size: 18px;
    padding-left: 3px;
    pointer-events: none;
}

.ob-player__mute-toggle {
    position: absolute;
    top: var(--ob-space-md);
    right: var(--ob-space-md);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.45);
    border: none;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    z-index: 2;
}
.ob-player__mute-icon { font-size: 16px; }

.ob-player__progress {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
    z-index: 2;
}
.ob-player__progress-bar { height: 100%; width: 0%; background: #fff; }

.ob-player__overlay {
    position: absolute;
    left: 0; right: 60px; bottom: 0;
    padding: var(--ob-space-lg) var(--ob-space-md);
    background: linear-gradient(to top, rgba(0,0,0,0.65), transparent);
    color: #fff;
    z-index: 2;
}
.ob-player__overlay-meta {
    display: flex;
    align-items: center;
    gap: var(--ob-space-sm);
    font-size: 13px;
    margin-bottom: var(--ob-space-xs);
}
.ob-player__overlay-author { font-weight: 600; }
.ob-player__overlay-source { color: rgba(255,255,255,0.7); }
.ob-player__overlay-caption { font-size: 13px; line-height: 1.4; }

.ob-player__actions {
    position: absolute;
    right: var(--ob-space-sm);
    bottom: var(--ob-space-lg);
    display: flex;
    flex-direction: column;
    gap: var(--ob-space-md);
    z-index: 2;
}
.ob-player__action {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    opacity: 0.5;
    cursor: default;
}
.ob-player__action-icon { pointer-events: none; }

@media (max-width: 700px) {
    .ob-reels { height: calc(100vh - 52px); }
}

/* Phase 8 — comment threads, likes, reels comment panel */
.ob-thread { margin-top: var(--ob-space-md); padding-top: var(--ob-space-md); border-top: 1px solid var(--ob-border-color); }
.ob-thread__actions { display: flex; align-items: center; gap: var(--ob-space-md); margin-bottom: var(--ob-space-sm); }
.ob-thread__like {
    display: flex; align-items: center; gap: 4px;
    background: transparent; border: none; cursor: pointer;
    color: var(--ob-text-secondary); font-size: 14px;
}
.ob-thread__like.is-liked { color: var(--ob-accent-red); }
.ob-thread__like.is-liked .ob-thread__like-icon::before { content: '\2665'; }
.ob-thread__like--sm { font-size: 12px; }
.ob-thread__comment-count { font-size: 13px; color: var(--ob-text-tertiary); }

.ob-thread__list { display: flex; flex-direction: column; gap: var(--ob-space-sm); margin-bottom: var(--ob-space-md); }
.ob-thread__item { padding: var(--ob-space-sm) 0; border-bottom: 1px solid var(--ob-border-subtle); }
.ob-thread__item-head { display: flex; align-items: center; gap: var(--ob-space-xs); font-size: 13px; margin-bottom: 2px; }
.ob-thread__author { font-weight: 600; }
.ob-thread__guest-badge {
    font-size: 10px; text-transform: uppercase; letter-spacing: 0.04em;
    color: var(--ob-text-tertiary); border: 1px solid var(--ob-border-color);
    border-radius: var(--ob-radius-sm); padding: 1px 6px;
}
.ob-thread__date { color: var(--ob-text-tertiary); margin-left: auto; }
.ob-thread__body { font-size: 14px; line-height: 1.4; margin-bottom: 4px; white-space: pre-wrap; word-break: break-word; }
.ob-thread__item-actions { display: flex; align-items: center; gap: var(--ob-space-md); }
.ob-thread__reply-toggle { background: none; border: none; color: var(--ob-text-tertiary); font-size: 12px; cursor: pointer; }
.ob-thread__replies { margin: var(--ob-space-sm) 0 0 var(--ob-space-lg); display: flex; flex-direction: column; gap: var(--ob-space-sm); }
.ob-thread__item--reply { border-bottom: none; }

.ob-thread__form, .ob-thread__reply-form {
    display: flex; flex-direction: column; gap: var(--ob-space-xs); margin-top: var(--ob-space-sm);
}
.ob-thread__form input, .ob-thread__reply-form input {
    background: var(--ob-bg-primary); border: 1px solid var(--ob-border-color);
    border-radius: var(--ob-radius-sm); padding: 6px 10px; color: var(--ob-text-primary); font-size: 13px;
}
.ob-thread__form textarea, .ob-thread__reply-form textarea {
    background: var(--ob-bg-primary); border: 1px solid var(--ob-border-color);
    border-radius: var(--ob-radius-sm); padding: 8px 10px; color: var(--ob-text-primary);
    font-family: inherit; font-size: 13px; resize: vertical; min-height: 44px;
}
.ob-thread__form button, .ob-thread__reply-form button {
    align-self: flex-start; padding: 5px 16px; background: var(--ob-accent-blue);
    color: #fff; border: none; border-radius: var(--ob-radius-full); font-size: 13px; font-weight: 600; cursor: pointer;
}
.ob-thread__form button:hover, .ob-thread__reply-form button:hover { background: var(--ob-accent-blue-hover); }
.ob-thread__form-status { font-size: 12px; }
.ob-thread__form-status.is-success { color: #26a65b; }
.ob-thread__form-status.is-error { color: var(--ob-accent-red); }
.ob-thread__guest-note { font-size: 12px; color: var(--ob-text-tertiary); margin-top: var(--ob-space-xs); }

/* Reels action buttons — now active */
.ob-player__action { opacity: 1; cursor: pointer; flex-direction: column; gap: 2px; }
.ob-player__action.is-liked { color: var(--ob-accent-red); }
.ob-player__action-count { font-size: 11px; }

.ob-player__comments-panel {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    max-height: 60%;
    background: var(--ob-bg-secondary);
    border-top-left-radius: var(--ob-radius-lg);
    border-top-right-radius: var(--ob-radius-lg);
    display: flex;
    flex-direction: column;
    z-index: 3;
}
.ob-player__comments-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: var(--ob-space-sm) var(--ob-space-md);
    border-bottom: 1px solid var(--ob-border-color);
    font-weight: 600; font-size: 14px;
}
.ob-player__comments-close { background: none; border: none; color: var(--ob-text-secondary); font-size: 18px; cursor: pointer; }
.ob-player__comments-list { flex: 1; overflow-y: auto; padding: var(--ob-space-sm) var(--ob-space-md); }
.ob-player__comment { padding: var(--ob-space-xs) 0; border-bottom: 1px solid var(--ob-border-subtle); font-size: 13px; }
.ob-player__comment-author { font-weight: 600; margin-right: var(--ob-space-xs); }
.ob-player__comment-guest {
    font-size: 10px; color: var(--ob-text-tertiary); border: 1px solid var(--ob-border-color);
    border-radius: var(--ob-radius-sm); padding: 0 4px; margin-right: var(--ob-space-xs);
}
.ob-player__comment-body { margin-top: 2px; line-height: 1.4; }
.ob-player__comments-loading, .ob-player__comments-empty { color: var(--ob-text-tertiary); font-size: 13px; text-align: center; padding: var(--ob-space-md) 0; }
.ob-player__comments-form {
    display: flex; gap: var(--ob-space-xs); padding: var(--ob-space-sm) var(--ob-space-md);
    border-top: 1px solid var(--ob-border-color);
}
.ob-player__comments-form textarea {
    flex: 1; resize: none; min-height: 36px; background: var(--ob-bg-elevated);
    border: 1px solid var(--ob-border-color); border-radius: var(--ob-radius-sm);
    color: var(--ob-text-primary); font-family: inherit; font-size: 13px; padding: 6px 10px;
}
.ob-player__comments-form input {
    background: var(--ob-bg-elevated); border: 1px solid var(--ob-border-color);
    border-radius: var(--ob-radius-sm); color: var(--ob-text-primary); font-size: 13px; padding: 6px 10px; width: 90px;
}
.ob-player__comments-form button {
    padding: 0 14px; background: var(--ob-accent-blue); color: #fff; border: none;
    border-radius: var(--ob-radius-full); font-size: 13px; font-weight: 600; cursor: pointer;
}

/* Phase 9 — notification bell dropdown */
.ob-notif { position: relative; }
.ob-notif__bell {
    position: relative;
    background: transparent;
    border: none;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}
.ob-notif__badge {
    position: absolute;
    top: -2px;
    right: -2px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    background: var(--ob-accent-red);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    border-radius: var(--ob-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.ob-notif__dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 320px;
    max-height: 420px;
    display: flex;
    flex-direction: column;
    background: var(--ob-bg-elevated);
    border: 1px solid var(--ob-border-color);
    border-radius: var(--ob-radius-lg);
    overflow: hidden;
    z-index: 100;
}
.ob-notif__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--ob-space-sm) var(--ob-space-md);
    border-bottom: 1px solid var(--ob-border-color);
    font-weight: 600;
    font-size: 14px;
}
.ob-notif__mark-all {
    background: none;
    border: none;
    color: var(--ob-accent-blue);
    font-size: 12px;
    cursor: pointer;
}
.ob-notif__list { overflow-y: auto; flex: 1; }
.ob-notif__item {
    display: block;
    padding: var(--ob-space-sm) var(--ob-space-md);
    border-bottom: 1px solid var(--ob-border-subtle);
}
.ob-notif__item:hover { background: var(--ob-bg-hover); }
.ob-notif__item.is-unread { background: rgba(0, 149, 246, 0.06); }
.ob-notif__message { font-size: 13px; line-height: 1.4; color: var(--ob-text-primary); }
.ob-notif__time { font-size: 11px; color: var(--ob-text-tertiary); }
.ob-notif__loading, .ob-notif__empty {
    padding: var(--ob-space-lg) var(--ob-space-md);
    text-align: center;
    font-size: 13px;
    color: var(--ob-text-tertiary);
}

/* Phase 10 — search page */
.ob-search { display: flex; flex-direction: column; gap: var(--ob-space-lg); }

.ob-search__form {
    display: flex;
    gap: var(--ob-space-sm);
}
.ob-search__input {
    flex: 1;
    background: var(--ob-bg-elevated);
    border: 1px solid var(--ob-border-color);
    border-radius: var(--ob-radius-full);
    padding: 10px var(--ob-space-md);
    color: var(--ob-text-primary);
    font-size: 14px;
}
.ob-search__input:focus { outline: none; border-color: var(--ob-accent-blue); }
.ob-search__submit {
    padding: 10px var(--ob-space-lg);
    background: var(--ob-accent-blue);
    color: #fff;
    border: none;
    border-radius: var(--ob-radius-full);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
}
.ob-search__submit:hover { background: var(--ob-accent-blue-hover); }

.ob-search__results { display: flex; flex-direction: column; gap: var(--ob-space-md); }
.ob-search__hint, .ob-search__empty {
    color: var(--ob-text-secondary);
    text-align: center;
    padding: var(--ob-space-2xl) var(--ob-space-md);
}