/* ===== Marvel Power Rankings — Front-End v2 ===== */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Barlow+Condensed:wght@400;600;700;900&family=Barlow:wght@300;400;500;600&display=swap');

/* ── Reset & Variables ── */
.mpr-wrapper *, .mpr-detail-wrapper * { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --red:      #F0141E;
    --red-dark: #b8000a;
    --red-glow: rgba(240,20,30,.4);
    --black:    #080808;
    --dark:     #111111;
    --dark2:    #1a1a1a;
    --mid:      #2c2c2c;
    --white:    #ffffff;
    --off:      #f5f5f5;
    --border:   #e2e2e2;
    --text:     #0d0d0d;
    --muted:    #666;
    --gold:     #FFD700;
    --gold2:    #c9a227;
    --purple:   #6d28d9;
    --blue:     #1d4ed8;
    --teal:     #0e7490;
    --green:    #15803d;
    --slate:    #475569;
}

/* ══════════════════════════════════════════════════
   GLOBAL PAGE OVERRIDES — hide WP cruft
══════════════════════════════════════════════════ */

/* Hide the page title on rankings/character pages */
.mpr-rankings-page .entry-title,
.mpr-rankings-page .page-title,
.mpr-rankings-page h1.entry-title,
.mpr-character-page .entry-title,
.mpr-character-page .page-title,
.mpr-character-page h1.entry-title,
/* common theme selectors */
.mpr-rankings-page .page-header,
.mpr-character-page .page-header,
body.mpr-rankings-page .wp-block-post-title,
body.mpr-character-page .wp-block-post-title {
    display: none !important;
}

/* Full-width content area */
.mpr-rankings-page .entry-content,
.mpr-rankings-page .page-content,
.mpr-rankings-page article,
.mpr-character-page .entry-content,
.mpr-character-page .page-content,
.mpr-character-page article {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
}
.mpr-rankings-page .site-main,
.mpr-rankings-page main,
.mpr-character-page .site-main,
.mpr-character-page main {
    padding: 0 !important;
    margin: 0 !important;
}

/* ══════════════════════════════════════════════════
   WRAPPER
══════════════════════════════════════════════════ */
.mpr-wrapper {
    background: var(--white);
    color: var(--text);
    font-family: 'Barlow', sans-serif;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

/* ══════════════════════════════════════════════════
   HERO HEADER — full bleed dark panel
══════════════════════════════════════════════════ */
.mpr-header {
    background: var(--black);
    padding: 0;
    position: relative;
    overflow: hidden;
}

/* Diagonal red slice */
.mpr-header::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0; right: 0;
    height: 60px;
    background: var(--white);
    clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

.mpr-header-inner {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 52px 48px 72px;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Animated background lightning bolt */
.mpr-header::before {
    content: '⚡';
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 260px;
    opacity: .04;
    line-height: 1;
    pointer-events: none;
    z-index: 0;
}

.mpr-logo-mark {
    font-size: 72px;
    line-height: 1;
    filter: drop-shadow(0 0 20px var(--red));
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.mpr-header-text { position: relative; z-index: 1; }

.mpr-header-sub {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .35em;
    color: var(--red);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.mpr-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(58px, 9vw, 100px);
    line-height: .92;
    color: var(--white);
    letter-spacing: .04em;
}

.mpr-title span {
    color: var(--red);
    display: block;
    text-shadow: 0 0 40px rgba(240,20,30,.6);
}

.mpr-header-desc {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: rgba(255,255,255,.4);
    margin-top: 14px;
    letter-spacing: .14em;
    text-transform: uppercase;
}

/* ══════════════════════════════════════════════════
   TIER LEGEND BAR
══════════════════════════════════════════════════ */
.mpr-tier-legend {
    background: var(--off);
    border-bottom: 1px solid var(--border);
    padding: 0;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
}
.mpr-tier-legend::-webkit-scrollbar { display: none; }
.mpr-tier-legend-inner {
    display: flex;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0;
}
.mpr-tier-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
    border-right: 1px solid var(--border);
    flex-shrink: 0;
    cursor: default;
    transition: background .15s;
}
.mpr-tier-pill:hover { background: rgba(0,0,0,.04); }
.mpr-tier-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}
.dot-absolute { background: var(--gold); box-shadow: 0 0 6px rgba(255,215,0,.6); }
.dot-omega    { background: var(--red);  box-shadow: 0 0 6px var(--red-glow); }
.dot-cosmic   { background: var(--purple); }
.dot-celestial{ background: var(--blue); }
.dot-alpha    { background: var(--teal); }
.dot-beta     { background: var(--green); }
.dot-gamma    { background: var(--slate); }

/* ══════════════════════════════════════════════════
   SEARCH
══════════════════════════════════════════════════ */
.mpr-search-bar {
    position: relative;
    padding: 28px 48px 16px;
    max-width: 1100px;
    margin: 0 auto;
}
.mpr-search-bar input {
    width: 100%;
    padding: 16px 52px 16px 24px;
    border: 2px solid var(--border);
    border-radius: 50px;
    font-family: 'Barlow', sans-serif;
    font-size: 16px;
    color: var(--text);
    outline: none;
    background: var(--off);
    transition: border-color .2s, box-shadow .2s, background .2s;
}
.mpr-search-bar input::placeholder { color: #aaa; }
.mpr-search-bar input:focus {
    border-color: var(--red);
    box-shadow: 0 0 0 4px rgba(240,20,30,.12);
    background: var(--white);
}
.mpr-search-icon {
    position: absolute;
    right: 68px;
    top: 50%;
    transform: translateY(-35%);
    color: #bbb;
    font-size: 20px;
    pointer-events: none;
}

/* ══════════════════════════════════════════════════
   COUNT ROW
══════════════════════════════════════════════════ */
.mpr-count-row {
    max-width: 1100px;
    margin: 0 auto;
    padding: 4px 48px 16px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
}

/* ══════════════════════════════════════════════════
   LIST
══════════════════════════════════════════════════ */
.mpr-list {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 48px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* ══════════════════════════════════════════════════
   CARD
══════════════════════════════════════════════════ */
.mpr-card {
    display: grid;
    grid-template-columns: 78px 72px 1fr auto;
    align-items: center;
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    position: relative;
    transition: transform .16s cubic-bezier(.4,0,.2,1),
                box-shadow .16s cubic-bezier(.4,0,.2,1),
                border-color .16s;
}

.mpr-card::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 5px;
    border-radius: 10px 0 0 10px;
    transition: width .16s;
}

/* Tier left-bar colours */
.mpr-card.tier-absolute::before { background: var(--gold); }
.mpr-card.tier-omega::before    { background: var(--red); }
.mpr-card.tier-cosmic::before   { background: var(--purple); }
.mpr-card.tier-celestial::before{ background: var(--blue); }
.mpr-card.tier-alpha::before    { background: var(--teal); }
.mpr-card.tier-beta::before     { background: var(--green); }
.mpr-card.tier-gamma::before    { background: var(--slate); }

.mpr-card:hover {
    transform: translateX(6px) translateY(-1px);
    border-color: transparent;
    box-shadow: -6px 6px 32px rgba(0,0,0,.13), 0 2px 8px rgba(0,0,0,.06);
}
.mpr-card.tier-absolute:hover { box-shadow: -6px 6px 32px rgba(255,215,0,.2), 0 2px 12px rgba(0,0,0,.1); }
.mpr-card.tier-omega:hover    { box-shadow: -6px 6px 32px rgba(240,20,30,.2), 0 2px 12px rgba(0,0,0,.1); }
.mpr-card.tier-cosmic:hover   { box-shadow: -6px 6px 32px rgba(109,40,217,.2), 0 2px 12px rgba(0,0,0,.1); }
.mpr-card.tier-celestial:hover{ box-shadow: -6px 6px 32px rgba(29,78,216,.2), 0 2px 12px rgba(0,0,0,.1); }

/* ── Stan Lee — special gold card ── */
.mpr-card.tier-absolute {
    background: linear-gradient(105deg, #fffdf0 0%, #fffff8 60%, var(--white) 100%);
    border-color: rgba(255,215,0,.35);
}

/* ── Rank Badge ── */
.mpr-rank-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 80px;
    padding: 0 8px 0 18px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 26px;
    letter-spacing: .04em;
    color: #ccc;
    user-select: none;
    white-space: nowrap;
    flex-shrink: 0;
}
.mpr-rank-badge.tier-absolute { color: var(--gold2); font-size: 30px; }
.mpr-rank-badge.tier-omega    { color: var(--red); }
.mpr-rank-badge.tier-cosmic   { color: var(--purple); }
.mpr-rank-badge.tier-celestial{ color: var(--blue); }
.mpr-rank-badge.tier-alpha    { color: var(--teal); }
.mpr-rank-badge.tier-beta     { color: var(--green); }
.mpr-rank-badge.tier-gamma    { color: var(--slate); }

/* ── Avatar ── */
.mpr-avatar-wrap {
    position: relative;
    width: 58px;
    height: 58px;
    flex-shrink: 0;
    margin: 11px 8px;
    border-radius: 8px;
    overflow: hidden;
}
.mpr-avatar {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    background: #ddd;
    transition: transform .2s;
}
.mpr-card:hover .mpr-avatar { transform: scale(1.08); }
.mpr-avatar-glow {
    position: absolute;
    inset: 0;
    border-radius: 8px;
    opacity: 0;
    transition: opacity .2s;
    pointer-events: none;
}
.mpr-card:hover .mpr-avatar-glow { opacity: 1; }
.tier-absolute .mpr-avatar-glow { box-shadow: inset 0 0 12px 3px rgba(255,215,0,.45); }
.tier-omega    .mpr-avatar-glow { box-shadow: inset 0 0 12px 3px var(--red-glow); }
.tier-cosmic   .mpr-avatar-glow { box-shadow: inset 0 0 12px 3px rgba(109,40,217,.4); }
.tier-celestial .mpr-avatar-glow{ box-shadow: inset 0 0 12px 3px rgba(29,78,216,.4); }
.tier-alpha    .mpr-avatar-glow { box-shadow: inset 0 0 12px 3px rgba(14,116,144,.4); }

/* ── Card Info ── */
.mpr-card-info {
    padding: 14px 12px 14px 4px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.mpr-name {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 19px;
    font-weight: 700;
    color: var(--black);
    letter-spacing: .01em;
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.tier-absolute .mpr-name { color: #5a4000; }

.mpr-universe {
    font-size: 12px;
    font-weight: 500;
    color: var(--muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mpr-affil {
    font-size: 11px;
    color: #bbb;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── Tier label chip on each card ── */
.mpr-card-tier {
    flex-shrink: 0;
    display: none; /* shown on wider screens */
}

/* ── Arrow ── */
.mpr-card-arrow {
    padding: 0 22px;
    color: #d0d0d0;
    font-size: 20px;
    transition: color .15s, transform .15s;
    flex-shrink: 0;
}
.mpr-card:hover .mpr-card-arrow {
    color: var(--red);
    transform: translateX(4px);
}
.tier-absolute .mpr-card-arrow { color: rgba(255,215,0,.4); }
.tier-absolute:hover .mpr-card-arrow { color: var(--gold2); }

/* ══════════════════════════════════════════════════
   NO RESULTS / EMPTY
══════════════════════════════════════════════════ */
.mpr-no-results {
    text-align: center;
    padding: 80px 0;
    color: var(--muted);
    font-size: 16px;
    max-width: 1100px;
    margin: 0 auto;
    padding-left: 48px;
    padding-right: 48px;
}
.mpr-no-results p::before { content: '🔍 '; }

/* ══════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════ */
.mpr-footer {
    text-align: center;
    padding: 48px 48px 64px;
    color: var(--muted);
    font-size: 13px;
    border-top: 1px solid var(--border);
    margin-top: 40px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

/* ══════════════════════════════════════════════════
   ANIMATIONS
══════════════════════════════════════════════════ */
@keyframes mpr-in {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: none; }
}
.mpr-card {
    animation: mpr-in .35s ease both;
}
.mpr-card:nth-child(1)  { animation-delay: .02s; }
.mpr-card:nth-child(2)  { animation-delay: .05s; }
.mpr-card:nth-child(3)  { animation-delay: .08s; }
.mpr-card:nth-child(4)  { animation-delay: .11s; }
.mpr-card:nth-child(5)  { animation-delay: .14s; }
.mpr-card:nth-child(6)  { animation-delay: .17s; }
.mpr-card:nth-child(7)  { animation-delay: .20s; }
.mpr-card:nth-child(8)  { animation-delay: .23s; }
.mpr-card:nth-child(9)  { animation-delay: .26s; }
.mpr-card:nth-child(10) { animation-delay: .29s; }


/* ══════════════════════════════════════════════════
   ════ DETAIL PAGE ════
══════════════════════════════════════════════════ */

.mpr-detail-wrapper {
    background: var(--white);
    color: var(--text);
    font-family: 'Barlow', sans-serif;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

/* ── Back Button ── */
.mpr-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 32px 48px 28px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--red);
    text-decoration: none;
    transition: gap .15s, opacity .15s;
    opacity: .8;
}
.mpr-back-btn:hover { gap: 10px; opacity: 1; }

/* ── Detail Hero ── */
.mpr-detail-hero {
    position: relative;
    display: grid;
    grid-template-columns: 100px 220px 1fr;
    align-items: stretch;
    background: var(--black);
    margin: 0 48px 48px;
    border-radius: 16px;
    overflow: hidden;
    min-height: 240px;
}
.mpr-detail-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,.07);
    pointer-events: none;
}

/* Tier accent bar */
.mpr-detail-hero::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 6px;
}
.mpr-detail-hero.tier-absolute::before { background: var(--gold); }
.mpr-detail-hero.tier-omega::before    { background: var(--red); }
.mpr-detail-hero.tier-cosmic::before   { background: var(--purple); }
.mpr-detail-hero.tier-celestial::before{ background: var(--blue); }
.mpr-detail-hero.tier-alpha::before    { background: var(--teal); }
.mpr-detail-hero.tier-beta::before     { background: var(--green); }
.mpr-detail-hero.tier-gamma::before    { background: var(--slate); }

/* Large ghost rank watermark */
.mpr-detail-hero .mpr-detail-watermark {
    position: absolute;
    right: 32px; bottom: -20px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 180px;
    color: rgba(255,255,255,.04);
    line-height: 1;
    pointer-events: none;
    z-index: 0;
}

.mpr-detail-rank {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 0 0 24px;
    position: relative;
    z-index: 1;
}
.mpr-detail-rank span {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 54px;
    line-height: 1;
    color: rgba(255,255,255,.18);
}
.mpr-detail-rank.tier-absolute span { color: rgba(255,215,0,.65); }
.mpr-detail-rank.tier-omega    span { color: rgba(240,20,30,.65); }
.mpr-detail-rank.tier-cosmic   span { color: rgba(109,40,217,.65); }
.mpr-detail-rank.tier-celestial span{ color: rgba(29,78,216,.65); }
.mpr-detail-rank.tier-alpha    span { color: rgba(14,116,144,.65); }
.mpr-detail-rank.tier-beta     span { color: rgba(21,128,61,.65); }

.mpr-detail-img-wrap {
    width: 220px;
    flex-shrink: 0;
    overflow: hidden;
    background: #111;
    position: relative;
    z-index: 1;
}
.mpr-detail-img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    min-height: 240px;
}

.mpr-detail-header-info {
    padding: 32px 36px 32px 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.mpr-detail-name {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(32px, 4.5vw, 58px);
    line-height: 1;
    color: var(--white);
    letter-spacing: .04em;
    margin: 0;
}

.mpr-detail-meta {
    font-size: 14px;
    color: rgba(255,255,255,.5);
    line-height: 1.5;
    font-weight: 400;
}
.mpr-detail-meta strong {
    color: rgba(255,255,255,.75);
    font-weight: 600;
}

/* Status badge */
.mpr-status-badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    vertical-align: middle;
}
.status-active     { background: rgba(34,197,94,.18);  color: #4ade80; }
.status-deceased   { background: rgba(239,68,68,.18);  color: #f87171; }
.status-eternal    { background: rgba(251,191,36,.18); color: #fcd34d; }
.status-unknown    { background: rgba(156,163,175,.18);color: #9ca3af; }
.status-defeated   { background: rgba(239,68,68,.15);  color: #fca5a5; }
.status-imprisoned { background: rgba(99,102,241,.18); color: #a5b4fc; }
.status-zombie     { background: rgba(16,185,129,.15); color: #6ee7b7; }

/* ── Detail Tier Badge ── */
.mpr-detail-tier-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 4px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    width: fit-content;
}
.mpr-detail-tier-badge.tier-absolute { background: rgba(255,215,0,.15); color: var(--gold); border: 1px solid rgba(255,215,0,.3); }
.mpr-detail-tier-badge.tier-omega    { background: rgba(240,20,30,.15); color: #ff6b6b; border: 1px solid rgba(240,20,30,.3); }
.mpr-detail-tier-badge.tier-cosmic   { background: rgba(109,40,217,.15); color: #c4b5fd; border: 1px solid rgba(109,40,217,.3); }
.mpr-detail-tier-badge.tier-celestial{ background: rgba(29,78,216,.15); color: #93c5fd; border: 1px solid rgba(29,78,216,.3); }
.mpr-detail-tier-badge.tier-alpha    { background: rgba(14,116,144,.15); color: #67e8f9; border: 1px solid rgba(14,116,144,.3); }
.mpr-detail-tier-badge.tier-beta     { background: rgba(21,128,61,.15); color: #86efac; border: 1px solid rgba(21,128,61,.3); }
.mpr-detail-tier-badge.tier-gamma    { background: rgba(71,85,105,.15); color: #94a3b8; border: 1px solid rgba(71,85,105,.3); }

/* ── Detail Body ── */
.mpr-detail-body {
    max-width: none;
    padding: 0 48px 64px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.mpr-detail-section {
    background: var(--off);
    border-radius: 12px;
    padding: 28px 32px;
    border: 1px solid var(--border);
}
.mpr-detail-section.full-width {
    grid-column: 1 / -1;
}

.mpr-section-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.mpr-section-title::before {
    content: '';
    display: inline-block;
    width: 3px;
    height: 16px;
    background: var(--red);
    border-radius: 2px;
    flex-shrink: 0;
}

.mpr-detail-section p {
    font-size: 15px;
    line-height: 1.8;
    color: #333;
    font-weight: 300;
}

/* ── Abilities List ── */
.mpr-abilities-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.mpr-abilities-list li {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: 50px;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
    transition: border-color .15s, color .15s;
}
.mpr-abilities-list li:hover {
    border-color: var(--red);
    color: var(--red);
}

/* ══════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════ */
@media (max-width: 900px) {
    .mpr-header-inner { padding: 36px 24px 56px; gap: 20px; }
    .mpr-logo-mark { font-size: 52px; }
    .mpr-search-bar { padding: 20px 24px 12px; }
    .mpr-count-row { padding: 4px 24px 12px; }
    .mpr-list { padding: 0 24px; }
    .mpr-footer { padding: 36px 24px 48px; }

    .mpr-detail-hero { margin: 0 24px 32px; grid-template-columns: 70px 160px 1fr; }
    .mpr-detail-img-wrap { width: 160px; }
    .mpr-detail-body { padding: 0 24px 48px; grid-template-columns: 1fr; }
    .mpr-back-btn { margin: 24px 24px 20px; }
}

@media (max-width: 600px) {
    .mpr-header::before { display: none; }
    .mpr-header-inner { padding: 28px 20px 48px; flex-direction: column; align-items: flex-start; gap: 12px; }
    .mpr-logo-mark { font-size: 40px; }
    .mpr-title { font-size: clamp(42px, 12vw, 58px); }

    .mpr-search-bar { padding: 16px 16px 8px; }
    .mpr-count-row { padding: 4px 16px 10px; }
    .mpr-list { padding: 0 16px; gap: 5px; }

    .mpr-card { grid-template-columns: 58px 56px 1fr auto; }
    .mpr-rank-badge { font-size: 18px; padding: 0 4px 0 12px; }
    .mpr-avatar-wrap { width: 46px; height: 46px; margin: 9px 6px; }
    .mpr-name { font-size: 15px; }
    .mpr-card-arrow { padding: 0 14px; font-size: 16px; }

    .mpr-detail-hero {
        margin: 0 16px 24px;
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    .mpr-detail-rank { padding: 20px 24px 0; justify-content: flex-start; }
    .mpr-detail-img-wrap { width: 100%; height: 220px; }
    .mpr-detail-img { min-height: 220px; }
    .mpr-detail-header-info { padding: 20px 24px 24px; }
    .mpr-detail-body { padding: 0 16px 48px; }
    .mpr-back-btn { margin: 20px 16px 16px; }
    .mpr-footer { padding: 28px 16px 40px; }
}
