
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #0f0e0d; --card: #171615; --card-2: #1d1c1a; --line: rgba(255,255,255,.07); --line-2: rgba(255,255,255,.11);
  --text: #e9e8e7; --muted: #88857f; --blue: #5b78f7; --blue-2: #8ba4f2;
  --gold: #f5b942; --green: #4ade80; --fire: #fb923c;
}
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg); color: var(--text); min-height: 100vh;
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
[hidden] { display: none !important; }
code { font-family: ui-monospace, Consolas, monospace; font-size: .85em; background: rgba(255,255,255,.06); padding: .05rem .35rem; border-radius: .3rem; }
a { color: var(--blue-2); }

#nav { position: fixed; inset: 0 0 auto; z-index: 100; height: 66px; display: flex; align-items: center;
  background: var(--bg); border-bottom: 1px solid rgba(255,255,255,.06); }
.nav-wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; display: flex; align-items: center; gap: 2.5rem; }
.nav-logo { display: flex; align-items: center; gap: .65rem; text-decoration: none; flex-shrink: 0; }
.nav-logo img { width: 34px; height: 34px; border-radius: 8px; border: 1px solid rgba(91,120,247,.35); }
.nav-logo-name { font-size: .95rem; font-weight: 700; color: #fff; letter-spacing: -.02em; }
.nav-links { display: flex; align-items: center; gap: 1.75rem; list-style: none; margin-left: 1rem; }
.nav-links a { font-size: .84rem; font-weight: 500; color: var(--muted); text-decoration: none; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-right { display: flex; align-items: center; gap: .75rem; margin-left: auto; }
.nav-burger { display: none; background: none; border: none; cursor: pointer; color: var(--text); padding: .4rem; margin-left: auto; }
#mobile-menu { display: none; position: fixed; inset: 66px 0 auto; z-index: 99; background: var(--bg);
  border-bottom: 1px solid rgba(255,255,255,.06); padding: 1rem 1.5rem 1.5rem; }
#mobile-menu.open { display: block; }
#mobile-menu a { display: block; padding: .7rem 0; font-size: .95rem; font-weight: 500; color: var(--muted);
  text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.05); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; border: none; cursor: pointer;
  font-family: inherit; font-weight: 600; text-decoration: none; white-space: nowrap; transition: background .2s, border-color .2s, opacity .2s; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.btn-sm { font-size: .8rem; padding: .5rem 1rem; border-radius: .5rem; }
.btn-md { font-size: .9rem; padding: .7rem 1.4rem; border-radius: .6rem; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover:not(:disabled) { background: #4a62e8; }
.btn-outline { background: rgba(255,255,255,.04); color: var(--text); border: 1px solid rgba(255,255,255,.1); }
.btn-outline:hover:not(:disabled) { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); }

.page-wrap { position: relative; z-index: 1; padding-top: 66px; }
.page { max-width: 1180px; margin: 0 auto; padding: 2rem 1.5rem 6rem; }
.page-title { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.2; color: #fff; }
.page-sub { color: var(--muted); font-size: .92rem; line-height: 1.6; margin-top: .3rem; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: .9rem; padding: 1.4rem; margin-bottom: 1.25rem; }
.card h2 { font-size: 1.05rem; font-weight: 800; color: #fff; letter-spacing: -.01em; margin-bottom: .25rem; }
.center-card { text-align: center; max-width: 30rem; margin: 1rem auto; display: flex; flex-direction: column; gap: .9rem; align-items: center; }
.center-card p { color: var(--muted); font-size: .9rem; line-height: 1.6; }
.hint { font-size: .85rem; color: var(--muted); line-height: 1.6; margin-bottom: .9rem; }
.hint.small { font-size: .78rem; margin-bottom: 0; }
.row-actions { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; margin-top: .9rem; }

.me-head { display: flex; align-items: center; gap: 1.1rem; margin-bottom: 1.25rem; }
.me-avatar { width: 64px; height: 64px; border-radius: 50%; border: 3px solid var(--blue); background: var(--card-2); flex-shrink: 0; }
.pill { display: inline-flex; align-items: center; gap: .3rem; vertical-align: middle; font-size: .68rem; font-weight: 700;
  padding: .2rem .6rem; border-radius: 999px; margin-left: .5rem; letter-spacing: 0; white-space: nowrap; }
.pill img { width: 14px; height: 14px; }
.pill-premium, .pill-trial { color: var(--gold); background: rgba(245,185,66,.12); border: 1px solid rgba(245,185,66,.35); }
.pill-founder { color: var(--gold); background: rgba(245,185,66,.12); border: 1px solid rgba(245,185,66,.35); }
.pill-free { color: var(--muted); background: rgba(255,255,255,.05); border: 1px solid var(--line-2); }

.tabs-row { display: inline-flex; gap: .3rem; background: var(--card); border: 1px solid var(--line); padding: .3rem;
  border-radius: .75rem; margin-bottom: 1.25rem; max-width: 100%; overflow-x: auto; }
.tab-link { padding: .45rem 1rem; border-radius: .5rem; font-size: .84rem; font-weight: 600; color: var(--muted);
  text-decoration: none; white-space: nowrap; }
.tab-link:hover { color: var(--text); }
.tab-link.on { background: rgba(91,120,247,.15); color: #c7d2fe; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; margin-bottom: 1.25rem; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: .75rem; padding: .9rem 1rem; min-width: 0; }
.stat b { display: block; font-size: 1.45rem; font-weight: 800; color: #fff; line-height: 1.2; }
.stat b.fire { color: var(--fire); }
.stat .stat-label { display: block; color: var(--muted); font-size: .76rem; margin-top: .15rem; }
.stat .stat-sub { display: block; color: #6e6a64; font-size: .72rem; margin-top: .1rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 1.25rem; align-items: start; }
.col-left .card:last-child, .col-right .card:last-of-type { margin-bottom: 0; }

.srv { display: flex; align-items: center; gap: .85rem; padding: .7rem .8rem; border-radius: .6rem;
  background: var(--card-2); border: 1px solid var(--line); margin-bottom: .55rem; min-width: 0; }
.srv:last-child { margin-bottom: 0; }
.srv-icon { width: 40px; height: 40px; border-radius: .7rem; flex-shrink: 0; background: var(--bg); object-fit: cover; }
.srv-icon.ph { display: grid; place-items: center; font-weight: 800; color: var(--blue-2); background: rgba(91,120,247,.12);
  border: 1px solid rgba(91,120,247,.25); font-size: .95rem; }
.srv-mid { flex: 1; min-width: 0; }
.srv-name { font-weight: 700; font-size: .88rem; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.srv-sub { color: var(--muted); font-size: .74rem; margin-top: .1rem; }
.srv-sub .streak-flame { color: var(--fire); font-weight: 700; }
.srv-bar { height: 6px; border-radius: 6px; background: rgba(255,255,255,.08); margin-top: .4rem; max-width: 190px; overflow: hidden; }
.srv-bar i { display: block; height: 100%; background: var(--blue); border-radius: 6px; }
.srv-right { text-align: right; flex-shrink: 0; }
.srv-right b { font-size: 1rem; color: #fff; }
.srv-right span { display: block; color: #6e6a64; font-size: .7rem; margin-top: .1rem; }

.bud { display: flex; align-items: center; gap: .75rem; padding: .55rem 0; border-bottom: 1px solid var(--line); min-width: 0; }
.bud:last-child { border-bottom: 0; padding-bottom: 0; }
.bud-medal { width: 1.4rem; text-align: center; flex-shrink: 0; font-size: .95rem; }
.bud-avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--card-2); flex-shrink: 0; object-fit: cover; }
.bud-name { font-weight: 600; font-size: .86rem; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bud-right { margin-left: auto; color: var(--muted); font-size: .76rem; text-align: right; flex-shrink: 0; }

.mini-card { position: relative; border-radius: .75rem; overflow: hidden; border: 1px solid var(--line);
  background: linear-gradient(135deg, #0b1030, #1e1b4b 55%, #3b0764); min-height: 150px; margin-bottom: .25rem; }
.look-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.look-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,14,.25), rgba(10,10,14,.6)); }
.look-row { position: relative; display: flex; align-items: center; gap: .8rem; padding: 1.4rem 1rem 0; }
.avatar-wrap { position: relative; flex-shrink: 0; line-height: 0; }
.user-avatar { width: 44px; height: 44px; border-radius: 50%; border: 2px solid rgba(255,255,255,.5); background: var(--card-2); }
.avatar-wrap.has-frame .user-avatar { border-color: transparent; box-shadow: none; }
.avatar-wrap.frame-ring   .user-avatar { box-shadow: 0 0 0 3px var(--fc); }
.avatar-wrap.frame-double .user-avatar { box-shadow: 0 0 0 3px var(--fc), 0 0 0 6px #0f0e0d, 0 0 0 8px var(--fc); }
.avatar-wrap.frame-glow   .user-avatar { box-shadow: 0 0 0 3px var(--fc), 0 0 18px 4px var(--fc); }
.avatar-wrap.frame-bold   .user-avatar { box-shadow: 0 0 0 5px var(--fc); }
.avatar-wrap.frame-halo   .user-avatar { box-shadow: 0 0 0 4px #0f0e0d, 0 0 0 7px var(--fc); }
.avatar-wrap.frame-neon   .user-avatar { box-shadow: 0 0 0 2px #fff, 0 0 0 5px var(--fc), 0 0 18px 5px var(--fc); }
.avatar-wrap.has-frame::after { content: ''; position: absolute; border-radius: 50%; pointer-events: none; display: none; }
.avatar-wrap.frame-dashed::after  { display: block; inset: -4px; border: 2px dashed var(--fc); }
.avatar-wrap.frame-dotted::after  { display: block; inset: -5px; border: 3px dotted var(--fc); }
.avatar-wrap.frame-rainbow::after {
  display: block; inset: -4px;
  background: conic-gradient(#f87171, #facc15, #4ade80, #22d3ee, #5b78f7, #e879f9, #f87171);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3.5px));
          mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3.5px));
  animation: rainbowSpin 4s linear infinite;
}
@keyframes rainbowSpin { to { transform: rotate(1turn); } }
@media (prefers-reduced-motion: reduce) { .avatar-wrap.frame-rainbow::after { animation: none; } }
.look-names { min-width: 0; }
.look-name-line { display: flex; align-items: center; gap: .45rem; min-width: 0; flex-wrap: wrap; }
.look-name { font-weight: 800; font-size: 1.05rem; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 14rem; }
.look-name.name-gradient { background-clip: text; -webkit-background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.name-icon { font-size: .95em; line-height: 1; }
.look-tagline { color: #c9c6c1; font-size: .74rem; margin-top: .15rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.premium-badge { display: inline-flex; align-items: center; gap: .25rem; font-size: .62rem; font-weight: 800;
  padding: .12rem .45rem; border-radius: 999px; color: var(--gold); background: rgba(245,185,66,.12);
  border: 1px solid rgba(245,185,66,.3); white-space: nowrap; }
.premium-badge img { width: 12px; height: 12px; }
.premium-badge.badge-gradient span { background: linear-gradient(90deg, var(--g1), var(--g2)); background-clip: text;
  -webkit-background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.look-cells { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; padding: .9rem 1rem 1rem; }
.look-cells i { height: 32px; border-radius: .45rem; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); }

.wrap-row { display: flex; align-items: center; gap: .9rem; }
.wrap-row .hint { margin-bottom: 0; }
.wrap-icon { width: 52px; height: 52px; border-radius: .75rem; background: linear-gradient(135deg, #f97316, #db2777);
  display: grid; place-items: center; font-size: 1.4rem; flex-shrink: 0; }
.card-premium { background: linear-gradient(180deg, rgba(91,120,247,.10), rgba(91,120,247,.02)); border-color: rgba(91,120,247,.35); }
.perks { list-style: none; margin: .4rem 0 .2rem; display: flex; flex-direction: column; gap: .35rem; }
.perks li { font-size: .84rem; color: #c9c6c1; line-height: 1.55; padding-left: 1.1rem; position: relative; }
.perks li::before { content: "✓"; position: absolute; left: 0; color: var(--blue-2); font-weight: 700; }
.foot { margin-top: 1.1rem; }

@media (max-width: 1024px) {
  .nav-links, .nav-right .btn { display: none; }
  .nav-burger { display: flex; }
  .grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav-wrap { padding: 0 1rem; }
  .page { padding: 1.5rem 1rem 5rem; }      
  .stats { grid-template-columns: repeat(2, 1fr); }   
  .me-avatar { width: 52px; height: 52px; }
  .card { padding: 1.1rem; }
  .srv-bar { max-width: 100%; }
}
