
:root {
  --bg: #09090a;
  --bg-2: #0e0e10;
  --panel: #111113;
  --panel-2: #161619;
  --line: #1f1f23;
  --line-2: #2c2c31;

  --text: #ececee;
  --dim: #9a9aa2;
  --faint: #606068;

  --red: #e5383b;
  --red-soft: rgba(229, 56, 59, .12);
  --green: #3ecf8e;
  --gold: #f5c542;
  --gold-soft: rgba(245, 197, 66, .08);
  --gold-line: rgba(245, 197, 66, .45);

  --sans: "Geist", ui-sans-serif, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --r: 10px;
  --r-lg: 14px;
  --maxw: 1160px;
  --header-h: 64px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scrollbar-gutter: stable; overflow-y: scroll; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--text); color: var(--bg); }
[hidden] { display: none !important; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
code, kbd { font-family: var(--mono); font-size: .9em; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.i { width: 20px; height: 20px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.i-sm { width: 16px; height: 16px; }



header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center;
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
header .wrap { display: flex; align-items: center; gap: 32px; width: 100%; }

.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -.01em; font-size: 15px; }
.brand .mark { width: 30px; height: 30px; border-radius: 8px; overflow: hidden; display: block; }

.brand .mark img { width: 100%; height: 100%; }
.brand-name { display: inline-flex; align-items: baseline; }
.brand small { font-family: var(--mono); font-size: 11px; color: var(--faint); font-weight: 400; margin-left: 1px; }

nav.main { display: flex; gap: 4px; align-items: center; }
nav.main a { color: var(--dim); font-size: 14px; padding: 6px 10px; border-radius: 7px; transition: color .15s, background .15s; }
nav.main a:hover { color: var(--text); }
nav.main a.active { color: var(--text); background: var(--panel-2); }

.account { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.account .who { display: flex; align-items: center; gap: 9px; padding: 4px 10px 4px 4px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 13.5px; transition: border-color .15s; }
.account .who:hover { border-color: var(--faint); }
.account .balance { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 999px; font-family: var(--mono); font-size: 13px; transition: border-color .15s; }
.account .balance:hover { border-color: var(--faint); }
.account .balance .i { color: var(--dim); }
.account .verify-btn { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 999px; font-size: 13px; color: #fff; background: #5865f2; transition: background .15s; white-space: nowrap; }
.account .verify-btn:hover { background: #4752c4; }
.account .verify-btn b { font-family: var(--mono); font-weight: 500; font-size: 12px; opacity: .9; }


.role { --rc: #9a9aa2; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; color: var(--rc); background: color-mix(in srgb, var(--rc) 12%, transparent); border: 1px solid color-mix(in srgb, var(--rc) 35%, transparent); border-radius: 999px; padding: 2px 9px 2px 7px; white-space: nowrap; }
.role i { width: 7px; height: 7px; border-radius: 50%; background: var(--rc); }

.avatar { width: 26px; height: 26px; border-radius: 50%; background: var(--panel-2); object-fit: cover; display: grid; place-items: center; font-size: 12px; font-weight: 600; color: var(--dim); overflow: hidden; }
.avatar.lg { width: 88px; height: 88px; font-size: 30px; border: 1px solid var(--line-2); }

.burger { display: none; background: none; border: 0; color: var(--text); cursor: pointer; padding: 6px; margin-left: 4px; }



.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 16px; border-radius: 8px;
  font: inherit; font-size: 14px; font-weight: 500;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background .15s, border-color .15s, color .15s, opacity .15s;
}
.btn-light { background: var(--text); color: var(--bg); }
.btn-light:hover { background: color-mix(in srgb, var(--text) 88%, var(--bg)); }
.btn-line { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn-line:hover { border-color: var(--faint); background: var(--panel); }
.btn-text { background: none; color: var(--dim); padding: 0 8px; }
.btn-text:hover { color: var(--text); }
.btn-danger { background: transparent; color: color-mix(in srgb, var(--red) 65%, var(--text)); border-color: rgba(229, 56, 59, .35); }
.btn-danger:hover { background: var(--red-soft); }
.btn-sm { height: 32px; padding: 0 12px; font-size: 13px; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.btn .i { width: 16px; height: 16px; }



h1, h2, h3 { margin: 0; font-weight: 600; }
h1 { font-size: clamp(2.5rem, 5.4vw, 4.25rem); line-height: 1.02; letter-spacing: -.045em; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); line-height: 1.1; letter-spacing: -.035em; }
h3 { font-size: 1.02rem; letter-spacing: -.01em; }
p { margin: 0; }

.dim { color: var(--dim); }
.faint { color: var(--faint); }
.mono { font-family: var(--mono); }

section { padding: 112px 0; border-top: 1px solid var(--line); }
section.first { border-top: 0; }

.label { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; color: var(--faint); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 22px; }
.label b { color: var(--text); font-weight: 500; }

.head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: 56px; }
.head p { color: var(--dim); max-width: 46ch; justify-self: end; }

.page-head { padding: 88px 0 56px; }
.page-head h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); }
.page-head p { color: var(--dim); max-width: 58ch; margin-top: 18px; font-size: 1.05rem; }



.hero { position: relative; padding: 96px 0 104px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 10%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 10%, transparent 75%);
  opacity: .55;
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 4.6vw, 3.9rem); }

.status { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; color: var(--dim); border: 1px solid var(--line-2); border-radius: 999px; padding: 5px 12px 5px 10px; margin-bottom: 28px; }
.status .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(62, 207, 142, .15); }

.hero h1 em { font-style: normal; color: var(--faint); }
.hero .sub { color: var(--dim); font-size: 1.08rem; max-width: 44ch; margin: 24px 0 34px; }
.hero .cta-row { display: flex; gap: 10px; flex-wrap: wrap; }

.console {
  background: #0b0b0c; border: 1px solid var(--line-2); border-radius: var(--r-lg);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .02) inset;
  font-family: var(--mono); font-size: 13px; line-height: 1.7;
  overflow: hidden;
}
.console .bar { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.console .lights { display: flex; gap: 6px; }
.console .lights span { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.console .title { flex: 1; text-align: center; color: var(--faint); font-size: 12px; }
.console .tag { font-size: 11px; color: var(--faint); border: 1px solid var(--line-2); border-radius: 4px; padding: 0 6px; }
.console .screen { height: 372px; overflow-y: auto; padding: 16px 18px; cursor: text; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.console .ln { white-space: pre-wrap; word-break: break-word; min-height: 1.7em; }
.console .p { color: var(--faint); }
.console .p b { color: var(--red); font-weight: 400; }
.console .ok { color: var(--green); }
.console .err { color: color-mix(in srgb, var(--red) 65%, var(--text)); }
.console .hl { color: #fff; }
.console .mut { color: var(--faint); }
.console .input-line { display: flex; }
.console input { flex: 1; background: none; border: 0; outline: none; color: var(--text); font: inherit; padding: 0; caret-color: var(--red); }
.console .cursor { display: inline-block; width: 7px; height: 1.1em; background: var(--text); vertical-align: -2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts div { padding: 26px 24px; border-left: 1px solid var(--line); }
.facts div:first-child { border-left: 0; }
.facts b { display: block; font-size: 1.6rem; font-weight: 600; letter-spacing: -.03em; }
.facts span { font-size: 13px; color: var(--faint); }



.flow { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.flow > div { padding: 28px 24px 30px; border-left: 1px solid var(--line); background: var(--bg-2); position: relative; }
.flow > div:first-child { border-left: 0; }
.flow.three { grid-template-columns: repeat(3, 1fr); }
.flow .n { font-family: var(--mono); font-size: 12px; color: var(--faint); margin-bottom: 40px; display: flex; justify-content: space-between; align-items: center; }
.flow .n .i { color: var(--dim); }
.flow h3 { margin-bottom: 8px; }
.flow p { color: var(--dim); font-size: 14.5px; }

.split { display: grid; grid-template-columns: 340px 1fr; gap: 64px; }
.split .side { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }
.split .side p { color: var(--dim); margin-top: 16px; }

.rows { border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: 44px 220px 1fr; gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--line); align-items: start; }
.row .ic { width: 36px; height: 36px; border: 1px solid var(--line-2); border-radius: 9px; display: grid; place-items: center; color: var(--text); background: var(--panel); }
.row h3 { padding-top: 6px; }
.row p { color: var(--dim); padding-top: 5px; font-size: 14.5px; }


.notes { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.note { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; background: var(--bg-2); }
.note .i { margin-bottom: 18px; color: var(--dim); }
.note.red { border-color: rgba(229, 56, 59, .3); background: linear-gradient(180deg, rgba(229, 56, 59, .06), transparent 70%), var(--bg-2); }
.note.red .i { color: var(--red); }
.note h3 { margin-bottom: 8px; font-size: 1.1rem; }
.note p { color: var(--dim); font-size: 14.5px; }


.closing { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.closing h2 { max-width: 16ch; }
.closing p { color: var(--dim); margin-top: 16px; max-width: 46ch; }



.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }
.field-inline { position: relative; flex: 1; min-width: 220px; }
.field-inline .i { position: absolute; z-index: 1; left: 12px; top: 50%; transform: translateY(-50%); color: var(--faint); width: 16px; height: 16px; pointer-events: none; }
.field-inline input[type="search"] { padding-left: 36px; }

.cats { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 28px; }
.cat-btn { background: none; border: 1px solid var(--line); color: var(--dim); padding: 6px 12px; border-radius: 7px; font: inherit; font-size: 13px; cursor: pointer; transition: all .15s; }
.cat-btn:hover { color: var(--text); border-color: var(--line-2); }
.cat-btn.active { background: var(--text); border-color: var(--text); color: var(--bg); }

.meta-line { font-family: var(--mono); font-size: 12px; color: var(--faint); margin-bottom: 18px; }

.offers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.offer { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; padding: 22px; display: flex; flex-direction: column; gap: 10px; min-height: 230px; transition: background .15s; color: inherit; position: relative; }
.offer:hover { background: var(--panel); border-color: var(--line-2); transform: translateY(-2px); }
.offer { transition: background .15s, border-color .15s, transform .15s; }
.offer .by { font-size: 12px; color: var(--faint); margin-top: -4px; }

.offer.featured { background: linear-gradient(180deg, var(--gold-soft), transparent 60%), var(--bg-2); border-color: var(--gold-line); }
.offer.featured:hover { background: linear-gradient(180deg, rgba(245, 197, 66, .12), transparent 60%), var(--panel); }
.offer .feat { display: inline-flex; align-items: center; gap: 4px; color: var(--gold); text-transform: uppercase; letter-spacing: .06em; }
.offer .feat .i { width: 12px; height: 12px; }
.offer .top { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11.5px; color: var(--faint); }
.offer h3 { font-size: 1rem; line-height: 1.35; }
.offer .desc { color: var(--dim); font-size: 14px; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.offer .stack { display: flex; gap: 5px; flex-wrap: wrap; }
.offer .stack span { font-family: var(--mono); font-size: 11px; color: var(--dim); border: 1px solid var(--line-2); padding: 1px 7px; border-radius: 4px; }
.offer .foot { display: flex; justify-content: space-between; align-items: center; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13px; }
.offer .price { font-weight: 600; font-size: 15px; }
.offer .price s { color: var(--faint); font-weight: 400; margin-right: 6px; font-size: 13px; }
.offer .price small { color: var(--faint); font-weight: 400; font-family: var(--mono); font-size: 11px; margin-left: 3px; }
.offer .stats { display: flex; gap: 12px; color: var(--faint); font-family: var(--mono); font-size: 12px; }
.offer .stats span { display: inline-flex; align-items: center; gap: 4px; }
.offer .stats .i { width: 13px; height: 13px; }

.empty { grid-column: 1 / -1; background: var(--bg-2); padding: 72px 24px; text-align: center; color: var(--faint); font-size: 14px; }
.empty .i { display: block; width: 28px; height: 28px; margin: 0 auto 14px; color: var(--line-2); }



.tiers { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.tiers.three { grid-template-columns: repeat(3, 1fr); }
.tier { padding: 30px 26px; border-left: 1px solid var(--line); background: var(--bg-2); position: relative; }
.tier:first-child { border-left: 0; }
.tier.pick { background: var(--panel); }
.tier .flag { position: absolute; top: 16px; right: 16px; font-family: var(--mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--bg); background: var(--text); border-radius: 4px; padding: 1px 7px; }
.tier .amt { font-size: 2.4rem; font-weight: 600; letter-spacing: -.04em; line-height: 1; margin-bottom: 6px; }
.tier .unit { font-family: var(--mono); font-size: 12px; color: var(--faint); margin-bottom: 30px; }
.tier .cost { font-size: 1.05rem; font-weight: 500; padding-top: 16px; border-top: 1px solid var(--line); }

.plain-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.plain-table td { padding: 18px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.plain-table tr:first-child td { border-top: 1px solid var(--line); }
.plain-table td:first-child { width: 32%; font-weight: 500; }
.plain-table td:nth-child(2) { width: 18%; font-family: var(--mono); }
.plain-table td:last-child { color: var(--dim); }

.aside { display: flex; gap: 14px; align-items: flex-start; border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; margin-top: 18px; color: var(--dim); font-size: 14.5px; background: var(--bg-2); }
.aside .i { margin-top: 2px; color: var(--text); }
.aside strong { color: var(--text); font-weight: 500; }
.aside.red { border-color: rgba(229, 56, 59, .3); }
.aside.red .i { color: var(--red); }



.narrow { max-width: 780px; }

.rule { display: grid; grid-template-columns: 56px 1fr; padding: 26px 0; border-bottom: 1px solid var(--line); }
.rule:first-child { border-top: 1px solid var(--line); }
.rule .n { font-family: var(--mono); font-size: 13px; color: var(--faint); padding-top: 2px; }
.rule.crit .n { color: var(--red); }
.rule h3 { margin-bottom: 6px; font-size: 1.05rem; }
.rule p { color: var(--dim); font-size: 14.5px; }
.rule strong { color: var(--text); font-weight: 500; }

details.qa { border-bottom: 1px solid var(--line); }
details.qa:first-of-type { border-top: 1px solid var(--line); }
details.qa summary { list-style: none; cursor: pointer; padding: 22px 0; display: flex; justify-content: space-between; gap: 20px; align-items: center; font-weight: 500; }
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary .i { color: var(--faint); transition: transform .2s; }
details.qa[open] summary .i { transform: rotate(45deg); color: var(--text); }
details.qa .a { color: var(--dim); font-size: 14.5px; padding: 0 40px 24px 0; }



input[type="text"], input[type="email"], input[type="password"], input[type="search"], select {
  width: 100%; height: 40px; background: var(--bg-2); color: var(--text);
  border: 1px solid var(--line-2); border-radius: 8px; padding: 0 12px;
  font: inherit; font-size: 14px; outline: none; transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus { border-color: var(--faint); box-shadow: 0 0 0 3px color-mix(in srgb, var(--text) 8%, transparent); }
select { width: auto; padding-right: 30px; appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23888' stroke-width='1.6'%3E%3Cpath d='M3 4.5l3 3 3-3'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 11px center; }

.auth { min-height: calc(100vh - var(--header-h)); display: grid; grid-template-columns: 1fr 1fr; }
.auth .art { border-right: 1px solid var(--line); background: #000; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: 48px; }
.auth .art .art-logo { margin: auto; display: grid; justify-items: center; gap: 18px; text-align: center; }
.auth .art .art-logo img { width: 140px; height: 140px; }
.auth .art .art-logo b { font-size: 2.6rem; letter-spacing: -.04em; color: #ececee; }
.auth .art .art-logo span { font-family: var(--mono); font-size: 12px; color: #606068; margin-top: -10px; }
.auth .art p { font-family: var(--mono); font-size: 12px; color: var(--faint); }
.auth .pane { display: flex; align-items: center; justify-content: center; padding: 48px 24px; }
.auth form, .auth #login-box { width: 100%; max-width: 360px; }
.auth h1 { font-size: 1.9rem; letter-spacing: -.03em; margin-bottom: 8px; }
.auth .lede { color: var(--dim); margin-bottom: 30px; font-size: 14.5px; }
.auth .alt { margin-top: 22px; font-size: 14px; color: var(--dim); }
.auth .alt a { color: var(--text); border-bottom: 1px solid var(--line-2); }

.btn-discord { width: 100%; height: 44px; background: #5865f2; color: #fff; }
.btn-discord:hover { background: #4752c4; }
.btn-discord .i { width: 20px; height: 20px; }

.or { display: flex; align-items: center; gap: 12px; margin: 22px 0; font-family: var(--mono); font-size: 11.5px; color: var(--faint); text-transform: uppercase; letter-spacing: .06em; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.auth .or { display: flex; align-items: center; gap: 12px; margin: 26px 0 18px; font-family: var(--mono); font-size: 12px; color: var(--faint); }
.auth .or::before, .auth .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth .auth-tabs { margin-bottom: 18px; }
.auth .forgot { font-size: 12px; color: var(--dim); border-bottom: 1px solid var(--line-2); }
.auth .forgot:hover { color: var(--text); }
.auth .auth-tabs .cat-btn { flex: 1; }
.steps-mini { list-style: none; margin: 28px 0 0; padding: 0; border-top: 1px solid var(--line); }
.steps-mini li { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--dim); }
.steps-mini span { font-family: var(--mono); font-size: 12px; color: var(--faint); padding-top: 1px; }

.linked { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.block .foot.verify { background: rgba(88, 101, 242, .06); }

.field { margin-bottom: 16px; }
.field label { display: flex; justify-content: space-between; font-size: 13px; color: var(--dim); margin-bottom: 7px; }
.field label span { color: var(--faint); font-size: 12px; }
.field .hint { font-size: 12px; color: var(--faint); margin-top: 6px; display: flex; gap: 6px; align-items: center; }
.field .hint .i { width: 13px; height: 13px; }

.msg { font-size: 13.5px; padding: 10px 12px; border-radius: 8px; margin-bottom: 16px; display: none; }
.msg.on { display: block; }
.msg.err { background: var(--red-soft); color: color-mix(in srgb, var(--red) 65%, var(--text)); border: 1px solid rgba(229, 56, 59, .3); }
.msg.ok { background: rgba(62, 207, 142, .08); color: var(--green); border: 1px solid rgba(62, 207, 142, .25); }

.settings { display: grid; grid-template-columns: 220px 1fr; gap: 56px; padding: 64px 0 112px; }
.settings .menu { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; display: grid; gap: 2px; }
.settings .menu a { color: var(--dim); font-size: 14px; padding: 7px 10px; border-radius: 7px; }
.settings .menu a:hover { color: var(--text); background: var(--panel); }
.block { border: 1px solid var(--line); border-radius: var(--r-lg); margin-bottom: 20px; background: var(--bg-2); scroll-margin-top: calc(var(--header-h) + 24px); }
.block .body { padding: 26px 28px; }
.block h2 { font-size: 1.1rem; letter-spacing: -.01em; margin-bottom: 6px; }
.block .body > p { color: var(--dim); font-size: 14px; margin-bottom: 22px; }
.block .foot { border-top: 1px solid var(--line); padding: 14px 28px; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13px; color: var(--faint); }
.block.danger { border-color: rgba(229, 56, 59, .25); }
.block .grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }

.avatar-edit { display: flex; align-items: center; gap: 22px; }
.avatar-edit .actions { display: flex; gap: 8px; flex-wrap: wrap; }
.drop { border: 1px dashed var(--line-2); border-radius: var(--r); padding: 16px; margin-top: 18px; font-size: 13px; color: var(--faint); text-align: center; transition: border-color .15s, background .15s; }
.drop.over { border-color: var(--text); background: var(--panel); color: var(--text); }

.profile-card { display: flex; align-items: center; gap: 18px; margin-bottom: 8px; }
.profile-card h1 { font-size: 1.8rem; letter-spacing: -.03em; }
.profile-card .faint { font-family: var(--mono); font-size: 13px; }

.private { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 13px; color: var(--dim); background: var(--panel); border: 1px solid var(--line); border-radius: 6px; padding: 4px 10px; }
.private .i { width: 14px; height: 14px; color: var(--faint); }

.profile-actions { margin-left: auto; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }



.detail { display: grid; grid-template-columns: 1fr 340px; gap: 48px; padding: 56px 0 112px; align-items: start; }
.detail .crumbs { font-family: var(--mono); font-size: 12px; color: var(--faint); margin-bottom: 20px; }
.detail .crumbs a:hover { color: var(--text); }
.detail h1 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); letter-spacing: -.035em; }
.detail .tags { display: flex; gap: 6px; flex-wrap: wrap; margin: 18px 0 28px; }
.detail .tags span { font-family: var(--mono); font-size: 12px; color: var(--dim); border: 1px solid var(--line-2); padding: 2px 8px; border-radius: 5px; }
.detail .tags .feat { color: var(--gold); border-color: var(--gold-line); }
.detail .body { color: var(--dim); white-space: pre-wrap; word-wrap: break-word; font-size: 15px; line-height: 1.7; }
.detail h2.sub { font-size: 1.05rem; letter-spacing: -.01em; margin: 44px 0 14px; }

.buybox { position: sticky; top: calc(var(--header-h) + 24px); border: 1px solid var(--line-2); border-radius: var(--r-lg); background: var(--bg-2); overflow: hidden; }
.buybox.featured { border-color: var(--gold-line); }
.buybox .top { padding: 24px; }
.buybox .amount { font-size: 2.2rem; font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.buybox .amount small { font-family: var(--mono); font-size: 13px; color: var(--faint); font-weight: 400; margin-left: 4px; }
.buybox .amount s { font-size: 1.1rem; color: var(--faint); font-weight: 400; margin-right: 8px; }
.buybox .note { font-size: 13px; color: var(--faint); margin-top: 10px; }
.buybox .btn { width: 100%; margin-top: 18px; height: 44px; }
.buybox .facts { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-bottom: 0; }
.buybox .facts div { padding: 14px 24px; border-left: 1px solid var(--line); }
.buybox .facts div:nth-child(odd) { border-left: 0; }
.buybox .facts div:nth-child(n+3) { border-top: 1px solid var(--line); }
.buybox .facts b { font-size: 1rem; }
.buybox .seller { display: flex; gap: 12px; align-items: center; padding: 18px 24px; border-top: 1px solid var(--line); }
.buybox .seller .avatar { width: 38px; height: 38px; }
.buybox .seller b { display: block; font-size: 14px; font-weight: 500; }
.buybox .seller small { font-size: 12px; color: var(--faint); }

.delivery { border: 1px solid rgba(62, 207, 142, .3); background: rgba(62, 207, 142, .05); border-radius: var(--r-lg); padding: 22px; margin-top: 32px; }
.delivery h3 { display: flex; align-items: center; gap: 8px; color: var(--green); margin-bottom: 6px; }
.delivery p { color: var(--dim); font-size: 14px; margin-bottom: 14px; }
pre.code { background: color-mix(in srgb, var(--bg) 80%, #000); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; font-family: var(--mono); font-size: 12.5px; color: var(--text); white-space: pre-wrap; word-break: break-word; margin: 0; max-height: 420px; overflow: auto; }

.review { padding: 18px 0; border-bottom: 1px solid var(--line); }
.review:first-child { border-top: 1px solid var(--line); }
.review .stars { color: var(--gold); font-size: 13px; letter-spacing: 1px; }
.review p { color: var(--dim); font-size: 14.5px; margin-top: 6px; }
.review .reply { margin-top: 10px; padding-left: 14px; border-left: 2px solid var(--line-2); font-size: 13.5px; }


dialog.confirm { background: var(--bg-2); color: var(--text); border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 0; width: min(420px, calc(100vw - 32px)); }
dialog.confirm::backdrop { background: rgba(0, 0, 0, .7); backdrop-filter: blur(3px); }
dialog.confirm .body { padding: 26px; }
dialog.confirm h2 { font-size: 1.25rem; margin-bottom: 14px; }
dialog.confirm .rows div { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
dialog.confirm .rows span { color: var(--dim); }
dialog.confirm .rows b { font-family: var(--mono); font-weight: 500; }
dialog.confirm .foot { display: flex; justify-content: flex-end; gap: 8px; padding: 14px 26px; border-top: 1px solid var(--line); }

textarea { width: 100%; min-height: 120px; resize: vertical; background: var(--bg-2); color: var(--text); border: 1px solid var(--line-2); border-radius: 8px; padding: 10px 12px; font: inherit; font-size: 14px; line-height: 1.55; outline: none; transition: border-color .15s, box-shadow .15s; }
textarea:focus { border-color: var(--faint); box-shadow: 0 0 0 3px color-mix(in srgb, var(--text) 8%, transparent); }
textarea.mono { font-family: var(--mono); font-size: 13px; }
.field select { width: 100%; }
.counter { font-family: var(--mono); font-size: 11px; color: var(--faint); }

.page-grid { display: grid; grid-template-columns: 1fr 360px; gap: 40px; align-items: start; padding-bottom: 112px; }
.side-note { position: sticky; top: calc(var(--header-h) + 24px); }

.mini-list { border-top: 1px solid var(--line); }
.mini-list .item { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.mini-list .item .t { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-list .item .t:hover { color: var(--text); }
.mini-list .item small { font-family: var(--mono); color: var(--faint); font-size: 12px; white-space: nowrap; }
.status-pill { font-family: var(--mono); font-size: 11px; border-radius: 4px; padding: 1px 7px; border: 1px solid var(--line-2); color: var(--dim); white-space: nowrap; }
.status-pill.active { color: var(--green); border-color: rgba(62, 207, 142, .35); }
.status-pill.pending { color: var(--gold); border-color: var(--gold-line); }
.status-pill.rejected { color: color-mix(in srgb, var(--red) 65%, var(--text)); border-color: rgba(229, 56, 59, .35); }

.wallet-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.wallet-head .big { font-size: clamp(2.6rem, 6vw, 4rem); font-weight: 600; letter-spacing: -.05em; line-height: 1; }
.wallet-head .big small { font-family: var(--mono); font-size: 14px; color: var(--faint); font-weight: 400; margin-left: 6px; letter-spacing: 0; }

button.tier { font: inherit; color: inherit; text-align: left; cursor: pointer; border: 0; transition: background .15s; }
button.tier:hover { background: var(--panel); }
button.tier[disabled] { opacity: .5; cursor: wait; }
button.tier .go { display: flex; align-items: center; justify-content: space-between; }
button.tier .go .i { color: var(--faint); transition: transform .15s, color .15s; }
button.tier:hover .go .i { color: var(--text); transform: translateX(3px); }
.tiers.gold .tier.pick { background: var(--gold-soft); }
.tiers.gold .tier .flag { background: var(--gold); }

.purchase { border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 10px; background: var(--bg-2); }
.purchase summary { list-style: none; cursor: pointer; display: flex; gap: 14px; align-items: center; padding: 14px 18px; font-size: 14px; }
.purchase summary::-webkit-details-marker { display: none; }
.purchase summary .t { flex: 1; font-weight: 500; }
.purchase summary small { font-family: var(--mono); color: var(--faint); font-size: 12px; }
.purchase .inner { padding: 0 18px 18px; }

.members { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.member { display: flex; gap: 14px; align-items: center; padding: 16px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg-2); transition: border-color .15s, background .15s; color: inherit; }
.member:hover { border-color: var(--line-2); background: var(--panel); }
.member.featured { border-color: var(--gold-line); }
.member.guest:hover { border-color: var(--line); background: var(--bg-2); }
.member .avatar { width: 46px; height: 46px; font-size: 17px; }
.member .info { min-width: 0; display: grid; gap: 4px; justify-items: start; }
.member b { font-weight: 500; font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.member small { font-family: var(--mono); font-size: 11.5px; color: var(--faint); }
.group-label { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--faint); margin: 34px 0 12px; display: flex; align-items: center; gap: 8px; }
.group-label:first-child { margin-top: 0; }

.profile-hero { display: flex; gap: 24px; align-items: center; padding: 64px 0 40px; flex-wrap: wrap; }
.profile-hero .avatar.lg { width: 112px; height: 112px; font-size: 40px; }
.profile-hero .profile-msg { margin-left: auto; }
.profile-hero h1 { font-size: clamp(2rem, 4vw, 2.8rem); letter-spacing: -.035em; }
.profile-hero .meta { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 10px; }
.profile-hero .meta small { font-family: var(--mono); color: var(--faint); font-size: 12.5px; }



.acct-menu { position: relative; }
.acct-menu .pop { position: absolute; right: 0; top: calc(100% + 8px); min-width: 200px; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: var(--r); padding: 6px; box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .7); display: none; z-index: 60; }
.acct-menu.open .pop { display: block; }
.acct-menu .pop a, .acct-menu .pop button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 10px; border-radius: 6px; font: inherit; font-size: 13.5px; color: var(--dim); background: none; border: 0; cursor: pointer; text-align: left; }
.acct-menu .pop a:hover, .acct-menu .pop button:hover { background: var(--panel-2); color: var(--text); }
.acct-menu .pop hr { border: 0; border-top: 1px solid var(--line); margin: 6px 0; }
.acct-menu .who { cursor: pointer; font: inherit; color: inherit; background: none; }


.offer .cover { margin: -22px -22px 4px; aspect-ratio: 16 / 9; overflow: hidden; background: #060607; border-bottom: 1px solid var(--line); }
.offer .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.offer:hover .cover img { transform: scale(1.03); }
.offer .auc { display: inline-flex; align-items: center; gap: 4px; color: var(--red); text-transform: uppercase; letter-spacing: .06em; }
.offer .auc .i { width: 12px; height: 12px; }



.gallery { margin: 0 0 28px; }
.gallery .main { aspect-ratio: 16 / 9; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: #060607; }
.gallery .main img { width: 100%; height: 100%; object-fit: contain; }
.gallery .thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.gallery .thumbs button { width: 84px; aspect-ratio: 16 / 9; padding: 0; border: 1px solid var(--line-2); border-radius: 7px; overflow: hidden; cursor: pointer; background: #060607; opacity: .6; transition: opacity .15s, border-color .15s; }
.gallery .thumbs button.on, .gallery .thumbs button:hover { opacity: 1; border-color: var(--text); }
.gallery .thumbs img { width: 100%; height: 100%; object-fit: cover; }

.title-row { display: flex; gap: 16px; align-items: flex-start; justify-content: space-between; }
.watch { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 999px; background: none; color: var(--dim); font: inherit; font-size: 13px; cursor: pointer; transition: all .15s; }
.watch:hover { color: var(--text); border-color: var(--faint); }
.watch.on { color: color-mix(in srgb, var(--red) 65%, var(--text)); border-color: rgba(229, 56, 59, .45); background: var(--red-soft); }
.watch.on .i { fill: currentColor; }

.auction-box { padding: 24px; }
.auction-box .live { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--red); margin-bottom: 10px; }
.auction-box .live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 3px var(--red-soft); }
.auction-box .countdown { font-family: var(--mono); font-size: 1.35rem; letter-spacing: -.01em; margin: 4px 0 14px; }
.auction-box .bid-row { display: flex; gap: 8px; margin-top: 14px; }
.auction-box .bid-row input { flex: 1; }
.auction-box .bid-row .btn { width: auto; margin: 0; height: 40px; }
.bid-list { list-style: none; margin: 14px 0 0; padding: 0; font-family: var(--mono); font-size: 12px; color: var(--faint); }
.bid-list li { display: flex; justify-content: space-between; padding: 5px 0; border-top: 1px solid var(--line); }
.bid-list li.me { color: var(--text); }

.inline-form { border: 1px solid var(--line); border-radius: var(--r); padding: 18px; background: var(--bg-2); margin: 14px 0 6px; }
.inline-form textarea { min-height: 84px; }
.inline-form .row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 10px; }
.stars-input { display: inline-flex; gap: 2px; }
.stars-input button { background: none; border: 0; padding: 2px; cursor: pointer; color: var(--line-2); }
.stars-input button .i { width: 22px; height: 22px; }
.stars-input button.on { color: var(--gold); }
.stars-input button.on .i { fill: currentColor; }



.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; margin-bottom: 20px; }
.tiles div { background: var(--bg-2); padding: 20px 22px; }
.tiles b { display: block; font-size: 1.7rem; font-weight: 600; letter-spacing: -.035em; line-height: 1.15; }
.tiles span { font-size: 12.5px; color: var(--faint); }

.chart-card { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg-2); padding: 22px 22px 14px; margin-bottom: 48px; position: relative; }
.chart-card h3 { font-size: .95rem; margin-bottom: 2px; }
.chart-card .sub { font-size: 12.5px; color: var(--faint); margin-bottom: 16px; }
.chart-card svg { width: 100%; height: 190px; display: block; overflow: visible; }
.chart-card .axis text { fill: var(--faint); font-family: var(--mono); font-size: 10px; }
.chart-card .grid line { stroke: var(--line); stroke-width: 1; }
.chart-card .bar { fill: var(--dim); transition: fill .12s; }
.chart-card .hit { fill: transparent; cursor: default; }
.chart-card .hit:hover + .bar, .chart-card .bar.hover { fill: var(--text); }
.chart-tip { position: absolute; pointer-events: none; background: var(--panel-2); border: 1px solid var(--line-2); border-radius: 7px; padding: 7px 10px; font-size: 12px; white-space: nowrap; transform: translate(-50%, -100%); opacity: 0; transition: opacity .1s; }
.chart-tip b { display: block; font-family: var(--mono); font-weight: 500; }
.chart-tip span { color: var(--faint); }

.manage { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg-2); margin-bottom: 10px; }
.manage > summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 14px 18px; }
.manage > summary::-webkit-details-marker { display: none; }
.manage > summary .t { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.manage > summary small { font-family: var(--mono); color: var(--faint); font-size: 12px; white-space: nowrap; }
.manage .inner { border-top: 1px solid var(--line); padding: 18px; display: grid; gap: 18px; }
.manage .act { display: grid; grid-template-columns: 150px 1fr; gap: 16px; align-items: start; }
.manage .act > label { font-size: 13px; color: var(--dim); padding-top: 9px; }
.manage .act .ctl { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.manage .act .ctl input[type="text"] { width: 120px; }
.manage .act .ctl textarea { min-height: 80px; }
.manage .act .note { font-size: 12.5px; color: var(--faint); width: 100%; }
.thumb-grid { display: flex; gap: 8px; flex-wrap: wrap; }
.thumb-grid .th { position: relative; width: 120px; aspect-ratio: 16 / 9; border: 1px solid var(--line-2); border-radius: 7px; overflow: hidden; background: #060607; }
.thumb-grid .th img { width: 100%; height: 100%; object-fit: cover; }
.thumb-grid .th .tools { position: absolute; inset: auto 4px 4px auto; display: flex; gap: 4px; }
.thumb-grid .th .tools button { height: 22px; padding: 0 6px; border-radius: 5px; border: 0; background: rgba(0, 0, 0, .75); color: #fff; font-size: 11px; cursor: pointer; }
.thumb-grid .th .cover-tag { position: absolute; left: 4px; top: 4px; font-family: var(--mono); font-size: 10px; background: var(--text); color: var(--bg); padding: 0 5px; border-radius: 3px; }
.thumb-grid .add { width: 120px; aspect-ratio: 16 / 9; border: 1px dashed var(--line-2); border-radius: 7px; display: grid; place-items: center; color: var(--faint); font-size: 12px; cursor: pointer; background: none; font: inherit; }
.thumb-grid .add:hover { border-color: var(--text); color: var(--text); }

details.apply > summary { list-style: none; }
details.apply > summary::-webkit-details-marker { display: none; }
details.apply[open] > summary { display: none; }
details.apply .inline-form { margin: 0; width: 100%; }
.req .foot details.apply[open] { width: 100%; }

.qa-item { border-bottom: 1px solid var(--line); padding: 16px 0; }
.qa-item:first-child { border-top: 1px solid var(--line); }
.qa-item .meta { font-family: var(--mono); font-size: 12px; color: var(--faint); margin-bottom: 6px; }
.qa-item .meta a:hover { color: var(--text); }
.qa-item p { font-size: 14.5px; }
.qa-item .row { display: flex; gap: 8px; margin-top: 10px; }
.qa-item .row input { flex: 1; }



.reqs { display: grid; gap: 10px; }
.req { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg-2); padding: 20px 22px; }
.req.mine { border-color: var(--line-2); }
.req .top { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.req h3 { font-size: 1.05rem; }
.req .budget { font-family: var(--mono); font-size: 14px; white-space: nowrap; }
.req .budget small { color: var(--faint); }
.req p.desc { color: var(--dim); font-size: 14.5px; margin: 8px 0 14px; white-space: pre-wrap; }
.req .foot { display: flex; justify-content: space-between; gap: 12px; align-items: center; flex-wrap: wrap; font-size: 12.5px; color: var(--faint); }
.req .foot .who { display: inline-flex; align-items: center; gap: 8px; }
.req .foot .avatar { width: 22px; height: 22px; font-size: 10px; }
.req .apps { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 12px; display: grid; gap: 10px; }
.req .apps .app { display: grid; grid-template-columns: auto 1fr; gap: 10px; font-size: 14px; }
.req .apps .app .avatar { width: 30px; height: 30px; }
.req .apps .app p { color: var(--dim); white-space: pre-wrap; }
.req { scroll-margin-top: 90px; transition: box-shadow .3s; }
.req.flash { box-shadow: 0 0 0 2px var(--line-2); }
.req.featured { border-color: var(--gold-line); background: linear-gradient(180deg, color-mix(in srgb, var(--gold) 7%, var(--bg-2)), var(--bg-2) 70%); }
.req.featured h3 { color: color-mix(in srgb, var(--gold) 55%, var(--text)); }
.req .tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 7px; }
.req .tag { font-family: var(--mono); font-size: 11.5px; color: var(--dim); border: 1px solid var(--line); border-radius: 5px; padding: 1px 7px; }
.req .tag.cat { color: var(--text); border-color: var(--line-2); }
.req .tag.gold { color: var(--gold); border-color: var(--gold-line); }
.req .budget { text-align: right; }
.req .budget .ends { display: block; font-size: 11.5px; color: var(--faint); margin-top: 3px; }
.req .budget .ends.soon { color: var(--gold); }
.req .atts { display: flex; gap: 8px; flex-wrap: wrap; margin: -4px 0 14px; }
.req .atts a, .req .atts span.att { position: relative; display: block; width: 84px; height: 60px; border-radius: 7px; overflow: hidden; border: 1px solid var(--line); background: var(--bg-3, var(--bg)); }
.req .atts img { width: 100%; height: 100%; object-fit: cover; display: block; }
.req .atts button { position: absolute; top: 3px; right: 3px; width: 20px; height: 20px; padding: 0; border-radius: 5px; border: 0; background: rgba(0,0,0,.65); color: #fff; cursor: pointer; font-size: 12px; line-height: 20px; }
.req .client { color: var(--faint); }
.req .owner-acts { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.offer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
.offer-grid label { display: block; font-size: 12px; color: var(--faint); margin-bottom: 5px; }

.req-offers, .req-offers tbody { display: block; width: 100%; font-size: 13.5px; }
.req-offers thead { display: none; }
.req-offers tr { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px 18px; padding: 14px 0; border-top: 1px solid var(--line); }
.req-offers tr:first-child { border-top: 0; padding-top: 4px; }
.req-offers td { display: block; padding: 0; }
.req-offers td.num { font-family: var(--mono); white-space: nowrap; text-align: right; }
.req-offers td.full { grid-column: 1 / -1; }
.req-offers .best { display: block; width: fit-content; margin: 4px 0 0 auto; font-size: 10.5px; color: var(--green); border: 1px solid rgba(62, 207, 142, .35); border-radius: 4px; padding: 0 5px; }
.req-offers .who-cell { display: flex; gap: 10px; align-items: flex-start; min-width: 0; }
.req-offers .who-cell .avatar { width: 28px; height: 28px; flex: none; }
.req-offers .who-cell small { display: block; color: var(--faint); font-size: 12px; margin-top: 2px; }
.req-offers .pitch { color: var(--dim); white-space: pre-wrap; margin-top: 6px; font-size: 13px; }
.req-offers .acts { display: flex; gap: 6px; flex-wrap: wrap; padding-left: 38px; }
.req-offers tr.chosen { background: color-mix(in srgb, var(--green) 6%, transparent); border-radius: 8px; padding-left: 8px; padding-right: 8px; }
.req-offers-wrap { overflow: hidden; }
.req .tag { display: inline-flex; align-items: center; gap: 4px; }
.req .tag .i { width: 11px; height: 11px; }
input[type="file"] { font: inherit; font-size: 13px; color: var(--dim); max-width: 100%; }
input[type="file"]::file-selector-button { font: inherit; font-size: 13px; color: var(--text); background: none; border: 1px solid var(--line-2); border-radius: 7px; padding: 6px 12px; margin-right: 10px; cursor: pointer; }
input[type="file"]::file-selector-button:hover { border-color: var(--dim); }.range-row { display: flex; gap: 10px; align-items: center; }
.range-row > input { flex: 1; min-width: 0; }
.check-line { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--dim); cursor: pointer; margin-top: 4px; }
.check-line input { width: 16px; height: 16px; margin-top: 2px; flex: none; }
.check-line.locked { cursor: default; opacity: .75; }


.board { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.board th { text-align: left; font-family: var(--mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--faint); font-weight: 400; padding: 0 12px 12px; border-bottom: 1px solid var(--line); }
.board td { padding: 14px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.board td.n { font-family: var(--mono); color: var(--faint); width: 48px; }
.board tr.top1 td.n { color: var(--gold); }
.board td.num { font-family: var(--mono); text-align: right; white-space: nowrap; }
.board th.num { text-align: right; }
.board .person { display: flex; align-items: center; gap: 12px; }
.board .person .avatar { width: 34px; height: 34px; }
.board .person b { font-weight: 500; display: block; }
.board .person small { font-size: 12px; color: var(--faint); }

.tx { border-top: 1px solid var(--line); }
.tx .item { display: grid; grid-template-columns: 28px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.tx .item .ic { color: var(--faint); display: grid; place-items: center; }
.tx .item small { display: block; font-family: var(--mono); font-size: 11.5px; color: var(--faint); }
.tx .item .amt { font-family: var(--mono); white-space: nowrap; }
.tx .item .amt.plus { color: var(--green); }



.fls { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; }
.fl { display: flex; flex-direction: column; gap: 12px; padding: 20px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg-2); color: inherit; transition: border-color .15s, background .15s; }
.fl:hover { border-color: var(--line-2); background: var(--panel); }
.fl.off { opacity: .6; }
.fl .head { display: flex; gap: 12px; align-items: center; margin: 0; }
.fl .head .avatar { width: 46px; height: 46px; font-size: 17px; }
.fl .head b { display: block; font-weight: 500; }
.fl .head small { font-size: 12px; color: var(--faint); }
.fl h3 { font-size: 15px; line-height: 1.4; }
.skills { display: flex; gap: 5px; flex-wrap: wrap; }
.skills span { font-family: var(--mono); font-size: 11.5px; color: var(--dim); border: 1px solid var(--line-2); padding: 2px 8px; border-radius: 5px; }
.fl .foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--faint); }
.fl .foot b { font-family: var(--mono); font-weight: 500; color: var(--text); }
.fl { position: relative; overflow: hidden; }
.fl .fl-cover { margin: -20px -20px 2px; height: 120px; background: var(--panel-2) center / cover no-repeat; border-bottom: 1px solid var(--line); }
.fl.featured { border-color: var(--gold-line); background: linear-gradient(180deg, var(--gold-soft), transparent 55%), var(--bg-2); }
.fl.featured .feat-tag { position: absolute; top: 12px; right: 12px; z-index: 1; font: 500 10.5px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: #1a1405; background: var(--gold); padding: 2px 7px; border-radius: 4px; }
.fl .head .av-wrap { position: relative; flex: none; }
.dot-online { position: absolute; right: 0; bottom: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 2px var(--bg-2); }
.badges { display: flex; gap: 6px; flex-wrap: wrap; }
.badges span { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; color: var(--dim); border: 1px solid var(--line); border-radius: 5px; padding: 1px 7px; }
.badges span .i { width: 11px; height: 11px; }
.badges .top { color: var(--gold); border-color: var(--gold-line); }
.badges .good { color: var(--green); border-color: rgba(62, 207, 142, .35); }
.seen { font-size: 12px; color: var(--faint); }
.seen.on { color: var(--green); }
.fl-filters { display: flex; gap: 10px 18px; flex-wrap: wrap; align-items: center; font-size: 13px; color: var(--dim); }
.fl-filters label { display: inline-flex; align-items: center; gap: 7px; }
.fl-filters input[type="text"] { width: 90px; padding-top: 6px; padding-bottom: 6px; }
.fl-filters select { padding-top: 6px; padding-bottom: 6px; }
.fl-filters .check input { width: 15px; height: 15px; }
.portfolio { margin-top: 18px; }
.portfolio .pics { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.portfolio .pics a, .portfolio .pics .pic { position: relative; display: block; aspect-ratio: 16 / 10; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); background: var(--panel-2); }
.portfolio .pics img { width: 100%; height: 100%; object-fit: cover; display: block; }
.portfolio .pics button { position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; padding: 0; border: 0; border-radius: 5px; background: rgba(0,0,0,.65); color: #fff; cursor: pointer; }
.portfolio .links { display: grid; gap: 6px; margin-top: 10px; font-size: 13.5px; }
.portfolio .links a { display: inline-flex; gap: 6px; align-items: center; color: var(--dim); text-decoration: underline; text-underline-offset: 3px; }
.portfolio .links a .i { width: 13px; height: 13px; }
.order .ext { border: 1px solid var(--gold-line); border-radius: 8px; padding: 10px 12px; font-size: 13.5px; margin: 10px 0; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.order .file-line { display: inline-flex; gap: 8px; align-items: center; font-size: 13.5px; }
.avail { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--green); }
.avail::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.avail.no { color: var(--faint); }

.hire-card { border: 1px solid var(--line-2); border-radius: var(--r-lg); background: var(--bg-2); margin-bottom: 48px; overflow: hidden; }
.hire-card .top { padding: 24px 26px; display: grid; grid-template-columns: 1fr 340px; gap: 32px; }
.hire-card h2 { font-size: 1.35rem; letter-spacing: -.02em; margin-bottom: 10px; }
.hire-card .about { color: var(--dim); font-size: 14.5px; white-space: pre-wrap; margin: 14px 0; }
.hire-card form .field { margin-bottom: 12px; }
.hire-card .side { border-left: 1px solid var(--line); padding-left: 32px; }

.order { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg-2); margin-bottom: 10px; }
.order > summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 14px 18px; }
.order > summary::-webkit-details-marker { display: none; }
.order > summary .t { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.order > summary small { font-family: var(--mono); color: var(--faint); font-size: 12px; white-space: nowrap; }
.order .inner { border-top: 1px solid var(--line); padding: 18px; display: grid; gap: 14px; }
.order .who-line { display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--dim); }
.order .who-line .avatar { width: 24px; height: 24px; font-size: 10px; }
.order .brief { white-space: pre-wrap; color: var(--dim); font-size: 14px; }
.order .actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.order .actions textarea { width: 100%; }
.status-pill.accepted { color: #7dd3fc; border-color: rgba(125, 211, 252, .35); }
.status-pill.delivered { color: var(--gold); border-color: var(--gold-line); }
.status-pill.completed { color: var(--green); border-color: rgba(62, 207, 142, .35); }
.status-pill.disputed { color: color-mix(in srgb, var(--red) 65%, var(--text)); border-color: rgba(229, 56, 59, .4); }
.status-pill.declined, .status-pill.cancelled { color: var(--faint); }

.escrow-note { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--faint); }
.escrow-note .i { width: 16px; height: 16px; margin-top: 2px; color: var(--dim); }

@media (max-width: 1000px) {
  .hire-card .top { grid-template-columns: 1fr; }
  .hire-card .side { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 24px; }
}



.panel { display: grid; grid-template-columns: 210px 1fr; gap: 40px; padding: 40px 0 112px; align-items: start; }
.panel .tabs { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 2px; }
.panel .tabs button { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 12px; border-radius: 8px; border: 0; background: none; color: var(--dim); font: inherit; font-size: 14px; cursor: pointer; text-align: left; }
.panel .tabs button:hover { color: var(--text); background: var(--panel); }
.panel .tabs button.on { color: var(--text); background: var(--panel-2); }
.panel .tabs .n { font-family: var(--mono); font-size: 11px; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; display: grid; place-items: center; background: var(--line-2); color: var(--text); }
.panel .tabs .n.hot { background: var(--red); color: #fff; }
.panel .tabs .n.zero { background: none; color: var(--faint); }
.panel h2 { font-size: 1.4rem; letter-spacing: -.02em; margin-bottom: 6px; }
.panel .lede { color: var(--dim); font-size: 14px; margin-bottom: 22px; }

.lockbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; border: 1px solid var(--line-2); border-radius: var(--r); padding: 12px 16px; margin-bottom: 26px; font-size: 13.5px; background: var(--bg-2); }
.lockbar .i { color: var(--gold); }
.lockbar.open { border-color: rgba(62, 207, 142, .35); }
.lockbar.open .i { color: var(--green); }
.lockbar span { flex: 1; color: var(--dim); }
.lockbar input { width: 120px; letter-spacing: .2em; font-family: var(--mono); }

.pcard { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg-2); padding: 20px 22px; margin-bottom: 12px; }
.pcard .row1 { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; margin-bottom: 10px; }
.pcard h3 { font-size: 1rem; }
.pcard .meta { font-family: var(--mono); font-size: 12px; color: var(--faint); }
.pcard .desc { color: var(--dim); font-size: 14px; white-space: pre-wrap; margin: 10px 0; }
.pcard .who { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; }
.pcard .who .avatar { width: 24px; height: 24px; font-size: 10px; }
.pcard .flags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.pcard .acts { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.pcard .acts input[type="text"] { flex: 1; min-width: 200px; }
.pcard .imgs { display: flex; gap: 6px; margin: 10px 0; }
.pcard .imgs img { width: 110px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; border: 1px solid var(--line-2); }

.ulist { display: grid; gap: 6px; margin-top: 14px; }
.ulist button { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-2); color: inherit; font: inherit; font-size: 14px; cursor: pointer; text-align: left; }
.ulist button:hover { border-color: var(--line-2); }
.ulist small { font-family: var(--mono); font-size: 12px; color: var(--faint); }

.kv { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin: 14px 0; }
.kv div { background: var(--bg-2); padding: 12px 14px; }
.kv b { display: block; font-family: var(--mono); font-weight: 500; }
.kv span { font-size: 12px; color: var(--faint); }

.audit { width: 100%; border-collapse: collapse; font-size: 13px; }
.audit td { padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.audit td:first-child { font-family: var(--mono); color: var(--faint); white-space: nowrap; width: 130px; }
.audit td.act { font-family: var(--mono); white-space: nowrap; }

@media (max-width: 900px) {
  .panel { grid-template-columns: 1fr; gap: 20px; }
  .panel .tabs { position: static; grid-auto-flow: column; overflow-x: auto; }
  .kv { grid-template-columns: repeat(2, 1fr); }
}



footer { border-top: 1px solid var(--line); padding: 56px 0 36px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 56px; }
footer h4 { font-family: var(--mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--faint); margin: 0 0 14px; font-weight: 400; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
footer ul a { color: var(--dim); font-size: 14px; }
footer ul a:hover { color: var(--text); }
footer .about p { color: var(--faint); font-size: 14px; max-width: 32ch; margin-top: 14px; }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--faint); font-size: 12.5px; font-family: var(--mono); }




.reveal { opacity: 0; transform: translateY(10px); transition: opacity .5s ease, transform .5s ease; }
.reveal.seen { opacity: 1; transform: none; }
.reveal.now { transition: none; }


#offers, #members, main#listing, main#profile { min-height: 50vh; align-content: start; }

#offers:has(.offer) { min-height: 0; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .console .cursor { animation: none; }
}


@media (max-width: 1000px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 48px; }
  .flow:not(.three), .tiers { grid-template-columns: repeat(2, 1fr); }
  .flow:not(.three) > div:nth-child(3), .tiers:not(.three) .tier:nth-child(3) { border-left: 0; }
  .flow:not(.three) > div:nth-child(n+3), .tiers:not(.three) .tier:nth-child(n+3) { border-top: 1px solid var(--line); }
  .tiers.three { grid-template-columns: 1fr; }
  .tiers.three .tier { border-left: 0; }
  .tiers.three .tier + .tier { border-top: 1px solid var(--line); }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split .side { position: static; }
  .offers { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .detail, .page-grid { grid-template-columns: 1fr; gap: 32px; }
  .buybox, .side-note { position: static; }
}

@media (max-width: 1360px) {
  .burger { display: block; }
  nav.main {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 12px 16px 18px; display: none;
  }
  nav.main.open { display: flex; }
  nav.main a { padding: 11px 12px; font-size: 15px; }
  .account { margin-left: auto; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  body { font-size: 15px; }
  section { padding: 76px 0; }
  .hero { padding: 64px 0 72px; }
  .head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 36px; }
  .head p { justify-self: start; }
  .burger { display: block; }
  nav.main {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 12px 16px 18px; display: none;
  }
  nav.main.open { display: flex; }
  nav.main a { padding: 11px 12px; font-size: 15px; }
  header .wrap { gap: 12px; }
  .account .who .name, .account .btn-text { display: none; }
  .account .balance { height: 32px; padding: 0 10px; font-size: 12px; }
  .account .verify-btn { height: 32px; padding: 0 10px; font-size: 12px; }
  .account .verify-btn .i { display: none; }
  .profile-actions { margin-left: 0; width: 100%; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts div:nth-child(3) { border-left: 0; }
  .facts div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .flow, .flow.three, .tiers, .tiers.three, .offers, .notes { grid-template-columns: 1fr; }
  .flow > div, .tier { border-left: 0 !important; }
  .flow > div + div, .tier + .tier { border-top: 1px solid var(--line); }
  .row { grid-template-columns: 40px 1fr; }
  .row p { grid-column: 2; padding-top: 0; }
  .console .screen { height: 320px; font-size: 12px; }
  .auth { grid-template-columns: 1fr; }
  .auth .art { display: none; }
  .settings { grid-template-columns: 1fr; gap: 24px; padding-top: 40px; }
  .settings .menu { position: static; grid-auto-flow: column; overflow-x: auto; }
  .block .grid2 { grid-template-columns: 1fr; }
  .block .body { padding: 22px 20px; }
  .block .foot { padding: 14px 20px; }
  .plain-table td:first-child { width: auto; }
  .manage .act { grid-template-columns: 1fr; gap: 8px; }
  .manage .act > label { padding-top: 0; }
  .board th:nth-child(4), .board td:nth-child(4) { display: none; }
  .tiles b { font-size: 1.35rem; }
  .plain-table, .plain-table tbody, .plain-table tr, .plain-table td { display: block; }
  .plain-table tr { padding: 16px 0; border-bottom: 1px solid var(--line); }
  .plain-table tr:first-child { border-top: 1px solid var(--line); }
  .plain-table td { border: 0 !important; padding: 2px 0; width: auto !important; }
  .foot-grid { grid-template-columns: 1fr; }
}

.pcard .payout { display: grid; gap: 4px; margin-top: 12px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--bg); font-size: 13px; }
.pcard .payout code { font-size: 13.5px; color: var(--text); word-break: break-all; user-select: all; }
.pcard .payout small { color: var(--faint); font-size: 12px; }



:root { color-scheme: dark; }
















/* --------------------------------------------------------------------------
   Dzwoneczek, wiadomosci w naglowku
   -------------------------------------------------------------------------- */

.account .icon-link { position: relative; width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 999px; color: var(--dim); background: none; cursor: pointer; transition: color .15s, border-color .15s; }
.account .icon-link:hover { color: var(--text); border-color: var(--faint); }
.account .icon-link .dot { position: absolute; top: -4px; right: -5px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 999px; background: var(--red); color: #fff; font: 600 10px/17px var(--mono); text-align: center; box-shadow: 0 0 0 2px var(--bg); }
.bell-menu { position: relative; }
.bell-menu .notif-pop { position: absolute; right: -80px; top: calc(100% + 8px); width: 360px; max-width: calc(100vw - 24px); background: var(--bg-2); border: 1px solid var(--line-2); border-radius: var(--r); box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .7); display: none; z-index: 60; }
.bell-menu.open .notif-pop { display: block; }
.notif-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.notif-head button, .notif-foot button { background: none; border: 0; color: var(--dim); font: inherit; font-size: 12.5px; cursor: pointer; padding: 0; }
.notif-head button:hover, .notif-foot button:hover { color: var(--text); }
.notif-list { max-height: 380px; overflow-y: auto; padding: 6px; }
.notif { display: grid; grid-template-columns: 18px 1fr auto; gap: 10px; align-items: start; padding: 9px 8px; border-radius: 7px; font-size: 13px; line-height: 1.45; color: var(--dim); }
.notif:hover { background: var(--panel-2); color: var(--text); }
.notif .i { margin-top: 2px; color: var(--faint); }
.notif.unread { color: var(--text); }
.notif.unread .i { color: var(--red); }
.notif small { font-family: var(--mono); font-size: 11px; color: var(--faint); padding-top: 1px; }
.notif span { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.notif-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 14px; border-top: 1px solid var(--line); font-size: 12px; color: var(--dim); }
.notif-foot span { display: flex; gap: 8px; align-items: center; }


@media (max-width: 720px) {
  .bell-menu .notif-pop { position: fixed; left: 12px; right: 12px; top: calc(var(--header-h) + 6px); width: auto; }
  .account .icon-link { width: 32px; height: 32px; }
}

/* --------------------------------------------------------------------------
   Wiadomosci
   -------------------------------------------------------------------------- */

.inbox { display: grid; grid-template-columns: 320px 1fr; min-height: 560px; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--bg-2); }
.inbox .threads { border-right: 1px solid var(--line); overflow-y: auto; max-height: 72vh; }
.inbox .threads a { display: grid; grid-template-columns: 34px 1fr auto; gap: 10px; padding: 14px; border-bottom: 1px solid var(--line); align-items: center; }
.inbox .threads a:hover { background: var(--panel); }
.inbox .threads a.on { background: var(--panel-2); }
.inbox .threads .avatar { width: 34px; height: 34px; }
.inbox .threads b { display: block; font-size: 14px; font-weight: 500; }
.inbox .threads .sub { display: block; font-size: 12.5px; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.inbox .threads .tag { font-family: var(--mono); font-size: 10.5px; color: var(--gold); margin-left: 6px; }
.inbox .threads .count { min-width: 20px; height: 20px; border-radius: 999px; background: var(--red); color: #fff; font: 600 11px/20px var(--mono); text-align: center; padding: 0 5px; }
.inbox .threads small { font-family: var(--mono); font-size: 11px; color: var(--faint); }
.inbox .chat { display: flex; flex-direction: column; min-width: 0; }
.inbox .chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.inbox .chat-head .avatar { width: 32px; height: 32px; }
.inbox .chat-head .meta { font-size: 12.5px; color: var(--faint); }
.inbox .chat-body { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 8px; max-height: 58vh; min-height: 300px; }
.bubble { max-width: 72%; padding: 9px 13px; border-radius: 14px; font-size: 14px; line-height: 1.5; white-space: pre-wrap; word-break: break-word; background: var(--panel-2); align-self: flex-start; border-bottom-left-radius: 4px; }
.bubble.mine { align-self: flex-end; background: var(--text); color: var(--bg); border-bottom-left-radius: 14px; border-bottom-right-radius: 4px; }
.bubble time { display: block; font-family: var(--mono); font-size: 10.5px; opacity: .55; margin-top: 3px; }
.chat-day { align-self: center; font-family: var(--mono); font-size: 11px; color: var(--faint); margin: 8px 0; }
.chat-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.chat-form textarea { flex: 1; min-height: 44px; max-height: 160px; resize: none; }
.inbox .empty-chat { flex: 1; display: grid; place-items: center; color: var(--faint); font-size: 14px; padding: 40px; text-align: center; }
.inbox .back { display: none; }
@media (max-width: 820px) {
  .inbox { grid-template-columns: 1fr; }
  .inbox.has-thread .threads { display: none; }
  .inbox:not(.has-thread) .chat { display: none; }
  .inbox .back { display: inline-flex; }
  .bubble { max-width: 88%; }
}

/* Naglowek: napisy nigdy sie nie lamia, dluga nazwa jest ucinana */
nav.main a { white-space: nowrap; }
.account { flex-shrink: 0; }
.account .who .name { white-space: nowrap; max-width: 140px; overflow: hidden; text-overflow: ellipsis; }
.account .who .avatar { flex: 0 0 auto; }
@media (max-width: 1500px) { header .wrap { gap: 20px; } nav.main a { padding: 6px 8px; } }

/* Strona glowna: liczniki na zywo i konkurs weekendowy */
.live-stats:empty { display: none; }
.live-stats b { font-variant-numeric: tabular-nums; }
.contest-card { display: grid; grid-template-columns: 1fr auto; gap: 24px 40px; align-items: center; padding: 32px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg-2); }
.contest-card.live { border-color: var(--gold-line); background: linear-gradient(135deg, var(--gold-soft), transparent 60%), var(--bg-2); }
.contest-card h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -.03em; margin: 6px 0 8px; }
.contest-card p { color: var(--dim); font-size: 14.5px; margin: 0; }
.contest-act { display: grid; gap: 10px; justify-items: end; max-width: 320px; }
.contest-act p { text-align: right; }
.contest-winners { grid-column: 1 / -1; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; font-size: 13px; border-top: 1px solid var(--line); padding-top: 16px; }
.contest-winners .who { display: inline-flex; gap: 6px; align-items: center; }
@media (max-width: 720px) {
  .contest-card { grid-template-columns: 1fr; padding: 24px; }
  .contest-act { justify-items: start; }
  .contest-act p { text-align: left; }
}

/* Ustawienia: link polecajacy */
.copy-row { display: flex; gap: 8px; margin-top: 14px; }
.copy-row input { flex: 1; font-family: var(--mono); font-size: 13px; }

/* Panel sprzedawcy: publikacja aktualizacji */
.update-ctl { display: grid !important; gap: 8px; }
.update-ctl .btn { justify-self: start; }

/* Portfel: pakiety i znacznik aktualizacji */
.bundles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.bundle { text-align: left; padding: 22px; border: 1px solid var(--gold-line); border-radius: var(--r-lg); background: linear-gradient(180deg, var(--gold-soft), transparent 70%), var(--bg-2); color: inherit; font: inherit; cursor: pointer; transition: transform .15s, border-color .15s; display: grid; gap: 6px; }
.bundle:hover { transform: translateY(-2px); border-color: var(--gold); }
.bundle:disabled { opacity: .6; cursor: default; transform: none; }
.bundle .name { font-family: var(--mono); font-size: 12px; color: var(--gold); text-transform: uppercase; letter-spacing: .06em; }
.bundle .what { font-size: 1.25rem; font-weight: 600; letter-spacing: -.02em; }
.bundle .price { font-size: 15px; margin-top: 6px; }
.bundle .price s { color: var(--faint); margin-right: 6px; }
.bundle .save { font-size: 12px; color: var(--green); }
.upd-badge { font-family: var(--mono); font-size: 11px; color: var(--green); border: 1px solid rgba(62,207,142,.35); border-radius: 999px; padding: 1px 8px; margin-left: 8px; }
@media (max-width: 860px) { .bundles { grid-template-columns: 1fr; } }

/* Panel staffu: skan, historia, czat sporu, statystyki */
.scan { margin-top: 12px; border: 1px solid rgba(229,56,59,.35); background: var(--red-soft); border-radius: var(--r); padding: 10px 14px; font-size: 13px; }
.scan.ok { border-color: rgba(62,207,142,.3); background: rgba(62,207,142,.06); color: var(--green); }
.scan li { margin: 3px 0; }
.hist { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.dispute-chat { margin-top: 12px; display: grid; gap: 6px; max-height: 280px; overflow-y: auto; padding: 10px; border: 1px solid var(--line); border-radius: var(--r); }
.dispute-chat div { font-size: 13px; }
.dispute-chat b { font-weight: 500; color: var(--dim); }
.stat-chart { display: flex; align-items: flex-end; gap: 2px; height: 160px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.stat-chart .col { flex: 1; display: flex; flex-direction: column-reverse; min-width: 2px; height: 100%; }
.stat-chart .col span { display: block; width: 100%; }
.stat-chart .col span + span { border-bottom: 1px solid var(--bg-2); }
.stat-legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: var(--dim); margin: 10px 0 24px; }
.stat-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }

/* Ustawienia: wlasna paleta kolorow */
.presets { display: flex; gap: 8px; flex-wrap: wrap; margin: 18px 0 20px; }
.preset { display: flex; align-items: center; gap: 8px; padding: 6px 10px 6px 6px; border: 1px solid var(--line-2); border-radius: 999px; background: none; color: var(--dim); font: inherit; font-size: 13px; cursor: pointer; transition: border-color .15s, color .15s; }
.preset:hover { color: var(--text); border-color: var(--faint); }
.preset.on { color: var(--text); border-color: var(--text); }
.preset .dots { display: inline-flex; gap: 2px; padding: 4px; border-radius: 999px; border: 1px solid rgba(128,128,128,.3); }
.preset .dots i { width: 9px; height: 9px; border-radius: 50%; display: block; }
.palette-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.swatch { display: grid; grid-template-columns: 40px 1fr 92px; gap: 12px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg); cursor: pointer; }
.swatch input[type="color"] { width: 40px; height: 40px; padding: 0; border: 1px solid var(--line-2); border-radius: 8px; background: none; cursor: pointer; }
.swatch input[type="color"]::-webkit-color-swatch-wrapper { padding: 3px; }
.swatch input[type="color"]::-webkit-color-swatch { border: 0; border-radius: 5px; }
.swatch b { display: block; font-size: 13.5px; font-weight: 500; }
.swatch small { display: block; font-size: 12px; color: var(--faint); line-height: 1.35; }
.swatch input[type="text"] { height: 34px; font-size: 12.5px; padding: 0 8px; }
.palette-preview { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 18px; padding: 16px; border: 1px dashed var(--line-2); border-radius: var(--r); font-size: 13px; }
#palette-warn { color: var(--red); margin-top: 10px; }
@media (max-width: 720px) { .palette-grid { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Strona glowna: karty ofert, kategorie, zaufanie, VIP
   -------------------------------------------------------------------------- */

.btn-accent { background: var(--text); color: var(--bg); }
.btn-accent:hover { background: color-mix(in srgb, var(--text) 88%, var(--bg)); }
.btn-gold { background: var(--gold); color: #1a1405; }
.btn-gold:hover { background: color-mix(in srgb, var(--gold) 85%, #fff); }
.trust-mini { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 0; margin: 26px 0 0; font-size: 13px; color: var(--dim); }
.trust-mini li { display: flex; align-items: center; gap: 6px; }
.trust-mini .i { color: var(--green); }

.hero-cards { position: relative; display: grid; gap: 14px; }
.hc { display: grid; grid-template-columns: 112px 1fr; border: 1px solid var(--line-2); border-radius: var(--r-lg); background: var(--bg-2); overflow: hidden; color: inherit; transition: transform .2s, border-color .2s; animation: hc-in .5s both; animation-delay: calc(var(--i, 0) * 90ms); }
.hc:nth-child(2) { margin-left: 28px; }
.hc:nth-child(3) { margin-left: 56px; }
.hc:hover { transform: translateX(-4px); border-color: var(--faint); }
.hc.featured { border-color: var(--gold-line); background: linear-gradient(90deg, var(--gold-soft), transparent 60%), var(--bg-2); }
.hc-cover { position: relative; display: grid; place-items: center; background: var(--panel-2); color: var(--faint); min-height: 104px; }
.hc-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hc-cover > .i { width: 34px; height: 34px; }
.hc-flag { position: absolute; left: 6px; bottom: 6px; display: inline-flex; gap: 3px; align-items: center; font: 500 10px/1 var(--mono); padding: 4px 6px; border-radius: 5px; background: rgba(0,0,0,.7); color: var(--gold); }
.hc-body { padding: 12px 16px; display: grid; gap: 4px; min-width: 0; }
.hc-cat { font: 11px var(--mono); color: var(--faint); text-transform: lowercase; }
.hc-body b { font-size: 15px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hc-foot { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.hc-price { font: 500 16px var(--mono); }
.hc-price small { color: var(--faint); font-size: 11px; }
.hc-meta { font-size: 12px; color: var(--dim); }
.hc-seller { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--dim); }
.hc-seller .avatar { width: 18px; height: 18px; font-size: 9px; }
.hc.skeleton { height: 106px; background: linear-gradient(90deg, var(--bg-2), var(--panel-2), var(--bg-2)); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
.empty-hc { grid-template-columns: 1fr; padding: 28px; gap: 6px; text-align: center; justify-items: center; color: var(--dim); }
@keyframes hc-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes shimmer { to { background-position: -200% 0; } }

.cat-tiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin: 8px 0 56px; }
.cat-tiles a { display: grid; gap: 4px; padding: 18px 16px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg-2); color: inherit; transition: border-color .15s, transform .15s; }
.cat-tiles a:hover { border-color: var(--faint); transform: translateY(-2px); }
.cat-tiles .i { width: 24px; height: 24px; color: var(--text); margin-bottom: 6px; }
.cat-tiles b { font-size: 14.5px; font-weight: 500; }
.cat-tiles span { font-size: 12px; color: var(--faint); }

.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.trust-grid > div { background: var(--bg-2); padding: 24px; display: grid; gap: 8px; align-content: start; }
.trust-grid .i { color: var(--green); width: 24px; height: 24px; }
.trust-grid b { font-size: 15px; font-weight: 500; }
.trust-grid p { font-size: 13.5px; color: var(--dim); margin: 0; }
.reviews-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px; }
.reviews-strip:empty { display: none; }
.review-card { margin: 0; padding: 20px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg-2); display: grid; gap: 12px; }
.review-card .stars { color: var(--gold); letter-spacing: 2px; }
.review-card .stars span { color: var(--line-2); }
.review-card blockquote { margin: 0; font-size: 14.5px; line-height: 1.55; }
.review-card figcaption { display: flex; gap: 10px; align-items: center; font-size: 12.5px; }
.review-card figcaption span { display: grid; }
.review-card figcaption a { color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 220px; }

.vip-teaser { border-top: 0; }
.vip-card { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding: 36px; border: 1px solid var(--gold-line); border-radius: var(--r-lg); background: radial-gradient(120% 140% at 0% 0%, var(--gold-soft), transparent 55%), var(--bg-2); }
.vip-card h2 { margin: 6px 0 10px; }
.vip-card p { color: var(--dim); max-width: 60ch; margin: 0; }

.vip-badge { display: inline-flex; align-items: center; gap: 3px; margin-left: 6px; padding: 1px 6px; border-radius: 5px; font: 600 10px/1.6 var(--mono); letter-spacing: .04em; color: #1a1405; background: var(--gold); vertical-align: 1px; }
.vip-badge.mvip { background: linear-gradient(135deg, var(--gold), #ffe08a); box-shadow: 0 0 0 1px color-mix(in srgb, var(--gold) 50%, transparent); }
.vip-badge .i { width: 11px; height: 11px; stroke-width: 2.2; }
nav.main a[href="vip.html"] { color: var(--gold); }

@media (max-width: 1100px) { .cat-tiles { grid-template-columns: repeat(3, 1fr); } .trust-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) {
  .cat-tiles { grid-template-columns: 1fr 1fr; }
  .trust-grid, .reviews-strip { grid-template-columns: 1fr; }
  .hc:nth-child(2), .hc:nth-child(3) { margin-left: 0; }
  .hc { grid-template-columns: 88px 1fr; }
  .vip-card { flex-direction: column; align-items: flex-start; padding: 24px; }
}

/* Strona VIP */
.vip-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.vip-plan { position: relative; padding: 30px; border: 1px solid var(--line-2); border-radius: var(--r-lg); background: var(--bg-2); display: grid; align-content: start; }
.vip-plan.best { border-color: var(--gold); background: radial-gradient(120% 90% at 100% 0%, var(--gold-soft), transparent 60%), var(--bg-2); box-shadow: 0 20px 60px -30px color-mix(in srgb, var(--gold) 40%, transparent); }
.vip-plan .flag { position: absolute; top: 18px; right: 18px; font: 500 11px var(--mono); color: #1a1405; background: var(--gold); padding: 3px 8px; border-radius: 999px; }
.vip-name { display: flex; align-items: center; gap: 8px; font: 600 15px var(--mono); color: var(--gold); letter-spacing: .06em; }
.vip-price { font-size: 2.4rem; font-weight: 600; letter-spacing: -.03em; margin: 10px 0 4px; }
.vip-price small { font-size: 14px; font-weight: 400; color: var(--faint); }
.vip-plan ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; font-size: 14px; }
.vip-plan li { display: flex; gap: 10px; align-items: flex-start; }
.vip-plan li .i { color: var(--green); margin-top: 3px; }
.vip-buy { display: grid; gap: 8px; margin-top: auto; }
.vip-buy .btn { width: 100%; }
.vip-compare td:not(:first-child), .vip-compare th:not(:first-child) { text-align: center; }
.vip-compare th { font-weight: 500; color: var(--dim); padding: 10px 0; }
@media (max-width: 760px) { .vip-plans { grid-template-columns: 1fr; } }

/* VIP w portfelu */
.vip-compare-wrap { margin-top: 14px; }
.vip-compare-wrap summary { cursor: pointer; font-size: 13.5px; color: var(--dim); padding: 6px 0; }
.vip-compare-wrap summary:hover { color: var(--text); }
.vip-compare-wrap[open] summary { margin-bottom: 8px; }

/* Region na profilu */
.profile-hero .region { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; color: var(--dim); }
.prefs-row { margin-bottom: 0; }

/* MVIP: wyglad profilu, przypieta oferta, wideo z demo */
.profile-banner { height: 220px; margin: 32px 0 -56px; border-radius: var(--r-lg); background: var(--panel-2) center / cover no-repeat; border: 1px solid var(--line); }
.profile-hero.has-banner { padding-top: 0; position: relative; padding-left: 24px; align-items: flex-start; }
/* Nick i opis pod banerem - na baner wchodzi tylko awatar. */
.profile-hero.has-banner > .avatar.lg + div { margin-top: 68px; }
.profile-hero.has-banner .profile-msg { margin-top: 74px; }
.profile-hero.has-banner .avatar.lg { box-shadow: 0 0 0 5px var(--bg); }
.offer.pinned { box-shadow: 0 0 0 1px var(--gold), inset 0 0 0 1px var(--gold); }
.offer.pinned::before { content: "pinned"; position: absolute; top: 10px; right: 10px; font: 500 10px var(--mono); color: #1a1405; background: var(--gold); padding: 2px 6px; border-radius: 4px; z-index: 1; }
.video-embed { position: relative; aspect-ratio: 16 / 9; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: #000; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.banner-preview { height: 120px; border-radius: var(--r); border: 1px solid var(--line-2); background: var(--panel-2) center / cover no-repeat; }
.banner-preview.empty { background-image: repeating-linear-gradient(45deg, transparent 0 10px, color-mix(in srgb, var(--line) 60%, transparent) 10px 11px); }
#style-form.locked .grid2, #style-form.locked .banner-preview { opacity: .5; pointer-events: none; }
@media (max-width: 720px) { .profile-banner { height: 140px; margin-bottom: -40px; } .profile-hero.has-banner > .avatar.lg + div { margin-top: 0; } .profile-hero.has-banner .profile-msg { margin-top: 0; } }
