:root {
  --bg: #101113;
  --panel: #17191d;
  --panel-2: #202329;
  --text: #f8fafc;
  --muted: #a1a8b3;
  --line: rgba(255, 255, 255, 0.1);
  --lime: #b9f451;
  --lime-2: #8fe635;
  --blue: #68c7ff;
  --red: #ff5c7a;
  --amber: #ffc857;
  --green: #25d366;
  color-scheme: dark;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
}

body {
  overflow-x: hidden;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

.shell {
  min-height: 100dvh;
  padding-bottom: env(safe-area-inset-bottom);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 58px;
  padding: calc(10px + env(safe-area-inset-top)) 16px 10px;
  border-bottom: 1px solid var(--line);
  background: rgba(16, 17, 19, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 8px;
  background: var(--lime);
  color: #101113;
  font-weight: 950;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.auth-button,
.mode-pill,
.user-pill {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-size: 13px;
  font-weight: 900;
}

.auth-button {
  padding: 0 12px;
  cursor: pointer;
}

.mode-pill {
  padding: 0 10px;
  color: var(--muted);
}

.user-pill {
  width: 40px;
  padding: 0;
  background: rgba(185, 244, 81, 0.14);
  color: var(--lime);
  cursor: pointer;
}

.signout-pill {
  width: auto;
  padding: 0 12px;
}

.icon-button {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
}

.page {
  max-width: 980px;
  margin: 0 auto;
}

.auction-grid {
  display: grid;
  min-height: calc(100dvh - 59px);
}

.photo-stage {
  position: relative;
  height: clamp(300px, 48dvh, 520px);
  min-height: 0;
  background: #08090b;
  overflow: hidden;
}

.product-photo {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  display: block;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.05), transparent 62%),
    #08090b;
  filter: saturate(1.04) contrast(1.03);
}

.photo-stage::after {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: 42%;
  pointer-events: none;
  background: linear-gradient(to top, rgba(16, 17, 19, 0.8), transparent);
  content: "";
}

.photo-thumbs {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.photo-thumb {
  height: 52px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.52);
  cursor: pointer;
  padding: 0;
}

.photo-thumb.active {
  border-color: var(--lime);
  box-shadow: 0 0 0 3px rgba(185, 244, 81, 0.16);
}

.photo-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.photo-fallback {
  display: grid;
  height: 100%;
  min-height: 0;
  place-items: center;
  padding: 34px;
  background:
    radial-gradient(circle at 35% 24%, rgba(185, 244, 81, 0.22), transparent 30%),
    linear-gradient(135deg, #30343d, #121316 72%);
}

.fallback-card {
  width: min(320px, 78vw);
  aspect-ratio: 1.12;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.12), transparent),
    #1d2026;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
}

.timer-pill,
.live-pill {
  position: absolute;
  top: 14px;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(12px);
  font-size: 13px;
  font-weight: 850;
}

.timer-pill {
  right: 14px;
  padding: 8px 11px;
}

.timer-pill.urgent {
  border-color: rgba(255, 92, 122, 0.42);
  background: rgba(255, 92, 122, 0.2);
  color: #ffd0d9;
}

.live-pill {
  left: 14px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--red);
  box-shadow: 0 0 0 5px rgba(255, 92, 122, 0.14);
}

.auction-body {
  padding: 18px 16px 110px;
}

.headline-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.auction-title {
  margin: 0;
  font-size: clamp(22px, 7vw, 34px);
  line-height: 1.02;
  letter-spacing: 0;
}

.status-badge {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(185, 244, 81, 0.14);
  color: var(--lime);
  font-size: 12px;
  font-weight: 850;
}

.description {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 16px;
}

.trust-strip div {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.035);
}

.trust-strip strong,
.trust-strip span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.trust-strip strong {
  color: var(--text);
  font-size: 13px;
  font-weight: 950;
}

.trust-strip span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.condition-badge {
  border: 1px solid rgba(104, 199, 255, 0.35);
  border-radius: 999px;
  padding: 6px 9px;
  background: rgba(104, 199, 255, 0.12);
  color: #b9e8ff;
}

.category-badge {
  border: 1px solid rgba(185, 244, 81, 0.28);
  border-radius: 999px;
  padding: 6px 9px;
  background: rgba(185, 244, 81, 0.1);
  color: var(--lime);
}

.price-label {
  margin: 0 0 3px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.price-card {
  margin-top: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 14px;
  background:
    linear-gradient(145deg, rgba(185, 244, 81, 0.08), transparent 42%),
    rgba(255, 255, 255, 0.035);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
}

.price {
  margin: 0;
  font-size: clamp(48px, 16vw, 82px);
  font-weight: 950;
  line-height: 0.95;
  letter-spacing: 0;
}

.leader {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
}

.buy-now-button {
  display: inline-flex;
  width: 100%;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  border: 1px solid rgba(255, 200, 87, 0.44);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255, 200, 87, 0.24), rgba(104, 199, 255, 0.12));
  color: #fff0c9;
  font-weight: 950;
  cursor: pointer;
}

.buy-now-button:active,
.primary-button:active,
.secondary-button:active {
  transform: translateY(1px);
}

.rank-chip {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border: 1px solid rgba(255, 200, 87, 0.34);
  border-radius: 999px;
  padding: 5px 9px;
  background: rgba(255, 200, 87, 0.12);
  color: #ffe0a3;
  font-size: 12px;
  font-weight: 900;
}

.rank-chip.muted {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
}

.avatar-stack {
  display: flex;
  align-items: center;
}

.avatar {
  display: grid;
  width: 28px;
  height: 28px;
  margin-left: -6px;
  place-items: center;
  border: 2px solid var(--bg);
  border-radius: 999px;
  background: var(--panel-2);
  color: var(--text);
  font-size: 12px;
  font-weight: 900;
}

.avatar:first-child {
  margin-left: 0;
}

.bid-dock {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 30;
  padding: 10px 16px calc(12px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: rgba(16, 17, 19, 0.94);
  backdrop-filter: blur(18px);
}

.dock-inner {
  display: grid;
  max-width: 720px;
  margin: 0 auto;
  grid-template-columns: 1fr 52px;
  gap: 10px;
}

.primary-button,
.secondary-button,
.whatsapp-button,
.ghost-button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  border-radius: 8px;
  padding: 0 16px;
  font-weight: 900;
  letter-spacing: 0;
  cursor: pointer;
}

.primary-button {
  background: linear-gradient(135deg, var(--lime), var(--lime-2));
  color: #101113;
  box-shadow: 0 12px 34px rgba(185, 244, 81, 0.18);
}

.primary-button:disabled,
.secondary-button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.secondary-button {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.whatsapp-button {
  background: var(--green);
  color: white;
}

.ghost-button {
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
}

.sections {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.panel {
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent),
    var(--panel);
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 14px 4px;
}

.panel-title {
  margin: 0;
  font-size: 14px;
  font-weight: 900;
  color: var(--muted);
}

.activity-list {
  display: grid;
  max-height: 330px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 4px 14px 8px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.22) transparent;
}

.activity-list::-webkit-scrollbar {
  width: 8px;
}

.activity-list::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.activity-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 48px;
  border-bottom: 1px solid var(--line);
}

.activity-item:first-child .activity-price {
  color: var(--lime);
}

.activity-item:last-child {
  border-bottom: 0;
}

.activity-main {
  min-width: 0;
}

.activity-name {
  font-weight: 850;
}

.activity-meta {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.activity-price {
  flex: 0 0 auto;
  font-weight: 950;
}

.ranking-list {
  display: grid;
  gap: 12px;
  padding: 10px 14px 14px;
}

.ranking-rows {
  display: grid;
  gap: 8px;
}

.ranking-row {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
}

.ranking-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.rank-ladder {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.create-page {
  display: grid;
  gap: 18px;
  padding: 18px 16px 110px;
}

.create-title {
  margin: 0;
  font-size: clamp(30px, 10vw, 54px);
  line-height: 0.98;
  letter-spacing: 0;
}

.create-subtitle {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.form {
  display: grid;
  gap: 12px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.input,
.textarea,
.select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--text);
  outline: none;
}

.input,
.select {
  min-height: 52px;
  padding: 0 13px;
}

.textarea {
  min-height: 96px;
  resize: vertical;
  padding: 13px;
}

.input:focus,
.textarea:focus,
.select:focus {
  border-color: rgba(185, 244, 81, 0.75);
  box-shadow: 0 0 0 3px rgba(185, 244, 81, 0.12);
}

.photo-input {
  display: grid;
  min-height: 220px;
  place-items: center;
  border: 1px dashed rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  background: var(--panel);
  cursor: pointer;
  overflow: hidden;
}

.photo-input img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.photo-preview-grid {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  padding: 8px;
}

.photo-preview-grid img {
  height: 150px;
  border-radius: 8px;
  object-fit: cover;
}

.photo-count {
  padding: 0 0 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.photo-input-content {
  display: grid;
  gap: 8px;
  place-items: center;
  padding: 24px;
  color: var(--muted);
  text-align: center;
}

.photo-input-content strong {
  color: var(--text);
}

.segmented {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.segment {
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--text);
  font-weight: 850;
  cursor: pointer;
}

.segment.active {
  border-color: rgba(185, 244, 81, 0.8);
  background: rgba(185, 244, 81, 0.14);
  color: var(--lime);
}

.manual-duration {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 132px;
  gap: 8px;
}

.manual-duration[hidden] {
  display: none;
}

.condition-options {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.condition-options::-webkit-scrollbar {
  display: none;
}

.condition-option {
  flex: 0 0 auto;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--text);
  padding: 0 12px;
  font-weight: 850;
  cursor: pointer;
}

.condition-option.active {
  border-color: rgba(104, 199, 255, 0.65);
  background: rgba(104, 199, 255, 0.12);
  color: #b9e8ff;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.toast {
  position: fixed;
  right: 14px;
  bottom: 92px;
  left: 14px;
  z-index: 50;
  max-width: 520px;
  margin: 0 auto;
  border: 1px solid rgba(185, 244, 81, 0.28);
  border-radius: 8px;
  padding: 13px 14px;
  background: rgba(25, 28, 31, 0.96);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.5);
  color: var(--text);
  font-weight: 800;
  transform: translateY(16px);
  opacity: 0;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.auth-modal[hidden] {
  display: none;
}

.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 16px;
}

.auth-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(10px);
}

.auth-card {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(100%, 430px);
  gap: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), transparent),
    #17191d;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.58);
}

.auth-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  cursor: pointer;
}

.auth-kicker {
  width: max-content;
  border: 1px solid rgba(185, 244, 81, 0.28);
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(185, 244, 81, 0.1);
  color: var(--lime);
  font-size: 12px;
  font-weight: 950;
}

.auth-card h2 {
  margin: 0;
  padding-right: 42px;
  font-size: 24px;
  line-height: 1.05;
}

.auth-card p {
  margin: -6px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.auth-form {
  display: grid;
  gap: 10px;
}

.password-auth-form {
  gap: 9px;
}

.auth-form label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.auth-form input {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  background: #101113;
  color: var(--text);
}

.auth-link-button {
  min-height: 42px;
  justify-content: center;
}

.login-page {
  display: grid;
  min-height: calc(100dvh - 59px);
  place-items: center;
  padding: 24px 16px 40px;
}

.login-card {
  display: grid;
  width: min(100%, 460px);
  gap: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), transparent),
    var(--panel);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
}

.login-card h1 {
  margin: 0;
  font-size: clamp(30px, 9vw, 42px);
  line-height: 0.98;
}

.login-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.home-page {
  display: grid;
  max-width: 980px;
  margin: 0 auto;
  gap: 16px;
  padding: 18px 16px 96px;
}

.guest-banner {
  display: grid;
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(104, 199, 255, 0.28);
  border-radius: 8px;
  padding: 12px;
  background: rgba(104, 199, 255, 0.08);
}

.guest-banner strong,
.guest-banner span {
  display: block;
}

.guest-banner strong {
  margin-bottom: 3px;
  font-size: 14px;
}

.guest-banner span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.home-head {
  display: grid;
  gap: 16px;
  align-items: end;
}

.home-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.home-head h1 {
  margin: 6px 0 4px;
  font-size: clamp(32px, 10vw, 48px);
  line-height: 0.98;
}

.home-head p {
  margin: 0;
  color: var(--muted);
}

.home-kicker {
  color: var(--lime);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.stories-section {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 2px 2px 4px;
  scrollbar-width: none;
}

.stories-section::-webkit-scrollbar {
  display: none;
}

.story-item {
  display: grid;
  flex: 0 0 74px;
  justify-items: center;
  gap: 5px;
  color: var(--text);
  text-align: center;
}

.story-ring {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  overflow: hidden;
  border: 2px solid rgba(185, 244, 81, 0.66);
  border-radius: 999px;
  background: var(--panel-2);
  color: var(--lime);
  font-weight: 950;
}

.story-item.urgent .story-ring {
  border-color: rgba(255, 92, 122, 0.8);
  box-shadow: 0 0 0 4px rgba(255, 92, 122, 0.12);
}

.story-ring img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-item strong {
  width: 100%;
  overflow: hidden;
  font-size: 12px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.story-item small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
}

.profile-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.profile-strip div {
  display: grid;
  gap: 2px;
  min-height: 72px;
  align-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.035);
}

.profile-strip strong {
  overflow: hidden;
  color: var(--text);
  font-size: 18px;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-strip span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.friends-panel,
.feed-section {
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent),
    var(--panel);
}

.friend-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  padding: 10px 14px 12px;
}

.friend-form input {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  background: #101113;
  color: var(--text);
}

.friend-list,
.club-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 14px 14px;
}

.club-list {
  padding-bottom: 8px;
}

.friend-chip,
.club-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(104, 199, 255, 0.32);
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(104, 199, 255, 0.1);
  color: #b9e8ff;
  font-size: 13px;
  font-weight: 850;
}

.club-chip {
  border-color: rgba(185, 244, 81, 0.26);
  background: rgba(185, 244, 81, 0.1);
  color: var(--lime);
}

.club-name-button {
  width: auto;
  height: auto;
  padding: 0;
  background: transparent;
  color: currentColor;
}

.club-chip.active {
  border-color: rgba(185, 244, 81, 0.64);
}

.friend-chip button,
.club-chip button:not(.club-name-button) {
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: currentColor;
  cursor: pointer;
  font-size: 12px;
  font-weight: 950;
}

.pending-invite {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  margin: 10px 14px 12px;
  border: 1px solid rgba(185, 244, 81, 0.32);
  border-radius: 8px;
  padding: 12px;
  background: rgba(185, 244, 81, 0.09);
}

.pending-invite strong,
.pending-invite span {
  display: block;
}

.pending-invite span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 13px;
}

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

.invite-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 14px 14px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
  color: var(--muted);
  font-size: 13px;
}

.invite-row span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.category-rail {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.category-rail::-webkit-scrollbar {
  display: none;
}

.category-chip {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 12px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.category-chip.active {
  border-color: rgba(104, 199, 255, 0.46);
  background: rgba(104, 199, 255, 0.12);
  color: #b9e8ff;
}

.feed-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 14px 0;
  scrollbar-width: none;
}

.feed-tabs::-webkit-scrollbar {
  display: none;
}

.feed-tab {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 11px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.feed-tab.active {
  border-color: rgba(185, 244, 81, 0.52);
  background: rgba(185, 244, 81, 0.12);
  color: var(--lime);
}

.auction-feed {
  display: grid;
  gap: 10px;
  padding: 10px 14px 14px;
}

.auction-card {
  position: relative;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.watch-button {
  position: absolute;
  right: 8px;
  bottom: 8px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(16, 17, 19, 0.8);
  color: var(--muted);
  cursor: pointer;
}

.watch-button.active {
  border-color: rgba(255, 200, 87, 0.55);
  background: rgba(255, 200, 87, 0.13);
  color: var(--amber);
}

.auction-card-photo {
  display: grid;
  height: 78px;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  background: #08090b;
}

.auction-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.auction-card-photo .photo-fallback {
  width: 100%;
  height: 100%;
  padding: 16px;
}

.auction-card-photo .fallback-card {
  width: 54px;
}

.auction-card-body {
  min-width: 0;
}

.auction-card-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 10px;
}

.auction-card-top strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.auction-card-top span {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.auction-card-price {
  margin-top: 5px;
  color: var(--lime);
  font-size: 22px;
  font-weight: 950;
}

.mini-bid {
  display: inline-flex;
  width: max-content;
  min-height: 28px;
  align-items: center;
  margin-top: 8px;
  border-radius: 999px;
  padding: 0 10px;
  background: rgba(185, 244, 81, 0.13);
  color: var(--lime);
  font-size: 12px;
  font-weight: 950;
}

.mini-bid.muted {
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
}

.empty-social {
  display: grid;
  gap: 12px;
  padding: 18px 14px 20px;
}

.empty-social h3,
.empty-social p {
  margin: 0;
}

.empty-social h3 {
  font-size: 20px;
}

.empty-social p {
  color: var(--muted);
  line-height: 1.45;
}

.empty-social div {
  display: grid;
  gap: 10px;
}

.home-dock {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 35;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 10px 16px calc(12px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: rgba(16, 17, 19, 0.94);
  backdrop-filter: blur(18px);
}

.compact {
  min-height: 36px;
  padding: 0 10px;
  font-size: 13px;
}

.result-panel {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  border: 1px solid rgba(185, 244, 81, 0.24);
  border-radius: 8px;
  padding: 14px;
  background:
    linear-gradient(135deg, rgba(185, 244, 81, 0.13), rgba(104, 199, 255, 0.07)),
    rgba(185, 244, 81, 0.05);
}

.result-panel h2 {
  margin: 0;
  font-size: 20px;
}

.result-panel p {
  margin: 0;
  color: var(--muted);
}

.empty {
  padding: 20px 14px 22px;
  color: var(--muted);
  text-align: center;
}

.install-strip {
  display: none;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin: 16px 16px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: var(--panel);
}

.install-strip.show {
  display: flex;
}

.install-copy {
  color: var(--muted);
  font-size: 13px;
}

@media (min-width: 760px) {
  .guest-banner {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .home-head {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .home-actions {
    grid-template-columns: auto auto;
  }

  .home-dock {
    right: 50%;
    left: auto;
    width: min(420px, 42vw);
    transform: translateX(50%);
  }

  .auction-grid {
    grid-template-columns: minmax(0, 1fr) 420px;
    align-items: start;
  }

  .photo-stage {
    position: sticky;
    top: 59px;
    height: min(620px, calc(100dvh - 92px));
    min-height: 0;
    margin: 16px 0 16px 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
  }

  .product-photo,
  .photo-fallback {
    height: 100%;
    min-height: 0;
  }

  .photo-thumb {
    height: 64px;
  }

  .activity-list {
    max-height: 420px;
  }

  .auction-body {
    padding-top: 28px;
  }

  .bid-dock {
    right: auto;
    left: calc(50% + 70px);
    width: min(420px, 42vw);
    border-left: 1px solid var(--line);
  }

  .create-page {
    max-width: 720px;
    margin: 0 auto;
    padding-top: 34px;
  }
}
