/* =====================================================
   DC User Panel — Slickdeals-inspired Profile
   ===================================================== */
.lbfup-wrap *, .lbfup-wrap *::before, .lbfup-wrap *::after { box-sizing: border-box; }

.lbfup-wrap {
    font-family: var(--body, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif);
    font-size: .9375rem;
    color: #1a1a2e;
    max-width: 1100px;
    margin: 0 auto;
    padding: 1.5rem 1rem 4rem;
}

/* ── Page tabs (My Profile / Inbox / Saved / Settings) ── */
.lbfup-page-tabs {
    display: flex;
    border-bottom: 2px solid #e0e0e0;
    margin-bottom: 1.5rem;
    gap: 0;
}
.lbfup-page-tab {
    padding: .875rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: #555;
    text-decoration: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: all .15s;
    white-space: nowrap;
}
.lbfup-page-tab:hover { color: var(--lbfup-brand); }
.lbfup-page-tab.active { color: var(--lbfup-brand); border-bottom-color: var(--lbfup-brand); }

/* ── Profile layout: left info + right stats ── */
.lbfup-profile-header {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}
.lbfup-profile-left {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    flex: 1;
    min-width: 280px;
}
.lbfup-avatar {
    width: 96px;
    height: 96px;
    border-radius: 4px;
    object-fit: cover;
    border: 1px solid #ddd;
    background: #f0f0f0;
    flex-shrink: 0;
    display: block;
}
.lbfup-profile-info { flex: 1; }
.lbfup-username {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 .35rem;
}
.lbfup-level-line {
    font-size: .875rem;
    color: #555;
    margin-bottom: .25rem;
    display: flex;
    align-items: center;
    gap: .375rem;
}
.lbfup-level-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: #3498db;
    display: inline-block;
}
.lbfup-meta-line {
    font-size: .8125rem;
    color: #777;
    margin-bottom: .2rem;
}
.lbfup-meta-line strong { color: #444; }
.lbfup-ban-notice {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    color: #991b1b;
    border-radius: 6px;
    padding: .5rem .875rem;
    font-size: .8125rem;
    font-weight: 600;
    margin-top: .5rem;
}
.lbfup-profile-action-btns {
    display: flex;
    gap: .5rem;
    margin-top: .75rem;
    flex-wrap: wrap;
}
.lbfup-icon-btn {
    width: 34px; height: 34px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    transition: all .15s;
    color: #555;
    text-decoration: none;
}
.lbfup-icon-btn:hover { border-color: var(--lbfup-brand); color: var(--lbfup-brand); background: #f0f5fb; }

/* ── Stats grid (6 boxes) ── */
.lbfup-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .5rem;
    min-width: 320px;
}
@media (max-width: 700px) {
    .lbfup-stats-grid { grid-template-columns: repeat(2, 1fr); min-width: unset; width: 100%; }
    .lbfup-profile-header { flex-direction: column; }
}
.lbfup-stat-box {
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: .75rem .875rem;
    display: flex;
    align-items: center;
    gap: .625rem;
    background: #fff;
}
.lbfup-stat-box-icon {
    font-size: 1.25rem;
    color: #3498db;
    flex-shrink: 0;
}
.lbfup-stat-box-val {
    font-size: 1.25rem;
    font-weight: 800;
    color: #1a1a2e;
    line-height: 1;
}
.lbfup-stat-box-lbl {
    font-size: .7rem;
    color: #888;
    margin-top: .15rem;
}

/* ── Best Deal Posted ── */
.lbfup-best-deal {
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    background: #fff;
}
.lbfup-best-deal h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 .75rem;
    display: flex;
    align-items: center;
    gap: .75rem;
}
.lbfup-best-deal h3 a {
    font-size: .8125rem;
    font-weight: 500;
    color: var(--lbfup-brand);
}
.lbfup-no-deals-prompt {
    background: #f8f8f8;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .75rem;
}
.lbfup-no-deals-prompt p { margin: 0; color: #555; font-size: .9375rem; }
.lbfup-btn-post-deal {
    background: var(--lbfup-brand);
    color: #fff !important;
    padding: .5rem 1.25rem;
    border-radius: 4px;
    font-size: .875rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: background .15s;
}
.lbfup-btn-post-deal:hover { background: var(--lbfup-brand-ink); }

/* ── Best deal card (when deals exist) ── */
.lbfup-best-deal-card {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.lbfup-bd-img {
    width: 100px; height: 80px;
    object-fit: contain;
    border: 1px solid #eee;
    border-radius: 4px;
    background: #f8f8f8;
    padding: .25rem;
    flex-shrink: 0;
}
.lbfup-bd-info { flex: 1; }
.lbfup-bd-title { font-size: .9375rem; font-weight: 600; color: var(--lbfup-brand); margin-bottom: .35rem; text-decoration: none; }
.lbfup-bd-title:hover { text-decoration: underline; }
.lbfup-bd-price { font-size: 1.125rem; font-weight: 800; color: #e63946; }
.lbfup-bd-votes { font-size: .8125rem; color: #888; margin-top: .25rem; }

/* ── Activity section layout ── */
.lbfup-activity-layout {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 1.5rem;
    align-items: start;
}
@media (max-width: 700px) { .lbfup-activity-layout { grid-template-columns: 1fr; } }

/* ── Left sidebar nav ── */
.lbfup-sidebar-nav { border: 1px solid #e0e0e0; border-radius: 4px; background: #fff; overflow: hidden; }
.lbfup-sidebar-nav-item {
    display: block;
    padding: .625rem 1rem;
    font-size: .9rem;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
    transition: background .12s;
    cursor: pointer;
}
.lbfup-sidebar-nav-item:last-child { border-bottom: none; }
.lbfup-sidebar-nav-item:hover { background: #f0f5fb; color: var(--lbfup-brand); }
.lbfup-sidebar-nav-item.active { color: var(--lbfup-brand); background: #f0f5fb; font-weight: 700; }
.lbfup-sidebar-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .625rem 1rem;
    font-size: .9rem;
    font-weight: 600;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
    background: #fafafa;
}
.lbfup-sidebar-sub {
    padding: .375rem 1rem .375rem 1.75rem;
    font-size: .8125rem;
    color: #555;
    border-bottom: 1px solid #f5f5f5;
    display: block;
    text-decoration: none;
    transition: all .12s;
}
.lbfup-sidebar-sub:last-child { border-bottom: none; }
.lbfup-sidebar-sub:hover { color: var(--lbfup-brand); background: #f5f8fb; }

/* ── Activity main area ── */
.lbfup-activity-main { min-width: 0; }
.lbfup-activity-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 1rem;
}

/* ── Activity sub-tabs ── */
.lbfup-sub-tabs {
    display: flex;
    border-bottom: 2px solid #e0e0e0;
    margin-bottom: 1.25rem;
    gap: 0;
    flex-wrap: wrap;
}
.lbfup-sub-tab {
    padding: .5rem 1rem;
    font-size: .875rem;
    font-weight: 500;
    color: #555;
    text-decoration: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: all .15s;
}
.lbfup-sub-tab:hover { color: var(--lbfup-brand); }
.lbfup-sub-tab.active { color: var(--lbfup-brand); border-bottom-color: var(--lbfup-brand); font-weight: 700; }

/* ── Activity items ── */
.lbfup-activity-feed { display: flex; flex-direction: column; gap: .625rem; }
.lbfup-act-item {
    display: flex;
    gap: .875rem;
    padding: .875rem 1rem;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    background: #fff;
    align-items: center;
}
.lbfup-act-type-icon {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: #eaf2fb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.lbfup-act-body { flex: 1; min-width: 0; }
.lbfup-act-desc { font-size: .875rem; color: #333; margin-bottom: .2rem; }
.lbfup-act-time { font-size: .75rem; color: #aaa; }
.lbfup-act-pts  { font-size: .875rem; font-weight: 700; white-space: nowrap; }

/* ── Deals tab ── */
.lbfup-deals-feed { display: flex; flex-direction: column; gap: .625rem; }
.lbfup-deal-item {
    display: flex;
    gap: .875rem;
    padding: .875rem 1rem;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    background: #fff;
    align-items: flex-start;
    transition: border-color .15s;
}
.lbfup-deal-item:hover { border-color: var(--lbfup-brand); }
.lbfup-deal-thumb {
    width: 72px; height: 60px;
    object-fit: contain;
    border: 1px solid #eee;
    border-radius: 4px;
    background: #f8f8f8;
    padding: .2rem;
    flex-shrink: 0;
}
.lbfup-deal-thumb-ph {
    width: 72px; height: 60px;
    border: 1px solid #eee;
    border-radius: 4px;
    background: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}
.lbfup-deal-body { flex: 1; min-width: 0; }
.lbfup-deal-item-title {
    font-size: .9rem;
    font-weight: 600;
    color: var(--lbfup-brand);
    text-decoration: none;
    display: block;
    margin-bottom: .35rem;
    line-height: 1.35;
}
.lbfup-deal-item-title:hover { text-decoration: underline; }
.lbfup-deal-item-meta { display: flex; flex-wrap: wrap; gap: .625rem; font-size: .8rem; color: #888; align-items: center; }
.lbfup-deal-price-tag { color: #e63946; font-weight: 800; font-size: .9375rem; }
.lbfup-deal-disc-tag  { background: #e63946; color: #fff; padding: .1rem .4rem; border-radius: 3px; font-size: .7rem; font-weight: 700; }
.lbfup-deal-status    { padding: .1rem .4rem; border-radius: 3px; font-size: .7rem; font-weight: 700; }
.lbfup-st-publish  { background: #d1fae5; color: #065f46; }
.lbfup-st-draft    { background: #f3f4f6; color: #374151; }
.lbfup-st-pending  { background: #fef9c3; color: #713f12; }
.lbfup-st-expired  { background: #fee2e2; color: #991b1b; }

/* ── Reputation / Rewards ── */
.lbfup-rep-section { margin-bottom: 2rem; }
.lbfup-rep-section h3 { font-size: 1rem; font-weight: 700; color: #1a1a2e; margin-bottom: .875rem; border-bottom: 1px solid #eee; padding-bottom: .5rem; }
.lbfup-levels-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: .625rem; }
.lbfup-level-card {
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: .875rem;
    text-align: center;
    background: #fff;
    transition: all .15s;
}
.lbfup-level-card.current { border-color: var(--lbfup-brand); background: #eaf2fb; box-shadow: 0 2px 8px rgba(26,82,118,.15); }
.lbfup-lv-emoji { font-size: 2rem; margin-bottom: .375rem; }
.lbfup-lv-name  { font-size: .875rem; font-weight: 700; }
.lbfup-lv-pts   { font-size: .75rem; color: #888; margin-top: .2rem; }
.lbfup-lv-you   { font-size: .7rem; color: var(--lbfup-brand); font-weight: 700; margin-top: .35rem; }

.lbfup-earn-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: .5rem;
}
.lbfup-earn-item {
    display: flex;
    align-items: center;
    gap: .625rem;
    padding: .625rem .875rem;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background: #fff;
    font-size: .875rem;
}
.lbfup-earn-icon { font-size: 1.25rem; }
.lbfup-earn-label { flex: 1; color: #444; }
.lbfup-earn-pts { font-weight: 700; }

/* ── Packages ── */
.lbfup-pkgs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }
.lbfup-pkg-card {
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    padding: 1.5rem 1rem;
    text-align: center;
    background: #fff;
    position: relative;
    transition: all .2s;
}
.lbfup-pkg-card:hover   { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,0,0,.1); }
.lbfup-pkg-card.current { border-color: var(--lbfup-brand); background: #f0f5fb; }
.lbfup-pkg-current-badge { position: absolute; top: -.7rem; left: 50%; transform: translateX(-50%); background: var(--lbfup-brand); color: #fff; font-size: .65rem; font-weight: 800; padding: .2rem .75rem; border-radius: 20px; white-space: nowrap; }
.lbfup-pkg-icon   { font-size: 2.5rem; margin-bottom: .5rem; }
.lbfup-pkg-name   { font-size: 1.125rem; font-weight: 800; margin-bottom: .875rem; }
.lbfup-pkg-feats  { text-align: left; margin-bottom: 1.25rem; }
.lbfup-pkg-feat   { font-size: .8125rem; color: #555; padding: .25rem 0; display: flex; align-items: center; gap: .375rem; }
.lbfup-pkg-btn    { width: 100%; padding: .625rem; border: none; border-radius: 4px; color: #fff; font-weight: 700; font-size: .875rem; cursor: pointer; }
.lbfup-pkg-btn:hover { opacity: .85; }
.lbfup-pkg-active { font-size: .9rem; color: var(--lbfup-brand); font-weight: 700; }

/* ── Settings form ── */
.lbfup-settings-wrap { max-width: 540px; }
.lbfup-form-field { margin-bottom: 1.125rem; }
.lbfup-form-field label { display: block; font-size: .875rem; font-weight: 700; margin-bottom: .375rem; color: #333; }
.lbfup-form-input {
    width: 100%;
    padding: .55rem .875rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: .9375rem;
    outline: none;
    transition: border .15s;
}
.lbfup-form-input:focus { border-color: var(--lbfup-brand); box-shadow: 0 0 0 3px rgba(26,82,118,.1); }
.lbfup-form-hint { font-size: .75rem; color: #888; margin-top: .25rem; }
.lbfup-form-submit { background: var(--lbfup-brand); color: #fff; border: none; padding: .65rem 1.5rem; border-radius: 4px; font-size: .9375rem; font-weight: 700; cursor: pointer; }
.lbfup-form-submit:hover { background: var(--lbfup-brand-ink); }

/* ── Inbox ── */
.lbfup-inbox-empty { text-align: center; padding: 3rem 1rem; color: #888; }
.lbfup-inbox-empty p { font-size: 1rem; }

/* ── Notices ── */
.lbfup-notice { padding: .75rem 1rem; border-radius: 4px; font-size: .875rem; margin-bottom: 1rem; border-left: 4px solid; }
.lbfup-notice-ok  { background: #f0fdf4; border-color: #22c55e; color: #15803d; }
.lbfup-notice-err { background: #fef2f2; border-color: #ef4444; color: #991b1b; }

/* ── Progress bar ── */
.lbfup-prog-track { background: #f0f0f0; border-radius: 4px; height: 6px; overflow: hidden; margin: .375rem 0; }
.lbfup-prog-fill  { height: 100%; border-radius: 4px; transition: width .4s ease; }

/* ── Pagination ── */
.lbfup-pag       { display: flex; gap: .375rem; margin-top: 1.25rem; flex-wrap: wrap; }
.lbfup-pag-link  { display: inline-flex; align-items: center; justify-content: center; min-width: 30px; height: 28px; padding: 0 .5rem; border: 1px solid #ccc; border-radius: 4px; font-size: .8125rem; color: #333; text-decoration: none; }
.lbfup-pag-link:hover { border-color: var(--lbfup-brand); color: var(--lbfup-brand); }
.lbfup-pag-link.cur   { background: var(--lbfup-brand); color: #fff; border-color: var(--lbfup-brand); }

/* ── Toast ── */
.lbfup-toast { position: fixed; bottom: 1.5rem; right: 1.5rem; padding: .875rem 1.5rem; border-radius: 6px; font-size: .9375rem; font-weight: 600; box-shadow: 0 8px 24px rgba(0,0,0,.2); opacity: 0; transform: translateY(8px); transition: all .3s; z-index: 99999; max-width: 360px; }
.lbfup-toast.show    { opacity: 1; transform: translateY(0); }
.lbfup-toast-ok  { background: #22c55e; color: #fff; }
.lbfup-toast-err { background: #ef4444; color: #fff; }

/* ── Warnings section ── */
.lbfup-warnings-list { display: flex; flex-direction: column; gap: .625rem; }
.lbfup-warning-item { padding: .875rem 1rem; border: 1px solid #fca5a5; background: #fef2f2; border-radius: 4px; }
.lbfup-warning-reason { font-size: .9rem; font-weight: 600; color: #991b1b; margin-bottom: .25rem; }
.lbfup-warning-date   { font-size: .75rem; color: #aaa; }

/* ── Following / saved ── */
.lbfup-saved-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: .875rem; }
.lbfup-saved-item { border: 1px solid #e0e0e0; border-radius: 4px; background: #fff; padding: .875rem; }
.lbfup-saved-title { font-size: .9rem; font-weight: 600; color: var(--lbfup-brand); text-decoration: none; display: block; margin-bottom: .375rem; }
.lbfup-saved-title:hover { text-decoration: underline; }
.lbfup-saved-meta { font-size: .75rem; color: #888; }

/* ── Header dropdown styles (injected into site header) ── */
.lbfup-header-dropdown {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    width: 220px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(0,0,0,.15);
    z-index: 9999;
    overflow: hidden;
    display: none;
}
.lbfup-header-dropdown.open { display: block; }
.lbfup-header-dropdown a {
    display: block;
    padding: .75rem 1.125rem;
    font-size: .9rem;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
    transition: background .12s;
}
.lbfup-header-dropdown a:last-child { border-bottom: none; }
.lbfup-header-dropdown a:hover { background: #f0f5fb; color: var(--lbfup-brand); }
.lbfup-header-dropdown a.logout { color: var(--lbfup-brand); font-weight: 600; }
.lbfup-header-dropdown-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px; height: 18px;
    background: #22c55e;
    color: #fff;
    border-radius: 50%;
    font-size: .65rem;
    font-weight: 800;
    margin-left: .375rem;
}

/* =====================================================
   LBFD additions — inbox badge, status tags, Post a Deal
   ===================================================== */
.lbfup-tab-badge{display:inline-block;min-width:18px;padding:0 6px;margin-left:6px;border-radius:9px;background:#e11d48;color:#fff;font-size:.6875rem;line-height:18px;text-align:center;vertical-align:middle}
.lbfup-deal-status{display:inline-block;padding:1px 8px;border-radius:10px;font-size:.6875rem;font-weight:700;background:#eef2f7;color:#334155}
.lbfup-st-publish{background:#dcfce7;color:#166534}.lbfup-st-pending{background:#fef3c7;color:#92400e}
.lbfup-st-lbfdm_rejected,.lbfup-st-expired{background:#fee2e2;color:#991b1b}
.lbfup-reject-why{font-size:.8125rem;color:#991b1b;margin-top:.25rem}
.lbfup-unread{background:#f5f9ff}
.lbfup-saved-item .lbfup-unsave{float:right;background:none;border:0;color:#888;cursor:pointer;font-size:.8125rem}


/* =====================================================
   Tokens (follow the DealsCommunity theme when present)
   ===================================================== */
:root {
  --lbfup-brand: var(--accent, #C2410C);
  --lbfup-brand-ink: var(--accent-ink, #9A3412);
  --lbfup-brand-soft: var(--accent-soft, #FFEDD5);
  --lbfup-ink: var(--ink, #0F172A);
  --lbfup-muted: var(--faint, #64748B);
  --lbfup-line: var(--line, #E2E8F0);
  --lbfup-ground: var(--ground, #F4F6F9);
  --lbfup-display: var(--display, system-ui, sans-serif);
  --lbfup-body: var(--body, system-ui, sans-serif);
}
.lbfup-btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;padding:.8125rem 1.25rem;border:0;border-radius:12px;background:var(--lbfup-brand);color:#fff!important;font:600 1rem/1.2 var(--lbfup-body);text-decoration:none;cursor:pointer;transition:background .15s,transform .05s,box-shadow .15s;box-shadow:0 1px 2px rgba(15,23,42,.08),0 4px 12px rgba(194,65,12,.18)}
.lbfup-btn:hover{background:var(--lbfup-brand-ink)}
.lbfup-btn:active{transform:translateY(1px)}
.lbfup-btn:focus-visible{outline:3px solid var(--lbfup-brand-soft);outline-offset:2px}
.lbfup-btn-block{width:100%}
.lbfup-alert{padding:.75rem 1rem;border-radius:12px;margin:0 0 1rem;font-size:.9375rem;line-height:1.45}
.lbfup-alert.ok{background:#F0FDF4;color:#14532D;border:1px solid #BBF7D0}
.lbfup-alert.err{background:#FEF2F2;color:#7F1D1D;border:1px solid #FECACA}
.lbfup-hp{position:absolute!important;left:-9999px!important;height:1px;overflow:hidden}
.lbfup-deal-status{display:inline-block;padding:1px 8px;border-radius:10px;font-size:.6875rem;font-weight:700;background:#eef2f7;color:#334155}

/* =====================================================
   Sign in / Create account page
   ===================================================== */
body.lbfup-login-page .site-main{padding:0;max-width:none}
.lbfup-auth{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);min-height:calc(100vh - 72px);background:var(--lbfup-ground);font-family:var(--lbfup-body);color:var(--lbfup-ink)}
.lbfup-auth *,.lbfup-auth *::before,.lbfup-auth *::after{box-sizing:border-box}
.lbfup-auth [hidden]{display:none!important}
.lbfup-auth-side{position:relative;overflow:hidden;background:radial-gradient(1200px 600px at -10% -20%,rgba(251,146,60,.35),transparent 60%),radial-gradient(800px 500px at 110% 120%,rgba(194,65,12,.55),transparent 60%),linear-gradient(160deg,#0F172A 0%,#1E1B2E 55%,#3B1406 100%);color:#fff;display:flex;align-items:center;justify-content:flex-end;padding:56px 64px}
.lbfup-auth-side::after{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.04) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.04) 1px,transparent 1px);background-size:44px 44px;mask-image:linear-gradient(180deg,#000 0%,transparent 85%);pointer-events:none}
.lbfup-auth-side-in{position:relative;z-index:1;max-width:460px;width:100%}
.lbfup-auth-kicker{display:inline-block;padding:.375rem .75rem;border-radius:999px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.18);font-size:.75rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#FED7AA}
.lbfup-auth-side h1{font-family:var(--lbfup-display);font-size:clamp(2rem,3.4vw,3rem);line-height:1.05;letter-spacing:-.02em;margin:1rem 0 .875rem;color:#fff}
.lbfup-auth-side p{color:#CBD5E1;font-size:1.0625rem;line-height:1.6;margin:0 0 1.75rem}
.lbfup-auth-perks{list-style:none;margin:0 0 2rem;padding:0;display:grid;gap:.75rem}
.lbfup-auth-perks li{display:flex;gap:.875rem;align-items:flex-start;padding:.875rem 1rem;border-radius:14px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1);backdrop-filter:blur(6px)}
.lbfup-auth-perks li>span{font-size:1.375rem;line-height:1}
.lbfup-auth-perks strong{display:block;color:#fff;font-size:.9375rem;margin-bottom:2px}
.lbfup-auth-perks div{color:#CBD5E1;font-size:.875rem;line-height:1.45}
.lbfup-auth-stats{display:flex;gap:2rem;flex-wrap:wrap;padding-top:1.25rem;border-top:1px solid rgba(255,255,255,.12)}
.lbfup-auth-stats b{display:block;font-family:var(--lbfup-display);font-size:1.625rem;color:#fff}
.lbfup-auth-stats span{font-size:.8125rem;color:#94A3B8}
.lbfup-auth-main{display:flex;align-items:center;justify-content:flex-start;padding:48px 64px}
.lbfup-auth-card{width:100%;max-width:440px;background:#fff;border:1px solid var(--lbfup-line);border-radius:24px;padding:36px 36px 28px;box-shadow:0 1px 2px rgba(15,23,42,.04),0 20px 50px -20px rgba(15,23,42,.18)}
.lbfup-auth-head h2{font-family:var(--lbfup-display);font-size:1.75rem;letter-spacing:-.01em;margin:0 0 .375rem;color:var(--lbfup-ink)}
.lbfup-auth-head p{margin:0 0 1.5rem;color:var(--lbfup-muted)}
.lbfup-seg{position:relative;display:grid;grid-template-columns:1fr 1fr;background:#F1F5F9;border-radius:12px;padding:4px;margin-bottom:1.5rem}
.lbfup-seg button{position:relative;z-index:1;border:0;background:none;padding:.625rem;font:600 .9375rem var(--lbfup-body);color:var(--lbfup-muted);cursor:pointer;border-radius:9px}
.lbfup-seg button[aria-selected=true]{color:var(--lbfup-ink)}
.lbfup-seg-pill{position:absolute;top:4px;bottom:4px;left:4px;width:calc(50% - 4px);background:#fff;border-radius:9px;box-shadow:0 1px 3px rgba(15,23,42,.12);transition:transform .25s cubic-bezier(.2,.8,.2,1)}
.lbfup-seg[data-on=up] .lbfup-seg-pill{transform:translateX(100%)}
.lbfup-form{display:grid;gap:1rem}
.lbfup-field{display:grid;gap:.375rem}
.lbfup-field>span:first-child{display:flex;justify-content:space-between;align-items:baseline;font-size:.875rem;font-weight:600;color:var(--lbfup-ink)}
.lbfup-field>span:first-child a{font-weight:500;font-size:.8125rem;color:var(--lbfup-brand);text-decoration:none}
.lbfup-field>span:first-child a:hover{text-decoration:underline}
.lbfup-field input{width:100%;height:48px;padding:0 14px;border:1.5px solid var(--lbfup-line);border-radius:12px;background:#fff;font:400 1rem var(--lbfup-body);color:var(--lbfup-ink);transition:border-color .15s,box-shadow .15s}
.lbfup-field input:hover{border-color:#CBD5E1}
.lbfup-field input:focus{outline:none;border-color:var(--lbfup-brand);box-shadow:0 0 0 4px rgba(194,65,12,.12)}
.lbfup-field small{color:var(--lbfup-muted);font-size:.8125rem}
.lbfup-pass{position:relative;display:block}
.lbfup-pass input{padding-right:70px}
.lbfup-eye{position:absolute;right:6px;top:50%;transform:translateY(-50%);border:0;background:#F1F5F9;color:var(--lbfup-ink);font:600 .75rem var(--lbfup-body);padding:.4375rem .625rem;border-radius:8px;cursor:pointer}
.lbfup-strength{display:grid;grid-template-columns:repeat(4,1fr);gap:4px;margin-top:2px}
.lbfup-strength i{height:4px;border-radius:2px;background:#E2E8F0;transition:background .2s}
.lbfup-strength[data-s="1"] i:nth-child(-n+1){background:#DC2626}
.lbfup-strength[data-s="2"] i:nth-child(-n+2){background:#F59E0B}
.lbfup-strength[data-s="3"] i:nth-child(-n+3){background:#65A30D}
.lbfup-strength[data-s="4"] i{background:#15803D}
.lbfup-strength-txt{font-style:normal;font-weight:500;font-size:.75rem;color:var(--lbfup-muted)}
.lbfup-check{display:flex;gap:.625rem;align-items:flex-start;font-size:.875rem;color:#334155;line-height:1.45;cursor:pointer}
.lbfup-check input{width:18px;height:18px;margin:1px 0 0;accent-color:var(--lbfup-brand);flex-shrink:0}
.lbfup-check a{color:var(--lbfup-brand)}
.lbfup-switch{margin:.25rem 0 0;text-align:center;color:var(--lbfup-muted);font-size:.9375rem}
.lbfup-switch button,.lbfup-link{border:0;background:none;padding:0;color:var(--lbfup-brand);font:600 .9375rem var(--lbfup-body);cursor:pointer;text-decoration:none}
.lbfup-switch button:hover,.lbfup-link:hover{text-decoration:underline}
.lbfup-auth-signedin{text-align:center;display:grid;gap:.75rem;justify-items:center}
.lbfup-auth-signedin img{width:72px;height:72px;border-radius:50%}
.lbfup-auth-signedin h2{font-family:var(--lbfup-display);margin:0}
.lbfup-auth-signedin p{margin:0 0 .5rem;color:var(--lbfup-muted)}
@media (max-width:960px){
  .lbfup-auth{grid-template-columns:1fr;min-height:0}
  .lbfup-auth-main{order:-1;justify-content:center;padding:28px 16px 8px}
  .lbfup-auth-side{justify-content:center;padding:36px 20px 40px}
  .lbfup-auth-side h1{font-size:1.75rem}
  .lbfup-auth-card{padding:28px 20px 22px;border-radius:20px}
}
@media (prefers-reduced-motion:reduce){.lbfup-seg-pill{transition:none}}
.lbfup-pkg-price{font-weight:800;font-size:1.05rem;margin:.15rem 0}
.lbfup-pkg-desc{font-size:.8rem;color:#666;margin:.15rem 0 .4rem}
/* Google button, username field, private tags, required terms */
.lbfup-google{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;height:46px;border:1px solid #D1D5DB;border-radius:12px;background:#fff;color:#1F2937;font-weight:600;font-size:15px;text-decoration:none;box-sizing:border-box;transition:background .15s,border-color .15s}
.lbfup-google:hover{background:#F9FAFB;border-color:#9CA3AF}
.lbfup-or{display:flex;align-items:center;gap:12px;margin:14px 0 4px;color:#94A3B8;font-size:12px;text-transform:uppercase;letter-spacing:.08em}
.lbfup-or::before,.lbfup-or::after{content:"";flex:1;height:1px;background:#E5E7EB}
.lbfup-uname{display:flex;align-items:center;border:1px solid #D1D5DB;border-radius:10px;background:#fff;overflow:hidden}
.lbfup-uname:focus-within{border-color:var(--accent,#C2410C);box-shadow:0 0 0 3px rgba(194,65,12,.15)}
.lbfup-uname b{padding:0 2px 0 12px;color:#94A3B8;font-weight:700}
.lbfup-uname input{border:0!important;box-shadow:none!important;outline:0;flex:1;min-width:0;padding-left:2px!important}
.lbfup-uname-msg{font-style:normal;font-size:12px;font-weight:600;margin-left:auto}
.lbfup-uname-msg.ok{color:#15803D}
.lbfup-uname-msg.bad{color:#B91C1C}
.lbfup-private{font-style:normal;font-size:11px;font-weight:600;color:#64748B;background:#F1F5F9;border-radius:999px;padding:1px 8px;margin-left:6px}
.lbfup-req em{color:#B91C1C;font-style:normal;font-weight:700}
.lbfup-verify-note{background:#FEF3C7;border:1px solid #FCD34D;color:#78350F;border-radius:10px;padding:12px 14px}
.lbfup-verify-card{background:#FFFBEB;border:1px solid #FCD34D;border-radius:12px;padding:14px 16px;margin:0 0 16px;color:#78350F}
.lbfup-verify-card a{font-weight:700}
.lbfup-readonly{background:#F8FAFC!important;color:#475569!important;cursor:not-allowed}
.lbfup-private-box{border:1px dashed #CBD5E1;border-radius:12px;padding:14px 16px;margin:0 0 16px;background:#F8FAFC}
.lbfup-private-box h3{margin:0 0 4px;font-size:.95rem}
/* Sign-up v2: username picker, two-column row, verification note, agreements */
.lbfup-upick{border:1.5px solid var(--lbfup-line,#E2E8F0);border-radius:16px;padding:14px;background:linear-gradient(180deg,#FFF7ED 0,#fff 70%);display:grid;gap:10px}
.lbfup-upick-top{display:flex;justify-content:space-between;align-items:center}
.lbfup-upick-lbl{font-size:.875rem;font-weight:600;color:var(--lbfup-ink,#0F172A)}
.lbfup-upick-shuffle{border:1px solid #FED7AA;background:#fff;color:var(--lbfup-brand,#C2410C);font:600 .8125rem/1 var(--lbfup-body,inherit);padding:7px 12px;border-radius:999px;cursor:pointer;transition:background .15s}
.lbfup-upick-shuffle:hover{background:#FFEDD5}
.lbfup-upick-shuffle.spin{opacity:.6;pointer-events:none}
.lbfup-upick-cur{display:flex;align-items:center;gap:10px}
.lbfup-upick-av{width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:var(--lbfup-brand,#C2410C);color:#fff;font-weight:800;font-size:1.05rem;flex:none}
.lbfup-upick-cur b{font-size:1.15rem;letter-spacing:-.2px;color:var(--lbfup-ink,#0F172A);word-break:break-all}
.lbfup-upick-opts{display:flex;flex-wrap:wrap;gap:6px}
.lbfup-upick-opts button{border:1px solid var(--lbfup-line,#E2E8F0);background:#fff;border-radius:999px;padding:6px 11px;font:500 .8125rem/1.2 var(--lbfup-body,inherit);color:#334155;cursor:pointer;transition:border-color .15s,background .15s}
.lbfup-upick-opts button:hover{border-color:#FDBA74}
.lbfup-upick-opts button[aria-checked=true]{background:var(--lbfup-ink,#0F172A);border-color:var(--lbfup-ink,#0F172A);color:#fff}
.lbfup-upick small{color:var(--lbfup-muted,#64748B);font-size:.78rem;line-height:1.4}
.lbfup-row2{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.lbfup-row2 .lbfup-field>span:first-child{flex-wrap:wrap;gap:4px}
.lbfup-verify-info{display:flex;gap:10px;align-items:flex-start;background:#EFF6FF;border:1px solid #BFDBFE;border-radius:12px;padding:10px 12px;margin-top:-4px}
.lbfup-verify-info>span{font-size:1.1rem;line-height:1.3}
.lbfup-verify-info p{margin:0;font-size:.8125rem;line-height:1.45;color:#1E3A8A}
.lbfup-verify-info strong{display:block;font-size:.8438rem;color:#1E40AF;margin-bottom:1px}
.lbfup-agree{display:grid;gap:10px;background:#F8FAFC;border:1px solid var(--lbfup-line,#E2E8F0);border-radius:12px;padding:12px 14px}
.lbfup-agree .lbfup-check{font-size:.8438rem}
.lbfup-check-soft{color:#64748B!important;padding-top:8px;border-top:1px dashed #E2E8F0}
.lbfup-private{margin-left:0!important}
@media (max-width:480px){.lbfup-row2{grid-template-columns:1fr}.lbfup-auth-card{padding:24px 18px 20px}}
.lbfup-uname-note{display:flex;gap:10px;align-items:flex-start;margin:0;padding:10px 12px;border-radius:12px;background:#FFF7ED;border:1px solid #FED7AA;color:#7C2D12;font-size:.8125rem;line-height:1.45}
.lbfup-uname-note>span:first-child{font-size:1.05rem;line-height:1.2}
.lbfup-username-hidden{color:#94A3B8!important;letter-spacing:1px}
.lbfup-reveal{display:flex;gap:16px;align-items:center;margin:0 0 18px;padding:18px 20px;border-radius:18px;background:linear-gradient(135deg,#0F172A 0%,#1E293B 60%,#7C2D12 140%);color:#fff;box-shadow:0 14px 40px -16px rgba(15,23,42,.5);animation:lbfup-pop .35s ease-out}
.lbfup-reveal-confetti{font-size:2.4rem;line-height:1}
.lbfup-reveal>div:last-child{display:flex;flex-direction:column;gap:2px;min-width:0}
.lbfup-reveal-k{font-size:.75rem;letter-spacing:.08em;text-transform:uppercase;color:#FDBA74;font-weight:700}
.lbfup-reveal b{font-size:1.6rem;letter-spacing:-.4px;word-break:break-all}
.lbfup-reveal-s{font-size:.8438rem;color:#CBD5E1}
/* Sign-up fits on one screen: compact card + form */
.lbfup-auth-main{padding:24px 64px}
.lbfup-auth-card{padding:26px 30px 22px}
.lbfup-auth-head h2{font-size:1.5rem;margin-bottom:.25rem}
.lbfup-auth-head p{margin-bottom:1rem;font-size:.9063rem}
.lbfup-seg{margin-bottom:1rem}
.lbfup-seg button{padding:.5rem}
.lbfup-form-up{gap:.75rem}
.lbfup-form-up .lbfup-field{gap:.3rem}
.lbfup-form-up .lbfup-field>span:first-child{font-size:.8125rem}
.lbfup-form-up .lbfup-field input{height:42px;border-radius:10px;font-size:.9375rem}
.lbfup-form-up .lbfup-strength{margin-top:0}
.lbfup-form-up .lbfup-strength i{height:3px}
.lbfup-form-up .lbfup-verify-info{margin-top:0;padding:8px 11px}
.lbfup-form-up .lbfup-verify-info p,.lbfup-form-up .lbfup-verify-info strong{display:inline;font-size:.78rem}
.lbfup-form-up .lbfup-agree{gap:6px;padding:10px 12px}
.lbfup-form-up .lbfup-agree .lbfup-check{font-size:.8rem;line-height:1.35}
.lbfup-form-up .lbfup-check-soft{padding-top:6px}
.lbfup-form-up .lbfup-check input{width:16px;height:16px}
.lbfup-form-up .lbfup-btn{padding:.75rem 1.25rem}
.lbfup-form-up .lbfup-google{height:42px}
.lbfup-form-up .lbfup-or{margin:6px 0 0}
.lbfup-auth-side{padding:40px 56px}
@media (max-width:900px){.lbfup-auth-main{padding:16px 16px 8px}.lbfup-auth-card{padding:20px 18px 18px}}
/* one-screen sign-up, round 2 */
body.lbfup-login-page .site-header .search-form,body.lbfup-login-page .site-header .main-nav{display:none}
.lbfup-auth-main{padding:16px 64px}
.lbfup-auth-head h2{font-size:1.375rem}
.lbfup-auth-head p{margin-bottom:.75rem;font-size:.875rem}
.lbfup-seg{margin-bottom:.875rem}
.lbfup-seg button{padding:.4375rem}
.lbfup-form-up .lbfup-agree .lbfup-check{white-space:normal}
.lbfup-form-up .lbfup-check-soft{border-top:0;padding-top:0}
@media (max-width:900px){
  .lbfup-auth-main{padding:12px 12px 8px}
  .lbfup-auth-card{padding:18px 16px 16px;border-radius:18px}
  .lbfup-auth-head h2{font-size:1.25rem}
  .lbfup-form-up .lbfup-row2{grid-template-columns:1fr 1fr;gap:8px}
  .lbfup-form-up .lbfup-row2 .lbfup-private{display:none}
  .lbfup-form-up .lbfup-field input{height:40px}
}
/* Left panel never makes the page taller than the screen */
@media (min-width:901px){
  .lbfup-auth{min-height:calc(100vh - 61px)}
  .lbfup-auth-side{padding:32px 56px}
  .lbfup-auth-side h1{font-size:clamp(1.75rem,2.8vw,2.5rem);margin:.75rem 0 .625rem}
  .lbfup-auth-side p{font-size:1rem;margin-bottom:1.25rem}
  .lbfup-auth-perks{gap:.5rem;margin-bottom:1.25rem}
  .lbfup-auth-perks li{padding:.625rem .875rem}
  .lbfup-auth-stats{padding-top:1rem}
}
@media (min-width:901px) and (max-height:820px){
  .lbfup-auth-perks div{font-size:0;line-height:0}
  .lbfup-auth-perks div strong{font-size:.9375rem;line-height:1.3}
  .lbfup-auth-perks li{align-items:center}
  .lbfup-auth-perks strong{margin:0}
  .lbfup-auth-side p{font-size:.9375rem}
}
@media (min-width:901px) and (max-height:680px){
  .lbfup-auth-stats{display:none}
  .lbfup-auth-perks{margin-bottom:0}
}
.lbfup-avpick{display:flex;flex-wrap:wrap;gap:10px;margin:.25rem 0 .5rem}
.lbfup-avopt{position:relative;cursor:pointer;margin:0!important;font-weight:400!important}
.lbfup-avopt input{position:absolute;opacity:0;pointer-events:none}
.lbfup-avopt img{display:block;width:56px;height:56px;border-radius:50%;border:3px solid transparent;box-shadow:0 0 0 1px #E2E8F0;transition:transform .12s,border-color .12s}
.lbfup-avopt:hover img{transform:scale(1.06)}
.lbfup-avopt input:checked+img{border-color:var(--lbfup-brand,#C2410C);box-shadow:0 0 0 2px #fff,0 0 0 4px var(--lbfup-brand,#C2410C)}
.lbfup-avopt input:focus-visible+img{outline:3px solid #93C5FD;outline-offset:2px}
