:root {
  color-scheme: light;
  --bg: #f6f3ee;
  --panel: #ffffff;
  --ink: #1f1b16;
  --muted: #6f675f;
  --accent: #e06b52;
  --accent-strong: #b6452b;
  --accent-soft: #ffe6db;
  --teal: #2e6f6b;
  --shadow: 0 20px 60px rgba(31, 27, 22, 0.18);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "DM Sans", "Segoe UI", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at top, #fff6ef 0%, var(--bg) 55%, #eef4f2 100%);
  position: relative;
}

body.body--sheet-open {
  overflow: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(224, 107, 82, 0.14);
  filter: blur(1px);
  z-index: 0;
}

body::before {
  top: -80px;
  right: 5vw;
}

body::after {
  bottom: -120px;
  left: -40px;
  background: rgba(46, 111, 107, 0.18);
}

.shell {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: center;
  padding: 48px 8vw 64px;
}

.shell--dashboard {
  max-width: none;
  margin: 0 auto;
  grid-template-columns: minmax(0, 1.9fr) minmax(280px, 0.72fr);
  gap: 12px;
  padding: 12px 12px 18px;
  align-items: start;
}

.shell--single {
  grid-template-columns: minmax(0, 720px);
  justify-content: center;
}

.shell--admin {
  grid-template-columns: minmax(0, 1400px);
  padding: 48px 4vw 64px;
}

.admin-table th, .admin-table td {
  padding: 16px;
  border-bottom: 1px solid #efe6dc;
  text-align: left;
  font-size: 14px;
  white-space: nowrap;
}

.admin-table input[type="text"],
.admin-table input[type="email"],
.admin-table .select {
  width: 100%;
  min-width: 200px;
  padding: 10px;
  border: 1px solid #e6e0d8;
  border-radius: 8px;
  font-family: inherit;
}


.shell--reverse {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
}

.panel {
  background: var(--panel);
  border-radius: var(--radius);
  padding: 36px 36px 32px;
  box-shadow: var(--shadow);
  animation: rise 0.8s ease both;
}

.panel--dashboard {
  padding: 14px 12px 12px;
}

.card {
  background: #fffaf7;
  border-radius: 18px;
  padding: 14px;
  border: 1px solid #efe6dc;
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.bonus-card {
  margin: 6px 0 14px;
}

.card--feed {
  padding: 8px;
  margin-top: 8px;
  border-radius: 14px;
}

.bonus-list {
  display: grid;
  gap: 10px;
}

.bonus-item {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid #e9dfd2;
  border-radius: 14px;
  padding: 0;
  overflow: hidden;
}

.bonus-item__summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  cursor: pointer;
}

.bonus-item__summary::-webkit-details-marker {
  display: none;
}

.bonus-item__points {
  font-size: 12px;
  font-weight: 700;
  color: #6c4f21;
  background: #f6e7cc;
  border: 1px solid #e4cf9f;
  border-radius: 999px;
  padding: 4px 9px;
}

.bonus-item__body {
  border-top: 1px solid #eadfce;
  padding: 10px 12px 12px;
  display: grid;
  gap: 8px;
}

.bonus-item__head {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  align-items: baseline;
}

.bonus-item__meta {
  color: var(--muted);
  font-size: 12px;
}

.bonus-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bonus-progress-notice p {
  margin: 8px 0 0;
  font-size: 14px;
}

.bonus-hints {
  margin: 8px 0 12px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid #e2d4bf;
  background: linear-gradient(180deg, #fff7ea 0%, #fdf1dd 100%);
  display: grid;
  gap: 6px;
}

.bonus-hints p {
  margin: 0;
  color: #5c4530;
  font-size: 13px;
}

.feed-infinite {
  margin-top: 8px;
  display: grid;
  justify-items: center;
  gap: 8px;
}

.feed-infinite__status {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.feed-infinite__sentinel {
  width: 100%;
  height: 2px;
}

.card--compact {
  padding: 14px 18px;
}

.card__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  list-style: none;
}

.card__summary::-webkit-details-marker {
  display: none;
}

.hint {
  font-size: 12px;
  color: var(--muted);
}

.card h3 {
  margin: 0;
  font-family: "Fraunces", "Times New Roman", serif;
  font-size: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.brand__home {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.lang-switcher {
  position: relative;
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
}

.lang-switcher__button {
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--teal);
  padding: 6px 10px;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  display: flex;
  align-items: center;
  gap: 6px;
}

.lang-switcher__menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--panel);
  border: 1px solid #e7ddcf;
  border-radius: 12px;
  padding: 8px;
  display: none;
  z-index: 20;
  box-shadow: var(--shadow);
}

.lang-switcher__menu.open {
  display: grid;
  gap: 4px;
}

.lang-switcher__menu a {
  padding: 6px 10px;
  text-decoration: none;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.lang-switcher__menu a:hover {
  background: #fdf5eb;
  border-radius: 8px;
}

.brand__actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.08em;
}

.brand__logo {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid #e8dccd;
  background: #fff;
}

.brand__title {
  font-family: "Fraunces", "Times New Roman", serif;
  font-size: 20px;
  margin: 0;
}

.brand__subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

h1 {
  font-family: "Fraunces", "Times New Roman", serif;
  font-size: 32px;
  margin: 8px 0 8px;
}

.lead {
  color: var(--muted);
  margin: 0 0 22px;
  font-size: 16px;
}

.notice {
  background: var(--accent-soft);
  color: var(--accent-strong);
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 14px;
  margin-bottom: 18px;
}

.team-notice {
  margin-top: 4px;
  display: grid;
  gap: 6px;
}

.team-notice p {
  margin: 0;
}

.team-notice__latest {
  color: var(--muted);
  font-size: 13px;
}

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

.field {
  display: grid;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
}

.field input {
  width: 100%;
  border: 1px solid #e6e0d8;
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 15px;
  font-family: inherit;
  color: var(--ink);
  background: #fffaf7;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.field textarea {
  width: 100%;
  border: 1px solid #e6e0d8;
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 15px;
  font-family: inherit;
  color: var(--ink);
  background: #fffaf7;
  transition: border 0.2s ease, box-shadow 0.2s ease;
  resize: vertical;
}

.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(224, 107, 82, 0.2);
}

.points-breakdown {
  border: 1px solid #efe2c3;
  background: linear-gradient(160deg, #fff8e8 0%, #fff1d2 100%);
  border-radius: 14px;
  padding: 12px 14px 14px;
}

.points-breakdown__head {
  color: #6a4b20;
  font-weight: 700;
  margin-bottom: 6px;
}

.points-breakdown__list {
  margin: 0;
  padding-left: 18px;
  color: #76521f;
  font-size: 13px;
  display: grid;
  gap: 4px;
}

.points-breakdown__total {
  margin: 0;
  color: #51370f;
  font-weight: 700;
  min-width: 124px;
  padding: 12px 16px 13px;
  border-radius: 20px;
  background: linear-gradient(180deg, #fff5d8 0%, #ffd873 100%);
  border: 1px solid rgba(193, 123, 0, 0.3);
  box-shadow: 0 16px 30px rgba(193, 123, 0, 0.22);
  display: grid;
  justify-items: center;
  gap: 2px;
  z-index: 2;
  transform-origin: center;
}

.points-breakdown__total--floating {
  position: sticky;
  top: 10px;
  margin: 0 0 -8px auto;
  width: fit-content;
}

.points-burst {
  pointer-events: none;
  position: absolute;
  inset: -18px -20px -12px -20px;
  z-index: 3;
}

.points-burst span {
  position: absolute;
  font-size: 18px;
  font-weight: 800;
  color: #fff9e8;
  text-shadow: 0 2px 10px rgba(168, 100, 0, 0.45);
  opacity: 0;
  animation: points-particle-rise 0.95s cubic-bezier(0.2, 0.9, 0.25, 1) forwards;
}

.points-burst span:nth-child(1) {
  left: 4px;
  bottom: 6px;
  animation-delay: 0.02s;
}

.points-burst span:nth-child(2) {
  right: 8px;
  bottom: 12px;
  animation-delay: 0.08s;
}

.points-burst span:nth-child(3) {
  left: 50%;
  bottom: -2px;
  transform: translateX(-50%);
  animation-delay: 0.14s;
}

.points-breakdown__total-label {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #78530d;
}

.points-breakdown__total strong {
  font-size: 38px;
  line-height: 0.95;
  color: #a86400;
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.55);
}

.points-breakdown__total--gain {
  animation: points-preview-bounce 0.9s cubic-bezier(0.22, 1.2, 0.36, 1), points-preview-flash 0.9s ease-out;
}

.points-breakdown__value--gain {
  display: inline-block;
  animation: points-preview-jolt 0.8s ease-in-out, points-preview-pop 0.8s cubic-bezier(0.2, 1.1, 0.3, 1);
}

.publish-box {
  display: grid;
  gap: 10px;
}

.publish-box__panel {
  display: grid;
  gap: 12px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid #d8ede6;
  background: linear-gradient(180deg, #f5fbf9 0%, #eef8f5 100%);
}

.publish-box__panel--open {
  display: grid;
}

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

.publish-box__hero p,
.publish-box__hero strong {
  margin: 0;
}

.publish-box__eyebrow {
  margin-bottom: 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #2d6f63;
}

.publish-box__badge {
  white-space: nowrap;
  border-radius: 999px;
  border: 1px solid #c5e1d8;
  background: #ffffff;
  color: #20584f;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 700;
}

.publish-scope {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.publish-scope__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #d8ede6;
  border-radius: 12px;
  padding: 8px 10px;
  background: #ffffff;
  font-size: 13px;
  color: #1f675d;
  font-weight: 600;
}

.publish-scope__item input {
  margin: 0;
}

.publish-choice {
  padding: 10px 12px;
  border: 1px solid #cfe5dc;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.82);
}

@keyframes points-preview-bounce {
  0% {
    transform: translateY(0) scale(1);
  }
  18% {
    transform: translateY(-10px) scale(1.08) rotate(-2deg);
  }
  38% {
    transform: translateY(2px) scale(0.96) rotate(1deg);
  }
  58% {
    transform: translateY(-6px) scale(1.05) rotate(-1deg);
  }
  78% {
    transform: translateY(0) scale(1.01);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}

@keyframes points-preview-jolt {
  0%,
  100% {
    transform: translateX(0);
  }
  20% {
    transform: translateX(-1px) rotate(-2deg);
  }
  40% {
    transform: translateX(1px) rotate(2deg);
  }
  60% {
    transform: translateX(-1px) rotate(-1deg);
  }
  80% {
    transform: translateX(1px) rotate(1deg);
  }
}

@keyframes points-preview-pop {
  0% {
    transform: scale(1);
    filter: brightness(1);
  }
  20% {
    transform: scale(1.28);
    filter: brightness(1.24);
  }
  42% {
    transform: scale(0.9);
    filter: brightness(0.96);
  }
  68% {
    transform: scale(1.12);
    filter: brightness(1.14);
  }
  100% {
    transform: scale(1);
    filter: brightness(1);
  }
}

@keyframes points-preview-flash {
  0% {
    box-shadow: 0 16px 30px rgba(193, 123, 0, 0.22);
    filter: saturate(1);
  }
  18% {
    box-shadow: 0 0 0 8px rgba(255, 216, 115, 0.18), 0 22px 40px rgba(193, 123, 0, 0.38);
    filter: saturate(1.2);
  }
  45% {
    box-shadow: 0 0 0 16px rgba(255, 216, 115, 0), 0 18px 34px rgba(193, 123, 0, 0.28);
    filter: saturate(1.08);
  }
  100% {
    box-shadow: 0 16px 30px rgba(193, 123, 0, 0.22);
    filter: saturate(1);
  }
}

@keyframes points-particle-rise {
  0% {
    opacity: 0;
    transform: translate3d(0, 10px, 0) scale(0.7) rotate(0deg);
  }
  18% {
    opacity: 1;
  }
  55% {
    opacity: 1;
    transform: translate3d(-2px, -20px, 0) scale(1.08) rotate(-6deg);
  }
  100% {
    opacity: 0;
    transform: translate3d(4px, -52px, 0) scale(1.24) rotate(8deg);
  }
}

.field input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(224, 107, 82, 0.2);
}

.input-row {
  display: flex;
  gap: 10px;
  align-items: center;
}

.input-row input {
  flex: 1;
}

.ghost {
  border: 1px dashed rgba(31, 27, 22, 0.2);
  background: transparent;
  color: var(--muted);
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  min-height: 38px;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.ghost:hover {
  transform: translateY(-1px);
  border-color: rgba(31, 27, 22, 0.35);
}

.chip-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.chip {
  border: none;
  background: var(--accent-soft);
  color: var(--accent-strong);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  line-height: 1;
  min-height: 34px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.chip:hover {
  transform: translateY(-1px);
}

.row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}

.row--top {
  align-items: flex-start;
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
}

.checkbox--start {
  align-items: flex-start;
}

.checkbox--start input {
  margin-top: 2px;
}

.checkbox__label-mobile {
  display: none;
}

.consent-card {
  gap: 8px;
}

.consent-card__title {
  margin: 0;
  font-weight: 700;
  color: var(--ink);
}

.consent-checkbox {
  line-height: 1.5;
}

.legal-meta p,
.legal-section p {
  margin: 0;
}

.legal-copy {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.legal-list-card {
  margin-top: 12px;
}

.legal-list {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
  color: var(--muted);
}

.primary {
  border: none;
  background: var(--accent);
  color: #fff;
  font-size: 16px;
  padding: 12px 18px;
  border-radius: 14px;
  font-weight: 600;
  line-height: 1;
  min-height: 44px;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 12px 26px rgba(224, 107, 82, 0.32);
}

.primary:hover {
  transform: translateY(-1px);
}

.primary:disabled {
  cursor: wait;
  opacity: 0.7;
  transform: none;
  box-shadow: none;
}

.link {
  color: var(--teal);
  text-decoration: none;
  font-weight: 600;
}

.footer {
  margin-top: 20px;
  color: var(--muted);
  font-size: 14px;
}

.activity-list, .team-members-list {
  display: grid;
  gap: 10px;
}

.activity-list--feed {
  gap: 8px;
}

.activity-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 8px 10px;
  background: linear-gradient(180deg, #ffffff 0%, #fffcf8 100%);
  border-radius: 16px;
  border: 1px solid #ece2d6;
  box-shadow: 0 8px 20px rgba(31, 27, 22, 0.06);
  position: relative;
}

.activity-item--with-image {
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  min-height: 0;
}

.activity-item__content {
  min-width: 0;
  padding-right: 2px;
}

.activity-item__subtitle {
  display: block;
  color: var(--ink);
  font-size: 13px;
  margin-top: 1px;
}

.activity-item strong {
  display: block;
  font-size: 16px;
  line-height: 1.3;
}

.activity-item span {
  color: var(--muted);
  font-size: 12px;
}

.activity-item__scope {
  display: inline-flex;
  margin-top: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #f3f4f6;
  border: 1px solid #e3e5e8;
  color: #3d4550;
  font-size: 11px;
  font-weight: 700;
}

.activity-item__scope--private {
  background: #f3f4f6;
  border-color: #e3e5e8;
  color: #4c5561;
}

.activity-item__scope--team {
  background: #eef6ff;
  border-color: #cfe2ff;
  color: #1f4f95;
}

.activity-item__scope--all {
  background: #edf8f4;
  border-color: #d4ebe3;
  color: #1f675d;
}

.activity-item__comment {
  margin: 6px 0 0;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.4;
}

.activity-item__author {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.activity-item__actions {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.activity-delete-form {
  margin: 0;
}

.action-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 6px 10px;
}

.action-chip__icon {
  font-size: 13px;
  line-height: 1;
}

.action-chip--active {
  border-style: solid;
  border-color: #f0d58d;
  background: #fff6dd;
  color: #6f551f;
}

.action-chip--danger {
  border-style: solid;
  border-color: #e7c1bc;
  color: #8b3f35;
}

.action-chip--danger:hover {
  border-color: #d79e96;
}

.notice--error {
  background: #fff0ee;
  border-color: #efc4be;
  color: #8a3b2f;
}

.activity-item__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  border: none;
}

.activity-image-trigger {
  border: none;
  background: transparent;
  padding: 0;
  margin-top: 8px;
  border-radius: 10px;
  cursor: zoom-in;
}

.activity-image-trigger--side {
  grid-column: 1;
  grid-row: auto;
  margin-top: 8px;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  min-height: 170px;
  max-height: 280px;
}

@media (min-width: 981px) {
  .activity-item--with-image {
    grid-template-columns: minmax(0, 1fr) clamp(180px, 27vw, 280px);
    min-height: 136px;
  }

  .activity-image-trigger--side {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
    min-height: 100%;
    max-height: none;
  }
}

.activity-image-trigger:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #f9f4ee;
  color: #5e4a36;
  border: 1px solid #e8dccd;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: none;
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
}

.badge--bonus {
  background: linear-gradient(135deg, #f2c66d 0%, #d6a83a 100%);
  color: #3b2a0b;
  border-color: #c8972f;
}

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

.meta-version {
  opacity: 0.55;
  font-size: 11px;
  letter-spacing: 0.01em;
}

.brand-preview {
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px dashed #e6d8c8;
  background: linear-gradient(180deg, #fff 0%, #fdf9f2 100%);
}

.row-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.points-row {
  display: flex;
  margin: 8px 0 12px;
}

.points-context {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 12px;
}

.points-context__item {
  display: grid;
  gap: 4px;
  min-height: 82px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid #e7ddcf;
  background: #fffaf5;
  text-decoration: none;
  color: inherit;
}

.points-context__item--button {
  width: 100%;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.points-context__item--button:hover {
  border-color: #cfe2ff;
  background: #eef6ff;
}

.points-context__item span {
  font-size: 11px;
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.points-context__item strong {
  font-size: 14px;
  line-height: 1.25;
}

.points-context__item small {
  font-size: 11px;
  color: var(--muted);
}

.points-context__item--link {
  border-color: #cfe2ff;
  background: #eef6ff;
}

.points-context__item--link strong {
  color: #1f4f95;
}

.points-context__item--stats {
  align-content: start;
}

.points-context__item--stats:hover {
  border-color: #d9d2a4;
  background: #fff6df;
}

.points-context__item--stats strong {
  color: #6f541e;
}

.points-row .points-pill {
  margin-left: 0;
}

.bug-item {
  overflow: hidden;
}

.bug-item__content {
  min-width: 0;
}

.bug-item__content strong,
.bug-item__content span,
.bug-item__content p {
  overflow-wrap: anywhere;
}

.bug-actions {
  align-items: flex-start;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.bug-actions__note {
  margin: 0;
  min-width: 260px;
  max-width: 420px;
}

.bug-actions__note textarea {
  min-height: 66px;
}

.feed-toggle {
  display: inline-flex;
  gap: 6px;
  flex-wrap: wrap;
  padding: 5px;
  border-radius: 999px;
  background: #efe4d8;
  border: 1px solid #e2d3c3;
}

.feed-toggle .ghost {
  border-style: solid;
  border-color: #d9cbbd;
  background: #f8f1e9;
  color: #7c6e61;
  opacity: 0.7;
  box-shadow: none;
}

.feed-toggle .ghost.feed-toggle__option--active,
.feed-toggle .ghost[aria-current="page"] {
  border-style: solid;
  border-color: #2d6f6a;
  background: linear-gradient(135deg, #2e6f6b 0%, #3f8f86 100%);
  color: #f7fffd;
  box-shadow: 0 8px 16px rgba(45, 111, 106, 0.25);
  opacity: 1;
}

.admin-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #f0f6f4;
  border: 1px solid #d9ebe6;
  color: var(--teal);
  font-weight: 600;
  text-decoration: none;
  font-size: 12px;
}

.leaderboard-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #fff4d8;
  border: 1px solid #efd59b;
  color: #6f541e;
  font-weight: 700;
  text-decoration: none;
  font-size: 12px;
}

.leaderboard-card {
  gap: 14px;
}

.leaderboard-podium {
  display: grid;
  grid-template-columns: repeat(3, minmax(84px, 1fr));
  gap: 10px;
  align-items: end;
}

.podium-slot {
  display: grid;
}

.podium-card {
  border-radius: 14px;
  padding: 10px;
  border: 1px solid #e5d8c7;
  display: grid;
  gap: 5px;
  background: #fff;
}

.podium-card--1 {
  min-height: 156px;
  background: linear-gradient(180deg, #fff8df 0%, #f8e7b2 100%);
  border-color: #d9bf72;
}

.podium-card--2 {
  min-height: 130px;
  background: linear-gradient(180deg, #fafcff 0%, #e9eef6 100%);
  border-color: #cdd8e6;
}

.podium-card--3 {
  min-height: 118px;
  background: linear-gradient(180deg, #fff4eb 0%, #f0ddcb 100%);
  border-color: #dbbe9f;
}

.podium-card__medal {
  display: inline-flex;
  width: fit-content;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.7);
  color: #66513a;
}

.podium-card__team {
  font-size: 14px;
  line-height: 1.3;
}

.podium-card__points {
  color: #5f5247;
  font-size: 12px;
  font-weight: 600;
}

.leaderboard-list {
  display: grid;
  gap: 8px;
}

.leaderboard-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px;
  border: 1px solid #eadfce;
  border-radius: 12px;
  padding: 9px 10px;
  background: #fff;
}

.leaderboard-row__rank {
  min-width: 34px;
  font-size: 12px;
  font-weight: 700;
  color: #7b6d5d;
}

.leaderboard-row__main {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.leaderboard-row__main strong {
  font-size: 14px;
  line-height: 1.25;
}

.leaderboard-row__main span {
  font-size: 12px;
  color: var(--muted);
}

.leaderboard-row__badge {
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid #d4ebe3;
  background: #edf8f4;
  color: #1f675d;
  font-size: 11px;
  font-weight: 700;
}

.leaderboard-row__points {
  font-size: 13px;
  font-weight: 700;
  color: #3f2d18;
}

.points-pill {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: linear-gradient(120deg, #f7d27a 0%, #f2b550 45%, #f7d27a 100%);
  color: #3d2b14;
  font-weight: 700;
  font-size: 13px;
  box-shadow: 0 12px 24px rgba(242, 181, 80, 0.35);
}

.points-pill strong {
  font-size: 16px;
}

.points-pill--gain {
  animation: points-pill-bounce 1s ease-out;
}

.points-pill__value--gain {
  display: inline-block;
  animation: points-pill-jolt 0.75s ease-in-out;
}

@keyframes points-pill-bounce {
  0% {
    transform: translateY(0) scale(1);
  }
  25% {
    transform: translateY(-6px) scale(1.08);
  }
  50% {
    transform: translateY(0) scale(1.02);
  }
  75% {
    transform: translateY(-2px) scale(1.04);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}

@keyframes points-pill-jolt {
  0%,
  100% {
    transform: translateX(0) rotate(0deg);
  }
  15% {
    transform: translateX(-1px) rotate(-2deg);
  }
  30% {
    transform: translateX(1px) rotate(2deg);
  }
  45% {
    transform: translateX(-1px) rotate(-1.5deg);
  }
  60% {
    transform: translateX(1px) rotate(1.5deg);
  }
  75% {
    transform: translateX(-0.5px) rotate(-1deg);
  }
}

.fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  border: none;
  background: var(--accent);
  color: #fff;
  font-size: 34px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 18px 36px rgba(224, 107, 82, 0.4);
  z-index: 20;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fab-stack {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 20;
  display: grid;
  justify-items: end;
  gap: 10px;
}

.fab:hover {
  transform: translateY(-2px) scale(1.02);
}

.fab--disabled {
  position: relative;
  background: linear-gradient(135deg, #b8b0a7 0%, #8f877d 100%);
  color: rgba(255, 255, 255, 0.92);
  cursor: not-allowed;
  box-shadow: 0 14px 28px rgba(50, 44, 38, 0.22);
}

.fab--disabled:hover {
  transform: none;
}

.fab--disabled::after {
  content: "!";
  position: absolute;
  top: -4px;
  right: -2px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #f4efe7;
  color: #8d2f25;
  border: 2px solid #8d2f25;
  font-size: 13px;
  font-weight: 800;
}

.fab-note {
  max-width: 170px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(31, 27, 22, 0.84);
  color: #fffaf2;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 12px 24px rgba(31, 27, 22, 0.22);
}

.fab--hidden,
body.body--activity-open .fab {
  opacity: 0;
  transform: translateY(14px) scale(0.92);
  pointer-events: none;
}

.bugfab {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 34;
  border: 1px solid #d8d2c7;
  background: linear-gradient(135deg, #fff 0%, #fff8f2 100%);
  color: #5a3a1d;
  border-radius: 999px;
  min-height: 42px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(31, 27, 22, 0.16);
}

.bugfab__notice {
  position: fixed;
  left: 18px;
  bottom: 68px;
  z-index: 34;
  background: #f2faf6;
  border: 1px solid #d5ece2;
  color: #1f675d;
  border-radius: 10px;
  padding: 6px 10px;
  font-size: 12px;
}

.bugsheet {
  position: fixed;
  inset: 0;
  z-index: 34;
  display: none;
}

.bugsheet--open {
  display: block;
}

.bugsheet__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(19, 15, 12, 0.42);
}

.bugsheet__panel {
  position: absolute;
  left: 18px;
  bottom: 72px;
  width: min(420px, calc(100vw - 36px));
  background: #fff;
  border: 1px solid #e9e0d5;
  border-radius: 16px;
  box-shadow: 0 24px 44px rgba(19, 15, 12, 0.22);
  padding: 14px;
  display: grid;
  gap: 10px;
}

.bugsheet__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.stats {
  margin-top: 18px;
  border: none;
  width: 100%;
  text-align: left;
  background: #fffaf7;
  border-radius: 18px;
  padding: 12px 14px;
  display: grid;
  gap: 6px;
  cursor: pointer;
  border: 1px solid #efe6dc;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stats:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(31, 27, 22, 0.08);
}

.stats strong {
  display: block;
  font-size: 20px;
}

.stats span {
  color: var(--muted);
  font-size: 13px;
}

.stats__meta {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
}

.stats__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.stats__chip {
  font-size: 11px;
  font-weight: 700;
  color: #6c4f21;
  background: #f6e7cc;
  border: 1px solid #e4cf9f;
  border-radius: 999px;
  padding: 3px 8px;
  white-space: nowrap;
}

.stats__teaser {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.stats__meta span:first-child {
  font-weight: 600;
  color: var(--teal);
}

.stats__bar {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: #efe6dc;
  overflow: hidden;
}

.stats__bar--wide {
  height: 12px;
}

.stats__fill {
  height: 100%;
  background: linear-gradient(90deg, #2e6f6b 0%, #5fb1a7 100%);
  border-radius: 999px;
}

.stats__hint {
  font-weight: 600;
  color: var(--teal);
}

.sheet-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(18, 16, 13, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 15;
}

.sheet {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translate(-50%, 120%);
  width: min(620px, calc(100% - 32px));
  max-height: calc(100dvh - 36px);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  background: var(--panel);
  border-radius: 24px;
  padding: 16px 20px calc(24px + env(safe-area-inset-bottom));
  box-shadow: var(--shadow);
  z-index: 16;
  transition: transform 0.3s ease;
}

.sheet__handle {
  width: 48px;
  height: 6px;
  border-radius: 999px;
  background: #e7ddd2;
  margin: 4px auto 12px;
}

.sheet__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
}

.sheet__header h3 {
  margin: 0;
  font-family: "Fraunces", "Times New Roman", serif;
  font-size: 22px;
}

.sheet__header p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.points-toast {
  position: fixed;
  left: 50%;
  bottom: 96px;
  transform: translateX(-50%) scale(0.8);
  background: linear-gradient(140deg, #ffefc5 0%, #f4c76a 60%, #ffefc5 100%);
  color: #3b2a12;
  border-radius: 24px;
  padding: 16px 24px;
  display: grid;
  gap: 6px;
  text-align: center;
  box-shadow: 0 18px 40px rgba(242, 181, 80, 0.45);
  animation: points-pop 1.2s ease-out forwards;
  z-index: 30;
}

.points-toast__value {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.points-toast__label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.points-toast__spark {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff3d5;
  margin: 0 auto;
  box-shadow: 0 0 12px rgba(255, 243, 213, 0.9);
  animation: spark 1.2s ease-out infinite;
}

@keyframes points-pop {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(16px) scale(0.7);
  }
  40% {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1.05);
  }
  70% {
    transform: translateX(-50%) translateY(-4px) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(-18px) scale(0.95);
  }
}

@keyframes spark {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.4);
    opacity: 1;
  }
}

.sheet__close {
  border: 1px solid #e7ddd2;
  background: #fffaf7;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  font-size: 18px;
  color: var(--muted);
  cursor: pointer;
  line-height: 1;
  font-family: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sheet__close:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(31, 27, 22, 0.08);
}

.sheet--stats {
  padding-bottom: 28px;
}

.sheet--comments {
  padding-bottom: 20px;
}

.comments-list {
  max-height: min(38vh, 360px);
  overflow-y: auto;
  align-content: start;
}

.comments-form {
  margin-top: 10px;
}

.comment-item {
  border: 1px solid #ebe1d3;
  border-radius: 12px;
  padding: 10px;
  display: grid;
  gap: 4px;
  background: #fff;
}

.comment-item strong {
  font-size: 14px;
}

.comment-item span {
  font-size: 11px;
  color: var(--muted);
}

.comment-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 10px;
}

.stats-card {
  background: #fffaf7;
  border-radius: 16px;
  padding: 14px;
  border: 1px solid #efe6dc;
  display: grid;
  gap: 6px;
}

.stats-card strong {
  font-size: 18px;
}

.stats-card span,
.stats-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.stats-goal {
  margin-top: 16px;
  display: grid;
  gap: 10px;
  background: #f0f6f4;
  border-radius: 16px;
  padding: 14px;
  border: 1px solid #d9ebe6;
}

.sheet--open {
  transform: translate(-50%, 0);
}

.sheet-backdrop--open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 35;
  display: none;
}

.lightbox[hidden] {
  display: none !important;
}

.lightbox--open {
  display: block;
}

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 16, 13, 0.75);
  backdrop-filter: blur(3px);
}

.lightbox__dialog {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(92vw, 980px);
  max-height: 88dvh;
  padding: 14px;
  border-radius: 18px;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 26px 52px rgba(0, 0, 0, 0.35);
  display: grid;
  gap: 10px;
}

.lightbox__image {
  width: 100%;
  max-height: calc(88dvh - 90px);
  object-fit: contain;
  border-radius: 12px;
  background: #000;
}

.lightbox__caption {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 13px;
  text-align: center;
}

.lightbox__close {
  justify-self: end;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}

.notice--error {
  background: #ffe3de;
  color: #b42318;
}

.select {
  width: 100%;
  border: 1px solid #e6e0d8;
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 15px;
  font-family: inherit;
  color: var(--ink);
  background: #fffaf7;
}

/* Table styles */
.admin-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

.admin-table th, .admin-table td {
  padding: 12px;
  border-bottom: 1px solid #efe6dc;
  text-align: left;
  font-size: 14px;
}

.admin-table th {
  color: var(--muted);
  font-weight: 600;
}

.admin-table input[type="text"],
.admin-table input[type="email"],
.admin-table input[type="password"],
.admin-table .select {
  width: 100%;
  padding: 8px;
  border: 1px solid #e6e0d8;
  border-radius: 8px;
  font-family: inherit;
}

.admin-table .email-input {
  width: 200px;
}

.admin-table .actions {
  display: flex;
  gap: 8px;
}

.admin-users-toolbar {
  gap: 12px;
}

.admin-users-toolbar__grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) repeat(3, minmax(170px, 1fr)) auto auto;
  gap: 10px;
  align-items: center;
}

.admin-users-toolbar__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.admin-users-create__form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 14px;
  align-items: start;
}

.admin-users-create__form .checkbox,
.admin-users-create__form .primary,
.admin-users-create__form input[type="hidden"] {
  grid-column: 1 / -1;
}

.admin-users-list {
  gap: 12px;
}

.admin-users-table-wrap {
  overflow: auto;
  max-height: 70vh;
  border: 1px solid #efe6dc;
  border-radius: 16px;
}

.admin-users-table-wrap .admin-table {
  margin-top: 0;
  min-width: 1180px;
}

.admin-users-table-wrap .admin-table th,
.admin-users-table-wrap .admin-table td {
  padding: 8px 9px;
  font-size: 13px;
  vertical-align: middle;
}

.admin-users-table-wrap .admin-table th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #fffaf7;
}

.admin-users-table-wrap .admin-table input[type="text"],
.admin-users-table-wrap .admin-table input[type="email"],
.admin-users-table-wrap .admin-table input[type="password"],
.admin-users-table-wrap .admin-table .select {
  padding: 7px 8px;
  font-size: 13px;
  min-height: 38px;
}

.admin-users-table-wrap .admin-table .email-input {
  width: 220px;
}

.admin-users-cell-stack {
  display: grid;
  gap: 4px;
}

.admin-users-cell-meta {
  font-size: 11px;
}

.admin-users-actions {
  align-items: center;
  flex-wrap: nowrap;
}

.admin-users-password {
  width: 132px;
}

.table--tenants .table__row {
  grid-template-columns: 0.7fr 1.4fr 0.6fr 1.2fr 0.2fr;
}

@media (max-width: 900px) {
  .shell--admin {
    grid-template-columns: 1fr;
  }

  .table--tenant .table__row,
  .table--super .table__row,
  .table--tenants .table__row {
    grid-template-columns: 1fr;
  }

  .table__head {
    display: none;
  }

  .table__row {
    gap: 8px;
  }

  .table__row input,
  .table__row select {
    font-size: 14px;
  }

  .table__actions {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .admin-users-toolbar__grid,
  .admin-users-create__form {
    grid-template-columns: 1fr;
  }

  .admin-users-table-wrap {
    max-height: none;
  }
}

.table__row input,
.table__row select {
  width: 100%;
  border: 1px solid #e6e0d8;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 14px;
  background: #fffaf7;
}

.table__head {
  background: transparent;
  border: none;
  padding: 0 10px;
  font-size: 13px;
  color: var(--muted);
}

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

.shell--admin .panel h1 {
  font-size: 34px;
}

.shell--admin .panel .lead {
  font-size: 17px;
}

.shell--admin .card h3 {
  font-size: 22px;
}

.shell--admin .table__row {
  padding: 12px;
}

.shell--admin .ghost,
.shell--admin .admin-link {
  font-size: 13px;
}

.icon-button {
  border: 1px solid rgba(180, 35, 24, 0.35);
  background: #fff5f3;
  color: #b42318;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  cursor: pointer;
  display: inline-grid;
  place-items: center;
  font-size: 16px;
  font-family: inherit;
  line-height: 1;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.icon-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(180, 35, 24, 0.16);
}

.copy-row {
  display: flex;
  gap: 10px;
  align-items: center;
}

.copy-input {
  flex: 1;
  border: 1px solid #e6e0d8;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 13px;
  background: #fffaf7;
}

.team-card {
  padding: 18px;
}

.team-card .row {
  align-items: flex-end;
  gap: 12px;
}

.team-members h4 {
  margin: 12px 0 8px;
  font-size: 14px;
  color: var(--muted);
}

.form--inline {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.member-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #efe6dc;
  background: #fff;
  padding: 6px 10px;
  border-radius: 999px;
}

.member-chip .chip__remove {
  border: none;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 14px;
}

.hero {
  padding: 38px;
  border-radius: var(--radius);
  background: linear-gradient(150deg, #1f3f3d 0%, #2e6f6b 60%, #458c83 100%);
  color: #f7f3ea;
  box-shadow: var(--shadow);
  animation: float-in 1s ease both 0.1s;
}

.hero--alt {
  background: linear-gradient(150deg, #5a2b1f 0%, #b6452b 55%, #e07a52 100%);
}

.hero h2 {
  font-family: "Fraunces", "Times New Roman", serif;
  font-size: 30px;
  margin: 14px 0 12px;
}

.hero p {
  margin: 0 0 20px;
  color: rgba(247, 243, 234, 0.82);
}

.hero__badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.16);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.hero__stats strong {
  display: block;
  font-size: 20px;
}

.hero__stats span {
  font-size: 12px;
  color: rgba(247, 243, 234, 0.7);
}

.hero__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.hero__list li {
  position: relative;
  padding-left: 22px;
  color: rgba(247, 243, 234, 0.85);
}

.hero__list li::before {
  content: "+";
  position: absolute;
  left: 0;
  top: 0;
  color: #fff;
  font-weight: 700;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float-in {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 980px) {
  .shell,
  .shell--dashboard,
  .shell--reverse {
    grid-template-columns: 1fr;
  }

  .hero--desktop-only {
    display: none;
  }

  .shell--single {
    grid-template-columns: 1fr;
  }

  .hero,
  .panel {
    padding: 28px;
  }

  .panel--dashboard {
    padding: 14px;
  }

  .card--feed {
    padding: 10px;
  }

  .hero__stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* GDPR admin (phase 1) — small, scoped additions on top of shared
   .shell--admin / .panel / .card / .notice / .admin-table patterns.
   Intentionally minimal; layout/typography follow the shared admin
   look and must not diverge here. */
.gdpr-warning {
  border: 1px solid #e0b400;
  background: #fff8dc;
  padding: 14px 16px;
  border-radius: 10px;
  margin-bottom: 16px;
}
.gdpr-warning h3,
.gdpr-warning h4 {
  margin: 0 0 6px 0;
  color: #735100;
}
.gdpr-impact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 8px 16px;
}
.gdpr-impact-list li {
  padding: 8px 10px;
  background: #f7f7f5;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.gdpr-impact-list li strong {
  font-variant-numeric: tabular-nums;
}
.admin-table tr.is-anonymized td {
  opacity: 0.55;
}
.gdpr-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.button--danger {
  background: #b32727;
  color: #ffffff;
  border: none;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
}
.button--danger:hover {
  background: #8d1e1e;
}

@media (max-width: 600px) {
  .shell,
  .shell--dashboard {
    padding: 12px 10px 18px;
  }

  .row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .input-row {
    flex-direction: column;
    align-items: stretch;
  }

  .chip-row {
    justify-content: flex-start;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .points-context {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .points-context__item {
    min-height: 72px;
    padding: 10px;
  }

  .activity-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .activity-item--with-image {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .activity-image-trigger--side {
    grid-column: 1;
    grid-row: auto;
    min-height: 150px;
  }

  .checkbox__label-mobile {
    display: inline;
    font-size: 12px;
    color: var(--muted);
  }

  .bug-actions {
    width: 100%;
    justify-content: stretch;
    gap: 10px;
  }

  .bug-actions__note {
    min-width: 100%;
    max-width: 100%;
  }

  .bug-actions button {
    flex: 1 1 auto;
    min-width: 0;
  }

  .leaderboard-podium {
    gap: 8px;
    align-items: end;
  }

  .podium-card {
    padding: 8px;
  }

  .podium-card--1 {
    min-height: 126px;
  }

  .podium-card--2 {
    min-height: 112px;
  }

  .podium-card--3 {
    min-height: 104px;
  }

  .podium-card__team {
    font-size: 13px;
  }

  .podium-card__points {
    font-size: 11px;
  }

  .leaderboard-row {
    grid-template-columns: auto minmax(0, 1fr);
    row-gap: 6px;
  }

  .leaderboard-row__badge,
  .leaderboard-row__points {
    grid-column: 2;
    justify-self: start;
  }

  .badge {
    justify-self: start;
    position: absolute;
    top: 8px;
    right: 8px;
  }

  .sheet {
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-height: min(92dvh, 100dvh);
    border-radius: 18px 18px 0 0;
    transform: translate(0, 110%);
    padding: 14px 16px calc(18px + env(safe-area-inset-bottom));
  }

  .sheet--open {
    transform: translate(0, 0);
  }

  .fab-stack {
    right: 18px;
    bottom: 18px;
  }

  .fab-note {
    max-width: 150px;
    font-size: 11px;
  }
}
