/* =====================================================================
   IRON PAW CHALLENGE — Dog Profile page styles
   Loads alongside ironpaw.css (which provides the design tokens).
   ===================================================================== */

/* ===== Back link ===== */
.ip-dog-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 14px 0 12px;
    color: var(--ip-text-mute);
    font-family: var(--ip-mono);
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
    transition: color .2s ease;
}
.ip-dog-back:hover { color: var(--ip-gold); }
.ip-dog-back svg { width: 14px; height: 14px; }

/* ===== Hero ===== */
.ip-dog-hero {
    display: grid;
    grid-template-columns: minmax(220px, 26%) 1fr 180px 200px;
    gap: 12px;
    align-items: stretch;
    margin-bottom: 14px;
}

.ip-dog-hero__photo {
    position: relative;
    border-radius: var(--ip-radius);
    overflow: hidden;
    background: linear-gradient(135deg, #232b44 0%, #14192a 100%);
    aspect-ratio: 4/4;
    box-shadow: 0 8px 22px rgba(0,0,0,.4);
    border: 1px solid var(--ip-border);
}
.ip-dog-hero__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.ip-dog-hero__photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(5,8,15,.4));
    pointer-events: none;
}

/* Placeholder shown until the user uploads a profile photo */
.ip-dog-hero__placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--ip-text-mute);
}
.ip-dog-hero__placeholder svg {
    width: 64px;
    height: 64px;
    opacity: .35;
}
.ip-dog-hero__placeholder span {
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 700;
    opacity: .8;
}

.ip-dog-hero__main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 6px 0;
}
.ip-dog-name {
    font-size: 32px;
    font-weight: 900;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    margin: 0 0 8px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.ip-dog-name svg { width: 22px; height: 22px; color: var(--ip-gold); }

.ip-dog-country {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ip-text-dim);
    font-family: var(--ip-mono);
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-size: 11px;
    margin-bottom: 10px;
}

.ip-dog-meta {
    color: var(--ip-text-mute);
    font-size: 12px;
    line-height: 1.55;
}
.ip-dog-meta__row { display: block; }
.ip-dog-meta__row .sep { color: var(--ip-text-mute); margin: 0 8px; }
.ip-dog-meta__row strong { color: var(--ip-text); font-weight: 700; }

.ip-dog-actions {
    display: flex;
    gap: 10px;
    margin-top: 22px;
}
.ip-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 4px;
    border: 0;
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
    font-family: inherit;
    transition: all .2s ease;
}
.ip-btn svg { width: 14px; height: 14px; }
.ip-btn--primary {
    background: var(--ip-gold);
    color: #1a1300;
}
.ip-btn--primary:hover {
    background: #fbc54e;
    box-shadow: 0 6px 18px rgba(244,181,60,.3);
}
.ip-btn--ghost {
    background: rgba(255,255,255,.02);
    border: 1px solid var(--ip-border-strong);
    color: var(--ip-text);
}
.ip-btn--ghost:hover { border-color: var(--ip-gold); color: var(--ip-gold); }

/* ===== ELO summary panel ===== */
.ip-dog-elo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 8px 0;
    gap: 4px;
}
.ip-dog-elo__label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--ip-mono);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ip-text-faint);
}
.ip-dog-elo__label .ip-info-tooltip { margin: 0; }
.ip-dog-elo__value {
    font-size: 42px;
    font-weight: 800;
    color: var(--ip-gold);
    line-height: 1;
    letter-spacing: -0.01em;
    font-variant-numeric: tabular-nums;
    margin: 4px 0 10px;
}
.ip-dog-elo__rank-label {
    font-family: var(--ip-mono);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ip-text-faint);
}
.ip-dog-elo__rank {
    font-size: 26px;
    font-weight: 800;
    color: var(--ip-text);
    line-height: 1;
    margin-top: 2px;
}
.ip-dog-elo__trend {
    margin-top: 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--ip-text-mute);
    letter-spacing: 0.06em;
}
.ip-dog-elo__trend strong {
    color: var(--ip-text);
    font-weight: 700;
}

/* Form indicator (5 dots) */
.ip-dog-form {
    margin-top: 12px;
    border: 1px solid rgba(74,222,128,.25);
    border-radius: var(--ip-radius-sm);
    padding: 9px 14px;
    background: rgba(74,222,128,.05);
    text-align: center;
}
.ip-dog-form__label {
    font-size: 10px;
    letter-spacing: 0.18em;
    color: var(--ip-up);
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 6px;
}
.ip-dog-form__dots {
    display: flex;
    gap: 5px;
    justify-content: center;
}
.ip-dog-form__dots span {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--ip-up);
    box-shadow: 0 0 8px rgba(74,222,128,.5);
}
.ip-dog-form__dots span.is-off { background: var(--ip-surface-3); box-shadow: none; }

/* ===== Right stats panel ===== */
.ip-dog-stats {
    background: linear-gradient(180deg, var(--ip-surface) 0%, var(--ip-bg-2) 100%);
    border: 1px solid var(--ip-border);
    border-radius: var(--ip-radius);
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.ip-stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 7px 0;
    border-bottom: 1px solid var(--ip-border);
}
.ip-stat-row:last-child { border-bottom: 0; }
.ip-stat-row__label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ip-text-dim);
}
.ip-stat-row__icon {
    width: 22px; height: 22px;
    display: grid; place-items: center;
    color: var(--ip-gold);
    background: rgba(244,181,60,.08);
    border: 1px solid rgba(244,181,60,.18);
    border-radius: 2px;
    flex-shrink: 0;
}
.ip-stat-row__icon svg { width: 12px; height: 12px; }
.ip-stat-row__name {
    font-family: var(--ip-mono);
    font-size: 9.5px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ip-text-faint);
    font-weight: 500;
    line-height: 1.2;
}
.ip-stat-row__lead {
    font-size: 13px;
    font-weight: 700;
    color: var(--ip-text);
    line-height: 1.1;
}
.ip-stat-row__value {
    font-size: 14px;
    font-weight: 800;
    color: var(--ip-text);
    font-variant-numeric: tabular-nums;
}

/* ===== Profile tab strip (sits on top of the white card) ===== */
.ip-profile-tabs {
    border-bottom: 1px solid var(--ip-border);
    background: linear-gradient(180deg, var(--ip-surface) 0%, var(--ip-bg-2) 100%);
    border: 1px solid var(--ip-border);
    border-radius: var(--ip-radius);
    padding: 0 14px;
    display: flex;
    gap: 4px;
    overflow-x: auto;
    scrollbar-width: none;
    margin-bottom: 16px;
}
.ip-profile-tabs::-webkit-scrollbar { display: none; }
.ip-profile-tabs button {
    background: none;
    border: 0;
    padding: 14px 18px;
    color: var(--ip-text-mute);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
    position: relative;
    white-space: nowrap;
    font-family: inherit;
    transition: color .2s ease;
}
.ip-profile-tabs button.is-active { color: var(--ip-gold); }
.ip-profile-tabs button::after {
    content: '';
    position: absolute;
    bottom: -1px; left: 18px; right: 18px;
    height: 2px;
    background: var(--ip-gold);
    transform: scaleX(0);
    transition: transform .3s ease;
}
.ip-profile-tabs button.is-active::after { transform: scaleX(1); }
.ip-profile-tabs button:hover { color: var(--ip-text); }

/* ===== Tab strip with side scroll arrows ===== */
.ip-profile-tabs-wrap {
    position: relative;
    margin-bottom: 16px;
    display: flex;
    align-items: stretch;
    border: 1px solid var(--ip-border);
    border-radius: var(--ip-radius);
    background: linear-gradient(180deg, var(--ip-surface) 0%, var(--ip-bg-2) 100%);
    overflow: hidden;
}
.ip-profile-tabs-wrap .ip-profile-tabs {
    margin: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    flex: 1;
    min-width: 0;
}
.ip-profile-tabs__scroll {
    background: rgba(255,255,255,.02);
    border: 0;
    border-left: 1px solid var(--ip-border);
    color: var(--ip-text-mute);
    width: 42px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: all .2s ease;
    font-family: inherit;
}
.ip-profile-tabs__scroll--left  { border-left: 0; border-right: 1px solid var(--ip-border); }
.ip-profile-tabs__scroll:hover {
    background: var(--ip-gold-soft);
    color: var(--ip-gold);
}
.ip-profile-tabs__scroll svg { width: 14px; height: 14px; }
.ip-profile-tabs__scroll:disabled,
.ip-profile-tabs__scroll[data-disabled="true"] {
    opacity: .25;
    cursor: not-allowed;
    pointer-events: none;
}

/* ===== Overview content layout ===== */
.ip-overview {
    display: grid;
    grid-template-columns: 1.85fr 1fr;
    gap: 16px;
}

.ip-card-block {
    background: linear-gradient(180deg, var(--ip-surface) 0%, var(--ip-bg-2) 100%);
    border: 1px solid var(--ip-border);
    border-radius: var(--ip-radius);
    padding: 18px;
}
.ip-card-block__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    gap: 10px;
}
.ip-card-block__title {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.ip-card-block__viewall {
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ip-text-mute);
    font-weight: 700;
    display: inline-flex;
    gap: 6px;
    align-items: center;
    cursor: pointer;
    transition: color .2s ease;
}
.ip-card-block__viewall:hover { color: var(--ip-gold); }
.ip-card-block__viewall svg { width: 12px; height: 12px; }

/* Range toggle on chart cards */
.ip-range-toggle {
    display: inline-flex;
    background: rgba(255,255,255,.03);
    border: 1px solid var(--ip-border-strong);
    border-radius: 4px;
    overflow: hidden;
}
.ip-range-toggle button {
    background: none;
    border: 0;
    padding: 6px 14px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--ip-text-mute);
    cursor: pointer;
    font-family: inherit;
    transition: all .15s ease;
}
.ip-range-toggle button.is-active {
    background: var(--ip-gold);
    color: #1a1300;
}
.ip-range-toggle button:not(.is-active):hover { color: var(--ip-text); }

/* ===== ELO history chart ===== */
.ip-elo-chart {
    width: 100%;
    height: 280px;
    display: block;
}
.ip-elo-chart .grid line { stroke: var(--ip-border); stroke-dasharray: 2 3; }
.ip-elo-chart .axis text {
    fill: var(--ip-text-mute);
    font-size: 11px;
    font-family: var(--ip-font);
}
.ip-elo-chart .area { fill: url(#ip-elo-grad); }
.ip-elo-chart .line {
    fill: none;
    stroke: var(--ip-gold);
    stroke-width: 1.6;
    stroke-linejoin: round;
    stroke-linecap: round;
}
.ip-elo-chart .point {
    fill: var(--ip-bg);
    stroke: var(--ip-gold);
    stroke-width: 1.4;
}
.ip-elo-chart .milestone {
    fill: var(--ip-surface-3);
    stroke: var(--ip-border-strong);
}
.ip-elo-chart .milestone-label {
    fill: var(--ip-text);
    font-size: 11px;
    font-weight: 700;
    text-anchor: middle;
    font-family: var(--ip-font);
}
.ip-elo-chart .milestone-sub {
    fill: var(--ip-text-mute);
    font-size: 10px;
    text-anchor: middle;
    font-family: var(--ip-font);
}

/* ===== Radar (athlete profile) ===== */
.ip-radar {
    width: 100%;
    aspect-ratio: 1 / 0.95;
    display: block;
}
.ip-radar .grid { fill: none; stroke: var(--ip-border); stroke-width: 1; }
.ip-radar .axis { stroke: var(--ip-border); }
.ip-radar .data {
    fill: rgba(244,181,60,.22);
    stroke: var(--ip-gold);
    stroke-width: 2;
    stroke-linejoin: round;
}
.ip-radar .data-point {
    fill: var(--ip-bg);
    stroke: var(--ip-gold);
    stroke-width: 1.8;
}
.ip-radar .data-avg {
    fill: none;
    stroke: var(--ip-text-mute);
    stroke-width: 1;
    stroke-dasharray: 4 3;
}
.ip-radar .label {
    fill: var(--ip-text-dim);
    font-size: 12px;
    font-weight: 600;
    font-family: var(--ip-font);
    text-anchor: middle;
}
.ip-radar .label-value {
    fill: var(--ip-text);
    font-size: 15px;
    font-weight: 800;
    font-family: var(--ip-font);
    text-anchor: middle;
}

.ip-radar-legend {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    gap: 18px;
    font-size: 11px;
    color: var(--ip-text-mute);
    letter-spacing: 0.06em;
}
.ip-radar-legend span { display: inline-flex; align-items: center; gap: 6px; }
.ip-radar-legend .dot {
    width: 12px; height: 2px; background: var(--ip-gold);
}
.ip-radar-legend .dot-avg {
    width: 12px; height: 2px;
    background: repeating-linear-gradient(90deg, var(--ip-text-mute) 0 3px, transparent 3px 6px);
}

/* ===== Performance/event tables (slimmer than rankings table) ===== */
.ip-data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13.5px;
}
.ip-data-table thead th {
    text-align: left;
    padding: 10px 6px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ip-text-mute);
    border-bottom: 1px solid var(--ip-border);
    white-space: nowrap;
}
.ip-data-table tbody td {
    padding: 11px 6px;
    border-bottom: 1px solid var(--ip-border);
    vertical-align: middle;
}
.ip-data-table tbody tr:last-child td { border-bottom: 0; }
.ip-data-table tbody tr:hover { background: rgba(255,255,255,.02); }
.ip-data-table td.num,
.ip-data-table th.num { text-align: right; font-variant-numeric: tabular-nums; }
.ip-data-table .disc-cell {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
}
.ip-data-table .disc-cell__icon {
    width: 24px; height: 24px;
    color: var(--ip-gold);
    display: grid; place-items: center;
    flex-shrink: 0;
}
.ip-data-table .disc-cell__icon svg { width: 18px; height: 18px; }
.ip-data-table .event-cell { color: var(--ip-text-dim); font-size: 12.5px; line-height: 1.3; }
.ip-data-table .rank-pill {
    color: var(--ip-gold);
    font-weight: 800;
}
.ip-data-table .score-val {
    color: var(--ip-text);
    font-weight: 800;
}
.ip-data-table .current-val { color: var(--ip-text-dim); font-weight: 700; }

/* Recent events place medallion */
.ip-place {
    display: inline-grid;
    place-items: center;
    width: 28px; height: 28px;
    border-radius: 50%;
    font-weight: 900;
    font-size: 13px;
    background: var(--ip-surface-3);
    color: var(--ip-text);
}
.ip-place--gold   { background: var(--ip-gold);   color: #1a1300; }
.ip-place--silver { background: var(--ip-silver); color: #1a1f30; }
.ip-place--bronze { background: var(--ip-bronze); color: #fff; }

/* ===== Records & Achievements list ===== */
.ip-achievements {
    list-style: none;
    padding: 0;
    margin: 0;
}
.ip-achievements li {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 12px;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--ip-border);
}
.ip-achievements li:last-child { border-bottom: 0; }
.ip-achievements .icon {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: var(--ip-gold-soft);
    color: var(--ip-gold);
    display: grid;
    place-items: center;
    flex-shrink: 0;
}
.ip-achievements .icon svg { width: 18px; height: 18px; }
.ip-achievements .title { font-weight: 800; font-size: 14px; line-height: 1.2; }
.ip-achievements .sub { color: var(--ip-text-mute); font-size: 12px; line-height: 1.2; margin-top: 2px; }

/* ===== Current Form section ===== */
.ip-form-events {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
    text-align: center;
}
.ip-form-event__dot {
    width: 38px; height: 38px;
    margin: 0 auto 6px;
    border-radius: 50%;
    display: grid; place-items: center;
    font-weight: 900;
    font-size: 14px;
    background: var(--ip-surface-3);
    color: var(--ip-text);
}
.ip-form-event__dot.is-1 { background: var(--ip-up);     color: #042b13; }
.ip-form-event__dot.is-2 { background: var(--ip-silver); color: #1a1f30; }
.ip-form-event__dot.is-3 { background: var(--ip-bronze); color: #fff; }
.ip-form-event__name {
    font-size: 10.5px;
    letter-spacing: 0.04em;
    color: var(--ip-text-mute);
    line-height: 1.2;
}

.ip-form-delta {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid var(--ip-border);
}
.ip-form-delta__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 6px;
}
.ip-form-delta__label {
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ip-text-mute);
    font-weight: 700;
}
.ip-form-delta__big {
    font-size: 34px;
    font-weight: 900;
    color: var(--ip-up);
    line-height: 1;
}
.ip-form-mini-chart {
    width: 100%;
    height: 38px;
    display: block;
}
.ip-form-mini-chart path.area { fill: rgba(74,222,128,.18); }
.ip-form-mini-chart path.line { fill: none; stroke: var(--ip-up); stroke-width: 1.6; }

.ip-form-aux {
    margin-top: 16px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    text-align: center;
}
.ip-form-aux__label {
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ip-text-mute);
    font-weight: 700;
}
.ip-form-aux__value {
    font-size: 26px;
    font-weight: 900;
    color: var(--ip-text);
    margin-top: 4px;
}
.ip-form-aux__value small {
    color: var(--ip-text-mute);
    font-size: 15px;
    font-weight: 700;
    margin: 0 4px;
}

/* ===== Head to Head ===== */
.ip-h2h__sub {
    color: var(--ip-text-mute);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.ip-h2h__main {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 14px;
}
.ip-h2h__avatar {
    width: 78px; height: 78px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, #2a3552, #161c30);
    flex-shrink: 0;
    border: 2px solid var(--ip-border-strong);
}
.ip-h2h__avatar svg { width: 100%; height: 100%; padding: 22%; color: var(--ip-text-mute); }
.ip-h2h__avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ip-h2h__name {
    font-size: 22px;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1.1;
    display: flex;
    align-items: center;
    gap: 8px;
}
.ip-h2h__country {
    color: var(--ip-text-mute);
    font-size: 11px;
    letter-spacing: 0.14em;
    margin-top: 4px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.ip-h2h__score {
    margin-left: auto;
    text-align: right;
}
.ip-h2h__score-num {
    font-size: 38px;
    font-weight: 900;
    line-height: 1;
    color: var(--ip-text);
    font-variant-numeric: tabular-nums;
}
.ip-h2h__score-lead {
    font-size: 11px;
    color: var(--ip-text-mute);
    letter-spacing: 0.06em;
    margin-top: 4px;
}
.ip-h2h__cta {
    width: 100%;
    background: none;
    border: 1px solid var(--ip-border-strong);
    color: var(--ip-text);
    padding: 10px;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    border-radius: 4px;
    cursor: pointer;
    transition: all .2s ease;
    font-family: inherit;
}
.ip-h2h__cta:hover { border-color: var(--ip-gold); color: var(--ip-gold); }

/* ===== Media highlights ===== */
.ip-media-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}
.ip-media-card {
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #232b44 0%, #14192a 100%);
    border-radius: var(--ip-radius-sm);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid var(--ip-border);
}
.ip-media-card__play {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(0,0,0,.55);
    backdrop-filter: blur(4px);
    display: grid; place-items: center;
    color: #fff;
    transition: all .2s ease;
}
.ip-media-card:hover .ip-media-card__play {
    background: var(--ip-gold);
    color: #1a1300;
    transform: translate(-50%,-50%) scale(1.08);
}
.ip-media-card__play svg { width: 14px; height: 14px; }
.ip-media-card__title {
    position: absolute;
    bottom: 8px; left: 10px; right: 10px;
    font-size: 11.5px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    text-shadow: 0 2px 6px rgba(0,0,0,.85);
}

/* ===== Grid wrappers ===== */
.ip-profile-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 16px 0;
}
.ip-profile-grid-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1.05fr;
    gap: 16px;
    margin: 16px 0;
}

/* ===== Responsive ===== */
@media (max-width: 1180px) {
    .ip-dog-hero {
        grid-template-columns: 38% 1fr 220px;
        grid-template-rows: auto auto;
    }
    .ip-dog-stats { grid-column: 1 / -1; }
    .ip-overview { grid-template-columns: 1fr; }
    .ip-profile-grid-3 { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
    .ip-dog-hero {
        grid-template-columns: 1fr;
    }
    .ip-dog-name { font-size: 44px; }
    .ip-dog-elo__value { font-size: 50px; }
    .ip-profile-grid-2 { grid-template-columns: 1fr; }
    .ip-media-grid { grid-template-columns: 1fr 1fr; }
}
