/* ===========================================================================
   profile.css — პროფილის შიდა გვერდი (/escort/{slug}/).

   იტვირთება მხოლოდ ამ გვერდზე ({% block head_extra %}), რომ ლისტინგებს
   ზედმეტი CSS არ დააწვეს.

   ეყრდნობა ui.css-ის ტოკენებს (Mantine-ის შკალა) და მის Badge/Card წესებს.
   ფერები იგივე პალიტრაა: #e22101 / #c3140c / #960f09, #ff3366, მწვანე
   #39a329→#27ae60, მუქი #0d0d0d / #2b2a2c, ფონი #f5f5f5.
   =========================================================================== */

.xg-profile {
    color: var(--xg-text);
    font-size: var(--xg-font-sm);
    line-height: 1.6;
}

/* --- Breadcrumb ---------------------------------------------------------- */
.xg-crumbs {
    margin: 0 0 var(--xg-spacing-md);
    font-size: var(--xg-font-xs);
    color: var(--xg-text-dimmed);
}
.xg-crumbs a { color: var(--xg-text-dimmed); text-decoration: none; }
.xg-crumbs a:hover { color: var(--xg-red); text-decoration: underline; }
.xg-crumbs__sep { margin: 0 6px; opacity: .5; }
.xg-crumbs [aria-current] { color: var(--xg-text); font-weight: 600; }

/* --- ზედა ბლოკი: გალერეა + საკონტაქტო ბარათი ----------------------------- */
.xg-profile__top {
    display: grid;
    /* პირველი სვეტი ფოტოს ზომაზეა მორგებული (პატარა ფოტოს არ ვწელავთ),
       ბარათი კი ფიქსირებულ დიაპაზონშია — მთელი ბლოკი ცენტრშია. */
    grid-template-columns: auto minmax(300px, 400px);
    justify-content: center;
    gap: var(--xg-spacing-lg);
    align-items: start;
    margin-bottom: var(--xg-spacing-lg);
}

/* --- გალერეა ------------------------------------------------------------- */
/* ფოტოს სიგანეს მარშრუტი განსაზღვრავს (--xg-photo-max): პატარა, ძველი
   ფოტოები აღარ იწელება და აღარ ბინდდება. */
.xg-gallery {
    width: var(--xg-photo-max, 520px);
    max-width: 100%;
    margin-inline: auto;
}
.xg-gallery__stage {
    position: relative;
    margin: 0;
    border-radius: var(--xg-radius-md);
    overflow: hidden;
    background: #1a1a1a;
    box-shadow: var(--xg-shadow-sm);
}
.xg-gallery__photo {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    cursor: zoom-in;
}
.xg-gallery__badges {
    position: absolute;
    top: var(--xg-spacing-sm);
    left: var(--xg-spacing-sm);
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    max-width: calc(100% - 60px);
}
.xg-gallery__zoom {
    position: absolute;
    top: var(--xg-spacing-sm);
    right: var(--xg-spacing-sm);
    z-index: 2;
    width: 34px;
    height: 34px;
    padding: 0;
    border: none;
    border-radius: var(--xg-radius-pill);
    background: rgba(13, 13, 13, .6);
    color: #fff;
    font-size: 15px;
    line-height: 1;
    cursor: pointer;
    transition: background .15s var(--xg-ease);
}
.xg-gallery__zoom:hover { background: var(--xg-red); }
.xg-gallery__counter {
    position: absolute;
    right: var(--xg-spacing-sm);
    bottom: var(--xg-spacing-sm);
    z-index: 2;
    padding: 3px 10px;
    border-radius: var(--xg-radius-pill);
    background: rgba(13, 13, 13, .6);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.xg-gallery__thumbs {
    display: flex;
    gap: 8px;
    margin-top: 8px;
    padding-bottom: 4px;
    overflow-x: auto;
    scrollbar-width: thin;
}
.xg-gallery__thumb {
    flex: 0 0 auto;
    padding: 0;
    border: 2px solid transparent;
    border-radius: var(--xg-radius-sm);
    background: none;
    line-height: 0;
    cursor: pointer;
    opacity: .65;
    transition: opacity .15s var(--xg-ease), border-color .15s var(--xg-ease);
}
.xg-gallery__thumb img {
    display: block;
    width: 62px;
    height: 83px;
    object-fit: cover;
    border-radius: 3px;
}
.xg-gallery__thumb:hover { opacity: 1; }
.xg-gallery__thumb.is-active { opacity: 1; border-color: var(--xg-red); }

/* --- საკონტაქტო ბარათი --------------------------------------------------- */
.xg-summary__card {
    position: sticky;
    top: var(--xg-spacing-md);
    padding: var(--xg-spacing-lg);
    background: var(--xg-paper);
    border: 1px solid var(--xg-border);
    border-radius: var(--xg-radius-md);
    box-shadow: var(--xg-shadow-xs);
}
.xg-summary__name {
    margin: 0;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.3px;
    color: var(--xg-text);
    overflow-wrap: anywhere;
}
.xg-summary__location {
    margin: 6px 0 var(--xg-spacing-md);
    font-size: var(--xg-font-sm);
    color: var(--xg-text-dimmed);
}
.xg-summary__location a { color: var(--xg-text-dimmed); text-decoration: none; }
.xg-summary__location a:hover { color: var(--xg-red); text-decoration: underline; }
.xg-summary__location .icon-location { margin-right: 4px; }

/* სტატისტიკა — სამი უჯრა */
.xg-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin: 0 0 var(--xg-spacing-md);
}
.xg-stats__item {
    padding: var(--xg-spacing-xs) 6px;
    background: var(--xg-surface);
    border: 1px solid var(--xg-border);
    border-radius: var(--xg-radius-md);
    text-align: center;
}
.xg-stats dt {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--xg-text-dimmed);
}
.xg-stats dd {
    margin: 2px 0 0;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -1px;
    color: var(--xg-red);
    font-variant-numeric: tabular-nums;
}
.xg-stats dd span {
    margin-left: 2px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0;
    color: var(--xg-text-dimmed);
}

/* ქმედებები */
.xg-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.xg-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;           /* თითისთვის კომფორტული ზომა */
    padding: 0 var(--xg-spacing-md);
    border-radius: var(--xg-radius-pill);
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    transition: filter .15s var(--xg-ease), transform .1s var(--xg-ease);
}
.xg-btn:hover { filter: brightness(1.08); color: #fff; text-decoration: none; }
.xg-btn:active { transform: translateY(1px); }
.xg-btn--call { background: linear-gradient(180deg, var(--xg-red) 0%, var(--xg-red-deep) 100%); }
.xg-btn--wa { background: linear-gradient(180deg, var(--xg-green) 0%, var(--xg-green-dark) 100%); }
.xg-btn--viber { background: #7360f2; }
.xg-btn--telegram { margin-top: var(--xg-spacing-xs); background: var(--xg-red-dark); }
.xg-btn__text { font-variant-numeric: tabular-nums; }

.xg-summary__note {
    margin: var(--xg-spacing-xs) 0 0;
    font-size: var(--xg-font-xs);
    line-height: 1.5;
    color: var(--xg-text-dimmed);
}

/* პატარა ფაქტები */
.xg-summary__meta {
    margin: var(--xg-spacing-md) 0 0;
    padding: var(--xg-spacing-sm) 0 0;
    border-top: 1px solid var(--xg-border);
    list-style: none;
    font-size: var(--xg-font-xs);
}
.xg-summary__meta li {
    display: flex;
    justify-content: space-between;
    gap: var(--xg-spacing-sm);
    padding: 5px 0;
    float: none;
}
.xg-summary__meta li + li { border-top: 1px dashed var(--xg-border); }
.xg-summary__meta span { color: var(--xg-text-dimmed); }
.xg-summary__meta strong { font-weight: 600; text-align: right; }

/* --- ინფორმაციის ბლოკები ------------------------------------------------- */
.xg-sections {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--xg-spacing-md);
    align-items: start;
}
.xg-panel {
    padding: var(--xg-spacing-lg);
    background: var(--xg-paper);
    border: 1px solid var(--xg-border);
    border-radius: var(--xg-radius-md);
    box-shadow: var(--xg-shadow-xs);
}
.xg-panel--wide { grid-column: 1 / -1; }
.xg-panel--about { border-left: 3px solid var(--xg-red); }
.xg-panel h2 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 var(--xg-spacing-sm);
    padding-bottom: 8px;
    border-bottom: 1px solid var(--xg-border);
    font-size: var(--xg-font-md);
    font-weight: 700;
    color: var(--xg-text);
}
.xg-panel__count {
    padding: 1px 8px;
    border-radius: var(--xg-radius-pill);
    background: var(--xg-surface);
    font-size: 11px;
    font-weight: 700;
    color: var(--xg-text-dimmed);
}

.xg-about__lead {
    margin: 0 0 var(--xg-spacing-xs);
    font-weight: 600;
    color: var(--xg-text);
}
.xg-about__lead a { color: var(--xg-red); text-decoration: none; }
.xg-about__lead a:hover { text-decoration: underline; }
.xg-about__text {
    margin: 0;
    font-size: 15px;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

/* პარამეტრები — ორსვეტიანი განმარტებითი სია */
.xg-specs { margin: 0; }
.xg-specs > div {
    display: flex;
    justify-content: space-between;
    gap: var(--xg-spacing-sm);
    padding: 8px 0;
}
.xg-specs > div + div { border-top: 1px dashed var(--xg-border); }
.xg-specs dt { color: var(--xg-text-dimmed); }
.xg-specs dd { margin: 0; font-weight: 600; text-align: right; }

/* ენები + ცოდნის დონის ინდიკატორი */
.xg-langs { margin: 0; padding: 0; list-style: none; }
.xg-langs li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--xg-spacing-sm);
    padding: 8px 0;
    float: none;
}
.xg-langs li + li { border-top: 1px dashed var(--xg-border); }
.xg-langs__name { font-weight: 600; }
.xg-langs__level {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: var(--xg-font-xs);
    color: var(--xg-text-dimmed);
}
.xg-meter { display: inline-flex; gap: 3px; }
.xg-meter i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--xg-border);
}
.xg-meter i.is-on { background: var(--xg-red); }

/* მომსახურება — chip-ები */
.xg-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.xg-chips li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--xg-surface);
    border: 1px solid var(--xg-border);
    border-radius: var(--xg-radius-pill);
    font-size: 13px;
    float: none;
    transition: border-color .15s var(--xg-ease), background .15s var(--xg-ease);
}
.xg-chips li:hover { background: #fff; border-color: var(--xg-red); }
.xg-chips .icon-ok { font-size: 11px; color: var(--xg-green-dark); }

/* ფასები */
.xg-rates__scroll { overflow-x: auto; }
.xg-rates {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: var(--xg-font-sm);
}
.xg-rates th,
.xg-rates td {
    padding: 10px 12px;
    text-align: right;
    white-space: nowrap;
}
.xg-rates thead th {
    background: var(--xg-surface);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .4px;
    color: var(--xg-text-dimmed);
}
.xg-rates thead th:first-child,
.xg-rates tbody th { text-align: left; }
.xg-rates thead th:first-child { border-radius: var(--xg-radius-sm) 0 0 0; }
.xg-rates thead th:last-child { border-radius: 0 var(--xg-radius-sm) 0 0; }
.xg-rates tbody th { font-weight: 600; }
.xg-rates tbody td { font-weight: 700; font-variant-numeric: tabular-nums; }
.xg-rates tbody tr + tr th,
.xg-rates tbody tr + tr td { border-top: 1px solid var(--xg-border); }
.xg-rates tbody tr:hover th,
.xg-rates tbody tr:hover td { background: rgba(226, 33, 1, .04); }
.xg-rates td.is-empty { color: var(--xg-border); font-weight: 400; }

.xg-empty {
    margin: 0;
    padding: var(--xg-spacing-md);
    background: var(--xg-surface);
    border-radius: var(--xg-radius-md);
    color: var(--xg-text-dimmed);
    text-align: center;
}

/* --- ქვედა ზოლი ---------------------------------------------------------- */
.xg-profile__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--xg-spacing-sm);
    margin-top: var(--xg-spacing-md);
    padding-top: var(--xg-spacing-sm);
    border-top: 1px solid var(--xg-border);
    font-size: var(--xg-font-xs);
    color: var(--xg-text-dimmed);
}
/* „დაარეპორტე“ — აშკარა ღილაკი (ადრე პატარა ხაზგასმული ტექსტი იყო) */
.xg-report {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 18px;
    border: 1.5px solid #e22101;
    border-radius: 999px;
    background: rgba(226, 33, 1, .08);
    color: #e22101 !important;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
    transition: background .15s, color .15s;
}
.xg-report:hover, .xg-report:focus-visible { background: #e22101; color: #fff !important; }

/* --- მსგავსი პროფილები --------------------------------------------------- */
.xg-similar { clear: both; margin-top: var(--xg-spacing-xl); }
.xg-similar h2 {
    margin: 0 0 var(--xg-spacing-sm);
    font-size: var(--xg-font-xl);
    font-weight: 700;
    color: var(--xg-text);
}
.xg-similar__more { margin: var(--xg-spacing-md) 0 0; }
.xg-similar__more a {
    display: inline-block;
    padding: 8px 18px;
    text-decoration: none;
}

/* --- სრული ეკრანი (lightbox) --------------------------------------------- */
.xg-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    gap: var(--xg-spacing-sm);
    padding: var(--xg-spacing-lg);
    background: rgba(13, 13, 13, .92);
}
.xg-lightbox.is-open { display: flex; }
.xg-lightbox__img {
    max-width: min(92vw, 900px);
    max-height: 90vh;
    border-radius: var(--xg-radius-md);
    object-fit: contain;
}
.xg-lightbox__close,
.xg-lightbox__nav {
    border: none;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    cursor: pointer;
    transition: background .15s var(--xg-ease);
}
.xg-lightbox__close:hover,
.xg-lightbox__nav:hover { background: var(--xg-red); }
.xg-lightbox__close {
    position: absolute;
    top: var(--xg-spacing-md);
    right: var(--xg-spacing-md);
    width: 40px;
    height: 40px;
    border-radius: var(--xg-radius-pill);
    font-size: 17px;
}
.xg-lightbox__nav {
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    border-radius: var(--xg-radius-pill);
    font-size: 26px;
    line-height: 1;
}

/* --- მობილურის ქმედებების ზოლი ------------------------------------------- */
.xg-cta-bar { display: none; }

/* --- ადაპტირება ---------------------------------------------------------- */
@media (max-width: 1200px) {
    /* ორი სვეტისთვის ადგილი აღარ რჩება: კონტენტის სვეტს გვერდითა პანელები
       500px-ს აკლებენ. */
    .xg-profile__top { grid-template-columns: 1fr; justify-content: stretch; }
    /* grid-ის ელემენტს ნაგულისხმევად `min-width: auto` აქვს და ფიქსირებული
       სიგანის გალერეა სვეტს გარეთ გადიოდა (ჰორიზონტალური სქროლი მობილურზე). */
    .xg-profile__top > * { min-width: 0; }
    .xg-gallery { width: 100%; max-width: var(--xg-photo-max, 520px); }
    .xg-summary__card { position: static; }
}

@media (max-width: 768px) {
    .xg-sections { grid-template-columns: 1fr; gap: var(--xg-spacing-sm); }
    .xg-panel,
    .xg-summary__card { padding: var(--xg-spacing-sm); }
    .xg-summary__name { font-size: 21px; }
    .xg-stats dd { font-size: 19px; }
    .xg-specs > div,
    .xg-langs li { flex-wrap: wrap; }

    /* ქმედებები ეკრანის ქვედა კიდეზე — გვერდის ბოლომდე ჩამოსვლა აღარ სჭირდება */
    .xg-cta-bar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 900;
        display: flex;
        gap: 8px;
        padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
        background: rgba(13, 13, 13, .96);
        border-top: 1px solid rgba(255, 255, 255, .1);
    }
    .xg-cta-bar .xg-btn { flex: 1; min-height: 46px; }
    /* ზოლი კონტენტს არ უნდა ფარავდეს */
    .xg-profile { padding-bottom: 72px; }
}

@media (prefers-reduced-motion: reduce) {
    .xg-btn,
    .xg-chips li,
    .xg-gallery__thumb,
    .xg-gallery__zoom { transition: none; }
    .xg-btn:active { transform: none; }
}


/* --- ვიდეოები ------------------------------------------------------------ */
.xg-videos__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: var(--xg-spacing-sm);
}
.xg-videos__item {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    max-height: 420px;
    border-radius: var(--xg-radius-md);
    background: #000;
    object-fit: cover;
}
@media (max-width: 560px) {
    .xg-videos__grid { grid-template-columns: 1fr; }
    .xg-videos__item { aspect-ratio: auto; max-height: 70vh; object-fit: contain; }
}


/* --- UP-ის დასტური საკუთარ პროფილზე ----------------------------------------- */
.xg-upnotice {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 14px;
    margin: 0 0 var(--xg-spacing-md);
    padding: 12px 16px;
    border: 1px solid rgba(57, 163, 41, .35);
    border-radius: var(--xg-radius-md);
    background: #eef8ec;
    color: #1d4a17;
}
.xg-upnotice__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--xg-red) 0%, var(--xg-pink) 100%);
    color: #fff;
    font-weight: 800;
}
.xg-upnotice p { flex: 1; margin: 0; font-weight: 600; }
.xg-upnotice a { color: var(--xg-red-dark); font-weight: 700; text-decoration: underline; }

/* ლოდინი — ინფორმაციაა და არა წარმატება */
.xg-upnotice--wait { border-color: rgba(226, 33, 1, .25); background: #fff4f2; color: #5c1a12; }
.xg-summary__meta strong a { color: inherit; text-decoration: none; border-bottom: 1px dotted currentColor; }
.xg-btn--tg { background: #2aabee; }

/* ===========================================================================
   ანკეტის გვერდი — საიტის მუქ სტილში (ისევე როგორც მთავარი გვერდი)
   ფერები ცვლადებით იცვლება, ამიტომ ყველა ბლოკი (ბარათი, პანელები, ფასები,
   chip-ები, breadcrumb) ერთდროულად მუქდება.
   =========================================================================== */
.all-body--dark { background: #0e0b10; }
.all-body--dark .body, .all-body--dark .bodybox { border: 0 !important; background: transparent; }
.xg-profile {
    --xg-text: #f3f1f5;
    --xg-text-dimmed: rgba(255, 255, 255, .58);
    --xg-border: rgba(255, 255, 255, .09);
    --xg-paper: #19141d;
    --xg-surface: rgba(255, 255, 255, .05);
    --xg-shadow-xs: 0 10px 26px rgba(0, 0, 0, .35);
    color: var(--xg-text);
    padding-top: 14px;
    padding-bottom: 24px;
}
.xg-profile .xg-crumbs a:hover { color: #ff6b81; }

/* გალერეა */
.xg-profile .xg-gallery__stage { border-radius: 18px; overflow: hidden; background: #19141d; box-shadow: 0 14px 34px rgba(0, 0, 0, .45); }
.xg-profile .xg-gallery__thumb { border-radius: 10px; border-color: transparent; opacity: .55; }
.xg-profile .xg-gallery__thumb.is-active { border-color: #e22101; }

/* საკონტაქტო ბარათი */
.xg-profile .xg-summary__card {
    border-radius: 18px;
    background: linear-gradient(180deg, #1c1620 0%, #151118 100%);
    border-color: rgba(255, 255, 255, .07);
}
.xg-profile .xg-summary__name { font-size: 28px; font-weight: 800; }
.xg-profile .xg-stats__item { border-radius: 12px; background: rgba(255, 255, 255, .04); }
.xg-profile .xg-stats dd { color: #ff4d6a; }
.xg-profile .xg-btn { border-radius: 12px; min-height: 48px; box-shadow: 0 8px 18px rgba(0, 0, 0, .3); }
.xg-profile .xg-summary__meta strong { color: #fff; }
.xg-profile .xg-summary__meta strong a { color: #fff; }

/* პანელები */
.xg-profile .xg-panel { border-radius: 18px; }
.xg-profile .xg-panel--about { border-left: 0; box-shadow: inset 3px 0 0 #e22101, var(--xg-shadow-xs); }
.xg-profile .xg-panel h2 { font-size: 17px; font-weight: 800; }
.xg-profile .xg-panel h2::before {
    content: "";
    width: 4px;
    height: 16px;
    border-radius: 2px;
    background: linear-gradient(180deg, #ff3366, #e22101);
}
.xg-profile .xg-panel--about h2::before { display: none; }
.xg-profile .xg-about__text { color: rgba(255, 255, 255, .78); }
.xg-profile .xg-chips li { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .1); color: #f3f1f5; }
.xg-profile .xg-chips li:hover { background: rgba(226, 33, 1, .12); border-color: #e22101; }
.xg-profile .xg-chips .icon-ok { color: #4cd964; }
.xg-profile .xg-rates tbody tr:hover th,
.xg-profile .xg-rates tbody tr:hover td { background: rgba(255, 255, 255, .03); }
.xg-profile .xg-rates tbody td { color: #fff; }
.xg-profile .xg-meter i { background: rgba(255, 255, 255, .14); }
.xg-profile .xg-meter i.is-on { background: #ff3366; }
.xg-profile .xg-views { color: rgba(255, 255, 255, .45); }
.xg-profile .xg-report { background: rgba(226, 33, 1, .1); color: #ff6b5a !important; border-color: rgba(226, 33, 1, .6); }
.xg-profile .xg-videos__item { border-radius: 14px; }
.xg-profile .xg-upnotice { background: #1c1620; border-color: rgba(255, 255, 255, .1); color: #f3f1f5; }

/* --- ანკეტის გვერდი: ერთიანი რიტმი და დაშორებები -------------------------
   სახელი პარამეტრებს აღარ ეკვრის; ბარათის, პანელების და სიების შიდა
   დაშორებები ერთ სისტემაზეა (mobile 16–18px, desktop 22–24px). */
.xg-profile .xg-summary__card { padding: 24px; }
.xg-profile .xg-summary__name { margin: 0 0 18px; line-height: 1.15; }
.xg-profile .xg-stats { gap: 10px; margin: 0 0 20px; }
.xg-profile .xg-stats__item { padding: 12px 6px 11px; }
.xg-profile .xg-stats dt { margin-bottom: 6px; font-size: 11px; }
.xg-profile .xg-stats dd span { margin-left: 3px; }
.xg-profile .xg-actions { gap: 10px; }
.xg-profile .xg-actions:not(:has(a)) { display: none; }
.xg-profile .xg-summary__note { margin: 0; line-height: 1.6; }
.xg-profile .xg-summary__meta { margin-top: 20px; padding-top: 6px; font-size: 13px; }
.xg-profile .xg-summary__meta li { align-items: baseline; padding: 11px 0; }
.xg-profile .xg-summary__meta li:last-child { padding-bottom: 0; }

.xg-profile .xg-profile__top { margin-bottom: 24px; }
.xg-profile .xg-sections { gap: 20px; }
.xg-profile .xg-panel { padding: 24px; }
.xg-profile .xg-panel h2 { margin: 0 0 16px; padding-bottom: 14px; line-height: 1.3; }
.xg-profile .xg-about__text { line-height: 1.75; }
.xg-profile .xg-specs > div,
.xg-profile .xg-langs li { padding: 11px 0; }
.xg-profile .xg-specs > div:first-child,
.xg-profile .xg-langs li:first-child { padding-top: 2px; }
.xg-profile .xg-specs > div:last-child,
.xg-profile .xg-langs li:last-child { padding-bottom: 0; }
.xg-profile .xg-chips { gap: 10px; }
.xg-profile .xg-profile__foot { margin-top: 24px; padding-top: 18px; }

@media (max-width: 768px) {
    .xg-profile .xg-summary__card,
    .xg-profile .xg-panel { padding: 18px 16px; }
    .xg-profile .xg-summary__name { margin-bottom: 16px; font-size: 26px; }
    .xg-profile .xg-stats { gap: 8px; margin-bottom: 18px; }
    .xg-profile .xg-profile__top { margin-bottom: 16px; }
    .xg-profile .xg-sections { gap: 14px; }
    .xg-profile .xg-panel h2 { margin-bottom: 14px; padding-bottom: 12px; }
    .xg-profile .xg-about__text { font-size: 15px; line-height: 1.7; }
}
