/* C2-C.1 wallet product-identity + human-review remediation layer.
 * Presentation only: preserve C2-C semantics and exact Hive values while
 * keeping bar identity compact, recognizable, and responsive.
 */

.c2c1-wallet {
  min-width: 0;
  padding-bottom: 1.5rem;
}

.c2c1-wallet__header {
  padding: 0.2rem 0 0.55rem;
}

.c2c1-wallet__title-row,
.c2c1-section-heading,
.c2c1-rewards__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.c2c1-wallet__title-row {
  align-items: flex-start;
}

.c2c1-wallet .c2c-wallet__protocol {
  display: block;
  margin-top: 0.12rem;
  color: var(--hb-text-subtle);
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
}

/* Patron identity: a compact bar-level plaque without dashboard ornament. */
.c2c1-status-hero {
  margin-top: 0.8rem;
  border-top: 1px solid color-mix(in srgb, var(--hb-accent) 58%, var(--hb-border));
  border-bottom: 1px solid color-mix(in srgb, var(--hb-accent) 32%, var(--hb-border));
  padding: clamp(1rem, 3vw, 1.45rem) 0.15rem 1rem;
  background: linear-gradient(90deg, color-mix(in srgb, var(--hb-accent) 4%, transparent), transparent 62%);
}

.c2c1-status-hero__identity {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.1rem);
}

.c2c1-status-badge {
  display: grid;
  width: 4.6rem;
  min-height: 4.6rem;
  flex: none;
  place-items: center;
  align-content: center;
  gap: 0.15rem;
  border: 1px solid color-mix(in srgb, var(--hb-accent) 58%, var(--hb-border));
  border-radius: 0.9rem;
  background: color-mix(in srgb, var(--hb-accent) 8%, var(--hb-surface));
}

.c2c1-status-badge__label {
  color: var(--hb-accent);
  font-size: 0.52rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.c2c1-status-badge__icon {
  font-size: 1.75rem;
  line-height: 1;
}

.c2c1-status-hero__copy {
  min-width: 0;
}

.c2c1-status-hero h3 {
  margin-top: 0.1rem;
  overflow-wrap: anywhere;
  color: var(--hb-text);
  font-size: clamp(1.85rem, 4.8vw, 2.85rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
}

.c2c1-status-hero__basis {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.2rem 0.55rem;
  margin-top: 0.5rem;
}

.c2c1-status-hero__basis strong {
  color: var(--hb-text);
  font-size: clamp(0.95rem, 2.6vw, 1.18rem);
  font-weight: 850;
}

.c2c1-status-hero__basis .c2c-wallet__protocol {
  display: inline;
  margin-top: 0;
}

.c2c1-status-hero__progress {
  margin-top: 0.9rem;
}

.c2c1-status-hero__progress-label {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 0.5rem;
  color: var(--hb-text-subtle);
  font-size: 0.7rem;
  font-weight: 700;
}

.c2c1-status-hero__progress-label span:last-child {
  white-space: nowrap;
}

.c2c1-status-meter {
  width: 100%;
  height: 0.42rem;
  margin-top: 0.35rem;
  accent-color: var(--hb-accent);
}

.c2c1-participation,
.c2c1-balances,
.c2c1-rewards {
  margin-top: 1.35rem;
}

.c2c1-section-heading h3,
.c2c1-rewards h3 {
  margin-top: 0.1rem;
  color: var(--hb-text);
  font-size: 1.1rem;
  font-weight: 850;
  line-height: 1.15;
}

/* Participation stays stacked until a genuinely wide viewport. */
.c2c1-participation-stage {
  display: grid;
  min-width: 0;
  gap: 0;
  margin-top: 0.65rem;
  border-top: 1px solid var(--hb-border);
  border-bottom: 1px solid var(--hb-border);
}

.c2c1-pour,
.c2c1-capacity {
  min-width: 0;
  padding: 1rem 0.15rem;
}

.c2c1-pour {
  display: grid;
  grid-template-columns: 7rem minmax(0, 1fr);
  align-items: center;
  gap: clamp(0.85rem, 3vw, 1.35rem);
  margin: 0;
}

.c2c1-pour__visual {
  display: grid;
  min-width: 0;
  place-items: center;
  padding-right: 0.8rem;
}

/* Recast the inherited battery-like pitcher as a compact glass vessel. */
.c2c1-pitcher {
  position: relative;
  width: 5.4rem;
  min-height: 7.35rem;
  transform: none;
  border: 2px solid #aeb8c8;
  border-radius: 0.65rem 0.65rem 1rem 1rem;
  padding: 1.05rem 0.45rem 0.45rem;
  background: linear-gradient(105deg, rgb(255 255 255 / 0.09), rgb(255 255 255 / 0.02) 42%, rgb(255 255 255 / 0.07));
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.05);
}

.c2c1-pitcher::after {
  position: absolute;
  top: 1.4rem;
  right: -1.25rem;
  width: 1.25rem;
  height: 3.7rem;
  border: 2px solid #aeb8c8;
  border-left: 0;
  border-radius: 0 1rem 1rem 0;
  content: '';
}

.c2c1-pitcher .beer-foam {
  top: 0.38rem;
  right: 0.42rem;
  left: 0.42rem;
  height: 0.72rem;
  border-radius: 0.55rem;
  background: #f7f1e8;
}

.c2c1-pitcher .beer-segments {
  display: flex;
  height: 5.45rem;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
  border-radius: 0.25rem 0.25rem 0.72rem 0.72rem;
  background: rgb(12 12 12 / 0.5);
}

.c2c1-pitcher .beer-segment {
  min-height: 0;
  flex: 1;
  border: 0;
  background: transparent;
}

.c2c1-pitcher .beer-segment--filled {
  background: linear-gradient(90deg, #d88705, #ffba24 48%, #e69a0c);
}

.c2c1-pour__copy {
  min-width: 0;
}

.c2c1-pour__copy h4,
.c2c1-capacity h4 {
  margin-top: 0.1rem;
  color: var(--hb-text);
  font-size: 0.98rem;
  font-weight: 850;
}

.c2c1-pour__copy > strong {
  display: block;
  margin-top: 0.28rem;
  color: var(--hb-text);
  font-size: clamp(1.65rem, 4.5vw, 2.25rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1;
}

.c2c1-pour__copy .c2c-wallet__protocol {
  margin-top: 0.35rem;
}

.c2c1-capacity {
  border-top: 1px solid var(--hb-border);
}

.c2c1-capacity__headline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 0.75rem;
}

.c2c1-capacity__state {
  color: var(--hb-text);
  font-size: clamp(1.25rem, 3.6vw, 1.75rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.05;
  text-align: right;
}

.c2c1-capacity__marks {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.42rem;
  margin-top: 0.8rem;
}

.c2c1-capacity__mark {
  height: 0.55rem;
  border: 1px solid var(--hb-border);
  border-radius: 999px;
  background: var(--hb-surface-raised);
}

.c2c1-capacity__mark--filled {
  border-color: color-mix(in srgb, var(--hb-accent) 68%, var(--hb-border));
  background: color-mix(in srgb, var(--hb-accent) 78%, #7b4b12);
}

.c2c1-capacity__protocol-detail {
  width: fit-content;
  margin-top: 0.6rem;
  color: var(--hb-text-subtle);
  font-size: 0.68rem;
}

.c2c1-capacity__protocol-detail summary {
  min-height: 0;
  cursor: pointer;
  color: var(--hb-text-subtle);
  font-weight: 750;
}

.c2c1-capacity__protocol-detail .c2c-wallet__protocol {
  margin-top: 0.3rem;
}

.c2c1-balances {
  border-top: 1px solid var(--hb-border);
  padding-top: 0.9rem;
}

.c2c1-balances__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem 1.5rem;
  margin-top: 0.6rem;
}

.c2c1-balance {
  min-width: 0;
}

.c2c1-balance dt {
  color: var(--hb-text-muted);
  font-size: 0.76rem;
  font-weight: 750;
}

.c2c1-balance dd {
  margin-top: 0.2rem;
  overflow-wrap: anywhere;
  color: var(--hb-text);
  font-size: clamp(1.18rem, 3.6vw, 1.65rem);
  font-weight: 875;
  letter-spacing: -0.02em;
}

.c2c1-balance dd span {
  color: var(--hb-text-subtle);
  font-size: 0.65em;
  font-weight: 750;
}

.c2c1-rewards {
  border-top: 1px solid var(--hb-border);
  padding-top: 0.9rem;
}

.c2c1-rewards__heading {
  align-items: flex-end;
}

.c2c1-rewards__state {
  color: var(--hb-text-muted);
  font-size: 0.8rem;
  font-weight: 800;
}

.c2c1-rewards__values {
  margin-top: 0.75rem;
}

.c2c1-wallet-disclosure {
  margin-top: 1.2rem;
  border-top: 1px solid var(--hb-border);
  padding-top: 0.7rem;
  color: var(--hb-text-subtle);
  font-size: 0.74rem;
}

.c2c1-wallet-disclosure summary {
  width: fit-content;
  cursor: pointer;
  color: var(--hb-text-muted);
  font-weight: 750;
}

.c2c1-wallet-disclosure p {
  max-width: 42rem;
  margin-top: 0.55rem;
  line-height: 1.5;
}

.c2c1-wallet-disclosure .c2c-wallet__learn {
  display: inline-block;
  margin-top: 0.5rem;
}

.c2c1-wallet__snapshot {
  margin-top: 0.8rem;
  text-align: right;
}

@media (min-width: 960px) {
  .c2c1-participation-stage {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .c2c1-pour {
    padding-right: 1.25rem;
  }

  .c2c1-capacity {
    border-top: 0;
    border-left: 1px solid var(--hb-border);
    padding-left: 1.25rem;
  }
}

@media (max-width: 1199px) {
  .c2c1-wallet {
    padding-bottom: calc(6.5rem + env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 639px) {
  .c2c1-wallet__title-row,
  .c2c1-section-heading,
  .c2c1-rewards__heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .c2c1-status-badge {
    width: 3.55rem;
    min-height: 3.8rem;
    border-radius: 0.75rem;
  }

  .c2c1-status-badge__label {
    font-size: 0.46rem;
  }

  .c2c1-status-badge__icon {
    font-size: 1.35rem;
  }

  .c2c1-status-hero h3 {
    font-size: clamp(1.55rem, 8vw, 2rem);
  }

  .c2c1-status-hero__progress-label {
    font-size: 0.64rem;
  }

  .c2c1-pour {
    grid-template-columns: 6rem minmax(0, 1fr);
    gap: 0.65rem;
  }

  .c2c1-pour__visual {
    padding-right: 0.65rem;
  }

  .c2c1-pitcher {
    width: 4.65rem;
    min-height: 6.45rem;
    padding: 0.92rem 0.38rem 0.38rem;
  }

  .c2c1-pitcher::after {
    top: 1.2rem;
    right: -1rem;
    width: 1rem;
    height: 3.15rem;
  }

  .c2c1-pitcher .beer-segments {
    height: 4.78rem;
  }

  .c2c1-pitcher .beer-foam {
    top: 0.32rem;
    right: 0.36rem;
    left: 0.36rem;
    height: 0.62rem;
  }

  .c2c1-pour__copy > strong {
    font-size: clamp(1.55rem, 9vw, 2rem);
  }

  .c2c1-capacity__headline {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .c2c1-capacity__state {
    margin-top: 0.25rem;
    text-align: left;
  }

  .c2c1-balances__grid {
    grid-template-columns: 1fr;
  }

  .c2c1-wallet__snapshot {
    text-align: left;
  }
}

@media (max-width: 359px) {
  .c2c1-pour {
    grid-template-columns: 5.4rem minmax(0, 1fr);
  }

  .c2c1-pitcher {
    width: 4.25rem;
  }

  .c2c1-pour__copy > strong {
    font-size: 1.55rem;
  }
}
