* { box-sizing: border-box; margin: 0; padding: 0; }

body {
font-family: 'DM Sans', sans-serif;
color: var(--text);
background: #fff;
}

h1, h2, h3, h4 {
font-family: 'Sora', sans-serif;
}

/* ── Hero ── */
.ms-hero {
background: var(--brand);
padding: 48px 0 56px;
}

.ms-hero__inner {
max-width: 900px;
margin: 0 auto;
padding: 0 20px;
text-align: center;
}

.ms-hero__eyebrow {
display: inline-flex;
align-items: center;
gap: 6px;
background: rgba(255,255,255,0.12);
color: #c8d8f0;
font-size: 12px;
font-weight: 600;
letter-spacing: 0.08em;
text-transform: uppercase;
padding: 5px 14px;
border-radius: 100px;
margin-bottom: 20px;
}

.ms-hero__title {
font-size: clamp(28px, 5vw, 48px);
font-weight: 700;
color: #fff;
line-height: 1.15;
margin-bottom: 12px;
}

.ms-hero__title span {
color: #f8c842;
}

.ms-hero__sub {
color: #9db8d8;
font-size: 16px;
margin-bottom: 32px;
}

/* ── Search Bar ── */
.ms-search {
background: #fff;
border-radius: var(--radius-lg);
padding: 8px 8px 8px 20px;
display: flex;
align-items: center;
gap: 8px;
box-shadow: 0 4px 24px rgba(0,0,0,0.18);
max-width: 720px;
margin: 0 auto 28px;
}

.ms-search__icon {
color: var(--muted);
font-size: 20px;
flex-shrink: 0;
}

.ms-search input {
flex: 1;
border: none;
outline: none;
font-family: 'DM Sans', sans-serif;
font-size: 15px;
color: var(--text);
background: transparent;
}

.ms-search input::placeholder { color: #9ca3af; }

.ms-search__btn {
background: var(--accent);
color: #fff;
border: none;
border-radius: var(--radius-md);
padding: 11px 24px;
font-family: 'Sora', sans-serif;
font-size: 14px;
font-weight: 600;
cursor: pointer;
white-space: nowrap;
transition: background 0.2s;
}

.ms-search__btn:hover { background: #c73030; }

/* ── Stats Bar ── */
.ms-stats {
display: flex;
justify-content: center;
gap: 36px;
flex-wrap: wrap;
}

.ms-stats__item {
text-align: center;
color: #fff;
}

.ms-stats__num {
font-family: 'Sora', sans-serif;
font-size: 22px;
font-weight: 700;
color: #f8c842;
display: block;
}

.ms-stats__label {
font-size: 12px;
color: #9db8d8;
margin-top: 2px;
}

/* ── Category Pills ── */
.ms-cats {
background: #fff;
border-bottom: 1px solid var(--border);
padding: 0;
position: sticky;
top: 63px;
z-index: 10;
}

.ms-cats__inner {
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
display: flex;
align-items: center;
gap: 4px;
overflow-x: auto;
scrollbar-width: none;
-ms-overflow-style: none;
}

.ms-cats__inner::-webkit-scrollbar { display: none; }

.ms-cats__pill {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 14px 16px;
white-space: nowrap;
font-size: 13px;
font-weight: 500;
color: var(--muted);
text-decoration: none;
border-bottom: 3px solid transparent;
transition: all 0.15s;
flex-shrink: 0;
}

.ms-cats__pill:hover {
color: var(--brand);
border-bottom-color: var(--brand);
}

.ms-cats__pill.active {
color: var(--brand);
border-bottom-color: var(--brand);
font-weight: 600;
}

.ms-cats__pill img {
width: 20px;
height: 20px;
border-radius: 4px;
object-fit: cover;
}

/* ── Main Layout ── */
.ms-layout {
max-width: 1200px;
margin: 0 auto;
padding: 32px 20px;
display: grid;
grid-template-columns: 1fr;
gap: 32px;
}

@media (min-width: 1024px) {
.ms-layout {
    grid-template-columns: 220px 1fr;
}
}

/* ── Sidebar Filters ── */
.ms-sidebar {
display: none;
}

@media (min-width: 1024px) {
.ms-sidebar {
    display: block;
}
}

.ms-filter-box {
background: var(--white);
border: 1px solid var(--border);
border-radius: var(--radius-lg);
padding: 20px;
margin-bottom: 16px;
}

.ms-filter-box h4 {
font-size: 13px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.06em;
color: var(--muted);
margin-bottom: 14px;
}

.ms-filter-item {
display: flex;
align-items: center;
gap: 8px;
padding: 6px 0;
font-size: 14px;
color: var(--text);
cursor: pointer;
border-radius: var(--radius-sm);
}

.ms-filter-item input[type="radio"] {
accent-color: var(--brand);
width: 16px;
height: 16px;
}

/* ── Competitions Grid ── */
.ms-section-head {
display: flex;
align-items: flex-end;
justify-content: space-between;
margin-bottom: 20px;
gap: 12px;
flex-wrap: wrap;
}

.ms-section-head h2 {
font-size: 22px;
font-weight: 700;
}

.ms-section-head p {
font-size: 13px;
color: var(--muted);
margin-top: 2px;
}

.ms-view-all {
font-size: 13px;
font-weight: 600;
color: var(--brand);
text-decoration: none;
white-space: nowrap;
display: flex;
align-items: center;
gap: 4px;
}

.ms-view-all:hover { text-decoration: underline; }

.ms-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
gap: 20px;
}

/* ── Competition Card ── */
.ms-card {
background: var(--white);
border: 1px solid var(--border);
border-radius: var(--radius-lg);
overflow: hidden;
transition: box-shadow 0.2s, transform 0.2s;
display: flex;
flex-direction: column;
text-decoration: none;
color: inherit;
}

.ms-card:hover {
box-shadow: 0 8px 28px rgba(0,0,0,0.10);
transform: translateY(-2px);
}

.ms-card__img-wrap {
position: relative;
aspect-ratio: 16/10;
background: var(--surface);
overflow: hidden;
}

.ms-card__img {
width: 100%;
height: 100%;
object-fit: cover;
object-position: top;
opacity: 0;
transition: opacity 0.35s ease;
display: block;
}

.ms-card__img.ms-loaded { opacity: 1; }

.ms-card__skeleton {
position: absolute;
inset: 0;
background: linear-gradient(90deg, #f0f0f0 25%, #e4e4e4 50%, #f0f0f0 75%);
background-size: 200% 100%;
animation: ms-shimmer 1.4s infinite;
}

@keyframes ms-shimmer {
0%   { background-position: 200% 0; }
100% { background-position: -200% 0; }
}

.ms-card__badge {
position: absolute;
top: 10px;
left: 10px;
background: var(--brand);
color: #fff;
font-size: 11px;
font-weight: 600;
padding: 3px 10px;
border-radius: 100px;
}

.ms-card__count {
position: absolute;
top: 10px;
right: 10px;
background: rgba(255,255,255,0.92);
color: var(--text);
font-size: 11px;
font-weight: 600;
padding: 3px 8px;
border-radius: 100px;
display: flex;
align-items: center;
gap: 4px;
}

.ms-card__body {
padding: 16px;
flex: 1;
display: flex;
flex-direction: column;
gap: 8px;
}

.ms-card__title {
font-family: 'Sora', sans-serif;
font-size: 15px;
font-weight: 600;
line-height: 1.35;
color: var(--text);
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
}

.ms-card__desc {
font-size: 13px;
color: var(--muted);
line-height: 1.5;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
}

.ms-card__meta {
display: flex;
align-items: center;
justify-content: space-between;
font-size: 12px;
color: var(--muted);
margin-top: auto;
}

.ms-card__progress-wrap {
margin-top: 4px;
}

.ms-card__progress-row {
display: flex;
justify-content: space-between;
font-size: 12px;
margin-bottom: 5px;
}

.ms-card__progress-votes {
font-weight: 600;
color: var(--text);
font-size: 13px;
}

.ms-card__progress-date {
color: var(--muted);
}

.ms-card__bar {
width: 100%;
height: 4px;
background: var(--surface);
border-radius: 2px;
overflow: hidden;
}

.ms-card__bar-fill {
height: 100%;
background: var(--brand);
border-radius: 2px;
}

.ms-card__footer {
border-top: 1px solid var(--border);
padding: 12px 16px;
display: flex;
align-items: center;
justify-content: space-between;
font-size: 13px;
}

.ms-card__time {
display: flex;
align-items: center;
gap: 4px;
color: var(--muted);
}

.ms-card__cta {
display: inline-flex;
align-items: center;
gap: 4px;
background: var(--accent);
color: #fff;
font-size: 12px;
font-weight: 600;
padding: 6px 14px;
border-radius: 100px;
text-decoration: none;
transition: background 0.15s;
}

.ms-card__cta:hover { background: #c73030; }

/* ── Empty State ── */
.ms-empty {
grid-column: 1 / -1;
text-align: center;
padding: 64px 20px;
background: var(--surface);
border-radius: var(--radius-xl);
border: 1px dashed var(--border);
}

.ms-empty i {
font-size: 48px;
color: #cbd5e1;
margin-bottom: 16px;
display: block;
}

.ms-empty h3 {
font-size: 18px;
font-weight: 600;
margin-bottom: 8px;
}

.ms-empty p { color: var(--muted); font-size: 14px; }

/* ── How It Works ── */
.ms-how {
background: var(--brand);
padding: 64px 20px;
}

.ms-how__inner {
max-width: 900px;
margin: 0 auto;
text-align: center;
}

.ms-how h2 {
font-size: clamp(22px, 4vw, 32px);
font-weight: 700;
color: #fff;
margin-bottom: 8px;
}

.ms-how > .ms-how__inner > p {
color: #9db8d8;
margin-bottom: 40px;
font-size: 15px;
}

.ms-steps {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 20px;
text-align: left;
}

.ms-step {
background: rgba(255,255,255,0.08);
border: 1px solid rgba(255,255,255,0.12);
border-radius: var(--radius-lg);
padding: 24px;
}

.ms-step__num {
font-family: 'Sora', sans-serif;
font-size: 36px;
font-weight: 700;
color: #f8c842;
line-height: 1;
margin-bottom: 12px;
}

.ms-step h3 {
font-size: 15px;
font-weight: 600;
color: #fff;
margin-bottom: 6px;
}

.ms-step p {
font-size: 13px;
color: #9db8d8;
line-height: 1.6;
}

/* ── Referral / CTA ── */
.ms-referral {
background: #ddd;
padding: 64px 20px;
text-align: center;
}

.ms-referral__inner {
max-width: 640px;
margin: 0 auto;
}

.ms-referral h2 {
font-size: clamp(20px, 4vw, 28px);
font-weight: 700;
margin-bottom: 8px;
}

.ms-referral p {
color: var(--muted);
font-size: 15px;
margin-bottom: 28px;
}

.ms-referral__btns {
display: flex;
gap: 12px;
justify-content: center;
flex-wrap: wrap;
}

.ms-btn {
display: inline-flex;
align-items: center;
gap: 8px;
padding: 13px 26px;
border-radius: 100px;
font-family: 'Sora', sans-serif;
font-size: 14px;
font-weight: 600;
text-decoration: none;
transition: all 0.2s;
cursor: pointer;
border: none;
}

.ms-btn--primary {
background: var(--brand);
color: #fff;
}

.ms-btn--primary:hover { background: #142f58; }

.ms-btn--outline {
background: transparent;
color: var(--brand);
border: 2px solid var(--brand);
}

.ms-btn--outline:hover {
background: var(--brand);
color: #fff;
}

/* ── Top Contestants (slim ribbon) ── */
.ms-top-contestants {
background: #fff;
border-bottom: 1px solid var(--border);
padding: 16px 20px;
}

.ms-top-contestants__inner {
max-width: 1200px;
margin: 0 auto;
display: flex;
align-items: center;
gap: 16px;
overflow-x: auto;
scrollbar-width: none;
}

.ms-top-contestants__inner::-webkit-scrollbar { display: none; }

.ms-top-contestants__label {
font-size: 11px;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.08em;
color: var(--muted);
white-space: nowrap;
flex-shrink: 0;
}

.ms-contestant-chip {
display: inline-flex;
align-items: center;
gap: 8px;
background: var(--surface);
border: 1px solid var(--border);
border-radius: 100px;
padding: 5px 12px 5px 5px;
text-decoration: none;
color: var(--text);
font-size: 13px;
font-weight: 500;
white-space: nowrap;
flex-shrink: 0;
transition: border-color 0.15s, background 0.15s;
}

.ms-contestant-chip:hover {
border-color: var(--brand);
background: var(--brand-light);
color: var(--brand);
}

.ms-contestant-chip__avatar {
width: 28px;
height: 28px;
border-radius: 50%;
object-fit: cover;
flex-shrink: 0;
}

.ms-contestant-chip__fallback {
width: 28px;
height: 28px;
border-radius: 50%;
background: var(--brand-light);
color: var(--brand);
display: flex;
align-items: center;
justify-content: center;
font-size: 12px;
font-weight: 700;
flex-shrink: 0;
}

.ms-contestant-chip__pct {
font-size: 11px;
color: var(--muted);
margin-left: 4px;
}

/* Divider */
.ms-top-contestants__sep {
width: 1px;
height: 24px;
background: var(--border);
flex-shrink: 0;
}

/* ── Upcoming Competitions ── */
.ms-upcoming {
background: var(--white);
padding: 64px 20px;
border-top: 1px solid var(--border);
}

.ms-upcoming__inner {
max-width: 1200px;
margin: 0 auto;
}

.ms-upcoming__list {
display: flex;
flex-direction: column;
gap: 12px;
margin-top: 24px;
}

.ms-upcoming__item {
display: flex;
align-items: center;
gap: 16px;
padding: 16px 20px;
background: var(--surface);
border: 1px solid var(--border);
border-radius: var(--radius-lg);
text-decoration: none;
color: inherit;
transition: border-color 0.15s, background 0.15s;
}

.ms-upcoming__item:hover {
border-color: var(--brand);
background: var(--brand-light);
}

.ms-upcoming__countdown {
flex-shrink: 0;
text-align: center;
background: var(--brand);
color: #fff;
border-radius: var(--radius-md);
padding: 10px 14px;
min-width: 80px;
}

.ms-upcoming__countdown-num {
font-family: 'Sora', sans-serif;
font-size: 18px;
font-weight: 700;
display: block;
line-height: 1;
}

.ms-upcoming__countdown-label {
font-size: 10px;
opacity: 0.7;
text-transform: uppercase;
letter-spacing: 0.06em;
margin-top: 3px;
display: block;
}

.ms-upcoming__info {
flex: 1;
min-width: 0;
}

.ms-upcoming__name {
font-family: 'Sora', sans-serif;
font-size: 15px;
font-weight: 600;
margin-bottom: 3px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}

.ms-upcoming__meta {
font-size: 12px;
color: var(--muted);
display: flex;
align-items: center;
gap: 12px;
flex-wrap: wrap;
}

.ms-upcoming__type {
background: var(--brand-light);
color: var(--brand);
font-size: 11px;
font-weight: 600;
padding: 2px 8px;
border-radius: 100px;
}

.ms-upcoming__cta {
flex-shrink: 0;
font-size: 13px;
font-weight: 600;
color: var(--brand);
display: flex;
align-items: center;
gap: 4px;
}

/* ── Leaderboard ── */
.ms-leaderboard {
background: var(--surface);
padding: 64px 20px;
}

.ms-leaderboard__inner {
max-width: 1200px;
margin: 0 auto;
display: grid;
grid-template-columns: 1fr;
gap: 40px;
}

@media (min-width: 768px) {
.ms-leaderboard__inner {
    grid-template-columns: 1fr 1fr;
}
}

.ms-leaderboard__panel h3 {
font-size: 17px;
font-weight: 700;
margin-bottom: 4px;
}

.ms-leaderboard__panel p {
font-size: 13px;
color: var(--muted);
margin-bottom: 16px;
}

.ms-lb-row {
display: flex;
align-items: center;
gap: 12px;
padding: 12px 14px;
background: var(--white);
border: 1px solid var(--border);
border-radius: var(--radius-md);
margin-bottom: 8px;
text-decoration: none;
color: inherit;
transition: border-color 0.15s;
}

.ms-lb-row:hover { border-color: var(--brand); }

.ms-lb-rank {
font-family: 'Sora', sans-serif;
font-size: 14px;
font-weight: 700;
min-width: 24px;
text-align: center;
}

.ms-lb-rank--gold   { color: #f5a623; }
.ms-lb-rank--silver { color: #9b9b9b; }
.ms-lb-rank--bronze { color: #c47c2b; }
.ms-lb-rank--other  { color: var(--muted); }

.ms-lb-avatar {
width: 36px;
height: 36px;
border-radius: 50%;
object-fit: cover;
flex-shrink: 0;
background: var(--brand-light);
display: flex;
align-items: center;
justify-content: center;
font-size: 13px;
font-weight: 700;
color: var(--brand);
overflow: hidden;
}

.ms-lb-avatar img {
width: 100%;
height: 100%;
object-fit: cover;
border-radius: 50%;
}

.ms-lb-info {
flex: 1;
min-width: 0;
}

.ms-lb-name {
font-size: 14px;
font-weight: 600;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}

.ms-lb-sub {
font-size: 12px;
color: var(--muted);
margin-top: 1px;
}

.ms-lb-votes {
font-family: 'Sora', sans-serif;
font-size: 14px;
font-weight: 700;
color: var(--brand);
white-space: nowrap;
}

.ms-lb-refs {
font-family: 'Sora', sans-serif;
font-size: 14px;
font-weight: 700;
color: #1d9e75;
white-space: nowrap;
}

/* ── Voting Offers ── */
.ms-offers {
background: var(--white);
padding: 64px 20px;
border-top: 1px solid var(--border);
}

.ms-offers__inner {
max-width: 1200px;
margin: 0 auto;
}

.ms-offers__grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
gap: 16px;
margin-top: 24px;
}

.ms-offer-card {
border: 2px solid var(--border);
border-radius: var(--radius-lg);
padding: 20px;
position: relative;
transition: border-color 0.15s, transform 0.15s;
background: var(--white);
}

.ms-offer-card:hover {
border-color: var(--accent);
transform: translateY(-2px);
}

.ms-offer-card--featured {
border-color: var(--accent);
background: var(--accent-light);
}

.ms-offer-card__tag {
position: absolute;
top: -1px;
right: 16px;
background: var(--accent);
color: #fff;
font-size: 10px;
font-weight: 700;
padding: 3px 10px;
border-radius: 0 0 8px 8px;
text-transform: uppercase;
letter-spacing: 0.06em;
}

.ms-offer-card__bonus {
font-family: 'Sora', sans-serif;
font-size: 28px;
font-weight: 700;
color: var(--accent);
line-height: 1;
margin-bottom: 4px;
}

.ms-offer-card__name {
font-size: 14px;
font-weight: 600;
margin-bottom: 6px;
color: var(--text);
}

.ms-offer-card__desc {
font-size: 12px;
color: var(--muted);
line-height: 1.5;
margin-bottom: 14px;
}

.ms-offer-card__timer {
font-size: 11px;
color: var(--accent);
font-weight: 600;
display: flex;
align-items: center;
gap: 4px;
margin-bottom: 12px;
}

.ms-offer-card__cta {
display: block;
text-align: center;
background: var(--accent);
color: #fff;
font-size: 13px;
font-weight: 600;
padding: 9px 0;
border-radius: 100px;
text-decoration: none;
transition: background 0.15s;
}

.ms-offer-card__cta:hover { background: #c73030; }

/* ── Winners ── */
.ms-winners {
background: var(--brand);
padding: 64px 20px;
}

.ms-winners__inner {
max-width: 1200px;
margin: 0 auto;
}

.ms-winners h2 {
font-size: clamp(20px, 4vw, 28px);
font-weight: 700;
color: #fff;
margin-bottom: 6px;
}

.ms-winners > .ms-winners__inner > p {
color: #9db8d8;
font-size: 14px;
margin-bottom: 28px;
}

.ms-winners__grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
gap: 16px;
}

.ms-winner-card {
background: rgba(255,255,255,0.08);
border: 1px solid rgba(255,255,255,0.14);
border-radius: var(--radius-lg);
overflow: hidden;
text-decoration: none;
color: inherit;
display: block;
transition: background 0.15s;
}

.ms-winner-card:hover { background: rgba(255,255,255,0.13); }

.ms-winner-card__img-wrap {
aspect-ratio: 3/4;
overflow: hidden;
background: rgba(255,255,255,0.05);
position: relative;
}

.ms-winner-card__img {
width: 100%;
height: 100%;
object-fit: cover;
object-position: top;
opacity: 0;
transition: opacity 0.3s;
}

.ms-winner-card__img.ms-loaded { opacity: 1; }

.ms-winner-card__crown {
position: absolute;
top: 10px;
left: 10px;
background: #f8c842;
color: #1a1d23;
font-size: 10px;
font-weight: 700;
padding: 3px 8px;
border-radius: 100px;
display: flex;
align-items: center;
gap: 4px;
}

.ms-winner-card__body {
padding: 12px 14px;
}

.ms-winner-card__comp {
font-size: 11px;
color: #9db8d8;
margin-bottom: 4px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}

.ms-winner-card__name {
font-family: 'Sora', sans-serif;
font-size: 14px;
font-weight: 600;
color: #fff;
margin-bottom: 6px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}

.ms-winner-card__votes {
font-size: 12px;
color: #f8c842;
font-weight: 600;
}

/* ── Contestant CTA split banner ── */
.ms-join {
background: var(--white);
padding: 64px 20px;
border-top: 1px solid var(--border);
}

.ms-join__inner {
max-width: 1200px;
margin: 0 auto;
display: grid;
grid-template-columns: 1fr 1fr;
gap: 20px;
}

@media (max-width: 640px) {
.ms-join__inner { grid-template-columns: 1fr; }
}

.ms-join__panel {
border-radius: var(--radius-xl);
padding: 36px 32px;
display: flex;
flex-direction: column;
gap: 14px;
}

.ms-join__panel--voter {
background: var(--brand-light);
border: 1px solid #c5d5eb;
}

.ms-join__panel--contestant {
background: var(--brand);
}

.ms-join__icon {
font-size: 32px;
margin-bottom: 4px;
}

.ms-join__title {
font-family: 'Sora', sans-serif;
font-size: 20px;
font-weight: 700;
}

.ms-join__panel--voter .ms-join__title  { color: var(--brand); }
.ms-join__panel--contestant .ms-join__title { color: #fff; }

.ms-join__text {
font-size: 14px;
line-height: 1.6;
}

.ms-join__panel--voter .ms-join__text  { color: #3a5a8c; }
.ms-join__panel--contestant .ms-join__text { color: #9db8d8; }

.ms-join__panel--voter .ms-btn--voter {
background: var(--brand);
color: #fff;
border-radius: 100px;
padding: 12px 24px;
font-family: 'Sora', sans-serif;
font-size: 14px;
font-weight: 600;
display: inline-flex;
align-items: center;
gap: 8px;
text-decoration: none;
width: fit-content;
transition: background 0.15s;
}

.ms-join__panel--voter .ms-btn--voter:hover { background: #142f58; }

.ms-join__panel--contestant .ms-btn--contestant {
background: #f8c842;
color: #1a1d23;
border-radius: 100px;
padding: 12px 24px;
font-family: 'Sora', sans-serif;
font-size: 14px;
font-weight: 600;
display: inline-flex;
align-items: center;
gap: 8px;
text-decoration: none;
width: fit-content;
transition: background 0.15s;
}

.ms-join__panel--contestant .ms-btn--contestant:hover { background: #e6b730; }

/* ── Pricing ── */
.ms-pricing {
background: var(--surface);
padding: 64px 20px;
}

.ms-pricing__inner {
max-width: 800px;
margin: 0 auto;
text-align: center;
}

.ms-pricing__grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
gap: 14px;
margin-top: 28px;
}

.ms-price-card {
background: var(--white);
border: 1px solid var(--border);
border-radius: var(--radius-lg);
padding: 20px 16px;
text-align: center;
transition: border-color 0.15s, transform 0.15s;
cursor: default;
}

.ms-price-card:hover {
border-color: var(--brand);
transform: translateY(-2px);
}

.ms-price-card--popular {
border-color: var(--accent);
position: relative;
}

.ms-price-card__pop-tag {
position: absolute;
top: -1px;
left: 50%;
transform: translateX(-50%);
background: var(--accent);
color: #fff;
font-size: 10px;
font-weight: 700;
padding: 2px 12px;
border-radius: 0 0 8px 8px;
white-space: nowrap;
text-transform: uppercase;
letter-spacing: 0.06em;
}

.ms-price-card__votes {
font-family: 'Sora', sans-serif;
font-size: 28px;
font-weight: 700;
color: var(--text);
line-height: 1;
margin-bottom: 4px;
}

.ms-price-card__votes-label {
font-size: 12px;
color: var(--muted);
margin-bottom: 12px;
}

.ms-price-card__price {
font-family: 'Sora', sans-serif;
font-size: 18px;
font-weight: 700;
color: var(--brand);
margin-bottom: 2px;
}

.ms-price-card__per {
font-size: 11px;
color: var(--muted);
}

.ms-pricing__note {
font-size: 13px;
color: var(--muted);
margin-top: 20px;
}

/* ── Ended archive strip ── */
.ms-archive {
background: var(--white);
padding: 40px 20px;
border-top: 1px solid var(--border);
}

.ms-archive__inner {
max-width: 1200px;
margin: 0 auto;
}

.ms-archive__head {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 16px;
}

.ms-archive__head h3 {
font-size: 16px;
font-weight: 700;
color: var(--text);
}

.ms-archive__scroll {
display: flex;
gap: 12px;
overflow-x: auto;
scrollbar-width: none;
padding-bottom: 4px;
}

.ms-archive__scroll::-webkit-scrollbar { display: none; }

.ms-archive-item {
flex-shrink: 0;
width: 160px;
border: 1px solid var(--border);
border-radius: var(--radius-md);
overflow: hidden;
text-decoration: none;
color: inherit;
opacity: 0.7;
transition: opacity 0.15s;
}

.ms-archive-item:hover { opacity: 1; }

.ms-archive-item__img {
width: 100%;
height: 90px;
object-fit: cover;
object-position: top;
background: var(--surface);
display: block;
filter: grayscale(40%);
}

.ms-archive-item__body {
padding: 8px 10px;
background: var(--surface);
}

.ms-archive-item__name {
font-size: 12px;
font-weight: 600;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
margin-bottom: 2px;
}

.ms-archive-item__date {
font-size: 11px;
color: var(--muted);
}