:root {
  color-scheme: dark;
  font-family: Inter, Arial, sans-serif;
  background: #070a0f;
  color: #f5f1eb;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-width: 280px; background: #070a0f; }
.site-header { border-bottom: 1px solid #282c32; background: #0d1117; }
.brand { display: flex; align-items: center; justify-content: center; width: min(100% - 32px, 760px); margin: auto; padding: 16px 0; color: #f5f1eb; text-align: center; text-decoration: none; letter-spacing: .08em; font-weight: 800; }
.brand b, .eyebrow { color: #e0aa6b; }
.page-shell { width: min(100% - 32px, 760px); margin: auto; padding: 28px 0 42px; }
.profile-layout { display: grid; gap: 16px; }
.profile-card, .cta-card, .reviews-card, .state-card { border: 1px solid #292f38; border-radius: 18px; background: #11161e; padding: 20px; }
.profile-card { position: relative; display: flex; gap: 16px; align-items: flex-start; padding-bottom: 42px; }
.profile-main { min-width: 0; }
.avatar { display: grid; flex: 0 0 82px; place-items: center; width: 82px; height: 82px; overflow: hidden; border-radius: 16px; background: #2c241c; color: #e0aa6b; font-weight: 800; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.eyebrow { margin: 0 0 7px; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 12px; font-size: clamp(23px, 5vw, 32px); }
h2 { margin-bottom: 8px; font-size: 20px; }
p { color: #aeb6c2; line-height: 1.5; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.profile-role { color: #dce1e7; font-size: 14px; }
.chip { padding: 7px 10px; border: 1px solid #39414d; border-radius: 999px; color: #dce1e7; font-size: 13px; }
.verified { position: absolute; right: 16px; bottom: 14px; color: #79d99a; font-size: 12px; font-weight: 700; }
.cta-card { display: grid; gap: 12px; }
.cta-card > p:first-child { margin-bottom: 0; color: #8f99a6; font-size: 14px; }
button { min-height: 46px; border-radius: 12px; padding: 0 16px; border: 0; font: inherit; font-weight: 800; cursor: pointer; }
.primary-button { background: #e0aa6b; color: #1b130b; }
.secondary-button { margin-top: 16px; border: 1px solid #5c6572; background: transparent; color: #e2e6eb; }
.web-fallback { display: flex; align-items: center; justify-content: center; min-height: 46px; margin-top: 0; border-radius: 12px; padding: 0 16px; font-weight: 800; text-align: center; text-decoration: none; }
.inline-message { margin: 10px 0 0; color: #aeb6c2; }
.reviews-list { display: grid; gap: 12px; margin-top: 14px; }
.review { border-top: 1px solid #292f38; padding-top: 14px; }
.review:first-child { border-top: 0; padding-top: 0; }
.review-head { display: flex; justify-content: space-between; gap: 12px; color: #f5f1eb; font-weight: 700; }
.review-stars { color: #e0aa6b; letter-spacing: .08em; }
.review-comment { margin: 8px 0 0; color: #d0d6df; white-space: pre-wrap; }
.review-date { margin-top: 6px; color: #818b98; font-size: 13px; }
.state-card { padding: 36px 24px; text-align: center; }
.spinner { width: 34px; height: 34px; margin: 0 auto 18px; border: 3px solid #3c342b; border-top-color: #e0aa6b; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 520px) {
  .page-shell { width: min(100% - 20px, 760px); padding-top: 18px; }
  .profile-card, .cta-card, .reviews-card { padding: 16px; }
  .profile-card { padding-bottom: 40px; }
  .avatar { flex-basis: 66px; width: 66px; height: 66px; }
}
