html {
  min-height: 100%;
  background: #020b05;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  background-color: #020b05;
  background-image:
    linear-gradient(180deg, rgba(2, 11, 5, 0.12), rgba(2, 11, 5, 0.26)),
    url('/images/background.jpeg');
  background-repeat: repeat-y;
  background-position: center top;
  background-size: cover;
}

.container {
  min-height: 100vh;
  min-height: 100svh;
  padding-bottom: max(34px, env(safe-area-inset-bottom));
}

.card {
  margin-bottom: 20px;
  background:
    radial-gradient(circle at 18% 0%, rgba(125, 255, 132, 0.13), transparent 34%),
    linear-gradient(145deg, rgba(31, 75, 43, 0.62) 0%, rgba(10, 31, 20, 0.78) 100%);
  color: #e4e7e5;
  position: relative;
  border: 1px solid rgba(220, 255, 220, 0.12);
  border-radius: 14px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 52%);
  pointer-events: none;
}

.promo-card {
  animation: cardReveal 0.36s ease both;
  animation-delay: var(--card-delay, 0ms);
}

.card:hover {
  border-color: rgba(190, 255, 154, 0.24);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.card .category-labels {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 10px;
  z-index: 1;
  /* Adds space between labels */
}

.category-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.14);
  padding: 1px 5px;
  border-radius: 6px;
  font-weight: bold;
  color: #d4f1d6;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 4px 9px rgba(0, 0, 0, 0.22);
  line-height: 1.15;
  white-space: nowrap;
}

.card-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  min-height: 148px;
  padding: 15px;
}

.card-title {
  margin-bottom: 12px;
  text-align: left;
  margin-top: 18px;
  font-weight: 850;
  letter-spacing: -0.01em;
  line-height: 1.16;
}

.card-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.card-description {
  margin-top: 0;
  margin-bottom: 5px;
  font-size: 5px;
}

.selected-bonus-title {
  font-size: 22px;
}

.request-button,
.go-tournament-button {
  background: linear-gradient(180deg, #32c94d 0%, #209c3e 100%);
  color: white;
  border: 1px solid rgba(190, 255, 154, 0.2);
  border-radius: 8px;
  font-weight: 850;
  transition: background-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease, filter 0.22s ease;
  align-self: flex-start;
  box-shadow: 0 10px 18px rgba(21, 156, 57, 0.22), 0 0 20px rgba(47, 182, 27, 0.16);
}

.info-button {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
}

.info-button:hover,
.info-button:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.18);
}

.card-actions .info-button {
  flex: 0 0 38px;
  width: 38px;
  min-width: 38px;
  height: 38px;
  padding: 0;
  margin-left: 0 !important;
}

.card-actions .info-button .bi {
  font-size: 1rem;
  line-height: 1;
}

.request-button:hover,
.go-tournament-button:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
  background-color: #218838;
}

.filter-section {
  margin-bottom: 16px;
}

.category-button {
  position: relative;
  margin: 0 4px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.88);
  background: rgba(108, 117, 125, 0.86);
  box-shadow: none;
  font-weight: 800;
  transition: background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.category-button.is-active,
.category-button.active {
  color: #ffffff;
  background: linear-gradient(180deg, rgba(47, 182, 27, 0.95) 0%, rgba(30, 111, 28, 0.96) 100%);
  border-color: rgba(190, 255, 154, 0.55);
  box-shadow:
    0 0 0 1px rgba(190, 255, 154, 0.16),
    0 8px 18px rgba(47, 182, 27, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  transform: translateY(-1px);
}

.category-button.is-active::before,
.category-button.active::before {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  top: 4px;
  height: 2px;
  border-radius: 4px;
  background: rgba(219, 255, 178, 0.85);
}

.announcement-banner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: 14px;
  border: none;
  color: #ffffff;
  background: linear-gradient(135deg, #2b5e34 0%, #1e3d29 100%);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.24);
}

.announcement-banner__icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  flex: 0 0 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(219, 241, 226, 0.25);
  box-shadow: none;
  position: relative;
  z-index: 1;
}

.announcement-banner__icon .bi {
  font-size: 1rem;
  color: #d5f0dc;
}

.announcement-banner__content {
  min-width: 0;
  flex: 1;
  position: relative;
  z-index: 1;
}

.announcement-banner__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.announcement-banner__title {
  font-size: 0.98rem;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #f3fbf6;
}

.announcement-banner__type {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1px 7px;
  border-radius: 5px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  text-transform: none;
  border: none;
  background-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  color: #d4f1d6;
}

.announcement-banner__message {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: rgba(244, 252, 247, 0.96);
  white-space: normal;
}

.announcement-banner.is-info .announcement-banner__icon .bi,
.announcement-banner.is-info .announcement-banner__type {
  color: #8fd0ff;
}

.announcement-banner.is-info .announcement-banner__type {
  background-color: rgba(0, 123, 255, 0.35);
}

.announcement-banner.is-warning .announcement-banner__icon .bi,
.announcement-banner.is-warning .announcement-banner__type {
  color: #ffd08a;
}

.announcement-banner.is-warning .announcement-banner__type {
  background-color: rgba(220, 53, 69, 0.35);
}

.announcement-banner.is-success .announcement-banner__icon .bi,
.announcement-banner.is-success .announcement-banner__type {
  color: #9be7b0;
}

.announcement-banner.is-success .announcement-banner__type {
  background-color: rgba(40, 167, 69, 0.35);
}

.announcement-banner.is-campaign .announcement-banner__icon .bi,
.announcement-banner.is-campaign .announcement-banner__type {
  color: #f6d179;
}

.announcement-banner.is-campaign .announcement-banner__type {
  background-color: rgba(255, 193, 7, 0.35);
}

.achievement-widget {
  position: relative;
  margin: 4px 0 14px;
  border-radius: 16px;
  color: #ffffff;
  background:
    radial-gradient(circle at 8% 15%, rgba(47, 182, 27, 0.38), transparent 30%),
    linear-gradient(135deg, rgba(13, 45, 22, 0.96) 0%, rgba(9, 28, 15, 0.98) 58%, rgba(22, 56, 29, 0.96) 100%);
  border: 1px solid rgba(122, 232, 97, 0.22);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
  animation: softReveal 0.38s ease both;
}

.achievement-widget::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.12), transparent 28%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0, rgba(255, 255, 255, 0.035) 1px, transparent 1px, transparent 18px);
  pointer-events: none;
}

.achievement-widget.is-completed {
  border-color: rgba(188, 255, 86, 0.58);
  box-shadow: 0 16px 36px rgba(47, 182, 27, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.achievement-widget.is-locked {
  border-color: rgba(217, 255, 74, 0.3);
}

.achievement-widget.is-locked .achievement-segment.is-filled {
  background: rgba(255, 255, 255, 0.2);
  box-shadow: none;
}

.achievement-main {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 12px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.achievement-main:focus-visible {
  outline: 2px solid rgba(189, 251, 132, 0.62);
  outline-offset: -3px;
}

.achievement-icon {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 13px;
  flex: 0 0 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #112610;
  background: linear-gradient(135deg, #d9ff4a 0%, #2fb61b 78%);
  box-shadow: 0 10px 22px rgba(47, 182, 27, 0.38);
  overflow: hidden;
}

.achievement-icon-glow {
  position: absolute;
  width: 50px;
  height: 50px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  transform: translate(-18px, -18px);
}

.achievement-icon .bi {
  position: relative;
  z-index: 1;
  font-size: 1rem;
}

.achievement-content {
  min-width: 0;
  flex: 1;
}

.achievement-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.achievement-header-actions {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
}

.achievement-topline {
  color: #bdfb84;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.achievement-title {
  margin-top: 3px;
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.25;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.28);
}

.achievement-info {
  position: relative;
  width: 29px;
  height: 29px;
  border: 0;
  border-radius: 999px;
  flex: 0 0 29px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #10260d;
  background: linear-gradient(135deg, #efffec 0%, #bdfb84 100%);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.24), 0 0 16px rgba(47, 182, 27, 0.22);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.achievement-expand {
  width: 29px;
  height: 29px;
  border: 1px solid rgba(210, 255, 205, 0.14);
  border-radius: 10px;
  flex: 0 0 29px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #c7ff93;
  background: rgba(255, 255, 255, 0.065);
  transition: transform 0.18s ease, background-color 0.18s ease;
}

.achievement-expand .bi {
  font-size: 0.82rem;
  transition: transform 0.18s ease;
}

.achievement-widget.is-expanded .achievement-expand .bi {
  transform: rotate(180deg);
}

.achievement-info span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  border-radius: 999px;
  font-family: Georgia, serif;
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1;
  text-shadow: none;
  background: rgba(16, 38, 13, 0.12);
}

.achievement-info:hover,
.achievement-info:focus-visible {
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.3), 0 0 20px rgba(189, 251, 132, 0.28);
  outline: none;
}

.achievement-info::after {
  content: attr(data-tooltip);
  position: absolute;
  right: 0;
  bottom: calc(100% + 10px);
  width: min(270px, 72vw);
  padding: 10px 12px;
  border-radius: 12px;
  color: #efffec;
  background: rgba(8, 22, 12, 0.96);
  border: 1px solid rgba(122, 232, 97, 0.28);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.34);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: left;
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 5;
}

.achievement-info:hover::after,
.achievement-info:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.achievement-progress-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  margin-top: 8px;
}

.achievement-segments {
  display: grid;
  grid-template-columns: repeat(7, minmax(13px, 1fr));
  gap: 4px;
  width: 100%;
}

.achievement-segment {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.achievement-segment.is-filled {
  background: linear-gradient(90deg, #caff3f 0%, #2fb61b 100%);
  box-shadow: 0 0 12px rgba(47, 182, 27, 0.42);
}

.achievement-count {
  min-width: 38px;
  padding: 3px 7px;
  border-radius: 999px;
  color: #14320f;
  background: #d9ff4a;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

.achievement-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.achievement-compact-note {
  max-width: 100%;
  margin-top: 6px;
  color: rgba(221, 255, 202, 0.78);
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.achievement-details {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.24s ease, opacity 0.18s ease, margin-top 0.18s ease;
}

.achievement-widget.is-expanded .achievement-details {
  max-height: 220px;
  margin-top: 2px;
  opacity: 1;
}

.achievement-reward,
.achievement-next,
.achievement-rule {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.1;
}

.achievement-reward {
  padding: 5px 8px;
  border-radius: 999px;
  color: #dfffdb;
  background: rgba(47, 182, 27, 0.2);
}

.achievement-rule {
  padding: 6px 9px;
  border-radius: 999px;
  color: #f2ffd2;
  background: rgba(217, 255, 74, 0.12);
  border: 1px solid rgba(217, 255, 74, 0.2);
}

.achievement-next {
  color: #bdfb84;
  white-space: normal;
  text-align: right;
  justify-content: flex-end;
  flex: 1;
}

.achievement-message {
  margin-top: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  color: #efffec;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.35;
}

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

@keyframes cardReveal {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.banner {
  background-image: url('/images/banner.png');
  background-size: auto;
  background-position: center;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
  text-align: left;
  color: white;
  min-height: 200px;
  height: auto;
  display: flex;
  align-items: stretch;
  position: relative;
  overflow: hidden;
}

.banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(6, 18, 11, 0.82) 0%,
    rgba(6, 18, 11, 0.7) 34%,
    rgba(6, 18, 11, 0.18) 64%,
    rgba(6, 18, 11, 0) 100%
  );
  pointer-events: none;
}

.banner-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto auto;
  align-items: flex-start;
  justify-content: flex-start;
  row-gap: 18px;
  width: min(62%, 360px);
}

.banner h2 {
  margin: 0;
  line-height: 1.08;
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.banner-action-row {
  width: 100%;
}

.banner button {
  position: static;
  width: fit-content;
  align-self: flex-start;
}

@media (prefers-reduced-motion: reduce) {
  .promo-card,
  .achievement-widget {
    animation: none;
  }

  .card,
  .request-button,
  .go-tournament-button,
  .achievement-details,
  .achievement-expand .bi {
    transition: none;
  }
}

h1 {
  color: white;
}

.maintenance-page {
  display: none;
  text-align: center;
  color: #ffffff;
  margin-top: 100px;
}

.maintenance-page h1 {
  font-size: 2.5em;
}

.maintenance-page p {
  font-size: 1.2em;
}

.excluded-player-page {
  display: none;
  text-align: center;
  color: #ffffff;
  margin-top: 100px;
}

.excluded-player-page h1 {
  font-size: 2.5em;
}

.excluded-player-page p {
  font-size: 1.2em;
}

/* Bonus History Card Styles */
.bonus-history-panel {
  margin-top: 20px;
  margin-bottom: 34px;
  border-radius: 18px;
  overflow: hidden;
  color: #ffffff;
  background:
    radial-gradient(circle at 10% -10%, rgba(126, 255, 138, 0.14), transparent 32%),
    linear-gradient(180deg, rgba(13, 28, 20, 0.78) 0%, rgba(10, 18, 15, 0.84) 100%);
  border: 1px solid rgba(210, 255, 205, 0.13);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  padding: 14px;
}

.bonus-history-toggle {
  width: 100%;
  border: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: inherit;
  background: transparent;
  text-align: left;
}

.bonus-history-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 0;
}

.bonus-history-toggle-action {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  border-radius: 12px;
  color: #c7ff93;
  background: rgba(255, 255, 255, 0.065);
  border: 1px solid rgba(210, 255, 205, 0.14);
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
}

.bonus-history-toggle-action .bi {
  font-size: 0.82rem;
  transition: transform 0.18s ease;
}

.bonus-history-toggle-action .bi.is-open {
  transform: rotate(180deg);
}

.bonus-history-icon {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  flex: 0 0 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #c7ff93;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(210, 255, 205, 0.14);
}

.bonus-history-header h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 850;
  line-height: 1.15;
}

.bonus-history-header p {
  margin: 3px 0 0;
  color: rgba(235, 255, 232, 0.56);
  font-size: 0.78rem;
  font-weight: 700;
}

.bonus-history-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 12px 0 0;
}

.history-summary-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 850;
  line-height: 1;
}

.history-summary-pill::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: currentColor;
}

.history-summary-pill.is-approved {
  color: #b9ffb5;
  background: rgba(40, 167, 69, 0.13);
}

.history-summary-pill.is-rejected {
  color: #ffc1c7;
  background: rgba(255, 93, 108, 0.13);
}

.history-summary-pill.is-pending,
.history-summary-pill.is-empty {
  color: #ffd76d;
  background: rgba(255, 193, 7, 0.14);
}

.bonus-history-list {
  display: none;
  gap: 9px;
  margin-top: 14px;
}

.bonus-history-list.is-open {
  display: grid;
}

.bonus-history-date-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 6px 0 2px;
  color: rgba(235, 255, 232, 0.5);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.bonus-history-date-row::after {
  content: "";
  height: 1px;
  flex: 1;
  background: rgba(255, 255, 255, 0.075);
}

.bonus-history-date-row em {
  color: rgba(235, 255, 232, 0.45);
  font-style: normal;
  text-transform: none;
  letter-spacing: 0;
}

.bonus-history-card {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 12px;
  padding: 12px;
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.032)),
    rgba(14, 26, 20, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.075);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055), 0 10px 20px rgba(0, 0, 0, 0.12);
}

.bonus-history-card.is-approved {
  border-color: rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.078), rgba(255, 255, 255, 0.034)),
    rgba(14, 28, 21, 0.68);
}

.bonus-history-card.is-rejected {
  border-color: rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.03)),
    rgba(24, 22, 22, 0.66);
}

.bonus-history-card.is-pending {
  border-color: rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.032)),
    rgba(24, 25, 20, 0.66);
}

.bonus-history-card-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.055);
  color: rgba(235, 255, 232, 0.68);
  font-size: 1.1rem;
}

.bonus-history-card.is-rejected .bonus-history-card-icon {
  color: rgba(255, 193, 199, 0.78);
}

.bonus-history-card.is-pending .bonus-history-card-icon {
  color: rgba(255, 215, 109, 0.78);
}

.bonus-history-card-main {
  min-width: 0;
}

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

.bonus-history-card-top strong {
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 850;
  line-height: 1.16;
}

.bonus-history-status {
  flex: 0 0 auto;
  padding: 5px 9px;
  border-radius: 999px;
  color: rgba(225, 255, 222, 0.88);
  background: rgba(255, 255, 255, 0.07);
  font-size: 0.75rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.bonus-history-card.is-rejected .bonus-history-status {
  color: rgba(255, 210, 215, 0.9);
  background: rgba(255, 255, 255, 0.07);
}

.bonus-history-card.is-pending .bonus-history-status {
  color: rgba(255, 230, 156, 0.9);
  background: rgba(255, 255, 255, 0.07);
}

.bonus-history-card-time {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 5px;
  color: rgba(235, 255, 232, 0.46);
  font-size: 0.75rem;
  font-weight: 750;
}

.bonus-history-card p {
  margin: 6px 0 0;
  color: rgba(245, 255, 244, 0.7);
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1.35;
}

.bonus-history-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
}

.bonus-history-card-bottom span {
  color: rgba(235, 255, 232, 0.64);
  font-size: 0.78rem;
  font-weight: 850;
}

.bonus-history-detail-btn {
  border: 0;
  border-radius: 999px;
  padding: 6px 12px;
  color: #eaf4ff;
  background: rgba(91, 141, 255, 0.22);
  font-size: 0.76rem;
  font-weight: 850;
  line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(134, 171, 255, 0.24);
  transition: background-color 0.18s ease, transform 0.18s ease;
}

.bonus-history-detail-btn:hover {
  background: rgba(91, 141, 255, 0.32);
  transform: translateY(-1px);
}

.bonus-history-empty {
  display: grid;
  place-items: center;
  gap: 6px;
  padding: 24px 14px;
  border-radius: 14px;
  color: rgba(235, 255, 232, 0.76);
  background: rgba(255, 255, 255, 0.06);
  text-align: center;
}

.bonus-history-empty .bi {
  color: #bdfb84;
  font-size: 1.5rem;
}

.bonus-history-empty span {
  color: rgba(235, 255, 232, 0.58);
  font-size: 0.82rem;
}

/* Request History Table Styles */
.history-table,
.award-table {
  margin-top: 30px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(142, 199, 158, 0.22);
  background: linear-gradient(
    180deg,
    rgba(24, 51, 33, 0.88) 0%,
    rgba(19, 37, 27, 0.88) 100%
  );
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.24);
}

.history-table h3,
.award-table h3 {
  margin: 0;
  padding: 14px 16px;
  text-align: left !important;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: linear-gradient(135deg, #21432b 0%, #2c8941 70%, #2a5f34 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.history-table .table-responsive,
.award-table .table-responsive {
  margin: 0;
}

.history-table .table,
.award-table .table {
  margin-bottom: 0;
  color: #e9f6ec;
  font-size: 0.92rem;
}

.history-table thead th,
.award-table thead th {
  border: 0;
  color: #cbe7d2;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 11px 12px;
  background: rgba(255, 255, 255, 0.05);
}

.history-table tbody tr,
.award-table tbody tr {
  transition: background-color 0.2s ease;
}

.history-table tbody tr:nth-child(odd),
.award-table tbody tr:nth-child(odd) {
  background: rgba(255, 255, 255, 0.03);
}

.history-table tbody tr:nth-child(even),
.award-table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.06);
}

.history-table tbody tr:hover,
.award-table tbody tr:hover {
  background: rgba(42, 118, 66, 0.36);
}

.history-table td,
.award-table td {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  text-align: center;
  vertical-align: middle;
  padding: 11px 12px;
  color: #eef9f2;
}

.history-table th:first-child,
.award-table th:first-child,
.history-table td:first-child,
.award-table td:first-child {
  text-align: left;
  white-space: nowrap;
}

.history-table th:nth-child(3),
.history-table td:nth-child(3),
.award-table th:nth-child(3),
.award-table td:nth-child(3) {
  text-align: left;
}

.history-table .badge,
.award-table .badge {
  border-radius: 999px;
  font-size: 0.72rem;
  padding: 6px 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.history-table .view-conditions,
.award-table .view-conditions {
  margin-top: 6px;
  border-radius: 999px;
  padding: 3px 11px;
  font-weight: 600;
}

#spin-container {
  max-width: 600px;
  margin: 0 auto;
}

#offer-container {
  display: flex;
  justify-content: center; /* Horizontally center */
  align-items: center; /* Vertically center if needed */
  flex-wrap: wrap; /* Wrap offers if there are many */
  margin-top: 20px; /* Add spacing from other elements */
}
.spin-to-win {
  max-width: 600px;
}
.spin-to-win img {
  width: 100%;
  height: auto;
}

#spinner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
}

#spin-btn {
  cursor: pointer;
  background: white;
  background-size: 100% 100%;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.25), 0 5px 10px rgba(0, 0, 0, 0.2);
  animation: spinBtn 2s linear infinite;
  border: 5px solid transparent;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#spin-btn:active {
  transform: scale(0.9); /* Simulates the pressing effect */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Reduces shadow to simulate button being pushed in */
}

#spin-btn p {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  font-family: 'Montserrat', sans-serif;
}

@keyframes spinBtn {
  0% {
    border: 5px solid black;
  }
  50% {
    border: 5px solid red;
  }
  100% {
    border: 5px solid black;
  }
}

#spin-btn,
#spin-arrow {
  max-width: 180px;
  width: calc(100vw * 0.3);
  max-height: 180px;
  height: calc(100vw * 0.3);
  border-radius: 50%;
  display: inline-block;
  position: absolute;
}

#spin-arrow {
  transition-timing-function: ease-in-out;
  transition: 3s;
}
#spin-arrow:after {
  content: '';
  position: absolute;
  left: 2px;
  top: 2px;
  width: calc(100vw * 0.14167);
  max-width: 85px;
  height: calc(100vw * 0.14167);
  max-height: 85px;
  background-color: white;
  box-shadow: -2px -2px 10px rgba(0, 0, 0, 0.25);
}

/* btn styles */
#si-btn {
  max-width: 320px;
  background: rgb(0, 0, 0);
  color: rgb(250, 250, 250);
  text-align: center;
  font-family: sans-serif;
  border-radius: 15px;
  margin: 0 auto 25px auto;
  padding: 0px;
  /*   transition:2s; */
  filter: invert(1);
  opacity: 0;
}
/* #si-btn:hover {
    background:#e81238;
  } */
#si-btn a {
  color: inherit;
  text-decoration: none;
  display: inline-block;
  padding: 20px 35px;
}
/* btn styles */

/* OFFER STYLES */
.spin-offer {
  max-width: 600px;
  padding: 20px;
  /*   border:10px solid lightgray; */
  border-radius: 15px;
  text-align: center;
  font-size: 24px;
  font-family: sans-serif;
  position: relative;
  display: none;
  vertical-align: middle;
  animation: spin 2s linear forwards;
  color: white;
  box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.25);
  margin-bottom: 30px;
}
@keyframes spin {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.spin-offer .item {
  padding: 10px;
}

/*  TODO Disabled as there's no property
.spin-title {
} */

.spin-price {
  font-size: 60px;
  line-height: 60px;
  padding-bottom: 0px !important;
}
.spin-info {
  padding-top: 0px !important;
}
.spin-disc {
  font-size: 12px;
}

#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  /* Semi-transparent background */
  z-index: 9999;
  /* Ensure it’s above all other content */
  color: white;
  /* Loader text color */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

@media (max-width: 768px) {
  html {
    background: #020b05;
  }

  body {
    background-color: #020b05;
    background-image:
      linear-gradient(180deg, rgba(2, 11, 5, 0.08), rgba(2, 11, 5, 0.32)),
      url('/images/background.jpeg');
    background-repeat: repeat-y;
    background-position: center top;
    background-size: cover;
  }

  .container {
    padding-bottom: max(46px, calc(env(safe-area-inset-bottom) + 26px));
  }

  .banner {
    height: auto;
    min-height: 184px;
    padding: 14px;
    margin-bottom: 14px;
    background-size: auto 100%;
  }

  .banner::before {
    background: linear-gradient(
      90deg,
      rgba(6, 18, 11, 0.86) 0%,
      rgba(6, 18, 11, 0.74) 42%,
      rgba(6, 18, 11, 0.24) 74%,
      rgba(6, 18, 11, 0) 100%
    );
  }

  .banner-panel {
    width: 58%;
    row-gap: 14px;
  }

  .banner .selected-bonus-title {
    max-width: 100%;
    font-size: 1.28rem;
    line-height: 1.05;
  }

  .banner button {
    position: static;
    left: auto;
    bottom: auto;
    align-self: flex-start;
  }

  .promo-card {
    margin-bottom: 10px;
    padding-left: 6px;
    padding-right: 6px;
  }

  #promotionCards {
    margin-left: -6px;
    margin-right: -6px;
  }

  .promo-card .card {
    margin-bottom: 8px;
  }

  .card .category-labels {
    top: 8px;
    right: 8px;
    gap: 4px;
    max-width: none;
    flex-wrap: nowrap;
    justify-content: flex-end;
  }

  .category-label {
    padding: 2px 5px;
    font-size: 0.68rem;
    line-height: 1.1;
  }

  .card-body {
    height: auto;
    min-height: 132px;
    justify-content: space-between;
    padding: 34px 12px 12px;
  }

  .card-title {
    margin-bottom: 10px;
    text-align: left;
    margin-top: 0;
    font-size: 14.5px;
    line-height: 1.18;
    max-width: 100%;
  }

  .card-actions {
    gap: 8px;
    align-items: stretch;
  }

  .card-actions .request-button,
  .card-actions .go-tournament-button {
    flex: 1 1 auto;
    min-width: 0;
    padding: 9px 10px;
    line-height: 1.15;
    white-space: normal;
    text-align: center;
  }

  .card-actions .info-button {
    flex: 0 0 36px;
    width: 36px;
    min-width: 36px;
    height: 36px;
    padding: 0;
  }

  .card-actions .ml-2 {
    margin-left: 0 !important;
  }

  .history-table,
  .award-table {
    margin-top: 22px;
    border-radius: 12px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
  }

  .history-table h3,
  .award-table h3 {
    padding: 12px 13px;
    font-size: 0.92rem;
  }

  .history-table .table,
  .award-table .table {
    font-size: 0.84rem;
    min-width: 620px;
  }

  .history-table th,
  .history-table td,
  .award-table th,
  .award-table td {
    padding: 9px 8px;
  }

  .category-button {
    margin: 0 3px;
    padding: 8px 11px;
    font-size: 13px;
  }

  .announcement-banner {
    gap: 10px;
    padding: 10px 12px;
    margin-bottom: 12px;
    border-radius: 12px;
  }

  .announcement-banner__icon {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
    border-radius: 10px;
  }

  .announcement-banner__icon .bi {
    font-size: 0.88rem;
  }

  .announcement-banner__top {
    gap: 6px;
    margin-bottom: 5px;
  }

  .announcement-banner__title {
    font-size: 0.9rem;
  }

  .announcement-banner__type {
    font-size: 0.64rem;
    padding: 3px 7px;
  }

  .announcement-banner__message {
    font-size: 0.84rem;
    line-height: 1.38;
  }

  .raffle-countdown {
    justify-content: center;
  }
  .raffle-countdown button {
    width: 100%;
  }
}

/* ================================
   Raffle (Çekiliş) — Final Styles
   ================================ */

/* Card shell */
#raffle-section .card {
  border: 0;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
  background: #2b5e34;
  overflow: hidden;
}
#raffle-section .card + .card {
  margin-top: 16px;
}

#raffle-section .card.is-raffle-expanded {
  position: relative;
  z-index: 2;
  margin-bottom: 18px;
}

/* Header */
.raffle-header {
  background: linear-gradient(135deg, #21432b 0%, #2c8941 60%, #345c2e 100%);
  color: #fff;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.raffle-header .d-flex {
  align-items: center;
  flex-wrap: wrap; /* wrap on small widths */
  gap: 10px 14px;
}

/* Title (left) */
.raffle-title {
  margin: 0;
  font-weight: 700;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 320px; /* takes available space, can shrink */
  min-width: 0; /* enables text-overflow in flex */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}
.raffle-title .bi {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* Countdown (right group) */
.raffle-countdown {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem; /* adds spacing between buttons */
}

/* Status pill */
.raffle-status-badge {
  font-size: 0.75rem;
  border-radius: 999px;
  padding: 0.3rem 0.6rem;
  line-height: 1;
}

/* Countdown boxes */
.cd-boxes {
  display: flex;
  gap: 6px;
  flex-wrap: nowrap;
}
.cd-box {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  width: 56px;
  text-align: center;
  padding: 6px 4px;
}
.cd-num {
  display: block;
  font-weight: 800;
  font-size: 1.1rem;
  color: #fff;
  line-height: 1.1;
}
.cd-label {
  display: block;
  font-size: 0.7rem;
  opacity: 0.75;
  margin-top: 2px;
  color: #d9e2ef;
}

/* "Detay" button sizing in header */
#raffle-section .btn.btn-outline-light.btn-sm {
  line-height: 1.1;
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
}

/* Body (inside collapse) */
.raffle-body {
  background: #234e2e;
  color: #cfe2ff;
  padding: 18px 18px 18px 18px; /* room under header */
  min-height: 120px; /* prevents “instant small” look */
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.24s ease, transform 0.24s ease;
  will-change: opacity, transform;
}

#raffleAccordion .collapse.show .raffle-body,
#raffleAccordion .collapsing.is-raffle-visible .raffle-body,
#raffleAccordion .collapse.is-raffle-visible .raffle-body {
  opacity: 1;
  transform: translateY(0);
}

/* Meta grid */
.raffle-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 8px 0 10px; /* a bit more top space */
}
.raffle-meta .meta-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 8px 10px;
  display: flex;
  gap: 8px;
  align-items: center;
  color: #e2ecff;
}
.raffle-meta .bi {
  opacity: 0.9;
}

/* Prizes */
.prize-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.prize-chip {
  background: #008f32;
  border: 1px solid #243a61;
  color: #e9f2ff;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.85rem;
}

/* Progress */
.raffle-progress {
  height: 10px;
  border-radius: 999px;
  overflow: hidden;
}
.raffle-progress .progress-bar {
  height: 100%; /* <-- key */
  width: 0%;
  background: linear-gradient(90deg, #00c2ff, #22e58f);
  transition: width 0.6s ease; /* nice animation when ticking */
}

.raffle-description {
  padding-left: 18px;
  margin: 0 0 10px;
  color: #cfe2ff;
}
.raffle-description li {
  margin-bottom: 4px;
  line-height: 1.4;
}

/* --- Crucial accordion/collapse behavior ---
   Let Bootstrap animate with overflow hidden,
   but allow content to show fully when open. */
#raffleAccordion .collapsing {
  display: block !important;
  overflow: hidden;
  transition: none !important;
}
#raffleAccordion .collapse {
  overflow: hidden;
}
#raffleAccordion .collapse.show {
  display: block !important;
  overflow: hidden;
}

/* Tournament summary card */
.tournament-summary-card {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
  margin-bottom: 14px;
}

.ts-card-head {
  background: linear-gradient(135deg, #21432b 0%, #2c8941 60%, #345c2e 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.ts-title-wrap {
  min-width: 0;
}

.ts-overline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  opacity: 0.85;
  text-transform: uppercase;
}

.ts-title {
  margin: 3px 0 0;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ts-status {
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
  padding: 6px 10px;
  white-space: nowrap;
}

.ts-status.is-active {
  background: rgba(40, 167, 69, 0.22);
  border: 1px solid rgba(40, 167, 69, 0.6);
  color: #d7f7df;
}

.ts-status.is-inactive {
  background: rgba(108, 117, 125, 0.24);
  border: 1px solid rgba(108, 117, 125, 0.55);
  color: #e5e7eb;
}

.ts-card-body {
  background: #234e2e;
  color: #cfe2ff;
  padding: 14px 16px;
}

.ts-metric {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.ts-metric-label {
  color: #d9e2ef;
  font-size: 0.9rem;
}

.ts-metric-value {
  color: #fff;
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1;
}

.ts-message {
  margin-top: 6px;
  font-size: 0.82rem;
  color: #ffd76d;
}

/* Responsive tweaks */
@media (max-width: 992px) {
  .cd-box {
    width: 52px;
  }
}
@media (max-width: 768px) {
  .raffle-title {
    flex: 1 1 100%;
  } /* title on its own row */
  .raffle-countdown {
    width: 100%;
    justify-content: space-between;
  }
  .cd-box {
    width: 48px;
  }
}
@media (max-width: 420px) {
  .banner {
    min-height: 158px;
    padding: 12px;
    margin-bottom: 12px;
  }

  .banner-panel {
    width: 56%;
    row-gap: 12px;
  }

  .banner .selected-bonus-title {
    font-size: 1.14rem;
    line-height: 1.05;
  }

  .banner .request-button {
    padding: 8px 12px;
    font-size: 0.86rem;
  }

  .promo-card {
    margin-bottom: 8px;
    padding-left: 5px;
    padding-right: 5px;
  }

  #promotionCards {
    margin-left: -5px;
    margin-right: -5px;
  }

  .promo-card .card {
    margin-bottom: 7px;
  }

  .card-body {
    min-height: 124px;
    padding: 32px 11px 11px;
  }

  .bonus-history-panel {
    margin-top: 22px;
    margin-bottom: 42px;
    border-radius: 16px;
    padding: 12px;
  }

  .bonus-history-toggle {
    align-items: center;
  }

  .bonus-history-header {
    align-items: center;
    gap: 9px;
  }

  .bonus-history-icon {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
    border-radius: 12px;
  }

  .bonus-history-header h3 {
    font-size: 0.92rem;
  }

  .bonus-history-header p {
    font-size: 0.7rem;
  }

  .bonus-history-toggle-action {
    padding: 7px 8px;
    font-size: 0.72rem;
  }

  .bonus-history-summary {
    margin: 10px 0 12px;
  }

  .history-summary-pill {
    font-size: 0.72rem;
    padding: 5px 8px;
  }

  .bonus-history-card {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 10px;
    padding: 10px;
  }

  .bonus-history-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 11px;
  }

  .bonus-history-card-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .bonus-history-card-top strong {
    font-size: 0.86rem;
  }

  .bonus-history-status {
    font-size: 0.7rem;
  }

  .bonus-history-card-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .bonus-history-detail-btn {
    padding: 7px 13px;
  }

  .achievement-widget {
    margin-top: 2px;
    border-radius: 16px;
  }

  .achievement-main {
    align-items: center;
    padding: 10px 11px;
    gap: 10px;
  }

  .achievement-icon {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
    border-radius: 13px;
  }

  .achievement-header {
    gap: 8px;
  }

  .achievement-title {
    font-size: 0.92rem;
  }

  .achievement-footer {
    align-items: center;
    flex-direction: row;
    gap: 8px;
  }

  .achievement-info::after {
    right: -4px;
    width: min(250px, 68vw);
  }

  .achievement-reward,
  .achievement-next {
    font-size: 0.7rem;
  }

  .cd-box {
    width: 44px;
  }
  .raffle-title {
    font-size: 1rem;
  }

  .ts-card-head {
    padding: 10px 12px;
  }

  .ts-card-body {
    padding: 12px;
  }

  .ts-title {
    font-size: 0.98rem;
  }

  .ts-metric-value {
    font-size: 1.25rem;
  }
}
