/* =====================================================
   ATÖLYE (Workshop) — Linear/Stripe Glass-SaaS
   -----------------------------------------------------
   Tasarım dili anasayfa ile aynı; aksent: YEŞİL
   (üretim / büyüme metaforu). Renk değişkenleri
   base.html'den; sadece sayfa scope'unda --accent-ruby
   token'ı yeşile remap'leniyor — light/dark otomatik.
   ===================================================== */

/* ============ Page shell + tema scope override ============ */
.ws-page,
.wsd-shell {
    /* Sayfa içindeki tüm `var(--accent-ruby)` referansları
       Atölye için yeşil olur. Footer/navbar etkilenmez. */
    --accent-ruby: var(--accent-green);
}

.ws-shell {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.ws-page {
    background: var(--bg-base);
    color: var(--text-primary);
    min-height: 80vh;
    padding-bottom: var(--space-12, 80px);
}

/* ============ Top header ============ */
.ws-header {
    border-bottom: 1px solid var(--border-subtle);
    background: var(--bg-surface);
    padding: var(--space-8, 48px) 0 var(--space-6, 32px);
}
.ws-eyebrow {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--accent-ruby);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin: 0 0 var(--space-3, 12px);
}
.ws-title {
    font-size: clamp(2rem, 4vw, 2.875rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    line-height: 1.05;
    margin: 0 0 var(--space-3, 12px);
}
.ws-title .accent { color: var(--accent-ruby); }
.ws-lead {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
    max-width: 680px;
}

.ws-header-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--space-5, 24px);
    flex-wrap: wrap;
}
.ws-header-cta {
    display: flex;
    gap: var(--space-3, 12px);
    flex-shrink: 0;
}

/* ============ Toolbar (search + filters) ============ */
.ws-toolbar {
    display: flex;
    align-items: center;
    gap: var(--space-3, 12px);
    flex-wrap: wrap;
    margin: var(--space-6, 32px) 0 var(--space-5, 24px);
}
.ws-search {
    flex: 1;
    min-width: 280px;
    position: relative;
}
.ws-search input {
    width: 100%;
    height: 44px;
    padding: 0 16px 0 44px;
    background: var(--bg-surface);
    border: 1px solid var(--border-default);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 0.9375rem;
    transition: border-color 150ms ease, box-shadow 150ms ease;
    outline: none;
}
.ws-search input:focus {
    border-color: var(--text-primary);
    box-shadow: 0 0 0 3px rgba(199, 16, 47, 0.08);
}
.ws-search i {
    position: absolute;
    left: 16px; top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.875rem;
}

.ws-filters {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
}
.ws-filters::-webkit-scrollbar { display: none; }

.ws-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 99px;
    border: 1px solid var(--border-default);
    background: var(--bg-surface);
    color: var(--text-secondary);
    font-size: 0.8125rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: all 150ms ease;
    cursor: pointer;
}
.ws-chip:hover {
    border-color: var(--text-primary);
    color: var(--text-primary);
}
.ws-chip.active {
    background: var(--text-primary);
    color: var(--bg-surface);
    border-color: var(--text-primary);
}
.ws-chip i { font-size: 0.75rem; }

/* ============ Stats strip ============ */
.ws-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    background: var(--bg-surface);
    margin-bottom: var(--space-6, 32px);
    overflow: hidden;
}
.ws-stat {
    padding: 18px 24px;
    border-right: 1px solid var(--border-subtle);
}
.ws-stat:last-child { border-right: none; }
.ws-stat .label {
    font-family: var(--font-mono);
    font-size: 0.625rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 6px;
}
.ws-stat .num {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.025em;
    line-height: 1;
}
.ws-stat .num .dot {
    display: inline-block;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--accent-ruby);
    margin-right: 6px;
    transform: translateY(-3px);
}

/* ============ Project grid ============ */
/* MASONRY (Pinterest stili dikey ızgara) — column-count tabanlı, JS'siz çalışır.
   Kart yüksekliği serbest; kapak görselleri ve içerik uzunluğuna göre ritim oluşur. */
.ws-grid {
    column-count: 3;
    column-gap: 20px;
}
.ws-grid > .ws-card {
    display: inline-block;       /* column flow için kritik */
    width: 100%;
    margin: 0 0 20px;
    break-inside: avoid;          /* kartı 2 kolona bölme */
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
}
@media (max-width: 1100px) { .ws-grid { column-count: 2; } }
@media (max-width: 700px)  { .ws-grid { column-count: 1; } }

.ws-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--bg-surface);
    border: 1px solid var(--border-default);
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}
.ws-card:hover {
    transform: translateY(-2px);
    border-color: var(--text-primary);
    box-shadow: 0 12px 32px -16px rgba(0,0,0,0.18);
    color: inherit;
    text-decoration: none;
}

.ws-cover {
    height: 140px;
    background: var(--bg-elevated);
    position: relative;
    overflow: hidden;
}
.ws-cover img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.ws-cover.empty {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1.5rem;
    background:
        linear-gradient(135deg, var(--bg-elevated) 0%, var(--bg-surface) 100%);
    background-image:
        linear-gradient(var(--border-subtle) 1px, transparent 1px),
        linear-gradient(90deg, var(--border-subtle) 1px, transparent 1px);
    background-size: 24px 24px;
}

.ws-status {
    position: absolute;
    top: 12px; left: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 99px;
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    background: var(--bg-surface);
    border: 1px solid var(--border-default);
    color: var(--text-primary);
    backdrop-filter: blur(8px);
}
.ws-status .dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--text-muted);
}
.ws-status.idea          .dot { background: #F59E0B; }
.ws-status.team_building .dot { background: #3B82F6; }
.ws-status.mvp           .dot { background: #8B5CF6; }
.ws-status.completed     .dot { background: #10B981; }

.ws-card-body {
    padding: 18px 18px 14px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.ws-card-cat {
    font-family: var(--font-mono);
    font-size: 0.625rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 6px;
}
.ws-card-title {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
    letter-spacing: -0.01em;
    margin: 0 0 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.ws-card-desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.55;
    margin: 0 0 14px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* tech tags */
.ws-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
}
.ws-tag {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border-radius: 6px;
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    font-weight: 600;
    background: var(--bg-elevated);
    color: var(--text-secondary);
    border: 1px solid var(--border-subtle);
}

/* member avatars (company perspective öne çıkar) */
.ws-team-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    margin-top: auto;
    border-top: 1px solid var(--border-subtle);
}
.ws-avatars {
    display: flex;
    align-items: center;
}
.ws-avatar {
    width: 28px; height: 28px;
    border-radius: 50%;
    border: 2px solid var(--bg-surface);
    background: var(--bg-elevated);
    object-fit: cover;
    margin-left: -8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--text-primary);
}
.ws-avatar:first-child { margin-left: 0; }
.ws-avatar.more {
    background: var(--bg-elevated);
    color: var(--text-muted);
    font-size: 0.625rem;
}

.ws-team-meta {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

/* "Açık rol var" rozeti */
.ws-open-role {
    position: absolute;
    top: 12px; right: 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 99px;
    background: var(--accent-ruby);
    color: #fff;
    font-family: var(--font-mono);
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.ws-open-role .pulse {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 0 0 rgba(255,255,255,0.7);
    animation: ws-pulse 1.8s infinite;
}
@keyframes ws-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(255,255,255,0.6); }
    70%  { box-shadow: 0 0 0 6px rgba(255,255,255,0); }
    100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}

/* "Sponsor olunabilir" — şirket için */
.ws-sponsor-pin {
    position: absolute;
    top: 12px; right: 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 99px;
    background: var(--bg-surface);
    border: 1px solid var(--accent-ruby);
    color: var(--accent-ruby);
    font-family: var(--font-mono);
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* ============ GUEST blur lock ============ */
.ws-locked {
    position: relative;
    -webkit-user-select: none;
            user-select: none;
}
.ws-locked .lockable {
    filter: blur(5px);
    opacity: 0.55;
    pointer-events: none;
}
.ws-locked-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.0) 0%, rgba(255,255,255,0.65) 60%);
    cursor: pointer;
    z-index: 2;
}
:root[data-theme="dark"] .ws-locked-overlay,
[data-theme="dark"] .ws-locked-overlay {
    background: linear-gradient(180deg, rgba(20,21,25,0.0) 0%, rgba(20,21,25,0.7) 60%);
}
.ws-locked-overlay i {
    font-size: 1rem;
    color: var(--accent-ruby);
}
.ws-locked-overlay .text {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* fake bar shapes for blurred placeholders (NOT data) */
.ws-skel {
    height: 10px;
    border-radius: 4px;
    background: var(--bg-elevated);
    margin-bottom: 8px;
}
.ws-skel.w-90 { width: 90%; }
.ws-skel.w-70 { width: 70%; }
.ws-skel.w-50 { width: 50%; }

/* ============ Floating "Yeni proje başlat" — student only ============ */
.ws-fab {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 50;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 22px;
    background: var(--text-primary);
    color: var(--bg-surface);
    border: 1px solid var(--text-primary);
    border-radius: 14px;
    box-shadow: 0 12px 32px -10px rgba(0,0,0,0.35);
    font-weight: 700;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: transform 150ms ease, box-shadow 150ms ease;
    cursor: pointer;
}
.ws-fab:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px -12px rgba(0,0,0,0.4);
    color: var(--bg-surface);
    text-decoration: none;
}
.ws-fab i { font-size: 0.875rem; }
@media (max-width: 540px) {
    .ws-fab {
        right: 16px; bottom: 16px;
        padding: 12px 16px;
        font-size: 0.875rem;
    }
}

/* ============ Empty state ============ */
.ws-empty {
    text-align: center;
    padding: 72px 24px;
    border: 1px dashed var(--border-default);
    border-radius: 14px;
    background: var(--bg-surface);
}
.ws-empty .icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    background: var(--bg-elevated);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1.25rem;
    margin-bottom: 16px;
}
.ws-empty h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 8px;
    letter-spacing: -0.01em;
}
.ws-empty p {
    color: var(--text-secondary);
    margin: 0 auto 20px;
    max-width: 420px;
    font-size: 0.9375rem;
    line-height: 1.55;
}

/* ============ Buttons (yerel — base.html'deki btn-cati ile çakışmıyor) ============ */
.ws-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 150ms ease;
    white-space: nowrap;
}
.ws-btn-primary {
    background: var(--text-primary);
    color: var(--bg-surface);
    border-color: var(--text-primary);
}
.ws-btn-primary:hover {
    background: var(--accent-ruby);
    border-color: var(--accent-ruby);
    color: #fff;
    text-decoration: none;
}
.ws-btn-ghost {
    background: var(--bg-surface);
    color: var(--text-primary);
    border-color: var(--border-default);
}
.ws-btn-ghost:hover {
    border-color: var(--text-primary);
    color: var(--text-primary);
    text-decoration: none;
}
.ws-btn-ruby {
    background: var(--accent-ruby);
    color: #fff;
    border-color: var(--accent-ruby);
}
.ws-btn-ruby:hover {
    background: #A30D27;
    border-color: #A30D27;
    color: #fff;
    text-decoration: none;
}

/* ============ DETAIL PAGE ============ */
.wsd-shell { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

.wsd-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 16px 0;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.8125rem;
    font-weight: 600;
}
.wsd-back:hover { color: var(--text-primary); text-decoration: none; }

.wsd-hero {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border-subtle);
}

.wsd-hero-head { display: flex; gap: 16px; align-items: flex-start; }
.wsd-cover-thumb {
    width: 88px; height: 88px;
    border-radius: 14px;
    background: var(--bg-elevated);
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1.5rem;
}
.wsd-cover-thumb img {
    width: 100%; height: 100%; object-fit: cover;
}

.wsd-title {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    color: var(--text-primary);
    line-height: 1.15;
    margin: 0 0 8px;
}
.wsd-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.04em;
}
.wsd-meta i { margin-right: 4px; color: var(--accent-ruby); }

.wsd-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}

.wsd-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 32px;
    margin-top: 32px;
}
@media (max-width: 880px) {
    .wsd-grid { grid-template-columns: 1fr; }
}

.wsd-section { margin-bottom: 32px; }
.wsd-section-title {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.wsd-section-title i { color: var(--accent-ruby); }

.wsd-prose {
    font-size: 1rem;
    color: var(--text-primary);
    line-height: 1.7;
    white-space: pre-wrap;
}

/* sidebar cards */
.wsd-side-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-default);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
}
.wsd-side-card h4 {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 12px;
    letter-spacing: -0.01em;
}

/* member rows */
.wsd-member {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-subtle);
    text-decoration: none;
    color: inherit;
}
.wsd-member:last-child { border-bottom: none; }
.wsd-member:hover { color: inherit; text-decoration: none; }
.wsd-member-avatar {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--bg-elevated);
    object-fit: cover;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-primary);
    flex-shrink: 0;
}
.wsd-member-info { min-width: 0; flex: 1; }
.wsd-member-name {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 0.875rem;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.wsd-member-role {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    color: var(--text-muted);
    letter-spacing: 0.04em;
}

/* open role chips */
.wsd-role-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 8px;
    background: var(--bg-elevated);
    border: 1px dashed var(--border-default);
    color: var(--text-primary);
    font-size: 0.8125rem;
    font-weight: 600;
    margin: 0 6px 6px 0;
}
.wsd-role-chip.fillable {
    border-style: solid;
    border-color: var(--accent-ruby);
    color: var(--accent-ruby);
    cursor: pointer;
    background: transparent;
}
.wsd-role-chip.fillable:hover {
    background: var(--accent-ruby);
    color: #fff;
}

/* devlog entries */
.wsd-devlog-entry {
    border-left: 2px solid var(--border-default);
    padding: 0 0 24px 20px;
    position: relative;
    margin-left: 8px;
}
.wsd-devlog-entry::before {
    content: '';
    position: absolute;
    left: -7px; top: 4px;
    width: 12px; height: 12px;
    border-radius: 50%;
    background: var(--bg-surface);
    border: 2px solid var(--accent-ruby);
}
.wsd-devlog-entry h5 {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 4px;
}
.wsd-devlog-entry .when {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    color: var(--text-muted);
    letter-spacing: 0.04em;
    margin-bottom: 8px;
}
.wsd-devlog-entry .body {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
    white-space: pre-wrap;
}

/* ============ Modal-form helpers (for own quick post / new project) ============ */
.ws-modal-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-default);
    border-radius: 14px;
    color: var(--text-primary);
}
.ws-modal-card .modal-header,
.ws-modal-card .modal-footer {
    border-color: var(--border-subtle);
}
.ws-modal-card label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 6px;
}
.ws-modal-card input,
.ws-modal-card textarea,
.ws-modal-card select {
    width: 100%;
    padding: 10px 14px;
    background: var(--bg-base);
    border: 1px solid var(--border-default);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 0.9375rem;
    outline: none;
    transition: border-color 150ms ease, box-shadow 150ms ease;
}
.ws-modal-card input:focus,
.ws-modal-card textarea:focus,
.ws-modal-card select:focus {
    border-color: var(--text-primary);
    box-shadow: 0 0 0 3px rgba(199, 16, 47, 0.08);
}
.ws-modal-card textarea { resize: vertical; min-height: 100px; }

/* ============ Misafir promo strip ============ */
.ws-guest-promo {
    margin-top: 32px;
    padding: 28px;
    border-radius: 14px;
    background:
        linear-gradient(135deg, var(--bg-elevated) 0%, var(--bg-surface) 100%);
    border: 1px solid var(--border-default);
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}
.ws-guest-promo .pad {
    flex: 1;
    min-width: 260px;
}
.ws-guest-promo h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 6px;
    letter-spacing: -0.01em;
}
.ws-guest-promo p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.55;
}


/* =========================================================================
   ATÖLYE v3 — yeni bileşenler (spec uyumu)
   ========================================================================= */

/* ============ MARQUEE — kayan teknoloji şeridi (misafir) ============ */
.ws-marquee {
    overflow: hidden;
    background: var(--bg-surface);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    padding: 14px 0;
    position: relative;
}
.ws-marquee::before, .ws-marquee::after {
    content: '';
    position: absolute; top: 0; bottom: 0;
    width: 96px;
    z-index: 2;
    pointer-events: none;
}
.ws-marquee::before { left: 0; background: linear-gradient(90deg, var(--bg-base), transparent); }
.ws-marquee::after  { right: 0; background: linear-gradient(270deg, var(--bg-base), transparent); }
.ws-marquee-track {
    display: flex; gap: 48px;
    width: max-content;
    animation: ws-marquee-scroll 38s linear infinite;
}
@keyframes ws-marquee-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
.ws-marquee:hover .ws-marquee-track { animation-play-state: paused; }
.ws-marquee-item {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--font-mono);
    font-size: 0.875rem; font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.04em;
    white-space: nowrap; flex-shrink: 0;
}
.ws-marquee-item i { color: var(--accent-green); font-size: 1rem; opacity: 0.85; }
.ws-marquee-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--text-dim); opacity: 0.5; }

/* ============ B2B METRİK KARTLARI (şirket) ============ */
.ws-b2b-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 24px 0 8px;
}
@media (max-width: 768px) { .ws-b2b-grid { grid-template-columns: 1fr; } }
.ws-b2b-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-default);
    border-radius: 12px;
    padding: 20px;
    text-decoration: none; color: inherit;
    transition: all 200ms ease;
    display: flex; align-items: center; gap: 16px;
    position: relative; overflow: hidden;
}
.ws-b2b-card::before {
    content: '';
    position: absolute; top: 0; right: 0;
    width: 80px; height: 80px;
    background: radial-gradient(circle at 100% 0%, var(--accent-green) 0%, transparent 70%);
    opacity: 0.08; pointer-events: none;
    transition: opacity 250ms ease;
}
.ws-b2b-card:hover {
    border-color: var(--accent-green);
    transform: translateY(-3px);
    box-shadow: 0 10px 24px -8px rgba(16,185,129,0.20);
    color: inherit;
}
.ws-b2b-card:hover::before { opacity: 0.14; }
.ws-b2b-card .ico {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent-green), #047857);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.0625rem; flex-shrink: 0;
}
.ws-b2b-card .meta { flex: 1; min-width: 0; }
.ws-b2b-card .num {
    font-size: 1.75rem; font-weight: 800;
    letter-spacing: -0.025em;
    color: var(--text-primary);
    line-height: 1; margin-bottom: 4px;
    font-feature-settings: "tnum" 1;
}
.ws-b2b-card .label {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    color: var(--text-muted);
    text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600;
}

/* ============ BENİM ÇALIŞMA MASAM (öğrenci) ============ */
.ws-desk {
    background: var(--bg-surface);
    border: 1px solid var(--border-default);
    border-left: 3px solid var(--accent-green);
    border-radius: 14px;
    padding: 22px;
    margin: 20px 0 28px;
}
.ws-desk-head {
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 12px;
    margin-bottom: 18px;
}
.ws-desk-head h3 {
    font-size: 1.0625rem; font-weight: 800;
    color: var(--text-primary); margin: 0;
    letter-spacing: -0.015em;
    display: inline-flex; align-items: center; gap: 8px;
}
.ws-desk-head h3 .pip {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--accent-green);
    box-shadow: 0 0 0 4px rgba(16,185,129,0.16);
    animation: ws-desk-pulse 2s ease-out infinite;
}
@keyframes ws-desk-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(16,185,129,0.45); }
    70%  { box-shadow: 0 0 0 8px rgba(16,185,129,0); }
    100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); }
}
.ws-desk-head .stats {
    display: flex; gap: 14px;
    font-family: var(--font-mono);
    font-size: 0.75rem; color: var(--text-muted);
}
.ws-desk-head .stats b { color: var(--text-primary); font-weight: 700; margin-right: 3px; }

.ws-desk-list { display: grid; gap: 12px; }
.ws-desk-item {
    display: grid;
    grid-template-columns: 56px 1fr auto;
    gap: 14px; align-items: center;
    padding: 12px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    text-decoration: none; color: inherit;
    transition: border-color 150ms ease, transform 150ms ease;
}
.ws-desk-item:hover {
    border-color: var(--accent-green);
    color: inherit;
    transform: translateX(2px);
}
.ws-desk-item .cover {
    width: 56px; height: 56px;
    border-radius: 8px;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    overflow: hidden;
    flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    color: var(--text-dim);
}
.ws-desk-item .cover img { width: 100%; height: 100%; object-fit: cover; }
.ws-desk-item .body { min-width: 0; }
.ws-desk-item .body .t {
    font-size: 0.9375rem; font-weight: 700;
    color: var(--text-primary);
    line-height: 1.25; margin-bottom: 4px;
}
.ws-desk-item .body .meta {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    color: var(--text-muted);
    text-transform: uppercase; letter-spacing: 0.05em;
    display: flex; gap: 10px; flex-wrap: wrap;
}
.ws-desk-item .body .meta .pending {
    color: var(--accent-amber);
    font-weight: 700;
}
.ws-desk-actions { display: flex; gap: 6px; flex-shrink: 0; }
.ws-desk-actions .ws-mini-btn {
    height: 30px; padding: 0 10px;
    border-radius: 7px;
    background: var(--bg-surface);
    border: 1px solid var(--border-default);
    color: var(--text-secondary);
    font-family: var(--font-sans);
    font-weight: 600; font-size: 0.75rem;
    text-decoration: none; cursor: pointer;
    display: inline-flex; align-items: center; gap: 5px;
    transition: all 150ms ease;
}
.ws-desk-actions .ws-mini-btn:hover {
    border-color: var(--accent-green);
    color: var(--accent-green);
}
.ws-desk-actions .ws-mini-btn.is-on {
    background: var(--accent-green);
    color: #fff;
    border-color: var(--accent-green);
}

/* ============ HIZLI DEVLOG INPUT ============ */
.ws-quick-devlog {
    display: flex; gap: 8px;
    margin-top: 12px;
    padding: 10px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
}
.ws-quick-devlog input {
    flex: 1; height: 32px;
    background: transparent;
    border: 0; outline: 0;
    color: var(--text-primary);
    font-size: 0.875rem;
    padding: 0 6px;
}
.ws-quick-devlog input::placeholder { color: var(--text-muted); }
.ws-quick-devlog button {
    height: 32px; padding: 0 14px;
    background: var(--accent-green);
    border: 0; border-radius: 6px;
    color: #fff;
    font-weight: 700; font-size: 0.75rem;
    cursor: pointer;
    transition: background 120ms ease;
    display: inline-flex; align-items: center; gap: 5px;
    flex-shrink: 0;
}
.ws-quick-devlog button:hover { background: #047857; }
.ws-quick-devlog button:disabled { opacity: 0.5; cursor: default; }
.ws-quick-devlog .saved-msg {
    font-family: var(--font-mono); font-size: 0.625rem;
    color: var(--accent-green); font-weight: 700;
    align-self: center;
}

/* ============ TAKIM TOGGLE BUTON (öğrenci kart üzeri) ============ */
.ws-team-toggle {
    position: absolute;
    top: 12px; right: 12px;
    z-index: 4;
    height: 30px; padding: 0 10px;
    border-radius: 7px;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.10);
    color: #fff;
    font-family: var(--font-mono);
    font-size: 0.625rem; font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    display: inline-flex; align-items: center; gap: 5px;
}
.ws-team-toggle:hover { background: var(--accent-green); border-color: var(--accent-green); }
.ws-team-toggle.is-on { background: var(--accent-green); color: #fff; }

/* ============ ŞİRKET WATCHLIST BELL (kart üzeri) ============ */
.ws-watchlist-btn {
    position: absolute;
    top: 12px; right: 12px;
    z-index: 4;
    width: 34px; height: 34px;
    border-radius: 8px;
    background: rgba(0,0,0,0.50);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.10);
    color: #fff;
    cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 0.875rem;
    transition: all 150ms ease;
}
.ws-watchlist-btn:hover {
    background: var(--accent-green);
    border-color: var(--accent-green);
    transform: scale(1.07);
}
.ws-watchlist-btn.is-watching {
    background: var(--accent-green);
    border-color: var(--accent-green);
    color: #fff;
}

/* ============ ŞİRKET QUICK ACTIONS (kart altı) ============ */
.ws-b2b-actions {
    display: flex; gap: 6px;
    padding: 10px 14px;
    border-top: 1px solid var(--border-subtle);
    background: var(--bg-elevated);
}
.ws-b2b-actions .qa {
    flex: 1; height: 30px;
    padding: 0 10px;
    border-radius: 6px;
    background: var(--bg-surface);
    border: 1px solid var(--border-default);
    color: var(--text-secondary);
    font-family: var(--font-sans);
    font-weight: 700; font-size: 0.6875rem;
    letter-spacing: 0.04em;
    text-decoration: none;
    cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center; gap: 5px;
    transition: all 150ms ease;
}
.ws-b2b-actions .qa.sponsor:hover {
    background: var(--accent-amber);
    color: #fff; border-color: var(--accent-amber);
}
.ws-b2b-actions .qa.mentor:hover {
    background: var(--accent-green);
    color: #fff; border-color: var(--accent-green);
}

/* ============ DEMO BADGE ============ */
.ws-demo-badge {
    position: absolute;
    top: 12px; left: 12px;
    z-index: 3;
    padding: 3px 8px;
    background: rgba(245,158,11,0.15);
    color: var(--accent-amber);
    border: 1px solid rgba(245,158,11,0.30);
    font-family: var(--font-mono);
    font-size: 0.625rem; font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: 4px;
}
[data-theme="light"] .ws-demo-badge {
    background: #FEF6E7;
    color: #B45309;
    border-color: #F4D38A;
}

/* ============ TRIO FAYDA BANDI (misafir) ============ */
.ws-trio {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 28px 0 8px;
}
@media (max-width: 768px) { .ws-trio { grid-template-columns: 1fr; } }
.ws-trio-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-default);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}
.ws-trio-card .ico {
    width: 48px; height: 48px;
    margin: 0 auto 12px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent-green), #047857);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.125rem;
}
.ws-trio-card h4 {
    font-size: 0.9375rem; font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 4px;
    letter-spacing: -0.01em;
}
.ws-trio-card p {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    margin: 0; line-height: 1.5;
}

/* ============ GitHub Pulse ============ */
.ws-pulse {
    display: inline-flex; align-items: center; gap: 5px;
    font-family: var(--font-mono);
    font-size: 0.625rem; font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.ws-pulse .ind {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--accent-green);
    animation: ws-desk-pulse 2.4s ease-out infinite;
}

/* B2B "İhtiyaç" rozeti — şirket görünümünde kart üzeri vurgu */
.ws-need-pill {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 5px 10px;
    margin: 0 0 10px;
    background: linear-gradient(90deg, rgba(245,158,11,0.12), rgba(225,29,72,0.08));
    border: 1px solid rgba(245,158,11,0.30);
    border-left: 3px solid var(--accent-amber);
    border-radius: 7px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.02em;
}
[data-theme="light"] .ws-need-pill {
    background: linear-gradient(90deg, #FEF6E7, #FEF2F4);
    border-color: #F4D38A;
}
.ws-need-pill i { color: var(--accent-amber); font-size: 0.8125rem; }
.ws-need-pill strong { color: var(--text-primary); margin-left: 2px; }

/* Misafir devlog kilidi — kayıt FOMO */
.ws-devlog-lock {
    display: flex; align-items: center; gap: 6px;
    padding: 8px 10px;
    background: var(--bg-elevated);
    border: 1px dashed var(--border-default);
    border-radius: 8px;
    transition: all 150ms ease;
}
.ws-devlog-lock:hover {
    border-color: var(--accent-green);
    background: rgba(16,185,129,0.06);
    color: var(--text-primary);
    transform: translateX(2px);
}
.ws-devlog-lock i.fa-lock {
    color: var(--accent-amber);
    font-size: 0.75rem;
}
