body {
  font-family: "Source Sans 3", system-ui, sans-serif;
}

.app-shell {
  min-height: 100vh;
}

.content-header h1 {
  font-weight: 800;
}

.brand-link .brand-text {
  font-weight: 800;
}

.app-brand-auth {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .9rem;
}

.app-logo {
  display: inline-block;
  object-fit: contain;
}

.app-logo-auth {
  width: 56px;
  height: 56px;
}

.app-logo-sidebar {
  width: 34px;
  height: 34px;
  margin-right: .6rem;
}

.app-logo-header {
  width: 28px;
  height: 28px;
}

.hero-card {
  background: linear-gradient(135deg, #312e81 0%, #4338ca 55%, #0284c7 100%);
  color: #fff;
}

.hero-card p,
.hero-card small {
  color: rgba(255,255,255,.85);
}

.metric-value {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
}

.metric-label {
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: .7rem;
  font-weight: 700;
  color: #6c757d;
}

.album-toolbar .form-control,
.album-toolbar .form-select {
  min-height: 44px;
}

.sticker-card .sticker-code {
  font-weight: 800;
  color: #4338ca;
}

.sticker-card.touch-card {
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease;
}

.sticker-card.touch-card:hover,
.sticker-card.touch-card:focus-within {
  transform: translateY(-1px);
  box-shadow: 0 .5rem 1rem rgba(0,0,0,.10);
}

.sticker-flag {
  font-size: 1.35rem;
  line-height: 1;
}

.country-flag {
  display: inline-block;
  width: 1.6rem;
  line-height: 1;
  border-radius: .2rem;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(0,0,0,.08);
  vertical-align: -.2rem;
}

.country-flag-lg {
  width: 1.9rem;
}

.sticker-card .qty {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.qty-zero { color: #cbd5e1; }
.qty-one { color: #059669; }
.qty-many { color: #e11d48; }

.trade-chip {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .25rem .6rem;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 700;
  background: #eef2ff;
  color: #4338ca;
  margin-right: .35rem;
  margin-bottom: .35rem;
}

.trade-chip-good {
  background: #dcfce7;
  color: #166534;
}

.trade-stat-card {
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 1rem 1.1rem;
  background: #fff;
}

.trade-stat-card small {
  display: block;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 700;
}

.trade-stat-value {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.1;
  margin-top: .35rem;
}

.trade-last-message {
  border-left: 4px solid #c7d2fe;
  background: #f8fafc;
  padding: .85rem 1rem;
  border-radius: .9rem;
}

.trade-sticker-list {
  display: grid;
  gap: .55rem;
}

.trade-sticker-row {
  background: rgba(255,255,255,.72);
  border-radius: .8rem;
  padding: .65rem .75rem;
}

.trade-suggestion-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 1rem;
}

.trade-swap-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: .9rem;
  align-items: center;
  padding: .75rem 0;
  border-top: 1px solid #e2e8f0;
}

.trade-swap-row:first-child {
  border-top: 0;
  padding-top: 0;
}

.trade-swap-side {
  background: #fff;
  border-radius: .85rem;
  padding: .75rem .85rem;
}

.trade-swap-arrow {
  color: #4338ca;
  font-size: 1.1rem;
}

.login-page,
.register-page {
  background:
    radial-gradient(circle at top left, rgba(79,70,229,.08), transparent 28%),
    radial-gradient(circle at top right, rgba(5,150,105,.08), transparent 25%),
    #f8fafc;
}

.login-logo {
  display: none;
}

.card-header.text-center .h1,
.card-header.text-center .h1:hover,
.card-header.text-center .h1:focus {
  text-decoration: none;
}

.card-header.text-center .h1 {
  font-weight: 800;
  text-transform: none;
  letter-spacing: 0;
}

.google-wrap {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  align-items: center;
}

.divider-label {
  display: flex;
  align-items: center;
  width: 100%;
  gap: .75rem;
  color: #6c757d;
  text-transform: uppercase;
  font-size: .75rem;
  font-weight: 700;
}

.divider-label::before,
.divider-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #dee2e6;
}

.sidebar-user-block {
  padding: 1rem;
}

.team-toggle-btn {
  min-width: 44px;
  min-height: 44px;
}

.section-header-touch {
  cursor: pointer;
}

.quick-filter-card {
  cursor: pointer;
}

.message-list {
  max-height: 52vh;
  overflow: auto;
}

.message-bubble {
  border-radius: 1rem;
  padding: .9rem 1rem;
}

.message-mine {
  background: #4338ca;
  color: #fff;
}

.message-theirs {
  background: #f8f9fa;
}
