/* NETTIM - nettim-orj-webs: Headersız, Sıfır-Stil Sonuçlar & Sağ Detay Çekmecesi */

:root {
    --webs-drawer-w: min(540px, 94vw);
}

@media (min-width: 769px) and (max-width: 1279px) {
    :root {
        --webs-drawer-w: clamp(320px, 42vw, 500px);
    }
}

.webs-results-stage {
    width: 100%;
    min-height: 100vh;
    background: #ffffff;
    overflow-x: clip;
    container-type: inline-size;
    container-name: webs-stage;
    padding: var(--webs-stage-pad-top, 22px) 36px 64px var(--webs-stage-pad-left, 20px);
    transition: padding-right 0.36s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (min-width: 769px) {
    .webs-results-stage.has-drawer {
        padding-right: calc(var(--webs-drawer-w, 540px) + 28px);
    }
}

.orj-shell[data-search-type="kod"] .webs-results-stage {
    padding-top: var(--webs-code-stage-pad-top, var(--webs-stage-pad-top, 22px));
}

.webs-instant-card-slot {
    width: 100%;
    max-width: 720px;
    margin: 6px 0 14px 0;
}

.webs-instant-card-slot .ic-wrap {
    margin-bottom: 0;
}

.webs-tag-count {
    font-size: 0.74rem;
    opacity: 0.7;
    font-weight: 500;
    margin-left: -2px;
}

.webs-tags-bar {
    width: 100%;
    max-width: 720px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 16px;
    padding: 0 0 11px 0;
    margin-bottom: 6px;
    border-bottom: 1px solid #e2e8f0;
}

.webs-tags-bar.is-icon-only {
    gap: 6px 12px;
}

.webs-tags-bar.is-gorsel-size-bar {
    max-width: var(--webs-img-grid-max, 1120px);
    gap: 6px 8px;
}

.webs-tags-bar.is-gorsel-size-bar .webs-tag-item {
    min-width: 30px;
    min-height: 28px;
    padding: 4px 7px;
    justify-content: center;
}

.webs-tag-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: none;
    background: transparent;
    padding: 3px 0;
    font-family: inherit;
    font-size: 0.84rem;
    font-weight: 500;
    color: #475569;
    cursor: pointer;
    white-space: nowrap;
    transition: color 0.14s ease, background-color 0.14s ease;
}

.webs-tag-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    opacity: 0.85;
}

.webs-tag-ico svg {
    width: 14px;
    height: 14px;
    display: block;
}

.webs-tags-bar.is-icon-only .webs-tag-item {
    padding: 4px 6px;
    border-radius: 6px;
}

.webs-tags-bar.is-icon-only .webs-tag-ico svg {
    width: 16px;
    height: 16px;
}

.webs-tags-bar.is-icon-only.is-gorsel-size-bar .webs-tag-ico svg {
    width: auto;
    height: auto;
}

.webs-tag-item:hover {
    color: #0f172a;
}

.webs-tag-item:hover .webs-tag-ico,
.webs-tag-item.is-active .webs-tag-ico {
    opacity: 1;
}

.webs-tag-item.is-active {
    color: #0284c7;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 5px;
}

.webs-tags-bar.is-icon-only .webs-tag-item.is-active {
    background: #f0f9ff;
    text-decoration: none;
}

.webs-list {
    width: 100%;
    max-width: 720px;
    display: flex;
    flex-direction: column;
}

.webs-list.is-gorsel-grid {
    width: 100%;
    max-width: var(--webs-img-grid-max, 1120px);
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(var(--webs-eff-min-w, var(--webs-img-min-w, 175px)), 100%), 1fr));
    gap: var(--webs-eff-gap, var(--webs-img-gap, 16px));
    align-items: start;
}

.webs-list.is-masonry-grid {
    width: 100%;
    max-width: var(--webs-img-grid-max, 1120px);
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: var(--webs-eff-gap, var(--webs-img-gap, 16px));
}

.webs-masonry-col {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: var(--webs-eff-gap, var(--webs-img-gap, 16px));
}

@media (min-width: 769px) {
    @container webs-stage (max-width: 1080px) {
        .webs-results-stage.has-drawer .webs-list.is-gorsel-grid,
        .webs-results-stage.has-drawer .webs-list.is-masonry-grid {
            --webs-eff-min-w: min(var(--webs-img-min-w, 175px), max(118px, 19.2cqi));
            --webs-eff-gap: min(var(--webs-img-gap, 16px), max(8px, 1.45cqi));
        }
        .webs-results-stage.has-drawer .webs-tags-bar.is-gorsel-size-bar {
            gap: 6px 8px;
        }
        .webs-results-stage.has-drawer .webs-img-cap {
            padding-top: 4px;
        }
        .webs-results-stage.has-drawer .webs-img-alt {
            font-size: 0.75rem;
        }
        .webs-results-stage.has-drawer .webs-img-dom {
            font-size: 0.68rem;
        }
    }
}

[data-img-fit="masonry"] .webs-img-thumb {
    aspect-ratio: auto;
    min-height: 76px;
}

[data-img-fit="masonry"] .webs-img-thumb img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

@keyframes websCardEnter {
    0% {
        opacity: 0;
        transform: translateX(clamp(160px, 26vw, 380px));
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.webs-card {
    background: transparent;
    border: none;
    border-bottom: var(--webs-card-divider, 1px solid #f1f5f9);
    border-radius: 0;
    box-shadow: none;
    padding: var(--webs-card-pad-y, 14px) 0;
    cursor: pointer;
    opacity: 0;
    animation: websCardEnter 0.52s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: calc(min(var(--webs-idx, 0), 18) * var(--webs-stagger-ms, 55ms));
    transition: border-color 0.15s ease;
}

.webs-list.is-relayout .webs-card,
.webs-results-stage.has-drawer .webs-card,
.webs-results-stage.is-bot-render .webs-card,
.webs-list.is-bot-showcase .webs-card {
    opacity: 1;
    animation: none;
    transform: none;
}

.webs-list.is-bot-showcase {
    max-width: min(1120px, 100%);
    gap: 28px;
}

.webs-bot-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
    padding: 0 0 12px 0;
    border-bottom: 1px solid #e2e8f0;
    max-width: 720px;
}

.webs-bot-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #0284c7;
    text-decoration: none;
    padding: 4px 10px;
    border-radius: 999px;
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    transition: background-color 0.14s ease, border-color 0.14s ease;
}

.webs-bot-nav-link:hover {
    background: #e0f2fe;
    border-color: #38bdf8;
}

.webs-bot-section {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.webs-bot-sec-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px 16px;
    max-width: 720px;
    padding-bottom: 6px;
    border-bottom: 1px solid #e2e8f0;
}

.webs-bot-section:has(.is-gorsel-grid) .webs-bot-sec-head {
    max-width: var(--webs-img-grid-max, 1120px);
}

.webs-bot-sec-title {
    margin: 0;
    font-size: 1.02rem;
    font-weight: 700;
    color: #0f172a;
}

.webs-bot-sec-count {
    font-size: 0.78rem;
    font-weight: 500;
    color: #64748b;
}

.webs-bot-more-link {
    font-size: 0.82rem;
    font-weight: 600;
    color: #0284c7;
    text-decoration: none;
    white-space: nowrap;
}

.webs-bot-more-link:hover {
    text-decoration: underline;
}

.webs-img-alt a {
    color: inherit;
    text-decoration: none;
}

.webs-img-alt a:hover {
    text-decoration: underline;
}

.webs-card-site {
    border-bottom: var(--webs-site-divider, 1px solid #f1f5f9);
}

.webs-card:last-child {
    border-bottom: none;
}

.webs-card.is-selected {
    border-left: 2px solid #0284c7;
    padding-left: 12px;
}

.webs-url-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 3px;
    min-width: 0;
}

.webs-fav {
    width: 14px;
    height: 14px;
    border-radius: 2px;
    object-fit: contain;
    flex-shrink: 0;
}

.webs-card-web .webs-url-row {
    gap: 8px;
    margin-bottom: 4px;
}

.webs-card-web .webs-fav {
    width: 16px;
    height: 16px;
    border-radius: 3px;
}

.webs-source-stack {
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 1px;
}

.webs-site-name {
    font-size: 0.82rem;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.webs-url-txt {
    font-size: 0.78rem;
    color: #15803d;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.webs-title {
    margin: 0 0 4px 0;
    font-size: 1.04rem;
    font-weight: 600;
    line-height: 1.32;
}

.webs-title-link {
    color: #1d4ed8;
    text-decoration: none;
}

.webs-title-link:hover {
    text-decoration: underline;
}

.webs-desc {
    margin: 0;
    font-size: 0.87rem;
    color: #475569;
    line-height: 1.5;
}

.webs-card-web .webs-site-name {
    font-size: var(--webs-site-name-fs, 13px);
    color: var(--webs-site-name-color, #0f172a);
}

.webs-card-web .webs-url-txt {
    font-size: var(--webs-url-fs, 12px);
    color: var(--webs-url-color, #15803d);
}

.webs-card-web .webs-title {
    font-size: var(--webs-title-fs, 17px);
}

.webs-card-web .webs-title-link {
    color: var(--webs-title-color, #1d4ed8);
}

.webs-card-web .webs-desc {
    font-size: var(--webs-desc-fs, 14px);
    color: var(--webs-desc-color, #475569);
}

.orj-shell[data-desc-clamp]:not([data-desc-clamp="0"]) .webs-card-web .webs-desc {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: var(--webs-desc-lines, 3);
    overflow: hidden;
}

.webs-desc mark,
.webs-title-link mark {
    background: #fef08a;
    color: #0f172a;
    padding: 0 2px;
}

.webs-meta-line {
    font-size: 0.75rem;
    color: #64748b;
    margin-top: 4px;
}

.webs-card-kod .webs-meta-line {
    margin-top: 0;
    margin-bottom: 4px;
}

.webs-code-mini {
    margin: 8px 0 0;
    padding: 8px 10px;
    background: #f8fafc;
    border-left: 2px solid #cbd5e1;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.76rem;
    color: #334155;
    line-height: 1.45;
    overflow: hidden;
    white-space: pre;
    text-overflow: ellipsis;
}

/* Görsel kartları — düz, çerçevesiz */
.webs-card-gorsel {
    min-width: 0;
    width: 100%;
    border-bottom: none;
    padding: 0;
    margin: 0;
}

.webs-card-gorsel.is-selected {
    border-left: none;
    padding-left: 0;
    outline: 2px solid #0284c7;
    outline-offset: 3px;
}

.webs-img-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: var(--webs-img-ratio, 4 / 3);
    border-radius: var(--webs-img-radius, 0px);
    background: var(--webs-img-bg, #f8fafc);
    border: var(--webs-img-border, none);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.webs-img-thumb img {
    width: 100%;
    height: 100%;
    object-fit: var(--webs-img-fit, cover);
    display: block;
    transition: transform 0.26s ease;
}

[data-img-ratio="auto"] .webs-img-thumb {
    aspect-ratio: auto;
    max-height: 320px;
}

[data-img-ratio="auto"] .webs-img-thumb img {
    height: auto;
    max-height: 320px;
}

[data-img-hover="zoom"] .webs-card-gorsel:hover .webs-img-thumb img {
    transform: scale(1.06);
}

[data-img-hover="lift"] .webs-card-gorsel:hover .webs-img-thumb {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
}

[data-img-hover="border"] .webs-card-gorsel:hover .webs-img-thumb {
    box-shadow: 0 0 0 2px #0284c7;
}

.webs-img-badges {
    position: absolute;
    left: 6px;
    right: 6px;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 3px;
    pointer-events: none;
}

.webs-img-badges-grp {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 3px;
}

.webs-img-badges.is-pos-sag-alt {
    bottom: 6px;
    justify-content: flex-end;
}

.webs-img-badges.is-pos-sol-alt {
    bottom: 6px;
    justify-content: flex-start;
}

.webs-img-badges.is-pos-sag-ust {
    top: 6px;
    justify-content: flex-end;
}

.webs-img-badges.is-pos-sol-ust {
    top: 6px;
    justify-content: flex-start;
}

.webs-img-badges.is-pos-ayri {
    bottom: 6px;
    justify-content: space-between;
}

.webs-img-badges.is-pos-ayri .webs-img-badge.is-fmt {
    margin-left: auto;
}

.webs-img-badge {
    z-index: 2;
    padding: 1px 5px;
    border-radius: 4px;
    background: rgba(15, 23, 42, 0.74);
    color: #ffffff;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.15px;
    pointer-events: none;
    line-height: 1.35;
}

.webs-img-badge.is-real-res {
    background: rgba(2, 132, 199, 0.88);
}

.webs-img-badge.is-fmt {
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.webs-img-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    padding: 18px 8px 7px;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0) 0%, rgba(15, 23, 42, 0.78) 100%);
    color: #ffffff;
    opacity: 0;
    transition: opacity 0.18s ease;
    pointer-events: none;
}

.webs-card-gorsel:hover .webs-img-overlay,
.webs-card-gorsel:focus-within .webs-img-overlay {
    opacity: 1;
}

.webs-img-ov-title {
    font-size: 0.76rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.webs-img-ov-dom {
    font-size: 0.68rem;
    opacity: 0.85;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.webs-img-fallback {
    font-size: 0.72rem;
    color: #94a3b8;
    padding: 8px;
    text-align: center;
}

.webs-img-cap {
    padding-top: 6px;
}

.webs-img-alt {
    font-size: 0.8rem;
    font-weight: 500;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.webs-img-dom {
    font-size: 0.72rem;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.webs-empty {
    max-width: 720px;
    padding: 24px 0;
}

.webs-empty-txt {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.55;
    color: #475569;
}

.webs-empty-switch {
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
}

.webs-empty-switch-lbl {
    font-size: 0.85rem;
    font-weight: 600;
    color: #334155;
}

.webs-empty-switch-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.webs-empty-type-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    min-height: 36px;
    border-radius: 999px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #334155;
    font-family: inherit;
    font-size: 0.83rem;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.16s ease, background 0.16s ease, color 0.16s ease, transform 0.14s ease;
}

.webs-empty-type-btn svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.webs-empty-type-btn:hover {
    border-color: #0284c7;
    background: #f0f9ff;
    color: #0369a1;
    transform: translateY(-1px);
}

.webs-empty-type-btn.is-active {
    border-color: #0284c7;
    background: #e0f2fe;
    color: #0369a1;
}

.webs-pagination {
    max-width: 720px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 22px;
    flex-wrap: wrap;
}

.webs-page-link {
    font-size: 0.86rem;
    color: #475569;
    text-decoration: none;
    padding: 4px 8px;
}

.webs-page-link:hover {
    color: #0284c7;
}

.webs-page-link.is-active {
    font-weight: 700;
    color: #0284c7;
    border-bottom: 2px solid #0284c7;
}

/* SAĞ YAN ÇEKMECE (SIDEBAR GİBİ EKRAN) */
.webs-right-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: var(--webs-drawer-w, min(540px, 94vw));
    z-index: 80;
    background: #ffffff;
    border-left: 1px solid #e2e8f0;
    box-shadow: -10px 0 34px rgba(15, 23, 42, 0.08);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.36s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0.36s;
}

.webs-right-drawer.is-open {
    transform: translateX(0);
    visibility: visible;
    transition: transform 0.36s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0s;
}

.webs-drawer-close {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 10;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1.5px solid #e2e8f0;
    background: #ffffff;
    color: #475569;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease;
}

.webs-drawer-close:hover {
    border-color: #0284c7;
    color: #0284c7;
    background: #f0f9ff;
}

.webs-drawer-scroll {
    width: 100%;
    height: 100%;
    overflow-y: auto;
    padding: 28px 28px 40px;
}

.webs-drawer-body {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.wd-loading {
    font-size: 0.88rem;
    color: #64748b;
    padding: 20px 0;
}

.wd-head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding-right: 44px;
}

.wd-fav {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    object-fit: contain;
    margin-top: 2px;
    flex-shrink: 0;
}

.wd-head-meta {
    min-width: 0;
}

.wd-domain {
    font-size: 0.78rem;
    font-weight: 600;
    color: #64748b;
    word-break: break-word;
}

.wd-title {
    margin: 2px 0 0;
    font-size: 1.06rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
}

.wd-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.wd-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 14px;
    border-radius: 999px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #334155;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease;
}

.wd-btn:hover {
    border-color: #0284c7;
    color: #0284c7;
    background: #f0f9ff;
}

.wd-btn.is-primary {
    background: #0284c7;
    border-color: #0284c7;
    color: #ffffff;
}

.wd-btn.is-primary:hover {
    background: #0369a1;
    border-color: #0369a1;
    color: #ffffff;
}

.wd-sec {
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wd-sec:first-child {
    padding-top: 0;
    border-top: none;
}

.wd-sec-title {
    margin: 0;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
}

.wd-p {
    margin: 0;
    font-size: 0.86rem;
    color: #334155;
    line-height: 1.6;
    white-space: pre-line;
}

.wd-muted {
    margin: 0;
    font-size: 0.83rem;
    color: #94a3b8;
}

.wd-subnote {
    padding: 10px 12px;
    background: #f8fafc;
    border-left: 2px solid #cbd5e1;
}

.wd-subnote-lbl {
    font-size: 0.72rem;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 3px;
}

.wd-rows {
    display: flex;
    flex-direction: column;
}

.wd-row {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 8px;
    padding: 7px 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.82rem;
}

.wd-row:last-child {
    border-bottom: none;
}

.wd-k {
    color: #64748b;
    font-weight: 600;
}

.wd-v {
    color: #0f172a;
    word-break: break-word;
}

.wd-v.is-mono {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.76rem;
    white-space: pre-line;
}

.wd-raw-whois {
    margin-top: 8px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background: #f8fafc;
}

.wd-raw-whois summary {
    cursor: pointer;
    padding: 8px 10px;
    font-size: 0.76rem;
    font-weight: 600;
    color: #475569;
    user-select: none;
}

.wd-whois-pre {
    margin: 0;
    padding: 10px;
    border-top: 1px solid #e2e8f0;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.72rem;
    line-height: 1.45;
    color: #1e293b;
    background: #fff;
    max-height: 240px;
    overflow: auto;
    white-space: pre-wrap;
    word-break: break-word;
}

.wd-about-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.wd-about-item {
    padding-bottom: 10px;
    border-bottom: 1px solid #f1f5f9;
}

.wd-about-item:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.wd-about-link {
    font-size: 0.88rem;
    font-weight: 600;
    color: #0369a1;
    text-decoration: none;
}

.wd-about-link:hover {
    text-decoration: underline;
}

.wd-about-url {
    font-size: 0.74rem;
    color: #15803d;
    margin: 2px 0 4px;
    word-break: break-all;
}

/* Görsel Sağ Çekmece */
.wd-img-stage {
    width: 100%;
    max-height: 290px;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.wd-img-stage img {
    max-width: 100%;
    max-height: 290px;
    object-fit: contain;
    display: block;
}

.wd-img-caption {
    font-size: 0.9rem;
    font-weight: 600;
    color: #0f172a;
}

.wd-hex-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.wd-hex-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 999px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #334155;
    font-size: 0.76rem;
    font-weight: 600;
    font-family: ui-monospace, SFMono-Regular, monospace;
    cursor: pointer;
    transition: border-color 0.14s ease, background-color 0.14s ease, color 0.14s ease;
}

.wd-hex-pill:hover {
    border-color: #0284c7;
    color: #0284c7;
}

.wd-hex-pill.is-active {
    border-color: #0284c7;
    background: #f0f9ff;
    color: #0284c7;
}

.wd-hex-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid rgba(15, 23, 42, 0.15);
    flex-shrink: 0;
}

.wd-rel-grid {
    display: grid;
    grid-template-columns: repeat(var(--webs-rel-cols, 4), minmax(0, 1fr));
    gap: 8px;
}

.wd-rel-item {
    padding: 0;
    border: none;
    background: #f8fafc;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    cursor: pointer;
    transition: opacity 0.15s ease, outline-color 0.15s ease;
}

.wd-rel-item:hover {
    opacity: 0.88;
    outline: 2px solid #0284c7;
    outline-offset: -2px;
}

.wd-rel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Kod Ön İzleme Penceresi */
.wd-code-hdr {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.wd-code-actions {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.wd-copy-btn {
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #334155;
    font-size: 0.74rem;
    font-weight: 600;
    cursor: pointer;
}

.wd-copy-btn:hover {
    border-color: #0284c7;
    color: #0284c7;
}

.wd-code-win {
    border: 1px solid var(--webs-code-bdr, #e2e8f0);
    border-radius: 8px;
    overflow: hidden;
    background: var(--webs-code-bg, #0f172a);
    color: var(--webs-code-fg, #e2e8f0);
}

.wd-code-bar {
    padding: 7px 12px;
    background: var(--webs-code-bar, #1e293b);
    color: #94a3b8;
    font-size: 0.74rem;
    font-family: ui-monospace, SFMono-Regular, monospace;
    border-bottom: 1px solid var(--webs-code-bdr, #334155);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wd-code-pre {
    margin: 0;
    padding: 12px 14px;
    max-height: 440px;
    overflow: auto;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: var(--webs-code-fs, 0.78rem);
    line-height: 1.5;
    tab-size: 4;
}

.webs-prof-row {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 5px;
    min-width: 0;
}

.webs-prof-av,
.webs-prof-av-fallback,
.wd-prof-av {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid #e2e8f0;
}

.wd-prof-av {
    width: 48px;
    height: 48px;
}

.webs-prof-av-fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e0f2fe;
    color: #0284c7;
    font-weight: 800;
    font-size: 0.95rem;
}

.webs-prof-main {
    min-width: 0;
    flex: 1;
}

.webs-prof-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.webs-prof-gthumb {
    width: 56px;
    height: 56px;
    border-radius: 6px;
    object-fit: cover;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
}

@keyframes websCardEnterMob {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .webs-results-stage {
        container-type: normal;
        position: relative;
        z-index: 1;
        padding: 10px 12px calc(68px + env(safe-area-inset-bottom)) 12px;
        min-height: calc(100dvh - 96px);
    }
    .webs-results-stage.has-drawer {
        z-index: 120;
    }
    .webs-card {
        animation-name: websCardEnterMob;
        animation-duration: 0.24s;
        --webs-stagger-ms: 18ms;
    }
    .webs-tags-bar {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 8px;
        padding: 4px 0 10px;
        margin-bottom: 8px;
    }
    .webs-tags-bar::-webkit-scrollbar {
        display: none;
    }
    .webs-tag-item {
        flex: 0 0 auto;
        padding: 6px 12px;
        border-radius: 999px;
        background: #f8fafc;
        border: 1px solid #e2e8f0;
        min-height: 34px;
    }
    .webs-tag-item.is-active {
        background: #e0f2fe;
        border-color: #38bdf8;
        color: #0369a1;
        text-decoration: none;
    }
    .webs-right-drawer {
        width: 100vw;
        max-width: 100vw;
        height: 100dvh;
        max-height: 100dvh;
        border-left: none;
        transform: translateY(100%);
        z-index: 120;
    }
    .webs-right-drawer.is-open {
        transform: translateY(0);
    }
    .webs-drawer-close {
        top: calc(12px + env(safe-area-inset-top));
        right: 12px;
        width: 42px;
        height: 42px;
        box-shadow: 0 2px 10px rgba(15, 23, 42, 0.08);
    }
    .webs-drawer-scroll {
        padding: calc(18px + env(safe-area-inset-top)) 16px calc(36px + env(safe-area-inset-bottom));
    }
    .wd-btn {
        min-height: 40px;
        padding: 8px 14px;
    }
    .wd-copy-btn {
        min-height: 34px;
        padding: 5px 11px;
    }
    .wd-rel-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }
    .wd-row {
        grid-template-columns: 108px minmax(0, 1fr);
    }
    .webs-pagination {
        gap: 6px;
        justify-content: center;
    }
    .webs-page-link {
        min-width: 36px;
        min-height: 36px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: 1px solid #e2e8f0;
        border-radius: 8px;
        background: #ffffff;
    }
    .webs-page-link.is-active {
        border-color: #0284c7;
        background: #f0f9ff;
        border-bottom-width: 1px;
    }
}

@media (max-width: 640px) {
    .webs-list.is-gorsel-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }
    .webs-list.is-masonry-grid {
        gap: 10px !important;
    }
    .webs-masonry-col {
        gap: 10px !important;
    }
    .webs-code-mini {
        font-size: 0.72rem;
        padding: 7px 9px;
    }
}
