/* ============================================================
   SEGE PUS — sayfa-ozel stiller
   Mevcut style.css token'larini kullanir (--primary-green,
   --card-bg, --glass-blur, --text-dim, vs.)
   ============================================================ */

.pus-meta-bar {
    margin-top: 22px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(230,193,74,0.18);
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 13px;
    color: var(--text-dim);
}
.pus-meta-bar .meta-item i { color: var(--primary-green); margin-right: 5px; }
.pus-meta-bar .meta-sep { color: rgba(255,255,255,0.18); }
.pus-meta-bar .meta-status { color: var(--text-dim); }
.pus-meta-bar.is-stale .meta-status { color: #ffb74d; }
.pus-meta-bar.is-fresh .meta-status { color: var(--primary-green); }
.pus-meta-bar.is-error .meta-status { color: #ef5350; }

/* Per-source detail bar — header altinda site bazli "ne zaman, kac ilan" */
.pus-meta-sources {
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    font-size: 12px;
    color: var(--text-dim);
}
.pus-meta-sources:empty { display: none; }
.pus-meta-sources .meta-source {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.30);
    border: 1px solid rgba(255,255,255,0.06);
}
.pus-meta-sources .meta-source.ms-ok {
    border-color: rgba(76,175,80,0.30);
    color: rgba(255,255,255,0.82);
}
.pus-meta-sources .meta-source.ms-ok i { color: #66bb6a; }
.pus-meta-sources .meta-source.ms-err {
    border-color: rgba(239,83,80,0.30);
    color: #ef9a9a;
}
.pus-meta-sources .meta-source.ms-err i { color: #ef5350; }
.pus-meta-sources .meta-source strong { color: rgba(255,255,255,0.95); font-weight: 600; }
.pus-meta-sources .meta-sep { color: rgba(255,255,255,0.15); }

.pus-section {
    padding: 40px 6% 60px;
    max-width: 1380px;
    margin: 0 auto;
}

/* ---------- MODE SWITCH ---------- */
.pus-mode-switch {
    display: inline-flex;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 4px;
    margin-bottom: 28px;
    gap: 2px;
    flex-wrap: wrap;
}
.pus-mode {
    background: transparent;
    color: var(--text-dim);
    border: none;
    padding: 10px 22px;
    border-radius: 9px;
    cursor: pointer;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: 0.25s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
}
.pus-mode:hover { color: white; background: rgba(255,255,255,0.04); }
.pus-mode.active {
    color: black;
    background: var(--primary-green);
    box-shadow: 0 0 24px rgba(230,193,74,0.35);
}
.pus-mode .cart-badge {
    background: #ef4444;
    color: white;
    min-width: 20px;
    height: 20px;
    border-radius: 10px;
    padding: 0 6px;
    font-size: 11px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.pus-mode.active .cart-badge { background: black; color: var(--primary-green); }

.pus-pane { display: none; animation: pus-fade 0.35s ease; }
.pus-pane.active { display: block; }
@keyframes pus-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- GB OYUN SECIMI (Knight Online / Rise Online) ---------- */
.gb-game-tabs {
    display: inline-flex;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 4px;
    margin-bottom: 22px;
    gap: 2px;
    flex-wrap: wrap;
}
.gb-game-tab {
    background: transparent;
    color: var(--text-dim);
    border: none;
    padding: 10px 22px;
    border-radius: 9px;
    cursor: pointer;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: 0.25s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.gb-game-tab:hover { color: white; background: rgba(255,255,255,0.04); }
.gb-game-tab.active {
    color: black;
    background: var(--primary-green);
    box-shadow: 0 0 24px rgba(230,193,74,0.35);
}
.gb-game-ico {
    width: 22px;
    height: 22px;
    object-fit: contain;
    image-rendering: -webkit-optimize-contrast;  /* kucuk PNG icin keskinlik */
    image-rendering: crisp-edges;
    border-radius: 4px;
}
/* Active tab'da koyu arka plan icin altin/parlak icon iyi gozukmesi */
.gb-game-tab.active .gb-game-ico {
    filter: brightness(1.05);
}

/* ---------- SHOP HESAPLAYICI (Rise Online) ---------- */
.shop-search-wrap {
    margin-bottom: 12px;
}
.shop-search-wrap .pus-input {
    width: 100%;
    font-size: 13px;
    padding: 8px 12px;
}
/* 2-kategorili icon-only picker — enucuzgb shop-calculator stili */
.shop-cat-section {
    margin-bottom: 14px;
}
.shop-cat-section:last-child { margin-bottom: 0; }
.shop-cat-head {
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: 1.3px;
    font-weight: 800;
    color: #ef4444;
    margin: 0 0 8px;
    padding: 4px 2px;
    border-bottom: 1px solid rgba(239, 68, 68, 0.18);
}
.shop-grid-icons {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(48px, 1fr));
    gap: 4px;
}
.shop-icon {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    padding: 2px;
    cursor: pointer;
    transition: 0.16s;
    overflow: hidden;
}
.shop-icon:hover {
    border-color: rgba(230,193,74,0.45);
    background: rgba(230,193,74,0.06);
    transform: translateY(-1px);
}
.shop-icon.is-selected {
    border-color: var(--primary-green);
    background: rgba(230,193,74,0.16);
    box-shadow: 0 0 14px rgba(230,193,74,0.45);
}
.shop-icon-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    image-rendering: -webkit-optimize-contrast;
}
.shop-icon-badge {
    position: absolute;
    bottom: 1px;
    right: 1px;
    background: rgba(0, 0, 0, 0.78);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    line-height: 1;
    padding: 2px 4px;
    border-radius: 3px;
    pointer-events: none;
}

/* Shop sayfasi: sol kolonu yeterince genis (5-6 col icon grid icin) */
.pv2-grid:has(.shop-grid-icons) {
    grid-template-columns: 360px 1fr;
}
@media (max-width: 900px) {
    .pv2-grid:has(.shop-grid-icons) { grid-template-columns: 1fr; }
}

/* Secili item kart */
.shop-selected {
    margin-bottom: 16px;
}
.shop-selected-empty {
    color: var(--text-dim);
    font-size: 13px;
    padding: 14px 16px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    text-align: center;
}
.shop-selected-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    background: rgba(230,193,74,0.05);
    border: 1px solid rgba(230,193,74,0.3);
    border-radius: 10px;
}
.shop-selected-ico {
    width: 56px;
    height: 56px;
    object-fit: contain;
    flex-shrink: 0;
    image-rendering: -webkit-optimize-contrast;
}
.shop-selected-info { flex-grow: 1; }
.shop-selected-name {
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 6px;
}
.shop-selected-meta {
    color: var(--text-dim);
    font-size: 12px;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
}
.shop-selected-meta .ssm-key { opacity: 0.7; margin-right: 4px; }
.shop-selected-meta .ssm-val { color: #fff; font-weight: 700; }
.shop-selected-meta .ssm-tl  { color: var(--primary-green); }
.shop-selected-meta .ssm-sep { margin: 0 8px; opacity: 0.35; }

/* Tablo icindeki vendor hucresi (logo + isim) */
.shop-vendor-cell {
    display: flex;
    align-items: center;
    gap: 8px;
}
.shop-vendor-ico {
    width: 22px;
    height: 22px;
    object-fit: contain;
    border-radius: 4px;
    background: rgba(255,255,255,0.04);
    padding: 1px;
    flex-shrink: 0;
}
.shop-vendor-name {
    color: #fff;
    font-weight: 600;
    font-size: 13px;
}

/* PUS srv-table default'lari kullaniliyor (.srv-table tr.row-best vs.) */

/* ---------- ASET Rotasyon Takvimi (Aset tab usti) ---------- */
.aset-rotation-section {
    margin-bottom: 20px;
}
.aset-rotation-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
}
.aset-rotation-head .pv2-title { margin: 0; }
.aset-rotation-note {
    color: var(--text-dim);
    font-size: 11.5px;
    font-style: italic;
}
.aset-rotation-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
@media (max-width: 880px) {
    .aset-rotation-timeline { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .aset-rotation-timeline { grid-template-columns: 1fr; }
}
.rotation-card {
    position: relative;
    padding: 14px 14px 12px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    transition: 0.2s;
}
.rotation-card.is-current {
    border-color: var(--primary-green);
    background: rgba(230,193,74,0.10);
    box-shadow: 0 0 18px rgba(230,193,74,0.18);
}
.rotation-card.is-next {
    border-color: rgba(217, 168, 95, 0.55);
    background: rgba(217, 168, 95, 0.06);
}
.rotation-card.is-upcoming {
    border-color: rgba(120, 160, 200, 0.35);
    background: rgba(80, 120, 180, 0.04);
}
.rotation-badge {
    position: absolute;
    top: -10px;
    left: 12px;
    padding: 3px 9px;
    font-size: 9.5px;
    font-weight: 800;
    border-radius: 5px;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}
.rotation-badge.is-current  { background: var(--primary-green); color: #000; }
.rotation-badge.is-next     { background: #d9a85f; color: #000; }
.rotation-badge.is-upcoming { background: rgba(120, 160, 200, 0.85); color: #000; }
.rotation-icons {
    display: flex;
    gap: 4px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}
.rotation-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    padding: 2px;
    image-rendering: -webkit-optimize-contrast;
}
.rotation-label {
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 4px;
    line-height: 1.3;
}
.rotation-items {
    color: var(--text-dim);
    font-size: 11px;
    line-height: 1.4;
    margin-bottom: 10px;
}
.rotation-date {
    color: var(--primary-green);
    font-size: 11px;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-weight: 700;
}
.rotation-date.rotation-date-past {
    color: var(--text-dim);
    font-weight: 400;
}
.rotation-date.rotation-date-soft {
    color: rgba(150, 180, 220, 0.85);
    font-weight: 600;
}

/* ---------- MODE 3: ASET (Hesaplayici tarzi 2-kolon) ---------- */
.aset-sub {
    color: var(--text-dim);
    font-size: 12px;
    margin: 0 0 14px;
    line-height: 1.5;
}

/* Sol kolon - PUS calc tarzi icon-grid (5 sütun, Minerva 2 yer) */
.aset-picker {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
    max-height: 760px;
    overflow-y: auto;
    padding-right: 4px;
}
.aset-icon {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 4px;
    cursor: pointer;
    transition: 0.16s;
    overflow: hidden;
}
.aset-icon:hover {
    border-color: rgba(230,193,74,0.45);
    background: rgba(230,193,74,0.06);
    transform: translateY(-1px);
}
.aset-icon.is-selected {
    border-color: var(--primary-green);
    background: rgba(230,193,74,0.18);
    box-shadow: 0 0 14px rgba(230,193,74,0.45);
}
.aset-icon.is-wide {
    grid-column: span 2;
    aspect-ratio: 2 / 1;
}
.aset-icon.is-wide3 {
    grid-column: span 3;
    aspect-ratio: 3 / 1;
}
/* Icon container (flex - coklu image yan yana) */
.aset-icon-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 100%;
    height: 100%;
}
.aset-icon-img {
    display: block;
    height: 100%;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    image-rendering: -webkit-optimize-contrast;
}
/* Wide kutu icinde her image esit yer alsin */
.aset-icon.is-wide .aset-icon-img,
.aset-icon.is-wide3 .aset-icon-img {
    flex: 1 1 0;
    min-width: 0;
}
.aset-icon-badge {
    position: absolute;
    bottom: 2px;
    right: 2px;
    background: rgba(0, 0, 0, 0.82);
    color: var(--primary-green);
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 9.5px;
    font-weight: 800;
    line-height: 1;
    padding: 2px 4px;
    border-radius: 3px;
    pointer-events: none;
    border: 1px solid rgba(230,193,74,0.4);
}
.aset-price {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-weight: 800;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 5px;
}
.aset-price-m {
    color: var(--primary-green);
    background: rgba(230,193,74,0.10);
    border: 1px solid rgba(230,193,74,0.35);
}
.aset-price-gb {
    color: #d9a85f;
    background: rgba(217, 168, 95, 0.10);
    border: 1px solid rgba(217, 168, 95, 0.35);
}
.aset-price-na {
    color: var(--text-dim);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Sag kolon - secili item card */
.aset-selected {
    margin-top: 14px;
}
.aset-selected-empty {
    color: var(--text-dim);
    font-size: 13px;
    padding: 14px 16px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    text-align: center;
}
.aset-selected-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    background: rgba(230,193,74,0.05);
    border: 1px solid rgba(230,193,74,0.3);
    border-radius: 10px;
}
.aset-selected-icons {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}
.aset-selected-ico {
    width: 48px;
    height: 48px;
    object-fit: contain;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 6px;
    padding: 3px;
    image-rendering: -webkit-optimize-contrast;
}
.aset-selected-info { flex-grow: 1; min-width: 0; }
.aset-selected-name {
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.3;
    margin-bottom: 6px;
}
.aset-selected-price .aset-price {
    font-size: 14px;
    padding: 4px 12px;
}

/* Sol kolonu shop sayfasi gibi 420px yap */
.pv2-grid:has(#aset-picker) {
    grid-template-columns: 380px 1fr;
}
@media (max-width: 900px) {
    .pv2-grid:has(#aset-picker) { grid-template-columns: 1fr; }
}

/* Tablo icindeki TL ve Aset Degeri multi-line */
.aset-tl-line, .aset-val-line {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 12px;
    line-height: 1.5;
}
.aset-tl-line + .aset-tl-line,
.aset-val-line + .aset-val-line {
    border-top: 1px dashed rgba(255,255,255,0.1);
    padding-top: 3px;
    margin-top: 3px;
}
.aset-tl-lbl {
    display: inline-block;
    min-width: 50px;
    color: var(--text-dim);
    font-size: 10.5px;
    margin-right: 4px;
}

/* General Sales sutunlari (kampanya disindaki yuksek fiyatlar) */
.srv-table td.tl-gen .aset-tl-line.aset-tl-gen {
    color: #fda4af;  /* pembe-kirmizi - daha pahali */
    font-weight: 700;
}
.srv-table td.shop-val-gen .aset-val-line.aset-val-gen {
    color: #fb923c;  /* turuncu - kampanya disi */
    font-weight: 700;
}
.aset-tl-na, .aset-val-na {
    color: rgba(255, 255, 255, 0.18);
}

/* Tablo daha genis olmali (7 sutun) — yatay scroll fallback */
.srv-table#aset-srv-table {
    min-width: 720px;
}

/* Shop sayfasi srv-table: Shop Degeri sutunu (sabit cash) */
.srv-table td.shop-val {
    color: #d9a85f;
    font-weight: 700;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    text-align: right;
}

/* Shop cart picker: sepete eklenen item icin qty badge ve highlight */
.shop-icon.has-qty {
    border-color: rgba(230,193,74,0.55);
    background: rgba(230,193,74,0.10);
}
.shop-icon-qty {
    position: absolute;
    top: 2px;
    left: 2px;
    background: var(--primary-green);
    color: #000;
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
    padding: 2px 5px;
    border-radius: 4px;
    pointer-events: none;
    box-shadow: 0 0 10px rgba(230,193,74,0.4);
}

/* Shop cart list: row layout (item + qty kontrol) */
#shop-cart-list { list-style: none; padding: 0; margin: 12px 0; max-height: 320px; overflow-y: auto; }
#shop-cart-list .cart-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
#shop-cart-list .cart-row:last-child { border-bottom: none; }
.cart-row-ico {
    width: 32px;
    height: 32px;
    object-fit: contain;
    flex-shrink: 0;
    image-rendering: -webkit-optimize-contrast;
}
.cart-row-info {
    flex: 1;
    min-width: 0;
}
.cart-row-name {
    color: #fff;
    font-weight: 600;
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.cart-row-meta {
    color: var(--text-dim);
    font-size: 11px;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
}
.cart-row-meta b { color: var(--primary-green); }
.cart-row-actions {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}
.cart-row-actions .qty-val {
    min-width: 22px;
    text-align: center;
    color: #fff;
    font-weight: 700;
    font-size: 13px;
}
.cart-row-actions .qty-rm {
    color: var(--text-dim);
    background: transparent;
}
.cart-row-actions .qty-rm:hover {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
}
.shop-empty {
    text-align: center;
    color: var(--text-dim);
    padding: 30px 0;
    font-size: 13px;
}

/* ---------- COMMON CONTROLS ---------- */
.pus-select, .pus-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: white;
    padding: 11px 14px;
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    transition: 0.2s;
}
.pus-select:focus, .pus-input:focus {
    border-color: var(--primary-green);
    outline: none;
    box-shadow: 0 0 0 3px rgba(230,193,74,0.15);
}
.field-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-dim);
    margin-bottom: 8px;
}

/* ---------- MODE 1: PUS_v2 BIREBIR LAYOUT ---------- */

/* Ana grid: sol 320px sabit (itemler) + sag flex (cash + tablo) */
.pv2-grid {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 16px;
    align-items: start;
}
@media (max-width: 900px) { .pv2-grid { grid-template-columns: 1fr; } }

.pv2-group {
    background: var(--card-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 14px 16px;
}
.pv2-title {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    color: var(--primary-green);
    font-weight: 800;
    margin: 0 0 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(230,193,74,0.12);
}

/* SOL: PUS Item'lari — 5 sutun image-only grid (PUS_v2 birebir) */
.pv2-items {
    position: sticky;
    top: 90px;
}
.pv2-picker {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 4px;
}
.pv2-picker .pv2-item {
    width: 54px;
    height: 54px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 4px;
    cursor: pointer;
    transition: 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}
.pv2-picker .pv2-item:hover {
    border-color: var(--primary-green);
    background: rgba(230,193,74,0.1);
    transform: translateY(-1px);
}
.pv2-picker .pv2-item.is-selected {
    border-color: #f9e2af;
    background: rgba(249, 226, 175, 0.12);
    box-shadow: 0 0 14px rgba(249, 226, 175, 0.25);
}
.pv2-picker .pv2-item img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    image-rendering: -webkit-optimize-contrast;
    pointer-events: none;
}

/* SAG sutun stack: cash group + table group */
.pv2-right { display: flex; flex-direction: column; gap: 16px; min-width: 0; }

/* Cash Miktari grubu — yatay 5 alan (source/gb/cash/tax/btn) */
.pv2-cash-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1.3fr 110px 130px;
    gap: 10px;
    align-items: end;
}
@media (max-width: 1100px) {
    .pv2-cash-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
    .pv2-cash-row { grid-template-columns: 1fr; }
}
.pv2-cash-field .field-label { margin-bottom: 5px; }
.pv2-cash {
    font-size: 18px !important;
    font-weight: 800;
    font-family: 'JetBrains Mono', ui-monospace, monospace !important;
    text-align: right;
    padding: 10px 14px !important;
}
.pv2-go {
    background: linear-gradient(135deg, var(--primary-green), #b08d2e);
    color: black;
    border: none;
    border-radius: 10px;
    padding: 11px 18px;
    font-weight: 800;
    font-size: 13px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    transition: 0.2s;
    box-shadow: 0 4px 18px rgba(230,193,74,0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.pv2-go:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(230,193,74,0.4);
}
.pv2-go:active { transform: translateY(0); }

.pv2-table-group { padding-bottom: 12px; }

/* ---------- SEPET (Mode 2) — PUS_v2 layout reuse ---------- */
.pv2-hint {
    font-size: 10px;
    color: var(--text-dim);
    margin: -4px 0 10px;
    line-height: 1.4;
    text-align: center;
    font-style: italic;
}
.pv2-picker-cart .pv2-item {
    position: relative;
}
.pv2-picker-cart .pv2-item .qty-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--primary-green);
    color: black;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 10px;
    font-weight: 800;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    padding: 0 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(230,193,74,0.45);
    z-index: 2;
}
.pv2-picker-cart .pv2-item.has-qty {
    border-color: var(--primary-green);
    background: rgba(230,193,74,0.1);
}

.pv2-cart-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(230,193,74,0.12);
}
.pv2-cart-head .pv2-title {
    margin: 0;
    padding: 0;
    border: none;
}
.pv2-cart-head .btn-tiny {
    background: transparent;
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #fca5a5;
    padding: 5px 10px;
    border-radius: 7px;
    cursor: pointer;
    font-size: 11px;
    font-weight: 700;
    transition: 0.15s;
}
.pv2-cart-head .btn-tiny:hover { background: rgba(239,68,68,0.15); color: white; }

/* Sepet totals — kompakt yatay seritte */
.pv2-totals {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 10px 0 8px;
}
@media (max-width: 520px) { .pv2-totals { grid-template-columns: 1fr; } }
.pv2-total {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    padding: 8px 12px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.pv2-total span {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.9px;
    color: var(--text-dim);
    font-weight: 700;
}
.pv2-total strong {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 16px;
    font-weight: 800;
    color: white;
}
.pv2-total:last-child strong { color: var(--primary-green); }

/* ---------- SEO icerik: intro + FAQ (statik, Googlebot indexler) ---------- */
.pus-seo-intro { padding-top: 40px; }
.pus-prose {
    max-width: 880px;
    margin: 0 auto;
    color: var(--text-dim);
    line-height: 1.85;
    font-size: 15px;
}
.pus-prose p { margin: 0 0 18px; }
.pus-prose p:last-child { margin-bottom: 0; }

.pus-seo-faq { padding-top: 20px; padding-bottom: 60px; }
.pus-faq-list { max-width: 880px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.pus-faq-item {
    background: var(--card-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    overflow: hidden;
    transition: 0.2s;
}
.pus-faq-item[open] { border-color: rgba(230,193,74,0.3); }
.pus-faq-item summary {
    cursor: pointer;
    padding: 16px 20px;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    transition: 0.15s;
}
.pus-faq-item summary::-webkit-details-marker { display: none; }
.pus-faq-item summary:hover { background: rgba(230,193,74,0.04); }
.pus-faq-item summary h3 {
    font-size: 15px;
    font-weight: 700;
    color: white;
    margin: 0;
    flex: 1;
}
.pus-faq-item summary i {
    color: var(--primary-green);
    font-size: 12px;
    transition: 0.25s;
}
.pus-faq-item[open] summary i { transform: rotate(180deg); }
.pus-faq-item p {
    margin: 0;
    padding: 0 20px 18px;
    color: var(--text-dim);
    line-height: 1.75;
    font-size: 14px;
}

.pv2-empty {
    text-align: center !important;
    color: var(--text-dim) !important;
    font-style: italic;
    padding: 30px 12px !important;
}

/* ESKI Mode 1 styles asagida — kullanilmiyor ama uyumluluk icin tutuluyor ---------- */
.cash-row { display: flex; align-items: stretch; gap: 0; }
.cash-row input {
    flex: 1;
    background: rgba(0,0,0,0.55);
    border: 1px solid rgba(255,255,255,0.08);
    border-right: none;
    color: white;
    font-size: 18px;
    font-weight: 700;
    padding: 11px 14px;
    border-radius: 10px 0 0 10px;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
}
.cash-row input:focus { outline: none; border-color: var(--primary-green); }
.cash-row .cash-unit {
    background: rgba(230,193,74,0.12);
    border: 1px solid rgba(230,193,74,0.3);
    color: var(--primary-green);
    font-weight: 800;
    padding: 11px 14px;
    border-radius: 0 10px 10px 0;
    display: flex;
    align-items: center;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

/* Config bari: 4 ayar (cash kaynak/GB kaynak/cashim/vergi). PUS_v2'deki
   cash_combo + gb_combo aynisi. */
.calc-config-bar {
    display: grid;
    grid-template-columns: 1.2fr 1.4fr 1.4fr 120px;
    gap: 14px;
    align-items: end;
    background: var(--card-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 16px 20px;
    margin-bottom: 18px;
}
@media (max-width: 1000px) {
    .calc-config-bar { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
    .calc-config-bar { grid-template-columns: 1fr; }
}

.config-field .field-label { margin-bottom: 6px; }

/* %3 vergi toggle butonu */
.tax-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    width: 100%;
    padding: 8px 10px;
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    cursor: pointer;
    transition: 0.2s;
    font-family: inherit;
    line-height: 1.1;
}
.tax-toggle:hover { border-color: rgba(255, 255, 255, 0.25); }
.tax-toggle .tax-pct {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 18px;
    font-weight: 800;
    color: var(--text-dim);
    transition: 0.15s;
}
.tax-toggle .tax-state {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 1.1px;
    font-weight: 700;
    color: var(--text-dim);
}
.tax-toggle.is-on {
    background: rgba(230,193,74,0.1);
    border-color: rgba(230,193,74,0.45);
    box-shadow: 0 0 18px rgba(230,193,74,0.15);
}
.tax-toggle.is-on .tax-pct { color: var(--primary-green); }
.tax-toggle.is-on .tax-state { color: var(--primary-green); }
.tax-toggle:active { transform: scale(0.97); }

/* Spotlight ana grid */
.calc-spotlight-grid {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 18px;
}
@media (max-width: 1024px) { .calc-spotlight-grid { grid-template-columns: 1fr; } }

/* Sol: picker kolonu */
.calc-picker-col {
    background: var(--card-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    padding: 20px;
    min-width: 0;
}
.picker-head {
    display: flex;
    gap: 10px;
    margin-bottom: 14px;
}
.picker-head .pus-input { flex: 1; }
.picker-head .pus-select { width: 160px; flex: 0 0 160px; }
@media (max-width: 600px) {
    .picker-head { flex-direction: column; }
    .picker-head .pus-select { width: 100%; flex: 1; }
}

.picker-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(78px, 1fr));
    gap: 8px;
}
.picker-grid .item-tile {
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 8px 6px 6px;
    text-align: center;
    cursor: pointer;
    transition: 0.18s;
    user-select: none;
}
.picker-grid .item-tile:hover {
    border-color: var(--primary-green);
    background: rgba(230,193,74,0.06);
    transform: translateY(-2px);
}
.picker-grid .item-tile.is-selected {
    border-color: var(--primary-green);
    background: linear-gradient(160deg, rgba(230,193,74,0.18), rgba(230,193,74,0.05));
    box-shadow: 0 0 24px rgba(230,193,74,0.25);
}
.picker-grid .item-tile img {
    width: 38px;
    height: 38px;
    object-fit: contain;
    image-rendering: -webkit-optimize-contrast;
}
.picker-grid .item-tile .name {
    margin-top: 4px;
    font-size: 10px;
    color: var(--text-dim);
    line-height: 1.15;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.picker-grid .item-tile .coin {
    margin-top: 1px;
    font-size: 9px;
    font-weight: 700;
    color: #fbbf24;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
}

.calc-hint {
    margin-top: 14px;
    color: var(--text-dim);
    font-size: 11px;
    text-align: center;
    font-style: italic;
}

/* Sag: spotlight kart */
.calc-spotlight-col { min-width: 0; }
.spotlight-card {
    background: linear-gradient(165deg, rgba(230,193,74,0.06), rgba(0,0,0,0.45));
    border: 1px solid rgba(230,193,74,0.18);
    border-radius: 18px;
    padding: 24px;
    position: sticky;
    top: 90px;
    min-height: 380px;
}

.spot-empty {
    text-align: center;
    color: var(--text-dim);
    padding: 80px 20px;
}
.spot-empty i { font-size: 42px; color: rgba(230,193,74,0.4); margin-bottom: 14px; display: block; }
.spot-empty p { font-size: 13px; }

.spot-hero {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.spot-hero img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    background: rgba(0,0,0,0.4);
    border: 2px solid rgba(230,193,74,0.3);
    border-radius: 14px;
    padding: 6px;
    image-rendering: -webkit-optimize-contrast;
    flex-shrink: 0;
}
.spot-meta { flex: 1; min-width: 0; }
.spot-name {
    font-size: 22px;
    font-weight: 800;
    color: white;
    line-height: 1.15;
    text-transform: capitalize;
}
.spot-cat {
    font-size: 10px;
    font-weight: 700;
    color: var(--primary-green);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-top: 4px;
}

.spot-qty-row {
    margin: 18px 0 14px;
}
.spot-qty-row .field-label { margin-bottom: 6px; }
.qty-control {
    display: inline-flex;
    align-items: stretch;
    background: rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    overflow: hidden;
}
.qty-btn {
    background: rgba(230,193,74,0.08);
    border: none;
    color: var(--primary-green);
    font-size: 18px;
    font-weight: 800;
    padding: 8px 16px;
    cursor: pointer;
    transition: 0.15s;
    line-height: 1;
}
.qty-btn:hover { background: var(--primary-green); color: black; }
.qty-control input {
    background: transparent;
    border: none;
    color: white;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 18px;
    font-weight: 800;
    padding: 6px 8px;
    width: 70px;
    text-align: center;
    -moz-appearance: textfield;
}
.qty-control input::-webkit-outer-spin-button,
.qty-control input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-control input:focus { outline: none; }

.spot-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 6px;
}
.spot-stats-compact { grid-template-columns: 1fr 1fr; }
.spot-stat .ss-sub {
    font-size: 10px;
    color: var(--text-dim);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-top: 2px;
}
.spot-stat-tl .ss-sub { color: rgba(230,193,74,0.7); }
.spot-stat {
    background: rgba(0,0,0,0.35);
    border: 1px solid rgba(255,255,255,0.04);
    border-radius: 10px;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.spot-stat .ss-label {
    font-size: 10px;
    text-transform: uppercase;
    color: var(--text-dim);
    letter-spacing: 1.1px;
    font-weight: 700;
}
.spot-stat .ss-value {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 19px;
    font-weight: 800;
    color: white;
    line-height: 1.1;
}
.spot-stat.spot-stat-hero {
    background: rgba(251, 191, 36, 0.08);
    border-color: rgba(251, 191, 36, 0.3);
}
.spot-stat.spot-stat-hero .ss-value { color: #fbbf24; }
.spot-stat.spot-stat-tl {
    background: rgba(230,193,74,0.1);
    border-color: rgba(230,193,74,0.25);
}
.spot-stat.spot-stat-tl .ss-value {
    color: var(--primary-green);
    font-size: 22px;
}

.spot-mycash {
    margin-top: 14px;
    padding: 14px 16px;
    background: rgba(59,130,246,0.07);
    border: 1px solid rgba(59,130,246,0.25);
    border-radius: 12px;
}
.mycash-head {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1.1px;
    font-weight: 700;
    color: #93c5fd;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.mycash-head i { font-size: 11px; }
.mycash-body { display: flex; align-items: baseline; gap: 8px; }
.mycash-val {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 26px;
    font-weight: 800;
    color: white;
}
.mycash-suffix { font-size: 11px; color: var(--text-dim); }
.mycash-remainder {
    margin-top: 4px;
    font-size: 11px;
    color: var(--text-dim);
    font-family: 'JetBrains Mono', ui-monospace, monospace;
}

.spot-best {
    margin-top: 14px;
    padding: 10px 14px;
    background: rgba(0,0,0,0.4);
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px dashed rgba(255,255,255,0.08);
}
.spot-best .best-label {
    font-size: 10px;
    text-transform: uppercase;
    color: var(--text-dim);
    letter-spacing: 1.1px;
    font-weight: 700;
}
.spot-best .best-value {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 13px;
    font-weight: 800;
    color: var(--primary-green);
}

.calc-note {
    margin-top: 14px;
    padding: 10px 14px;
    background: rgba(0, 0, 0, 0.35);
    border-left: 3px solid rgba(230,193,74,0.4);
    border-radius: 6px;
    color: var(--text-dim);
    font-size: 12px;
    line-height: 1.55;
}

/* ---------- MODE 2: SEPET ---------- */
.cart-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 24px;
}
@media (max-width: 1024px) { .cart-grid { grid-template-columns: 1fr; } }

.cart-items-col { min-width: 0; }
.cart-toolbar {
    display: flex;
    gap: 12px;
    margin-bottom: 18px;
}
.cart-toolbar .pus-input { flex: 1; }
.cart-toolbar .pus-select { width: 180px; flex: 0 0 180px; }
@media (max-width: 700px) {
    .cart-toolbar { flex-direction: column; }
    .cart-toolbar .pus-select { width: 100%; flex: 1; }
}

.items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(82px, 1fr));
    gap: 10px;
}
.item-tile {
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 10px 8px 8px;
    text-align: center;
    cursor: pointer;
    transition: 0.2s;
    position: relative;
    user-select: none;
}
.item-tile:hover {
    border-color: var(--primary-green);
    background: rgba(230,193,74,0.06);
    transform: translateY(-2px);
}
.item-tile.has-qty { border-color: var(--primary-green); background: rgba(230,193,74,0.1); box-shadow: 0 6px 16px rgba(230,193,74,0.15); }
.item-tile img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    image-rendering: -webkit-optimize-contrast;
}
.item-tile .name {
    margin-top: 6px;
    font-size: 10px;
    color: var(--text-dim);
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.item-tile .coin {
    margin-top: 2px;
    font-size: 10px;
    font-weight: 700;
    color: #fbbf24;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
}
.item-tile .qty {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--primary-green);
    color: black;
    border-radius: 12px;
    min-width: 22px;
    height: 22px;
    font-size: 11px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(230,193,74,0.4);
}

.summary-card {
    background: var(--card-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid rgba(230,193,74,0.18);
    border-radius: 18px;
    padding: 22px;
    position: sticky;
    top: 90px;
}
.summary-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}
.summary-head h3 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: white;
}
.btn-tiny {
    background: transparent;
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #fca5a5;
    padding: 5px 10px;
    border-radius: 7px;
    cursor: pointer;
    font-size: 11px;
    font-weight: 700;
    transition: 0.2s;
}
.btn-tiny:hover { background: rgba(239,68,68,0.15); color: white; }

.summary-source-row { margin-bottom: 12px; }

.cart-list {
    list-style: none;
    padding: 0;
    margin: 14px 0;
    max-height: 240px;
    overflow-y: auto;
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.cart-list::-webkit-scrollbar { width: 6px; }
.cart-list::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 4px; }
.cart-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 4px;
    border-bottom: 1px dashed rgba(255,255,255,0.04);
    font-size: 12px;
}
.cart-list li:last-child { border-bottom: none; }
.cart-list .li-img { width: 24px; height: 24px; object-fit: contain; }
.cart-list .li-name { flex: 1; color: white; font-weight: 600; }
.cart-list .li-qty {
    color: var(--primary-green);
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-weight: 800;
    min-width: 30px;
    text-align: right;
}
.cart-list .li-rm {
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.3);
    cursor: pointer;
    padding: 2px 6px;
    font-size: 14px;
    transition: 0.2s;
}
.cart-list .li-rm:hover { color: #ef4444; }
.cart-empty {
    padding: 30px 10px;
    text-align: center;
    color: var(--text-dim);
    font-size: 12px;
    font-style: italic;
}

.summary-totals {
    margin-top: 6px;
    padding-top: 4px;
}
.total-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    font-size: 13px;
}
.total-line span { color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.7px; font-size: 11px; font-weight: 600; }
.total-line strong {
    color: white;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 15px;
}
.total-line.total-best strong {
    color: var(--primary-green);
    font-size: 19px;
    font-weight: 800;
}

.storage-note {
    margin-top: 14px;
    padding: 8px 12px;
    background: rgba(59, 130, 246, 0.08);
    border-left: 3px solid rgba(59, 130, 246, 0.5);
    border-radius: 6px;
    color: var(--text-dim);
    font-size: 11px;
    line-height: 1.5;
}
.storage-note i { color: #60a5fa; margin-right: 5px; }

/* ---------- MODE 3: KARSILASTIRMA ---------- */
.compare-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.compare-toggle-group {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.compare-toggle-group .filter-label {
    color: var(--text-dim);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 700;
    margin-right: 6px;
}
.seg-btn {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-dim);
    padding: 6px 14px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    transition: 0.2s;
}
.seg-btn:hover { color: white; border-color: rgba(255,255,255,0.2); }
.seg-btn.active {
    background: var(--primary-green);
    color: black;
    border-color: var(--primary-green);
}

.compare-wrap {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    overflow: auto;
    padding: 2px;
}
.compare-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 2px;
    font-size: 13px;
}
.compare-table th,
.compare-table td {
    padding: 9px 10px;
    text-align: right;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 6px;
    white-space: nowrap;
}
.compare-table th {
    color: var(--text-dim);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    font-weight: 700;
    background: rgba(0,0,0,0.6);
}
.compare-table .site-col {
    text-align: center;
    color: white;
    font-weight: 700;
    font-family: inherit;
    background: rgba(230,193,74,0.04);
    padding: 8px 12px;
    width: 140px;
}
.compare-table .src-logo {
    display: block;
    margin: 0 auto;
    max-width: 110px;
    max-height: 36px;
    width: auto;
    height: auto;
    object-fit: contain;
}
.compare-table .src-name-fb {
    display: inline-block;
    font-size: 13px;
    letter-spacing: 0.3px;
    color: #fff;
    white-space: nowrap;
}
/* 2-katmanli header: ust sunucu adi colspan=2, alt SATIS/ALIS */
.compare-table th.cmp-srv-head {
    color: #ffffff;
    font-size: 12px;
    letter-spacing: 0.9px;
    background: rgba(230,193,74,0.10);
    border-bottom: 1px solid rgba(230,193,74,0.25);
    text-align: center;
    white-space: nowrap;
    writing-mode: horizontal-tb;
    text-orientation: mixed;
}
.compare-table .sub-head-row th {
    font-size: 10px;
    color: var(--text-dim);
    padding: 5px 8px;
    background: rgba(0,0,0,0.5);
    letter-spacing: 0.8px;
}
.compare-table th.sub-satis { color: #fca5a5; }
.compare-table th.sub-alis  { color: #f0d165; }

/* Normal rakamlar BEYAZ — sadece highlight (best) renkli olsun */
.compare-table td.cmp-satis,
.compare-table td.cmp-alis {
    color: #ffffff;
}
.compare-table td.empty { color: rgba(255,255,255,0.18); }

/* Best (en iyi fiyat) vurgu — onlinehile stili:
   - SATIS (vendor sells, player buys): en DUSUK = KIRMIZI
   - ALIS  (vendor buys,  player sells): en YUKSEK = YESIL */
.compare-table td.cmp-satis.best {
    color: #ef4444 !important;
    font-weight: 800;
    background: rgba(239, 68, 68, 0.14);
    box-shadow: inset 0 0 0 1px rgba(239, 68, 68, 0.6);
    text-shadow: 0 0 6px rgba(239, 68, 68, 0.55);
}
.compare-table td.cmp-alis.best {
    color: #e6c14a !important;
    font-weight: 800;
    background: rgba(230,193,74,0.14);
    box-shadow: inset 0 0 0 1px rgba(230,193,74,0.6);
    text-shadow: 0 0 6px rgba(230,193,74,0.55);
}

.compare-legend {
    margin-top: 14px;
    font-size: 12px;
    color: var(--text-dim);
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    justify-content: center;
}
.compare-legend .leg {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.compare-legend .leg::before {
    content: '';
    width: 10px; height: 10px;
    border-radius: 2px;
    display: inline-block;
}
/* sell-leg = ALIS (yesil), buy-leg = SATIS (kirmizi) — template'de bu sekilde mapleniyor */
.compare-legend .sell-leg::before { background: #e6c14a; }
.compare-legend .buy-leg::before  { background: #ef4444; }
.compare-legend .best-leg::before { background: transparent; border: 2px solid #fbbf24; }

/* ---------- MODE 1: PUS_v2 stili sunucu tablosu ---------- */
.calc-srv-wrap {
    margin-top: 22px;
    background: var(--card-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid rgba(230,193,74,0.15);
    border-radius: 16px;
    padding: 18px 18px 14px;
}
.srv-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}
.srv-head h3 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    color: var(--primary-green);
    font-weight: 800;
}
.srv-sub {
    font-size: 11px;
    color: var(--text-dim);
    font-family: 'JetBrains Mono', ui-monospace, monospace;
}
.srv-scroll { overflow-x: auto; border-radius: 8px; background: rgba(0,0,0,0.25); }
.srv-scroll::-webkit-scrollbar { height: 8px; }
.srv-scroll::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 4px; }
.srv-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 2px;
    font-size: 13px;
    min-width: 720px;
}
.srv-table th,
.srv-table td {
    padding: 10px 14px;
    text-align: right;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 6px;
    white-space: nowrap;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-variant-numeric: tabular-nums;
}
.srv-table th {
    color: var(--text-dim);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 700;
    background: rgba(0,0,0,0.6);
    font-family: inherit;
}
.srv-table th.server-col,
.srv-table td.server-col {
    text-align: left;
    color: #f9e2af;
    font-weight: 800;
    font-family: inherit;
    background: rgba(249, 226, 175, 0.06);
}
/* Tum rakamlar BEYAZ — highlight haric */
.srv-table td.sell,
.srv-table td.buy,
.srv-table td.coin,
.srv-table td.tl,
.srv-table td.pus-tl {
    color: #ffffff;
}
.srv-table td.empty { color: rgba(255,255,255,0.15); }
/* Best satir (en yuksek sell = en avantajli) — sell hucresi yesil */
.srv-table tr.row-best td.sell {
    color: #e6c14a !important;
    font-weight: 800;
}
.srv-table tr.row-best td.buy {
    color: #ef4444 !important;
    font-weight: 800;
}
.srv-table tr.row-best td {
    background: rgba(230,193,74,0.08);
    box-shadow: inset 0 1px 0 rgba(230,193,74,0.2);
}
.srv-legend {
    margin-top: 10px;
    font-size: 11px;
    color: var(--text-dim);
    line-height: 1.5;
}
