/* ===== MCHub's own look (loaded after style.css) ===== */
.brand span { font-weight: 800; font-size: 21px; letter-spacing: -0.02em; }
.top { padding: 4px 0; }

/* search lives in the navbar */
.search-form { display: flex; }
.search-form input { flex: 1; min-width: 0; padding: 0 14px; font: inherit; color: var(--text); background: var(--card); border: 1px solid var(--line); border-right: 0; border-radius: 8px 0 0 8px; outline: none; }
.search-form input:focus { border-color: var(--accent); }
.search-form button { border: 0; border-radius: 0 8px 8px 0; background: var(--accent); color: #fff; cursor: pointer; display: grid; place-items: center; }
.search-form button:hover { filter: brightness(1.15); }
.navbar #search { flex: 1; max-width: 360px; height: 38px; margin-left: 8px; }
.navbar #search input { font-size: 15px; }
.navbar #search button { width: 44px; }
[dir="rtl"] .search-form input { border-radius: 0 8px 8px 0; border-right: 1px solid var(--line); border-left: 0; }
[dir="rtl"] .search-form button { border-radius: 8px 0 0 8px; }

/* mchub.club promo on the home page */
.club-promo { margin: 26px 0 4px; padding: 22px 24px; border-radius: 14px; border: 1px solid var(--good-line); background: linear-gradient(135deg, #198a5026, transparent 60%), var(--card); }
.club-head { display: flex; align-items: center; gap: 16px; }
.club-head img { image-rendering: pixelated; flex: none; }
.club-head h2 { margin: 0 0 4px; font-size: 24px; font-weight: 800; letter-spacing: -0.02em; }
.club-head h2 .mono { color: var(--heading); font-weight: 700; }
.club-head p { margin: 0; color: var(--soft); }
.club-features { list-style: none; margin: 18px 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.club-features li { display: flex; gap: 10px; padding: 12px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line); }
.club-features i { color: var(--heading); font-size: 18px; margin-top: 2px; }
.club-features b { display: block; font-size: 15px; }
.club-features li > div > span { display: block; color: var(--muted); font-size: 13px; line-height: 1.45; }
.club-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.club-ip { padding: 7px 14px; border-radius: 8px; background: var(--bg); border: 1px dashed var(--accent); font-size: 15px; font-weight: 700; }
.club-actions .btn { display: inline-flex; align-items: center; gap: 8px; }
.club-actions .btn:last-child { margin-left: auto; }
@media (max-width: 700px) { .club-features { grid-template-columns: 1fr; } .club-actions .btn:last-child { margin-left: 0; } }

/* cards: rounder, emerald glow on hover */
.skin-card, .plugin { border-radius: 10px; transition: border-color .15s, box-shadow .15s, transform .15s; }
.skin-card:hover, .plugin:hover { border-color: var(--accent); box-shadow: 0 6px 22px #198a5040; transform: translateY(-2px); }
.card-h { font-weight: 600; font-size: 14px; }
.card-h a, .card-h span, .card-h button { font-weight: 500; font-size: 13px; }
.btn { border-radius: 8px; }
.btn.ghost { background: transparent; color: var(--link); border: 1px solid var(--line); }
.btn.ghost:hover { border-color: var(--accent); }
.btn[disabled] { opacity: .6; cursor: default; }

/* skins sway like a turning player on hover */
.skin-card .body, .skin-view { perspective: 600px; }
.skin-card:hover img:not(.rendered) { animation: sway 1.8s ease-in-out infinite; }
/* 3D-rendered skin cards: taller, bigger player like NameMC */
.skin-card .body { height: 250px; }
.skin-card img.rendered { max-height: 244px; image-rendering: auto; }
.skin-card .rank { top: 4px; left: 8px; }
.skin-card .age, .skin-card .stars { bottom: 5px; }
.skin-card .age { left: 8px; } .skin-card .stars { right: 8px; }
@keyframes sway { 0%, 100% { transform: rotateY(-22deg); } 50% { transform: rotateY(22deg); } }
@media (prefers-reduced-motion: reduce) {
  .skin-card:hover img { animation: none; }
  .skin-card, .plugin { transition: none; }
}

/* name checker & status pills */
.name-check textarea { width: 100%; resize: vertical; font: 15px ui-monospace, Consolas, monospace; color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 10px; margin-bottom: 10px; }
.pill { display: inline-block; padding: 1px 10px; border-radius: 99px; font-size: 13px; font-weight: 700; border: 1px solid; }
.pill.taken { color: var(--warn); background: var(--warn-bg); border-color: var(--warn-line); }
.pill.banned { color: var(--bad); background: var(--bad-bg); border-color: var(--bad-line); }
.pill.available { color: var(--good); background: var(--good-bg); border-color: var(--good-line); }
.pill.dropping { color: var(--info); background: var(--info-bg); border-color: var(--info-line); }

/* account page */
.settings label { display: block; margin-bottom: 12px; font-weight: 600; font-size: 14px; }
.settings label.inline { display: flex; align-items: center; gap: 8px; }
.settings textarea, .settings input:not([type]), .watch-form input, #srv-desc textarea {
  display: block; width: 100%; margin-top: 4px; font: inherit; font-weight: 400; color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 7px 10px;
}
.settings input[type="color"] { width: 44px; height: 28px; padding: 0; border: 0; background: none; }
.settings h3 { font-size: 16px; margin: 18px 0 2px; }
.socials-form { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; }
.watch-form { display: flex; gap: 8px; }
.watch-form input { margin: 0; }
#srv-desc button { margin-top: 8px; }
.small { font-size: 13px; }

/* profile extras */
/* profile header: banner strip, head, name, badges, actions */
.profile-head { --banner: linear-gradient(120deg, #198a50, #0f5132 60%, #10261b); position: relative; margin: 4px 0 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); overflow: hidden; }
.ph-banner { height: 84px; background: var(--banner); }
.ph-main { display: flex; align-items: flex-end; gap: 18px; padding: 0 20px 16px; margin-top: -40px; }
.ph-avatar { flex: none; width: 96px; height: 96px; border-radius: 12px; border: 4px solid var(--card); background: var(--card); image-rendering: pixelated; }
.ph-info { flex: 1; min-width: 0; padding-top: 44px; }
.ph-info .profile-name { margin: 0 0 6px; overflow-wrap: anywhere; }
.ph-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 13px; color: var(--soft); background: var(--bg); border: 1px solid var(--line); }
.badge.good { color: var(--good); border-color: var(--good-line); }
.badge.rank-emerald { border-color: currentColor; }
.ph-bio { margin: 10px 0 0; color: var(--soft); white-space: pre-line; }
.ph-info .socials { margin-top: 8px; }
.ph-actions { flex: none; display: flex; gap: 8px; }
.ph-actions .btn { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; }
@media (max-width: 700px) {
  .ph-main { flex-wrap: wrap; }
  .ph-info { padding-top: 0; flex-basis: 100%; }
  .ph-actions { flex-wrap: wrap; }
}

/* profile tabs */
.profile-tabs { display: flex; gap: 4px; margin-bottom: 12px; box-shadow: inset 0 -1px var(--line); overflow-x: auto; overflow-y: hidden; }
.profile-tabs [role=tab] { flex: none; padding: 8px 14px; font: inherit; font-weight: 600; color: var(--muted); background: none; border: 0; border-bottom: 2px solid transparent; cursor: pointer; }
.profile-tabs [role=tab]:hover { color: var(--text); }
.profile-tabs [role=tab][aria-selected=true] { color: var(--heading); border-bottom-color: var(--accent); }
.profile-tabs .count { font-size: 12px; font-weight: 500; padding: 1px 7px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); }
.tab-grid { gap: 8px; }
.socials { display: flex; gap: 14px; align-items: center; font-size: 20px; }
.socials a, .socials span { color: var(--soft); }
.socials a:hover { color: var(--heading); }
.club-card .card-h { background: linear-gradient(90deg, #198a5033, transparent); }
.claimed.small { font-size: 12px; padding: 1px 8px; }

/* server page */
.vote-card .card-b { text-align: center; }
.vote-count { font-size: 30px; font-weight: 800; }
.vote-card .btn { margin-top: 10px; }
.claim-code { background: var(--bg); border: 1px dashed var(--accent); border-radius: 8px; padding: 8px 12px; }
.owner-desc { margin: 12px 0 0; padding-top: 12px; border-top: 1px solid var(--line); white-space: pre-line; }
.spark { width: 100%; height: 90px; display: block; }
.spark-line { fill: none; stroke: var(--heading); stroke-width: 2; vector-effect: non-scaling-stroke; }
.spark-fill { fill: #198a5022; stroke: none; }
.spark-legend { display: flex; justify-content: space-between; margin-top: 4px; }

/* log in / sign up / reset: one centred card like NameMC */
.auth-card { max-width: 480px; margin: 24px auto 0; padding: 4px 22px 18px; }
.auth-card h1 { font-size: 38px; margin: 10px 0 12px; }
.auth-note { background: var(--warn-bg); border: 1px solid var(--warn-line); color: var(--warn); border-radius: 8px; padding: 12px 16px; text-align: center; margin-bottom: 18px; }
.auth-card label { display: block; font-weight: 700; margin-bottom: 14px; }
.auth-card input { display: block; width: 100%; margin-top: 6px; height: 42px; padding: 0 12px; font: inherit; font-weight: 400; color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 8px; }
.auth-card input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px #198a5033; }
.auth-card .btn { padding: 8px 34px; font-size: 16px; margin: 4px 0 6px; }
.auth-card hr { margin: 14px 0; }
.auth-links { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.linked-mc { display: flex; align-items: center; gap: 12px; }
.linked-mc img { image-rendering: pixelated; border-radius: 4px; }
.linked-mc > div { flex: 1; }
.dev-login { display: flex; gap: 8px; margin-top: 8px; }
.dev-login input { flex: 1; min-width: 0; font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 5px 10px; }

/* 3D skin viewer */
.skin-3d { position: relative; height: 380px; }
.skin-canvas { display: block; width: 100%; height: 100%; cursor: grab; touch-action: none; }
.skin-canvas:active { cursor: grabbing; }
.tool-green { background: var(--accent); }
.tool[aria-pressed="true"] { background: var(--accent); }
.tool:focus-visible, .edit-tools .btn:focus-visible { outline: 2px solid var(--heading); outline-offset: 2px; }
.edit-tools .card-b { display: flex; flex-wrap: wrap; gap: 6px; }
.edit-tools .card-b p { flex-basis: 100%; margin: 4px 0 0; }
.edit-tools .btn[aria-pressed="true"] { border-color: var(--accent); color: var(--text); background: #198a5022; }
@media (max-width: 560px) { .skin-3d { height: 300px; } }

/* capes */
.cape-thumb { display: block; image-rendering: pixelated; }
.cape-grid { display: flex; flex-wrap: wrap; gap: 6px; }
.cape-btn { padding: 2px; background: var(--bg); border: 2px solid transparent; border-radius: 6px; cursor: pointer; }
.cape-btn:hover { border-color: var(--line); }
.cape-btn[aria-pressed="true"] { border-color: var(--accent); }
.cape-note { margin: 0; padding: 0 12px 10px; }
.capes-page { display: grid; grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)); gap: 12px; }
.cape-card { display: block; margin: 0; color: var(--text); transition: border-color .15s, box-shadow .15s, transform .15s; }
.cape-card:hover { text-decoration: none; border-color: var(--accent); box-shadow: 0 6px 22px #198a5040; transform: translateY(-2px); }
.cape-card .card-h { justify-content: center; color: var(--link); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cape-stage { position: relative; height: 200px; display: grid; place-items: center; }
.cape-stage img { max-width: 100%; max-height: 196px; image-rendering: pixelated; }
.cape-stage .stars, .big-count { position: absolute; right: 8px; bottom: 5px; font-size: 14px; font-weight: 700; color: var(--meta); }
.big-count { font-size: 18px; right: 12px; bottom: 8px; }
.cape-owners { max-height: 480px; overflow-y: auto; }
@media (max-width: 560px) { .capes-page { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cape-stage { height: 170px; } }
.cape-big .cape-thumb { margin: 10px auto; }

/* toast */
.toast { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 50; padding: 10px 18px; border-radius: 10px; font-weight: 600; box-shadow: 0 8px 24px #0007; max-width: calc(100vw - 32px); }
.toast[hidden] { display: none; }
.toast.ok { background: var(--good-bg); color: var(--good); border: 1px solid var(--good-line); }
.toast.bad { background: var(--bad-bg); color: var(--bad); border: 1px solid var(--bad-line); }

/* footer: Laby-style columns */
.site-footer { background: var(--foot); border-top: 1px solid var(--line); margin-top: 32px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; padding: 44px 0 36px; }
.foot-brand p { color: var(--muted); margin: 12px 0 16px; max-width: 260px; line-height: 1.5; }
.foot-brand .brand span { font-size: 22px; }
.foot-brand .brand { color: var(--text); }
.foot-brand .brand b { color: var(--heading); }
.foot-lang { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.foot-lang-box { position: relative; }
.foot-lang-btn { display: flex; align-items: center; gap: 10px; min-width: 160px; padding: 7px 12px; background: var(--card); color: var(--text); border: 1px solid var(--line); border-radius: 8px; font: inherit; font-size: 14px; cursor: pointer; box-shadow: 0 2px 6px #0003; }
.foot-lang-btn:hover, .foot-lang-btn[aria-expanded="true"] { border-color: var(--accent); }
.foot-lang-btn > span:nth-child(2) { flex: 1; text-align: start; }
.foot-lang-btn i { font-size: 11px; color: var(--muted); transition: transform .15s; }
.foot-lang-btn[aria-expanded="true"] i { transform: rotate(180deg); }
.foot-lang-btn .fi, .foot-lang-menu .fi { width: 20px; height: 15px; border-radius: 2px; flex: none; }
.foot-lang-menu { position: absolute; bottom: calc(100% + 6px); left: 0; z-index: 30; width: 240px; max-height: 320px; overflow-y: auto; margin: 0; padding: 6px 0; list-style: none;
  background: var(--card); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 -8px 24px #0006; outline: none; }
.foot-lang-menu[hidden] { display: none; }
.foot-lang-menu li { display: flex; align-items: center; gap: 10px; padding: 6px 14px; font-size: 14px; color: var(--text); cursor: pointer; }
.foot-lang-menu li.active { background: var(--hover); }
.foot-lang-menu li[aria-selected="true"] { color: var(--heading); font-weight: 700; }
[dir="rtl"] .foot-lang-menu { left: auto; right: 0; }
.site-footer nav h3 { font-size: 13px; letter-spacing: 1.2px; text-transform: uppercase; margin: 6px 0 14px; color: var(--text); }
.site-footer nav a { display: block; color: var(--muted); margin-bottom: 10px; }
.site-footer nav a:hover { color: var(--text); text-decoration: none; }
.foot-bottom { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; border-top: 1px solid var(--line); padding: 20px 0 26px; font-size: 13px; color: var(--soft); text-align: end; }
.foot-bottom .muted { font-size: 12px; }

@media (max-width: 900px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .navbar { flex-wrap: wrap; height: auto; padding: 8px 0; }
  .navbar #search { order: 3; flex: 1 1 100%; max-width: none; margin: 4px 0; }
}
@media (max-width: 560px) {
  .socials-form { grid-template-columns: 1fr; }
  .foot-bottom { align-items: flex-start; text-align: start; }
}
.credit { margin: 0; padding: 0 12px 10px; } span.credit { padding: 0; }
.club-features .mono { color: var(--heading); font-size: 12px; }
@media (max-width: 560px) { .skin-card .body { height: 170px; } .skin-card img.rendered { max-height: 164px; } }

/* account ranks on profiles */
.rank { font-weight: 600; }
.rank-emerald { color: #17c950; }
:root[data-theme="light"] .rank-emerald { color: #0d8a36; }

/* Mojang staff icon next to the name */
.profile-name { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.staff-icon { width: 28px; height: 28px; border-radius: 5px; vertical-align: middle; }
.staff-icon.small { width: 16px; height: 16px; border-radius: 3px; margin-left: 6px; }

/* landing page section headers */
.home-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin: 8px 0 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.home .club-promo + .home-head { margin-top: 28px; }
.home-head h2 { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: -0.02em; color: var(--text); }
.home-head h2 i { color: var(--heading); font-size: 18px; margin-right: 4px; }
.home-head p { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
.home-head .btn { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; }
.home aside { padding-top: 8px; }
.home aside .card-h i { color: var(--heading); margin-right: 4px; }

/* ===== own look v2: skin cards, nav pills, plain card headers ===== */
.skins { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.skin-card { border-radius: 14px; }
.skin-card .body { height: 260px; background: radial-gradient(ellipse 60% 55% at 50% 55%, #198a5038, transparent 70%), var(--card); }
.skin-card .rank, .skin-card .age { position: absolute; top: 8px; bottom: auto; font-size: 12px; font-weight: 700; padding: 1px 8px; border-radius: 999px; background: var(--bg); color: var(--meta); }
.skin-card .rank { left: 8px; color: var(--heading); }
.skin-card .age { right: 8px; left: auto; font-weight: 500; }
.skin-card .foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 12px; border-top: 1px solid var(--line); background: var(--card-h); }
.skin-card .foot .name { min-width: 0; font-weight: 700; font-size: 14px; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.skin-card .foot .stars { position: static; flex: none; font-size: 13px; font-weight: 600; color: var(--meta); }
.skin-card .foot .stars i { color: #e2b04a; }
@media (max-width: 900px) { .skins { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .skins { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .skin-card .body { height: 220px; } .skin-card img.rendered { max-height: 210px; } }

.links { gap: 4px; }
.links a { display: inline-flex; align-items: center; gap: 7px; font-size: 15px; font-weight: 500; padding: 6px 12px; border-radius: 999px; }
.links a i { font-size: 13px; opacity: .75; }
.links a:hover { background: #ffffff0f; }
.links a.active { background: #198a5033; color: #6fe0a5; }
.links a.active i { opacity: 1; }

.card-h { background: transparent; border-bottom: 0; padding: 12px 14px 6px; font-size: 15px; font-weight: 700; color: var(--text); }
.card-h + table, .card-h + .kv { border-top: 0; }

/* search: profile result + name history */
.profile-result { display: block; max-width: 560px; }
.profile-result { margin: 0 auto 16px; }
.pr-head { color: var(--text); background: linear-gradient(110deg, #198a5033, transparent 65%); border-bottom: 1px solid var(--line); }
.pr-head:hover { text-decoration: none; background: linear-gradient(110deg, #198a5055, transparent 70%); }
.pr-head:hover .pr-go { text-decoration: underline; }
.pr-head { display: flex; align-items: center; gap: 14px; padding: 12px 14px; }
.pr-head img { border-radius: 8px; image-rendering: pixelated; flex: none; }
.pr-head > div { flex: 1; min-width: 0; }
.pr-head b { display: flex; align-items: center; font-size: 20px; font-weight: 800; letter-spacing: -0.01em; }
.pr-head .mono { display: block; font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; }
.pr-go { flex: none; font-size: 13px; font-weight: 600; color: var(--link); }
@media (max-width: 560px) { .pr-go { display: none; } }

/* skin page: tags, tools, head command, tag survey */
.link-btn { background: none; border: 0; padding: 0; font: inherit; font-size: 13px; font-weight: 500; color: var(--link); cursor: pointer; }
.link-btn:hover { text-decoration: underline; }
.tag-list { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; color: #fff; background: var(--accent); }
.tag.mine { box-shadow: 0 0 0 2px var(--heading); }
.tag b { font-weight: 600; min-width: 1ch; text-align: center; }
.tag button { background: none; border: 0; padding: 0 2px; color: #ffffffb0; cursor: pointer; font-size: 12px; }
.tag button:hover, .tag button[aria-pressed="true"] { color: #fff; }
.tag-form { display: flex; gap: 6px; margin-top: 10px; }
.tag-form input { flex: 1; min-width: 0; padding: 5px 10px; font: inherit; font-size: 14px; color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 8px; }
.tool-thumbs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.tool-thumb { padding: 5px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line); cursor: pointer; line-height: 0; }
.tool-thumb:hover, .tool-thumb[aria-pressed="true"] { border-color: var(--accent); background: #198a5022; }
.tool-thumb:focus-visible { outline: 2px solid var(--heading); outline-offset: 2px; }
.tool-thumb img { image-rendering: pixelated; border-radius: 4px; }
.tool-thumb .f-gray { filter: grayscale(1); } .tool-thumb .f-invert { filter: invert(1); } .tool-thumb .f-hue { filter: hue-rotate(180deg); }
.edit-tools .tool-thumbs p { text-align: center; }
.head-cmd { display: flex; gap: 6px; }
.head-cmd select, .head-cmd input { font: inherit; font-size: 13px; color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 5px 8px; }
.head-cmd select { flex: none; }
.head-cmd input { flex: 1; min-width: 0; }
.survey-view { display: flex; justify-content: center; gap: 8px; padding: 8px 0; border-radius: 10px; background: radial-gradient(ellipse 60% 60% at 50% 55%, #198a5030, transparent 70%); }
.survey-view img { height: 200px; width: auto; image-rendering: pixelated; }
.survey-view img.rendered { image-rendering: auto; }
.survey-q { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin: 10px 0; font-weight: 600; }
.survey-btns { display: flex; gap: 6px; }
.survey-btns .good { background: var(--good-bg); color: var(--good); border: 1px solid var(--good-line); }
.survey-btns .bad { background: var(--warn-bg); color: var(--warn); border: 1px solid var(--warn-line); }
.survey-help { color: var(--muted); line-height: 1.5; }
.survey-help b { color: var(--soft); }
.pr-names { margin: 4px 0 8px; }
.pr-names tr.hl td { background: #198a5022; }
.pr-names tr.hl a { font-weight: 700; }

/* skin cards: empty glow until the 3D render is ready, then fade in (flat image only if 3D fails) */
.skin-card img[data-skin-render], .survey-view img[data-skin-render] { opacity: 0; transition: opacity .25s ease-out; }
.skin-card img[data-skin-render].rendered, .skin-card img[data-skin-render].flat,
.survey-view img[data-skin-render].rendered, .survey-view img[data-skin-render].flat { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .skin-card img[data-skin-render], .survey-view img[data-skin-render] { transition: none; } }
