/* ==========================================================================
   sahanhazır – tasarım sistemi
   ========================================================================== */
:root {
    --tp-bg: #f3f5f2;
    --tp-ink: #0e1512;
    --tp-muted: #66756d;
    --tp-border: #e2e8e3;
    --tp-card: #ffffff;
    --tp-dark: #0b130e;
    --tp-dark-2: #132018;
    --tp-dark-3: #1c2d22;
    --tp-green: #1e9e57;
    --tp-green-dark: #147a41;
    --tp-turf: #2f8f4e;
    --tp-turf-dark: #23753e;
    --tp-lime: #c6f432;
    --tp-lime-dark: #a9d61b;
    --tp-amber: #ffb020;
    --tp-danger: #e5484d;
    --tp-radius: 18px;
    --tp-radius-sm: 12px;
    --tp-shadow: 0 1px 2px rgba(14, 21, 18, .04), 0 8px 24px rgba(14, 21, 18, .06);
    --tp-shadow-lg: 0 20px 50px rgba(14, 21, 18, .14);
    --tp-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --tp-display: "Barlow Condensed", "Inter", sans-serif;
}

html { font-size: 15px; scroll-behavior: smooth; }
@media (min-width: 768px) { html { font-size: 16px; } }

body {
    font-family: var(--tp-font);
    background: var(--tp-bg);
    color: var(--tp-ink);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
main { flex: 1 0 auto; }
a { color: var(--tp-green-dark); }
a:hover { color: var(--tp-green); }

.font-display { font-family: var(--tp-display); letter-spacing: .01em; }
.text-muted-tp { color: var(--tp-muted) !important; }
.text-lime { color: var(--tp-lime) !important; }

.btn:focus, .btn:active:focus, .form-control:focus, .form-select:focus, .form-check-input:focus {
    box-shadow: 0 0 0 .2rem rgba(30, 158, 87, .25);
    border-color: var(--tp-green);
}

/* ---------- Butonlar ---------- */
.btn { border-radius: 999px; font-weight: 600; padding: .6rem 1.25rem; }
.btn-sm { padding: .35rem .9rem; }
.btn-lg { padding: .8rem 1.75rem; }
.btn-lime { background: var(--tp-lime); color: var(--tp-dark); border: 0; }
.btn-lime:hover, .btn-lime:focus { background: var(--tp-lime-dark); color: var(--tp-dark); }
.btn-outline-lime { border: 2px solid var(--tp-lime); color: var(--tp-lime); background: transparent; }
.btn-outline-lime:hover { background: var(--tp-lime); color: var(--tp-dark); }
.btn-tp { background: var(--tp-green); color: #fff; border: 0; }
.btn-tp:hover, .btn-tp:focus { background: var(--tp-green-dark); color: #fff; }
.btn-tp:disabled { background: #b9c7be; color: #fff; }
.btn-ghost { background: transparent; border: 1px solid var(--tp-border); color: var(--tp-ink); }
.btn-ghost:hover { background: #fff; border-color: #cfd8d2; }
.btn-amber { background: var(--tp-amber); color: var(--tp-dark); border: 0; }
.btn-amber:hover { background: #f09d00; color: var(--tp-dark); }

/* ---------- Header ---------- */
.tp-header {
    background: var(--tp-dark);
    border-bottom: 3px solid var(--tp-green);
    position: sticky; top: 0; z-index: 1030;
}
.tp-header .navbar { padding: .7rem 0; }
.tp-header .btn { white-space: nowrap; }
.tp-brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; }
.tp-brand-mark {
    width: 42px; height: 42px; border-radius: 12px; flex: 0 0 42px;
    background: var(--tp-lime); display: grid; place-items: center;
    box-shadow: 0 0 0 3px rgba(198, 244, 50, .14);
}
.tp-brand-mark svg { width: 34px; height: 34px; }
.tp-brand-text { line-height: 1; }
.tp-brand-text strong { display: block; font-family: var(--tp-display); font-size: 1.7rem; font-weight: 800; color: #fff; letter-spacing: .01em; }
.tp-brand-text .tp-brand-b { color: var(--tp-lime); }
.tp-brand-text small { white-space: nowrap; }
.tp-brand-text small.is-domain { text-transform: none; letter-spacing: .04em; font-size: .8rem; }
.tp-brand-text small { color: #9fb3a7; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; }
.tp-nav-link {
    color: #d7e2db !important; font-weight: 600; display: flex; align-items: center; gap: .45rem;
    padding: .5rem .85rem !important; border-radius: 999px;
}
.tp-nav-link i { color: var(--tp-lime); font-size: 1.05rem; }
.tp-nav-link:hover, .tp-nav-link.active { background: var(--tp-dark-3); color: #fff !important; }
.tp-header .navbar-toggler { border-color: #33473b; }
.tp-header .navbar-toggler-icon { filter: invert(1); }
.tp-header .dropdown-menu { border-radius: var(--tp-radius-sm); border: 1px solid var(--tp-border); box-shadow: var(--tp-shadow-lg); padding: .5rem; min-width: 240px; }
/* Mobilde açılır menü (kullanıcı / giriş) ekranın soluna taşmasın: altına, sola hizalı ve ekrana sığacak kadar. */
@media (max-width: 1199.98px) { .tp-header .navbar-collapse .dropdown-menu { max-width: calc(100vw - 2rem); max-height: 70vh; overflow-y: auto; } }
.tp-header .dropdown-item { border-radius: 10px; padding: .55rem .75rem; display: flex; gap: .65rem; align-items: center; }
.tp-header .dropdown-item i { color: var(--tp-green); }
.tp-header .dropdown-item small { display: block; color: var(--tp-muted); font-size: .75rem; }
.tp-avatar {
    width: 34px; height: 34px; border-radius: 50%; display: inline-grid; place-items: center;
    background: var(--tp-lime); color: var(--tp-dark); font-weight: 800; font-size: .85rem;
}

/* ---------- Footer ---------- */
.tp-footer { background: var(--tp-dark); color: #9fb3a7; padding: 3rem 0 1.5rem; margin-top: 4rem; }
.tp-footer h6 { color: #fff; font-weight: 700; margin-bottom: 1rem; }
.tp-footer a { color: #c4d3ca; text-decoration: none; display: block; padding: .2rem 0; }
.tp-footer a:hover { color: var(--tp-lime); }
.tp-footer .copyright { border-top: 1px solid var(--tp-dark-3); margin-top: 2rem; padding-top: 1.25rem; font-size: .85rem; }

/* ---------- Ortak kartlar / başlıklar ---------- */
.tp-card { background: var(--tp-card); border: 1px solid var(--tp-border); border-radius: var(--tp-radius); box-shadow: var(--tp-shadow); }
.section { padding: 2.5rem 0 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.section-kicker { color: var(--tp-green); font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; }
.section-title { font-family: var(--tp-display); font-weight: 800; font-size: 2rem; text-transform: uppercase; margin: 0; line-height: 1.05; }
.page-hero {
    background: radial-gradient(1200px 300px at 80% -50%, rgba(198, 244, 50, .18), transparent), var(--tp-dark-2);
    color: #fff; padding: 2.25rem 0 4.5rem;
}
.page-hero h1 { font-family: var(--tp-display); font-weight: 800; text-transform: uppercase; font-size: 2.4rem; margin: 0; }
.page-hero p { color: #b8c9be; margin: .35rem 0 0; }
/* Hero'nun üstüne taşan içerik: hero position:relative olduğundan z-index olmadan altında kalır. */
.page-body { margin-top: -3rem; position: relative; z-index: 2; }
.breadcrumb-tp { font-size: .85rem; color: #9fb3a7; margin-bottom: .5rem; }
.breadcrumb-tp a { color: #c4d3ca; text-decoration: none; }

/* ---------- Hero slider (anasayfa) ---------- */
.hero { background: var(--tp-dark); }
.hero .carousel-item { height: 440px; }
@media (max-width: 767px) { .hero .carousel-item { height: 400px; } }
.hero-slide {
    --accent: var(--tp-lime);
    position: relative; height: 100%; overflow: hidden; color: #fff;
    /* color-mix desteklemeyen eski tarayıcılar (iOS 16.1 ve öncesi) için düz arka plan */
    background: linear-gradient(120deg, #0b130e 0%, #13241a 55%, #0e1b13 100%);
    background:
        radial-gradient(800px 400px at 85% 30%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%),
        linear-gradient(120deg, #0b130e 0%, #13241a 55%, #0e1b13 100%);
}
.hero-slide.has-image { background-size: cover; background-position: center; }
.hero-slide.has-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 19, 14, .9), rgba(11, 19, 14, .2)); }
/* Dekoratif 3D saha (Views/Shared/_HeroCourt.cshtml): zemin SVG, kale / pota / file / langırt çubukları zeminden dik yükselen paneller. */
.c3-clip { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-pitch { position: absolute; right: max(9%, 120px); top: 50%; width: 400px; height: 580px; transform: translateY(-50%) scale(.92); pointer-events: none; }
.c3-plane {
    position: absolute; inset: 0; border-radius: 14px; transform-style: preserve-3d;
    transform: perspective(1300px) rotateX(58deg) rotateZ(-32deg);
    box-shadow: 0 60px 90px rgba(0, 0, 0, .55);
}
.c3-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.c3-floor { position: absolute; inset: 0; width: 100%; height: 100%; display: block; border-radius: 14px; }
.c3-lines { filter: drop-shadow(0 0 1.5px rgba(255, 255, 255, .45)); }
.c3-up, .c3-flat { position: absolute; }
.c3-up { transform-origin: 50% 100%; }
.c3-flat { transform-origin: 50% 50%; }
.c3-up svg { display: block; width: 100%; height: 100%; overflow: visible; }
.c3-rim { border: 3px solid #f15a24; border-radius: 50%; box-shadow: 0 0 0 1px rgba(0, 0, 0, .25); }
/* Zemin kalınlığı: izleyiciye yakın alt ve sol kenar aşağı sarkar. */
.c3-skirt { position: absolute; }
.c3-skirt-bottom { left: 6px; top: 100%; width: calc(100% - 12px); height: 14px; transform-origin: 50% 0; transform: rotateX(-90deg); }
.c3-skirt-left { left: -14px; top: 6px; width: 14px; height: calc(100% - 12px); transform-origin: 100% 50%; transform: rotateY(-90deg); }
/* Tablet ve telefonda saha yazının arkasında kalır: küçülür, soluklaşır, sağa kayar. */
@media (max-width: 991px) { .hero-pitch { opacity: .22; right: -170px; transform: translateY(-50%) scale(.72); } }
.hero-content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; max-width: 620px; padding-bottom: 3rem; }
.hero-tag { display: inline-flex; align-items: center; gap: .5rem; color: var(--accent); font-weight: 700; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 1rem; }
.hero-tag::before { content: ""; width: 28px; height: 3px; background: var(--accent); border-radius: 2px; }
.hero-title { font-family: var(--tp-display); font-weight: 800; text-transform: uppercase; font-size: clamp(2.4rem, 5.5vw, 4.2rem); line-height: .95; margin: 0 0 1rem; }
.hero-title em { font-style: normal; color: var(--accent); }
.hero-sub { color: #c4d3ca; font-size: 1.1rem; max-width: 500px; margin-bottom: 1.75rem; }
.hero .btn-accent { background: var(--accent); color: var(--tp-dark); border: 0; }
.hero .btn-accent:hover { filter: brightness(.92); }
.hero .carousel-indicators { margin-bottom: 4.5rem; justify-content: flex-start; margin-left: max(12px, calc((100vw - 1296px) / 2 + 12px)); }
.hero .carousel-indicators [data-bs-target] { width: 28px; height: 4px; border-radius: 2px; border: 0; background: #fff; opacity: .35; }
.hero .carousel-indicators .active { opacity: 1; background: var(--tp-lime); }
.ad-badge { position: absolute; right: 1rem; top: 1rem; z-index: 3; font-size: .65rem; letter-spacing: .1em; text-transform: uppercase; color: #9fb3a7; background: rgba(0, 0, 0, .35); padding: .15rem .5rem; border-radius: 6px; }

/* ---------- Maçını Bul (arama kartı) ---------- */
.search-card { position: relative; z-index: 5; margin-top: -3.5rem; padding: 1.25rem; }
.search-card .search-title { display: flex; align-items: center; gap: .5rem; font-weight: 800; font-family: var(--tp-display); font-size: 1.35rem; text-transform: uppercase; margin-bottom: .75rem; }
.search-card .search-title .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--tp-lime); box-shadow: 0 0 0 4px rgba(198, 244, 50, .3); }
.form-label { font-weight: 600; font-size: .82rem; color: var(--tp-muted); margin-bottom: .3rem; }
.form-control, .form-select { border-radius: var(--tp-radius-sm); border-color: var(--tp-border); padding: .65rem .9rem; }
.form-control-lg, .form-select-lg { padding: .8rem 1rem; font-size: 1rem; }
.input-icon { position: relative; }
.input-icon > i { position: absolute; left: .95rem; top: 50%; transform: translateY(-50%); color: var(--tp-muted); pointer-events: none; }
.input-icon > .form-control, .input-icon > .form-select { padding-left: 2.6rem; }

/* ---------- Anasayfa ızgarası (yan reklamlar) ---------- */
.home-grid { display: flex; gap: 1.5rem; align-items: flex-start; }
.home-grid > .container { flex: 1 1 0; min-width: 0; }
.home-side { display: none; }
@media (min-width: 1500px) {
    .home-side { display: block; flex: 0 0 160px; align-self: stretch; }
    .home-side .sticky-ad { position: sticky; top: 100px; }
}

/* ---------- Reklam alanları ---------- */
/* Aktif reklam yoksa bileşen boş döner; sarmalayıcısı da boşluk bırakmasın. (:has desteklemeyen eski tarayıcılarda site.js gizler.) */
.ad-wrap:not(:has(.ad-slot)) { display: none !important; }
.ad-slot { position: relative; display: block; border-radius: var(--tp-radius-sm); overflow: hidden; text-decoration: none; }
.ad-slot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ad-slot .ad-label { position: absolute; top: .4rem; right: .4rem; font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; background: rgba(0, 0, 0, .5); color: #fff; padding: .1rem .4rem; border-radius: 4px; }
.ad-skyscraper { height: 600px; }
.ad-banner { height: 120px; }
.ad-square { height: 250px; }
.ad-text {
    --accent: var(--tp-lime);
    display: flex; flex-direction: column; justify-content: center; padding: 1.25rem 1.5rem; color: #fff; height: 100%;
    background: var(--tp-dark-2);
    background: radial-gradient(400px 200px at 90% 10%, color-mix(in srgb, var(--accent) 35%, transparent), transparent), var(--tp-dark-2);
}
.ad-text h5 { font-family: var(--tp-display); font-weight: 800; text-transform: uppercase; margin: 0; }
.ad-text p { margin: .25rem 0 0; color: #c4d3ca; font-size: .9rem; }

/* ---------- Tesis kartları ---------- */
.facility-card { display: flex; flex-direction: column; height: 100%; overflow: hidden; transition: transform .2s, box-shadow .2s; text-decoration: none; color: inherit; }
.facility-card:hover { transform: translateY(-4px); box-shadow: var(--tp-shadow-lg); color: inherit; }
.turf-cover {
    --h: 140;
    position: relative; height: 170px; overflow: hidden;
    background: repeating-linear-gradient(90deg, hsl(var(--h) 48% 36%) 0 40px, hsl(var(--h) 48% 32%) 40px 80px);
}
.turf-cover::before { content: ""; position: absolute; inset: 14px; border: 2px solid rgba(255, 255, 255, .55); border-radius: 3px; }
.turf-cover::after { content: ""; position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; transform: translate(-50%, -50%); border: 2px solid rgba(255, 255, 255, .55); border-radius: 50%; }
.turf-cover .mid { position: absolute; left: 50%; top: 14px; bottom: 14px; border-left: 2px solid rgba(255, 255, 255, .55); }
.turf-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.turf-cover .chip-row { position: absolute; left: .75rem; right: .75rem; top: .75rem; display: flex; justify-content: space-between; z-index: 2; }
.chip { display: inline-flex; align-items: center; gap: .3rem; padding: .25rem .6rem; border-radius: 999px; font-size: .75rem; font-weight: 700; background: rgba(11, 19, 14, .75); color: #fff; backdrop-filter: blur(4px); }
.chip-lime { background: var(--tp-lime); color: var(--tp-dark); }
.chip-light { background: #eef3ef; color: var(--tp-ink); }
.facility-body { padding: 1rem 1.1rem 1.1rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.facility-body h3 { font-size: 1.1rem; font-weight: 700; margin: 0; }
.facility-loc { color: var(--tp-muted); font-size: .88rem; display: flex; gap: .35rem; align-items: center; }
.feature-icons { display: flex; flex-wrap: wrap; gap: .35rem; }
.feature-icons span { width: 30px; height: 30px; border-radius: 9px; background: #eef3ef; display: grid; place-items: center; color: var(--tp-green-dark); font-size: .9rem; }
.facility-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding-top: .75rem; border-top: 1px dashed var(--tp-border); }
.price { font-weight: 800; font-size: 1.15rem; }
.price small { font-weight: 500; color: var(--tp-muted); font-size: .78rem; }

/* ---------- Nasıl çalışır ---------- */
.step-card { padding: 1.5rem; height: 100%; position: relative; }
.step-num { font-family: var(--tp-display); font-weight: 800; font-size: 3rem; line-height: 1; color: #e5ece7; position: absolute; right: 1.25rem; top: 1rem; }
.step-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--tp-dark-2); color: var(--tp-lime); font-size: 1.4rem; margin-bottom: 1rem; }
.step-card h4 { font-weight: 700; font-size: 1.1rem; }
.step-card p { color: var(--tp-muted); margin: 0; font-size: .93rem; }

/* ---------- Koyu promo bandı ---------- */
.promo-dark { background: var(--tp-dark-2); color: #fff; border-radius: var(--tp-radius); overflow: hidden; position: relative; }
.promo-dark .promo-text { padding: 2.25rem; }
.promo-dark h2 { font-family: var(--tp-display); text-transform: uppercase; font-weight: 800; font-size: 2.3rem; line-height: 1; }
.promo-dark p { color: #b8c9be; }
.promo-dark ul { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.promo-dark li { display: flex; gap: .6rem; align-items: center; padding: .3rem 0; color: #dbe6df; }
.promo-dark li i { color: var(--tp-lime); }

/* ---------- Turnuva kartları ---------- */
.tournament-card { padding: 1.25rem; display: flex; gap: 1rem; align-items: flex-start; height: 100%; transition: transform .2s, box-shadow .2s; }
.tournament-card:hover { transform: translateY(-3px); box-shadow: var(--tp-shadow-lg); color: inherit; }
.tournament-date { flex: 0 0 64px; text-align: center; background: var(--tp-dark-2); color: #fff; border-radius: 14px; padding: .55rem 0; }
.tournament-date b { display: block; font-family: var(--tp-display); font-size: 1.8rem; line-height: 1; color: var(--tp-lime); }
.tournament-date span { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }
.tournament-card h4 { font-size: 1.05rem; font-weight: 700; margin: 0 0 .25rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ikort-go { margin-left: auto; align-self: center; color: var(--tp-muted); font-size: 1.1rem; transition: transform .2s, color .2s; }
.tournament-card:hover .ikort-go { transform: translateX(3px); color: var(--tp-ink); }
/* page-body hero'ya 3rem taşar; ilk başlık koyu zeminde durur, açık renk olmalı. */
.page-body > .hero-head { color: #fff; margin-bottom: 1rem; }
.ikort-summary { display: flex; flex-wrap: wrap; gap: .35rem 1rem; align-items: center; color: var(--tp-muted); font-size: .85rem; margin: 0 .25rem .75rem; }
.ikort-summary b { color: var(--tp-ink); }
.ikort-summary i { margin-right: .3rem; }
.ikort-card { align-items: center; }
.ikort-card .tournament-date { align-self: flex-start; }
.ikort-where { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 575.98px) { .ikort-where { -webkit-line-clamp: 2; } }
.ikort-card.is-past .tournament-date { background: #e9eeea; color: var(--tp-muted); }
.ikort-card.is-past .tournament-date b { color: var(--tp-muted); }
.ikort-tab { border: 1px solid transparent; }
.ikort-tab-Current { background: var(--tp-lime); color: var(--tp-dark); }
.ikort-tab-Past { background: #fff; color: var(--tp-muted); border-color: var(--tp-border); }
.ikort-tab-Development { background: #dcfce7; color: #166534; }
.ikort-tab-Under18 { background: #ffedd5; color: #9a3412; }
.ikort-tab-League { background: #dbeafe; color: #1e40af; }
.empty-state.empty-state-sm { padding: 1.5rem; }
.empty-state.empty-state-sm i { font-size: 1.6rem; margin-bottom: .4rem; }
.tp-pagination { gap: .3rem; }
.tp-pagination .page-link { border-radius: 10px !important; border: 1px solid var(--tp-border); color: var(--tp-ink); min-width: 2.4rem; text-align: center; font-weight: 600; }
.tp-pagination .page-link:hover { background: #fff; border-color: #cfd8d2; }
.tp-pagination .active .page-link { background: var(--tp-dark-2); border-color: var(--tp-dark-2); color: var(--tp-lime); }
.tp-pagination .disabled .page-link { background: transparent; color: #b5c3ba; }

/* ---------- iKort turnuva detayı ---------- */
.ikort-hero { background: radial-gradient(900px 320px at 85% -20%, color-mix(in srgb, var(--tp-lime) 22%, transparent), transparent), var(--tp-dark-2); }
.ikort-hero .inner { padding-bottom: 5.5rem; }
.ikort-hero-row { display: flex; gap: 1.15rem; align-items: flex-start; }
.ikort-hero h1 { overflow-wrap: anywhere; }
/* Koyu hero üzerinde koyu rozet kayboluyordu: yarı saydam açık zemin. */
.ikort-hero .tournament-date { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); }
.ikort-court { position: absolute; right: -40px; top: 50%; width: 520px; max-width: 60%; transform: translateY(-50%) rotate(-8deg); opacity: .14; pointer-events: none; z-index: 1; }
.ikort-court rect, .ikort-court line { fill: none; stroke: #fff; stroke-width: 4; }
.ikort-court .net { stroke: var(--tp-lime); stroke-width: 6; stroke-dasharray: 10 8; }
@media (max-width: 767.98px) { .ikort-court { display: none; } }
.tournament-date-lg { flex: 0 0 88px; padding: .75rem 0 .65rem; border-radius: 18px; }
.tournament-date-lg b { font-size: 2.5rem; }
.ikort-hero .chip:not(.chip-lime) { background: rgba(255, 255, 255, .12); color: #fff; border: 1px solid rgba(255, 255, 255, .22); }
.ikort-hero .meta { margin-top: .35rem; }
.ikort-hero-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.15rem; }
.ikort-hero-actions .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .25); }
.ikort-hero-actions .btn-ghost:hover { background: rgba(255, 255, 255, .08); color: #fff; }

.ikort-rail { display: grid; grid-template-columns: repeat(auto-fit, minmax(132px, 1fr)); gap: .7rem; margin-bottom: 1rem; }
.ikort-rail-item { background: #fff; border: 1px solid var(--tp-border); border-radius: 16px; padding: .8rem .95rem; box-shadow: var(--tp-shadow); }
.ikort-rail-item span { display: block; color: var(--tp-muted); font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.ikort-rail-item b { display: block; font-family: var(--tp-display); font-size: 1.55rem; font-weight: 800; line-height: 1; margin-top: .25rem; text-transform: uppercase; }
.ikort-rail-item small { color: var(--tp-muted); }

.ikort-panel { padding: 1.2rem 1.25rem 1.3rem; height: 100%; }
.ikort-panel h2 { font-family: var(--tp-display); text-transform: uppercase; font-weight: 800; font-size: 1.35rem; margin: 0 0 1rem; }
.ikort-stats { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem; }
.ikort-stat { display: flex; gap: .7rem; align-items: flex-start; background: #f4f7f5; border-radius: 14px; padding: .75rem .8rem; min-width: 0; }
.ikort-stat i { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: var(--tp-dark-2); color: var(--tp-lime); flex: 0 0 auto; }
.ikort-stat small { display: block; color: var(--tp-muted); font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.ikort-stat b { display: block; font-weight: 700; line-height: 1.25; overflow-wrap: anywhere; }
.ikort-note { margin-top: 1rem; padding: .9rem 1rem; border-radius: 14px; font-size: .9rem; line-height: 1.55; overflow-wrap: anywhere; background: color-mix(in srgb, var(--tp-lime) 12%, #fff); border: 1px solid color-mix(in srgb, var(--tp-lime) 45%, #fff); }
.ikort-note b { display: block; margin-bottom: .2rem; }

.ikort-people { display: flex; flex-direction: column; gap: .75rem; }
.ikort-person { display: flex; gap: .75rem; align-items: flex-start; padding-bottom: .75rem; border-bottom: 1px dashed var(--tp-border); }
.ikort-person:last-child { padding-bottom: 0; border-bottom: 0; }
.ikort-person i { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: #eef3ef; color: var(--tp-green-dark); flex: 0 0 auto; }
.ikort-person small { display: block; color: var(--tp-muted); font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.ikort-person b { font-weight: 700; line-height: 1.3; }
.ikort-person-entry + .ikort-person-entry { margin-top: .4rem; }
.ikort-badge { display: inline-block; margin-top: .2rem; padding: .1rem .5rem; border-radius: 999px; font-size: .72rem; font-weight: 600; background: #eef3ef; color: var(--tp-muted); }

.ikort-club { padding: 1.25rem 1.3rem; }
.ikort-club-head { display: flex; gap: 1rem; align-items: center; }
.ikort-club-head h2 { font-size: 1.35rem; font-weight: 800; margin: .1rem 0 0; }
.ikort-lines { display: grid; gap: .65rem; margin-top: 1.1rem; }
.ikort-line { display: flex; gap: .7rem; align-items: flex-start; }
.ikort-line i { color: var(--tp-green); width: 1.1rem; margin-top: .15rem; }
.ikort-line a { font-weight: 700; text-decoration: none; }
@media (max-width: 575px) {
    .ikort-stats { grid-template-columns: 1fr; }
    .tournament-date-lg { flex-basis: 72px; }
    .tournament-date-lg b { font-size: 2rem; }
    .ikort-hero h1 { font-size: 1.9rem; }
    .ikort-hero-row { gap: .85rem; }
}

/* ---------- Saha listesi filtre ---------- */
.filter-card { padding: 1.25rem; }
.empty-state { padding: 3rem 1.5rem; text-align: center; color: var(--tp-muted); }
.empty-state i { font-size: 2.5rem; color: #b5c3ba; display: block; margin-bottom: .75rem; }

/* ---------- Tesis detayı + rezervasyon ---------- */
.facility-hero { position: relative; color: #fff; background: var(--tp-dark-2); overflow: hidden; }
.facility-hero .turf-cover { position: absolute; inset: 0; height: auto; opacity: .35; }
.facility-hero .inner { position: relative; z-index: 2; padding-top: 2.25rem; padding-bottom: 5rem; } /* yatay padding container'dan gelir; telefonda içerik kenara yapışmasın */
.facility-hero h1 { font-family: var(--tp-display); text-transform: uppercase; font-weight: 800; font-size: 2.6rem; margin: .25rem 0 .5rem; }
.facility-hero .meta { display: flex; flex-wrap: wrap; gap: 1rem; color: #c4d3ca; font-size: .92rem; }
.facility-hero .meta i { color: var(--tp-lime); margin-right: .3rem; }

.date-strip { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .5rem; scrollbar-width: thin; }
.date-chip {
    flex: 0 0 auto; width: 68px; text-align: center; border: 1px solid var(--tp-border); border-radius: 14px; padding: .5rem 0;
    background: #fff; color: var(--tp-ink); text-decoration: none; transition: all .15s;
}
.date-chip small { display: block; font-size: .7rem; color: var(--tp-muted); text-transform: uppercase; font-weight: 600; }
.date-chip b { display: block; font-size: 1.3rem; font-family: var(--tp-display); line-height: 1.1; }
.date-chip span { display: block; font-size: .7rem; color: var(--tp-muted); }
.date-chip:hover { border-color: var(--tp-green); color: var(--tp-ink); }
.date-chip.active { background: var(--tp-dark-2); border-color: var(--tp-dark-2); color: #fff; }
.date-chip.active small, .date-chip.active span { color: var(--tp-lime); }

.pitch-tabs { display: flex; gap: .5rem; flex-wrap: wrap; }
.pitch-tab {
    border: 1px solid var(--tp-border); background: #fff; border-radius: 14px; padding: .6rem 1rem; text-align: left; cursor: pointer; transition: all .15s;
}
.pitch-tab b { display: block; font-size: .95rem; }
.pitch-tab small { color: var(--tp-muted); font-size: .78rem; }
.pitch-tab.active { border-color: var(--tp-green); box-shadow: 0 0 0 3px rgba(30, 158, 87, .15); }

.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: .55rem; }
.slot-btn {
    border: 1px solid var(--tp-border); background: #fff; border-radius: 12px; padding: .65rem .5rem; text-align: center;
    font-weight: 700; font-size: .92rem; cursor: pointer; transition: all .12s; position: relative;
}
.slot-btn small { display: block; font-weight: 500; font-size: .72rem; color: var(--tp-muted); }
.slot-btn:hover:not(:disabled) { border-color: var(--tp-green); background: #f2faf5; }
.slot-btn.booked { background: repeating-linear-gradient(45deg, #fbecec 0 8px, #f7e2e2 8px 16px); border-color: #f0caca; color: #b45b5e; cursor: not-allowed; }
.slot-btn.booked small { color: #c27a7c; }
.slot-btn.past { background: #f3f5f3; color: #b0bbb4; cursor: not-allowed; }
.slot-btn.past small { color: #c0c9c3; }
.slot-btn.selected { background: var(--tp-green); border-color: var(--tp-green); color: #fff; }
.slot-btn.selected small { color: #d8f5e3; }
.slot-btn.in-range { background: #dff3e7; border-color: var(--tp-green); }
.slot-legend { display: flex; gap: 1rem; flex-wrap: wrap; font-size: .8rem; color: var(--tp-muted); }
.slot-legend span::before { content: ""; display: inline-block; width: 12px; height: 12px; border-radius: 4px; margin-right: .35rem; vertical-align: -1px; border: 1px solid var(--tp-border); background: #fff; }
.slot-legend .l-booked::before { background: #f7e2e2; border-color: #f0caca; }
.slot-legend .l-past::before { background: #eef1ef; }
.slot-legend .l-selected::before { background: var(--tp-green); border-color: var(--tp-green); }

.seg { display: inline-flex; background: #eef3ef; border-radius: 999px; padding: 4px; gap: 4px; }
.seg input { display: none; }
.seg label { padding: .45rem 1rem; border-radius: 999px; font-weight: 600; font-size: .88rem; cursor: pointer; color: var(--tp-muted); margin: 0; }
.seg input:checked + label { background: #fff; color: var(--tp-ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .1); }

.booking-summary { position: sticky; top: 100px; padding: 1.4rem; }
/* Telefonda saat seçilince altta çıkan devam çubuğu (özet kartı sayfanın altında kalıyor). */
.mobile-book-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030; display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom, 0px)); background: var(--tp-dark-2); color: #fff; box-shadow: 0 -8px 24px rgba(0, 0, 0, .25); }
.mobile-book-bar[hidden] { display: none; }
.mobile-book-bar small { display: block; color: #c4d3ca; font-size: .8rem; }
@media (max-width: 991.98px) { body.has-book-bar { padding-bottom: 72px; } }
.summary-row { display: flex; justify-content: space-between; padding: .45rem 0; font-size: .93rem; }
.summary-row span { color: var(--tp-muted); }
.summary-total { border-top: 1px dashed var(--tp-border); margin-top: .5rem; padding-top: .9rem; display: flex; justify-content: space-between; align-items: baseline; }
.summary-total b { font-size: 1.6rem; font-family: var(--tp-display); }

/* ---------- Auth sayfaları ---------- */
.auth-wrap { min-height: calc(100vh - 80px); display: grid; grid-template-columns: 1fr; }
@media (min-width: 992px) { .auth-wrap { grid-template-columns: 1.05fr 1fr; } }
.auth-visual {
    --accent: var(--tp-lime);
    display: none; position: relative; overflow: hidden; color: #fff; padding: 3rem;
    background: var(--tp-dark-2);
    background: radial-gradient(700px 400px at 20% 110%, color-mix(in srgb, var(--accent) 25%, transparent), transparent), var(--tp-dark-2);
}
@media (min-width: 992px) { .auth-visual { display: flex; flex-direction: column; justify-content: flex-end; } }
.auth-visual .hero-pitch { right: -120px; top: 38%; }
.auth-visual h2 { position: relative; z-index: 2; font-family: var(--tp-display); font-weight: 800; text-transform: uppercase; font-size: 3rem; line-height: .95; }
.auth-visual h2 em { font-style: normal; color: var(--accent); }
.auth-visual p { position: relative; z-index: 2; color: #c4d3ca; max-width: 440px; }
.auth-visual ul { position: relative; z-index: 2; list-style: none; padding: 0; margin: 1rem 0 0; }
.auth-visual li { padding: .3rem 0; color: #dbe6df; }
.auth-visual li i { color: var(--accent); margin-right: .5rem; }
.auth-visual.owner { --accent: var(--tp-amber); }
.auth-form { display: flex; align-items: center; justify-content: center; padding: 2.5rem 1rem; }
.auth-card { width: 100%; max-width: 440px; }
.auth-card h1 { font-family: var(--tp-display); font-weight: 800; text-transform: uppercase; font-size: 2.2rem; margin: 0; }
.auth-switch { display: flex; background: #e8eee9; border-radius: 999px; padding: 4px; margin-bottom: 1.5rem; }
.auth-switch a { flex: 1; text-align: center; padding: .55rem; border-radius: 999px; font-weight: 600; font-size: .88rem; color: var(--tp-muted); text-decoration: none; }
.auth-switch a.active { background: #fff; color: var(--tp-ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .1); }
.role-pick { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .6rem; }
.role-pick input { display: none; }
.role-pick label { border: 1px solid var(--tp-border); border-radius: 14px; padding: .8rem; cursor: pointer; background: #fff; display: block; height: 100%; }
.role-pick label b { display: block; font-size: .92rem; }
.role-pick label small { color: var(--tp-muted); font-size: .76rem; }
.role-pick label i { font-size: 1.3rem; color: var(--tp-green); }
.role-pick input:checked + label { border-color: var(--tp-green); box-shadow: 0 0 0 3px rgba(30, 158, 87, .15); background: #f6fcf8; }
.validation-summary-errors ul { margin: 0; padding-left: 1.1rem; }
/* Hata yokken "All" özeti boş bir kırmızı kutu olarak görünmesin. */
.validation-summary-valid { display: none; }
.field-validation-error { font-size: .8rem; }

/* ---------- Kadro kurma ---------- */
.builder-panel { padding: 1.25rem; }
.builder-step { display: flex; align-items: center; gap: .6rem; font-weight: 700; margin-bottom: .75rem; }
.builder-step .n { width: 26px; height: 26px; border-radius: 50%; background: var(--tp-dark-2); color: var(--tp-lime); display: grid; place-items: center; font-size: .8rem; }
.formation-grid { display: flex; flex-wrap: wrap; gap: .4rem; }
.formation-chip { border: 1px solid var(--tp-border); background: #fff; border-radius: 999px; padding: .35rem .85rem; font-weight: 700; font-size: .88rem; cursor: pointer; }
.formation-chip.active { background: var(--tp-dark-2); color: var(--tp-lime); border-color: var(--tp-dark-2); }
.stepper { display: flex; align-items: center; justify-content: space-between; padding: .5rem 0; }
.stepper + .stepper { border-top: 1px solid var(--tp-border); }
.stepper .ctrl { display: flex; align-items: center; gap: .5rem; }
.stepper button { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--tp-border); background: #fff; font-weight: 700; line-height: 1; }
.stepper button:disabled { opacity: .35; }
.stepper output { width: 26px; text-align: center; font-weight: 800; font-size: 1.1rem; }
.color-dots { display: flex; gap: .45rem; flex-wrap: wrap; }
.color-dots button { width: 30px; height: 30px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--tp-border); }
.color-dots button.active { box-shadow: 0 0 0 2px var(--tp-green); }

.pitch-wrap { background: #1d5e33; border-radius: var(--tp-radius); padding: 1.25rem; box-shadow: var(--tp-shadow-lg); }
.pitch-title { display: flex; justify-content: space-between; align-items: center; margin-bottom: .9rem; }
.pitch-title .team-badge { background: linear-gradient(90deg, #0b130e, transparent); color: #fff; padding: .45rem 1.75rem .45rem 1rem; font-weight: 800; transform: skewX(-12deg); }
.pitch-title .team-badge span { display: inline-block; transform: skewX(12deg); }
.pitch-title .formation-badge { background: var(--tp-lime); color: var(--tp-dark); font-weight: 800; border-radius: 999px; padding: .3rem .8rem; font-family: var(--tp-display); font-size: 1.1rem; }
.pitch-board {
    position: relative; aspect-ratio: 4 / 5; max-height: 720px; margin: 0 auto;
    background: repeating-linear-gradient(180deg, #2f8f4e 0 10%, #2a8447 10% 20%);
    border-radius: 8px; overflow: hidden; box-shadow: inset 0 0 60px rgba(0, 0, 0, .25);
}
.pitch-lines { position: absolute; inset: 3.5%; border: 2px solid rgba(255, 255, 255, .8); border-radius: 2px; pointer-events: none; }
.pitch-lines .half { position: absolute; left: 0; right: 0; top: 50%; border-top: 2px solid rgba(255, 255, 255, .8); }
.pitch-lines .circle { position: absolute; left: 50%; top: 50%; width: 22%; aspect-ratio: 1; transform: translate(-50%, -50%); border: 2px solid rgba(255, 255, 255, .8); border-radius: 50%; }
.pitch-lines .box-top, .pitch-lines .box-bottom { position: absolute; left: 25%; right: 25%; height: 14%; border: 2px solid rgba(255, 255, 255, .8); }
.pitch-lines .box-top { top: -2px; border-top: 0; }
.pitch-lines .box-bottom { bottom: -2px; border-bottom: 0; }
.pitch-lines .goal-top, .pitch-lines .goal-bottom { position: absolute; left: 38%; right: 38%; height: 5%; border: 2px solid rgba(255, 255, 255, .8); }
.pitch-lines .goal-top { top: -2px; border-top: 0; }
.pitch-lines .goal-bottom { bottom: -2px; border-bottom: 0; }

.player-slot {
    position: absolute; transform: translate(-50%, -50%); width: 92px; text-align: center; cursor: pointer;
    background: none; border: 0; padding: 0; transition: transform .15s; z-index: 2;
}
.player-slot:hover { transform: translate(-50%, -50%) scale(1.06); }
.player-slot .jersey { width: 54px; height: 54px; display: block; margin: 0 auto; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .35)); }
.player-slot .name-tag {
    display: inline-block; max-width: 92px; background: #fff; color: var(--tp-ink); font-weight: 700; font-size: .72rem;
    border-radius: 4px; padding: .1rem .4rem; margin-top: -4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .25);
}
.player-slot.empty .name-tag { background: rgba(255, 255, 255, .25); color: #fff; border: 1px dashed rgba(255, 255, 255, .8); }
.player-slot .pos { display: block; font-size: .6rem; color: rgba(255, 255, 255, .85); font-weight: 700; letter-spacing: .08em; margin-top: 2px; }
@media (max-width: 575px) {
    .player-slot { width: 70px; }
    .player-slot .jersey { width: 40px; height: 40px; }
    .player-slot .name-tag { font-size: .62rem; max-width: 70px; }
}
.player-result { display: flex; align-items: center; gap: .75rem; padding: .6rem .75rem; border-radius: 12px; cursor: pointer; border: 1px solid transparent; }
.player-result:hover { background: #f2faf5; border-color: #d4ecdd; }
.player-result.disabled { opacity: .45; pointer-events: none; }
.player-result .tp-avatar { width: 38px; height: 38px; }
.pos-badge { font-size: .68rem; font-weight: 800; padding: .15rem .45rem; border-radius: 6px; background: #eef3ef; color: var(--tp-green-dark); }

/* ---------- Durum rozetleri / tablolar ---------- */
.status { display: inline-flex; align-items: center; gap: .35rem; padding: .25rem .65rem; border-radius: 999px; font-size: .78rem; font-weight: 700; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status-pending { background: #fff5e0; color: #b7791f; }
.status-ok { background: #e3f6ea; color: var(--tp-green-dark); }
.status-cancel { background: #fdecec; color: #c0392b; }
.status-done { background: #eef1ef; color: var(--tp-muted); }
.res-item { display: flex; gap: 1rem; align-items: center; padding: 1rem 1.25rem; }
.res-item + .res-item { border-top: 1px solid var(--tp-border); }
.res-date { flex: 0 0 62px; text-align: center; border-radius: 14px; background: #eef3ef; padding: .45rem 0; }
.res-date b { display: block; font-family: var(--tp-display); font-size: 1.6rem; line-height: 1; }
.res-date span { font-size: .7rem; text-transform: uppercase; color: var(--tp-muted); font-weight: 700; }
@media (max-width: 400px) { .res-item { gap: .6rem; padding: .85rem .9rem; } .res-date { flex-basis: 52px; } }

/* ---------- İşletme paneli ---------- */
.stat-card { padding: 1.25rem; }
.stat-card small { color: var(--tp-muted); font-weight: 600; }
.stat-card b { display: block; font-family: var(--tp-display); font-size: 2.2rem; line-height: 1.1; }
.stat-card i { float: right; font-size: 1.5rem; color: var(--tp-green); }
.owner-hero { background: radial-gradient(900px 300px at 85% -40%, rgba(255, 176, 32, .25), transparent), var(--tp-dark-2); }

/* ---------- Toast/flash ---------- */
.flash { border-radius: var(--tp-radius-sm); border: 0; box-shadow: var(--tp-shadow); }

/* ==========================================================================
   Çoklu spor: sağ üstteki seçici, spora göre vurgu rengi ve saha çizimleri.
   <html data-sport="futbol|basketbol|voleybol|padel|tenis"> sitenin seçili sporu;
   .court-basketbol / .court-voleybol / .court-padel / .court-tenis ise tek bir kadronun (takımın) sporu.
   ========================================================================== */
.sport-bar { background: #060b08; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.sport-bar .container { display: flex; justify-content: flex-end; align-items: center; gap: .75rem; padding-top: .3rem; padding-bottom: .3rem; }
.sport-bar-hint { color: #8fa197; font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
@media (max-width: 575.98px) { .sport-bar-hint { display: none; } .sport-bar .container { justify-content: center; } }
.sport-switch { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); }
.sport-switch a {
    display: inline-flex; align-items: center; gap: .35rem; padding: .32rem .65rem; border-radius: 999px;
    color: #cfd8d2; text-decoration: none; font-weight: 600; font-size: .82rem; white-space: nowrap; transition: background .15s, color .15s;
}
.sport-switch a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.sport-switch a.active { background: var(--tp-lime); color: var(--tp-dark); }
.sport-switch .emoji { font-size: 1rem; line-height: 1; }
/* Telefonda yalnızca seçili sporun adı yazılır, diğerleri simgeyle gösterilir. */
@media (max-width: 575.98px) { .sport-switch a:not(.active) .label { display: none; } }

html[data-sport="basketbol"] { --tp-lime: #ff8a3d; --tp-lime-dark: #f06d1a; }
html[data-sport="voleybol"] { --tp-lime: #ffd23f; --tp-lime-dark: #f2bf00; }
html[data-sport="padel"] { --tp-lime: #38bdf8; --tp-lime-dark: #0ea5e9; }
html[data-sport="tenis"] { --tp-lime: #b9a4ff; --tp-lime-dark: #9a7cf7; }

/* Tesis kartlarındaki dekoratif saha (turf-cover); hero sahası _HeroCourt.cshtml ile spora göre çizilir. */
html[data-sport="basketbol"] .turf-cover { background: repeating-linear-gradient(90deg, #c8833f 0 40px, #bd7835 40px 80px); }
html[data-sport="voleybol"] .turf-cover { background: #2c64c4; }
html[data-sport="voleybol"] .turf-cover::before { background: #e8843f; }
html[data-sport="voleybol"] .turf-cover::after { display: none; }
html[data-sport="voleybol"] .turf-cover .mid { border-left-width: 4px; border-color: #fff; z-index: 0; }

/* Padel: mavi kort; tenis: yeşil çevre, mavi sert kort. */
html[data-sport="padel"] .turf-cover { background: #2a6fc0; }
html[data-sport="tenis"] .turf-cover { background: #3d8a5a; }
html[data-sport="tenis"] .turf-cover::before { background: #2f6db5; }
html[data-sport="padel"] .turf-cover::after, html[data-sport="tenis"] .turf-cover::after { display: none; }
html[data-sport="padel"] .turf-cover .mid, html[data-sport="tenis"] .turf-cover .mid { border-left-width: 4px; border-color: #fff; z-index: 0; }

/* Kadro tahtası: basketbol yarım saha (pota üstte) */
.pitch-wrap.court-basketbol { background: #5a3a1e; }
.pitch-board.court-basketbol { background: repeating-linear-gradient(90deg, #d4924f 0 8%, #cc8946 8% 16%); }
.court-basketbol .pitch-lines .half, .court-basketbol .pitch-lines .goal-bottom { display: none; }
.court-basketbol .pitch-lines .circle { top: 100%; width: 30%; }
.court-basketbol .pitch-lines .box-top { left: 34%; right: 34%; height: 36%; background: rgba(150, 52, 18, .35); }
.court-basketbol .pitch-lines .goal-top { left: 7%; right: 7%; height: 54%; border-radius: 0 0 50% 50% / 0 0 100% 100%; }
.court-basketbol .pitch-lines .box-bottom { top: 5%; bottom: auto; left: 50%; right: auto; width: 7%; height: auto; aspect-ratio: 1; transform: translateX(-50%); border: 3px solid #ff6a00; border-radius: 50%; }

/* Kadro tahtası: voleybol yarım saha (file üstte, 3 m hücum çizgisi) */
.pitch-wrap.court-voleybol { background: #173f80; }
.pitch-board.court-voleybol { background: #2c64c4; }
.court-voleybol .pitch-lines { background: #e8843f; }
.court-voleybol .pitch-lines .half { top: -2px; border-top: 7px solid #fff; box-shadow: 0 3px 0 rgba(0, 0, 0, .15); }
.court-voleybol .pitch-lines .box-top { left: 0; right: 0; top: 33%; height: 0; border: 0; border-top: 2px solid rgba(255, 255, 255, .85); }
.court-voleybol .pitch-lines .circle, .court-voleybol .pitch-lines .box-bottom,
.court-voleybol .pitch-lines .goal-top, .court-voleybol .pitch-lines .goal-bottom { display: none; }

/* Kadro tahtası: padel yarım kort (file üstte, servis çizgisi fileden %69,5 uzakta, etraf cam duvar) */
.pitch-wrap.court-padel { background: #0f2742; }
.pitch-board.court-padel { background: #16365e; }
.court-padel .pitch-lines { background: #2a6fc0; border-color: rgba(200, 230, 255, .9); }
.court-padel .pitch-lines .half, .court-tenis .pitch-lines .half { top: -2px; border-top: 7px solid #fff; box-shadow: 0 3px 0 rgba(0, 0, 0, .15); }
.court-padel .pitch-lines .box-bottom { left: 0; right: 0; top: 0; bottom: auto; height: 69.5%; border: 0; border-bottom: 2px solid rgba(255, 255, 255, .9); }
.court-padel .pitch-lines .goal-top { left: 50%; right: auto; top: 0; width: 0; height: 69.5%; border: 0; border-left: 2px solid rgba(255, 255, 255, .9); }
.court-padel .pitch-lines .circle, .court-padel .pitch-lines .box-top, .court-padel .pitch-lines .goal-bottom { display: none; }

/* Kadro tahtası: tenis yarım kort (file üstte; çiftler koridoru, servis karesi, orta işaret) */
.pitch-wrap.court-tenis { background: #1f4f3a; }
.pitch-board.court-tenis { background: #3d8a5a; }
.court-tenis .pitch-lines { background: #2f6db5; }
.court-tenis .pitch-lines .box-top { left: 12.5%; right: 12.5%; top: 0; bottom: 0; height: auto; border: 0; border-left: 2px solid rgba(255, 255, 255, .9); border-right: 2px solid rgba(255, 255, 255, .9); }
.court-tenis .pitch-lines .box-bottom { left: 12.5%; right: 12.5%; top: 0; bottom: auto; height: 54%; border: 0; border-bottom: 2px solid rgba(255, 255, 255, .9); }
.court-tenis .pitch-lines .goal-top { left: 50%; right: auto; top: 0; width: 0; height: 54%; border: 0; border-left: 2px solid rgba(255, 255, 255, .9); }
.court-tenis .pitch-lines .goal-bottom { left: 50%; right: auto; bottom: 0; width: 0; height: 3%; border: 0; border-left: 2px solid rgba(255, 255, 255, .9); }
.court-tenis .pitch-lines .circle { display: none; }

/* Hoca (padel / tenis): rozet, profil kartı, anasayfa tanıtımı */
.coach-chip { background: #0c4a6e !important; color: #7dd3fc !important; }
.coach-chip i { color: #7dd3fc; }
.coach-chip-light { background: #e0f2fe !important; color: #075985 !important; }
.coach-card { border-top: 4px solid #38bdf8; }
.coach-card h5 i { color: #0ea5e9; }
.coach-promo { border-left: 5px solid var(--tp-lime); }

/* Profil: spor bazlı mevki rozetleri */
.sport-positions { display: flex; flex-direction: column; gap: .75rem; }
.sport-positions .sport-row { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; }
.sport-positions .sport-row > b { min-width: 7.5rem; font-size: .85rem; }
.sport-badge { display: inline-flex; align-items: center; gap: .3rem; font-size: .75rem; font-weight: 700; padding: .15rem .55rem; border-radius: 999px; background: #eef2ef; color: var(--tp-ink); white-space: nowrap; }

/* Profil formu: spor başına hakemlik satırı */
.referee-sports { display: flex; flex-direction: column; gap: .6rem; }
.referee-sport { border: 1px solid var(--tp-border); border-radius: var(--tp-radius-sm); padding: .75rem 1rem; background: #fff; }
.referee-sport.on { border-color: var(--tp-green); box-shadow: 0 0 0 3px rgba(30, 158, 87, .08); }

/* 1200-1399 px: menü sığsın diye bağlantılar sıkışır, simgeler gizlenir. */
@media (min-width: 1200px) and (max-width: 1399.98px) {
    .tp-header .tp-nav-link { padding-left: .45rem !important; padding-right: .45rem !important; font-size: .88rem; }
    .tp-header .tp-nav-link i { display: none; }
}

/* ===== Maç teklifleri ===== */
.bg-lime-soft { background: #f6fde0; }
.upcoming-match { display: flex; align-items: center; gap: 1rem; padding: .9rem 1rem; border: 1px solid var(--tp-border); border-radius: 14px; background: #fff; color: inherit; text-decoration: none; }
.upcoming-match + .upcoming-match { margin-top: .6rem; }
.upcoming-match:hover { border-color: var(--tp-green); color: inherit; }
.upcoming-match .when { min-width: 56px; text-align: center; border-radius: 10px; background: var(--tp-dark-2); color: #fff; padding: .35rem .25rem; line-height: 1.1; }
.upcoming-match .when b { display: block; font-size: 1.2rem; color: var(--tp-lime); }
.upcoming-match .when span { font-size: .7rem; text-transform: uppercase; letter-spacing: .5px; }
.upcoming-match .vs { font-weight: 800; }
.upcoming-match .vs em { font-style: normal; color: var(--tp-muted); font-weight: 600; margin: 0 .35rem; }
.min-w-0 { min-width: 0; }

/* Katılım (RSVP) durumu */
.rsvp-dot { width: 22px; height: 22px; border-radius: 50%; display: inline-grid; place-items: center; font-size: .72rem; font-weight: 800; flex: none; }
.rsvp-going { background: #e3f7ea; color: var(--tp-green-dark); }
.rsvp-notgoing { background: #fde8e8; color: #c0392b; }
.rsvp-none { background: #eef1ef; color: var(--tp-muted); }

/* Set skorları ve MVP */
.set-chip { display: inline-block; margin: 0 .2rem; padding: .15rem .55rem; border-radius: 8px; background: rgba(255,255,255,.12); color: #fff; font-weight: 700; font-size: .9rem; }
.set-chip.won { background: var(--tp-lime); color: var(--tp-dark); }
.mvp-badge { display: inline-block; margin-left: .35rem; padding: .05rem .45rem; border-radius: 6px; background: var(--tp-amber); color: var(--tp-dark); font-size: .65rem; font-weight: 800; letter-spacing: .5px; vertical-align: middle; }

/* İlanlar */
.seg .seg-link { padding: .45rem 1rem; border-radius: 999px; font-weight: 600; font-size: .88rem; color: var(--tp-muted); text-decoration: none; }
.seg .seg-link.active { background: #fff; color: var(--tp-ink); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.listing-card { display: flex; align-items: center; gap: 1rem; padding: .9rem 1rem; }
.listing-card:hover { border-color: var(--tp-green); }
.listing-card .when { min-width: 60px; text-align: center; border-radius: 10px; background: var(--tp-dark-2); color: #fff; padding: .35rem .25rem; line-height: 1.1; }
.listing-card .when b { display: block; font-size: 1.2rem; color: var(--tp-lime); }
.listing-card .when span, .listing-card .when small { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .5px; }
.online-dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,.2); flex: none; }
.rating-pill { display: inline-block; min-width: 54px; padding: .2rem .55rem; border-radius: 999px; background: var(--tp-dark-2); color: var(--tp-lime); font-weight: 800; }
.ranking-table .result-dot { display: inline-grid; width: 22px; height: 22px; margin-right: 2px; font-size: .68rem; }
.ranking-table tr.bg-lime-soft > td { background: #f6fde0; }

/* ---------- Yasal metinler (Gizlilik / KVKK) ---------- */
.legal-hero { padding-bottom: 5rem; }
.legal-kicker { display: inline-block; font-size: .85rem; font-weight: 700; letter-spacing: .04em; color: var(--tp-lime); margin-bottom: .5rem; }
.legal-hero p { max-width: 720px; }
.legal-hero .legal-updated { font-size: .8rem; color: #8ea597; margin-top: .75rem; }
.legal-tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.25rem; }
.legal-tabs a {
    display: inline-flex; align-items: center; gap: .45rem; padding: .5rem 1rem; border-radius: 999px;
    color: #d7e2db; background: var(--tp-dark-3); text-decoration: none; font-weight: 600; font-size: .9rem;
}
.legal-tabs a:hover { color: #fff; }
.legal-tabs a.active { background: var(--tp-lime); color: var(--tp-dark); }
.legal-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 1.5rem; align-items: start; }
.legal-toc { padding: 1.25rem; position: sticky; top: 1rem; }
.legal-toc h6 { font-weight: 800; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--tp-muted); margin-bottom: .75rem; }
.legal-toc a { display: block; padding: .35rem .5rem; border-radius: 8px; color: var(--tp-ink); text-decoration: none; font-size: .9rem; }
.legal-toc a:hover { background: var(--tp-bg); color: var(--tp-green-dark); }
.legal-doc { padding: 2rem 2.25rem; line-height: 1.7; }
.legal-doc section { scroll-margin-top: 1.5rem; }
.legal-doc section + section { border-top: 1px solid var(--tp-border); margin-top: 1.75rem; padding-top: 1.75rem; }
.legal-doc h2 { font-family: var(--tp-display); font-weight: 800; font-size: 1.6rem; margin-bottom: .75rem; }
.legal-doc h3 { font-size: 1rem; font-weight: 700; margin: 1.1rem 0 .5rem; }
.legal-doc ul, .legal-doc ol { padding-left: 1.2rem; }
.legal-doc li { margin-bottom: .35rem; }
.legal-doc .lead-sm { font-size: 1.02rem; background: var(--tp-bg); border-left: 4px solid var(--tp-lime); border-radius: 10px; padding: 1rem 1.25rem; margin-bottom: 1.75rem; }
.legal-table { font-size: .9rem; margin-bottom: 1rem; }
.legal-table th { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--tp-muted); white-space: nowrap; }
.legal-table td:first-child { font-weight: 600; white-space: nowrap; }
.legal-box { background: var(--tp-bg); border-radius: var(--tp-radius-sm); padding: 1rem 1.25rem; }
.legal-box dl { display: grid; grid-template-columns: max-content 1fr; gap: .4rem 1.25rem; margin: 0; }
.legal-box dt { color: var(--tp-muted); font-weight: 600; }
.legal-box dd { margin: 0; }
.legal-contact { list-style: none; padding-left: 0 !important; }
.legal-contact li { display: flex; gap: .65rem; align-items: baseline; }
.legal-contact i { color: var(--tp-green); }
.legal-rights li::marker { font-weight: 700; color: var(--tp-green-dark); }
@media (max-width: 991.98px) {
    .legal-layout { grid-template-columns: minmax(0, 1fr); }
    .legal-toc { position: static; display: none; }
    .legal-doc { padding: 1.5rem 1.25rem; }
    .legal-box dl { grid-template-columns: 1fr; gap: 0; }
    .legal-box dd { margin-bottom: .5rem; }
    .legal-table td:first-child { white-space: normal; }
}

/* ---------- Dil seçimi (TR / EN) ---------- */
.lang-switch { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); }
.lang-switch a { padding: .28rem .6rem; border-radius: 999px; color: #c4d3ca; text-decoration: none; font-size: .72rem; font-weight: 800; letter-spacing: .06em; line-height: 1.2; }
.lang-switch a:hover { color: #fff; }
.lang-switch a.active { background: var(--tp-lime); color: var(--tp-dark); }

/* ---------- Geliştirici imzası ---------- */
.tp-footer .dev-credit { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .35rem 1rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px dashed var(--tp-dark-3); font-size: .8rem; color: #8ea597; }
.tp-footer .dev-credit strong { color: #c4d3ca; }
.tp-footer .dev-credit a.dev-mail { display: inline-flex; align-items: center; padding: .25rem .75rem; border-radius: 999px; border: 1px solid var(--tp-dark-3); color: var(--tp-lime); }
.tp-footer .dev-credit a.dev-mail:hover { background: var(--tp-lime); color: var(--tp-dark); }

/* ---------- Üst menü: dile göre uzunluk değişir; sığmazsa kademeli sıkışır (site.js fitHeaderNav) ---------- */
.tp-header .tp-nav-link { white-space: nowrap; }
@media (min-width: 1200px) {
    .tp-header .navbar > .container { flex-wrap: nowrap; }
    .tp-header .navbar-nav { flex-wrap: nowrap; }
    .tp-header.nav-fit-1 .tp-nav-link { padding-left: .5rem !important; padding-right: .5rem !important; }
    .tp-header.nav-fit-2 .tp-nav-link i { display: none; }
    .tp-header.nav-fit-3 .tp-brand-text small { display: none; }
    .tp-header.nav-fit-4 .tp-nav-link { font-size: .85rem; padding-left: .35rem !important; padding-right: .35rem !important; }
}

/* ---------- İngilizce: başlıklar daha uzun ---------- */
html[lang^="en"] .hero-content { max-width: 700px; }
html[lang^="en"] .hero-title { font-size: clamp(2.1rem, 4.4vw, 3.5rem); }
/* Arama kartı hero'ya 3.5rem taşar; düğme kartın altında kalmasın. */
.hero-content { padding-bottom: 4.25rem; }
@media (max-width: 575.98px) {
    .hero-title { font-size: clamp(1.9rem, 9vw, 2.4rem); }
    .hero-sub { font-size: 1rem; }
}
/* Geniş ekranda üst bar daha geniş: menü simgeleriyle birlikte sığar. */
@media (min-width: 1600px) { .tp-header .container { max-width: 1560px; } }
/* Uzun e-posta / adresler dar ekranda taşmasın. */
.legal-doc { min-width: 0; overflow-wrap: anywhere; }
/* Küçük telefonlar (≤400px): spor + dil çubuğu tek satıra sığsın. */
@media (max-width: 400px) {
    .sport-bar .container { gap: .4rem; padding-left: .5rem; padding-right: .5rem; }
    .sport-switch a { padding: .3rem .45rem; font-size: .78rem; }
    .lang-switch a { padding: .28rem .45rem; }
}
@media (max-width: 340px) {
    .sport-switch a.active .label { display: none; }
}

/* Yasal sayfalar yayında değilken bağlantı yerine düz metin. */
.tp-footer span.legal-off { display: block; padding: .2rem 0; color: #8ea597; cursor: default; }
.tp-footer span.legal-off.d-inline { display: inline; }

/* ---------- Ödeme (havale/EFT) ---------- */
.pay-amount { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding-bottom: 1rem; border-bottom: 1px dashed var(--tp-border); margin-bottom: 1rem; }
.pay-amount-value { font-family: var(--tp-display); font-size: 2.4rem; font-weight: 800; line-height: 1; }
.pay-deadline { display: flex; align-items: center; gap: .45rem; padding: .5rem .85rem; border-radius: 999px; background: #fff5e0; color: #b7791f; font-weight: 600; font-size: .9rem; }
.pay-deadline b { font-variant-numeric: tabular-nums; }
.pay-deadline.expired { background: #fdecec; color: #c0392b; }
.pay-ref { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: .75rem; }
.pay-code { font-size: 1.35rem; font-weight: 800; color: var(--tp-ink); background: var(--tp-bg); padding: .2rem .6rem; border-radius: 8px; letter-spacing: .06em; }
.pay-account { display: flex; justify-content: space-between; align-items: center; gap: .75rem; padding: .9rem 1rem; border: 1px solid var(--tp-border); border-radius: 14px; }
.pay-account + .pay-account { margin-top: .6rem; }
.pay-iban { font-family: ui-monospace, Consolas, monospace; font-weight: 700; font-size: 1rem; letter-spacing: .02em; overflow-wrap: anywhere; margin-top: .2rem; }
.pay-policy { display: flex; gap: .5rem; margin-top: 1rem; padding: .75rem .9rem; border-radius: 12px; background: #f6fde0; font-size: .85rem; }
.pay-policy i { color: var(--tp-green); }
.bank-row { border: 1px solid var(--tp-border); border-radius: 14px; padding: 1rem; }
.bank-row + .bank-row { margin-top: .75rem; }
@media (max-width: 575.98px) { .pay-amount-value { font-size: 2rem; } .pay-account { flex-direction: column; align-items: stretch; } }

/* Ana sayfa öneri kutusu (giriş yapmış üyelere) */
.fb-prompt { position: fixed; right: 1rem; bottom: 1rem; z-index: 1080; width: min(380px, calc(100vw - 2rem)); background: #fff; border-radius: var(--tp-radius-sm, 14px); box-shadow: 0 18px 50px rgba(0,0,0,.25); padding: 1.25rem; border-top: 4px solid var(--tp-lime); opacity: 0; transform: translateY(20px); transition: opacity .3s, transform .3s; }
.fb-prompt.show { opacity: 1; transform: none; }
.fb-prompt h3 { font-size: 1.15rem; font-weight: 800; margin: .15rem 0 .5rem; }
.fb-prompt .fb-kicker { color: var(--tp-green-dark); font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.fb-prompt .fb-close { position: absolute; top: .5rem; right: .5rem; border: 0; background: none; color: #66756d; padding: .35rem; }
.fb-stars { display: flex; gap: .25rem; margin-bottom: .75rem; }
.fb-stars label { cursor: pointer; font-size: 1.7rem; color: #d5dfd9; line-height: 1; transition: color .15s, transform .15s; }
.fb-stars label:hover { transform: scale(1.12); }
.fb-stars label.on { color: #ffb400; }
.fb-stars input { position: absolute; opacity: 0; pointer-events: none; }
.fb-prompt .fb-thanks { font-weight: 700; padding: .5rem 0; }
@media (max-width: 575.98px) { .fb-prompt { right: 1rem; left: 1rem; bottom: .75rem; width: auto; } }

/* Ana sayfa: "Maçın yaklaşıyor" kartı (giriş yapmış üyenin önümüzdeki 7 gündeki maçları) */
.upcoming-wrap { background: var(--tp-dark); padding: 14px 0 18px; }
.upcoming-card { display: flex; gap: 1rem; align-items: stretch; justify-content: space-between; background: linear-gradient(120deg, #132018 0%, #1c3a26 100%); border: 1px solid rgba(198,244,50,.25); border-left: 5px solid var(--tp-lime); border-radius: 16px; padding: 16px 18px; color: #fff; }
.upcoming-card.soon { border-left-color: #ffb020; box-shadow: 0 0 0 1px rgba(255,176,32,.35); }
.upcoming-card.live { border-left-color: #ff4d4f; }
.upcoming-card .up-kicker { color: var(--tp-lime); font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; display: flex; align-items: center; gap: .35rem; }
.upcoming-card.soon .up-kicker { color: #ffb020; }
.upcoming-card.live .up-kicker { color: #ff7a7a; }
.upcoming-card .up-dot { width: 8px; height: 8px; border-radius: 50%; background: #ff4d4f; animation: upPulse 1.2s infinite; }
@keyframes upPulse { 50% { opacity: .25; } }
.upcoming-card .up-title { font-size: 1.35rem; font-weight: 800; margin: .2rem 0 .3rem; line-height: 1.2; }
.upcoming-card .up-meta { display: flex; flex-wrap: wrap; gap: .25rem 1rem; color: #c4d3ca; font-size: .9rem; }
.upcoming-card .up-meta i { margin-right: .35rem; }
.upcoming-card .up-rsvp-note { margin-top: .5rem; font-size: .85rem; color: #ffb4b4; }
.upcoming-card .up-rsvp-note.ok { color: var(--tp-lime); }
.upcoming-card .up-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .75rem; }
.upcoming-card .up-count { flex: 0 0 auto; min-width: 120px; text-align: center; align-self: center; background: rgba(0,0,0,.25); border-radius: 12px; padding: .75rem 1rem; }
.upcoming-card .up-count-num { font-size: 1.5rem; font-weight: 800; color: var(--tp-lime); white-space: nowrap; }
.upcoming-card.soon .up-count-num { color: #ffb020; }
.upcoming-card .up-count-label { font-size: .75rem; color: #c4d3ca; }
.upcoming-more { display: flex; flex-direction: column; gap: .25rem; margin-top: .5rem; }
.upcoming-more a { color: #c4d3ca; font-size: .85rem; text-decoration: none; }
.upcoming-more a:hover { color: #fff; }
@media (max-width: 575.98px) {
  .upcoming-card { flex-direction: column-reverse; padding: 14px; }
  .upcoming-card .up-count { align-self: stretch; display: flex; align-items: baseline; justify-content: center; gap: .5rem; padding: .5rem; }
  .upcoming-card .up-title { font-size: 1.15rem; }
}

/* Şifre göster/gizle gözü */
.pw-wrap { position: relative; display: block; flex: 1 1 auto; min-width: 0; }
.pw-wrap > input { padding-right: 2.75rem !important; }
.pw-eye { position: absolute; top: 50%; right: .5rem; transform: translateY(-50%); border: 0; background: none; color: #66756d; padding: .25rem .4rem; line-height: 1; font-size: 1.1rem; z-index: 3; }
.pw-eye:hover { color: var(--tp-green-dark); }
.pw-wrap > input::-ms-reveal { display: none; }
.input-icon > .pw-wrap > .form-control { padding-left: 2.6rem; }
.input-icon > i { z-index: 3; }

/* Paket kartları (/paketler, ana sayfa, paket detay) */
.pkg-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 300px)); justify-content: center; gap: 1rem; }
.pkg-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--tp-border, #e3eae5); border-top: 4px solid var(--pkg); border-radius: 16px; padding: 1.25rem; color: inherit; text-decoration: none; transition: transform .15s, box-shadow .15s; }
.pkg-card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(11,19,14,.12); color: inherit; }
.pkg-card.popular { box-shadow: 0 0 0 2px var(--pkg); }
.pkg-badge { position: absolute; top: -12px; right: 14px; background: var(--pkg); color: #fff; font-size: .7rem; font-weight: 800; padding: .2rem .6rem; border-radius: 999px; }
.pkg-head { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.pkg-icon { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 12px; background: color-mix(in srgb, var(--pkg) 18%, #fff); color: #0b130e; font-size: 1.25rem; flex: 0 0 auto; }
.pkg-icon.lg { width: 64px; height: 64px; font-size: 1.9rem; border-radius: 18px; background: var(--pkg); }
.pkg-icon.sm { width: 36px; height: 36px; font-size: 1.05rem; }
.pkg-aud { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #66756d; }
.pkg-name { font-size: 1.35rem; font-weight: 800; margin: .75rem 0 .15rem; }
.pkg-tag { color: #3d4a43; font-size: .9rem; margin-bottom: .75rem; min-height: 2.6em; }
.pkg-price { font-size: 1.35rem; font-weight: 800; line-height: 1.1; }
.pkg-price small { display: block; font-size: .75rem; font-weight: 600; color: #66756d; margin-top: .2rem; }
.pkg-price.big { font-size: 1.8rem; }
.pkg-list { list-style: none; padding: 0; margin: .9rem 0 1rem; font-size: .88rem; flex: 1 1 auto; }
.pkg-list li { display: flex; gap: .45rem; padding: .2rem 0; }
.pkg-list i { color: var(--tp-green); }
.pkg-more { font-weight: 700; color: var(--tp-green-dark); font-size: .9rem; }
.pkg-card:hover .pkg-more i { transform: translateX(3px); }
.pkg-more i { display: inline-block; transition: transform .15s; }
.pkg-hero .pkg-icon.lg { color: #0b130e; }
.pkg-feature { border-left: 3px solid var(--pkg); }
.pkg-form { position: sticky; top: 1rem; }
@media (max-width: 767.98px) {
  .pkg-scroll { display: flex; justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; padding: 14px 2px 8px; margin: -14px -2px 0; }
  .pkg-scroll > .pkg-card { flex: 0 0 80%; scroll-snap-align: start; }
  .pkg-form { position: static; }
}
