:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f5f7f7;
  color: #17201d;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
}

a {
  color: #12634f;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 64px;
  padding: 0 clamp(18px, 4vw, 48px);
  border-bottom: 1px solid #d7e1de;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
}

.brand {
  color: #17201d;
  font-weight: 800;
  text-decoration: none;
}

.nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
  font-size: 0.94rem;
}

.nav a,
.nav-form button {
  color: #26332f;
  font-weight: 700;
  text-decoration: none;
}

.nav-form {
  margin: 0;
}

.nav-form button {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
}

.nav-user {
  color: #5b6965;
}

.page {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(34px, 6vw, 72px) 0;
}

.hero {
  display: grid;
  align-items: center;
  min-height: calc(100vh - 180px);
}

.hero h1,
.section-heading h1,
.form-header h1 {
  margin: 0;
  color: #17201d;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 12ch;
  font-size: clamp(2.7rem, 8vw, 5.8rem);
  line-height: 0.95;
}

.lead {
  max-width: 56ch;
  margin: 22px 0 0;
  color: #4c5a56;
  font-size: 1.12rem;
  line-height: 1.65;
}

.eyebrow {
  margin: 0 0 12px;
  color: #21735f;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid #95b8ae;
  border-radius: 6px;
  color: #12382f;
  background: #edf6f2;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  border-color: #12634f;
  color: #ffffff;
  background: #12634f;
}

.button.gold {
  border-color: #b78a25;
  color: #2f2207;
  background: #f2c45b;
}

.button.blue {
  border-color: #2b63b7;
  color: #ffffff;
  background: #2f6fdb;
}

.button.danger {
  border-color: #a6362f;
  color: #ffffff;
  background: #b33b33;
}

.button.compact {
  min-height: 36px;
  padding-inline: 12px;
  font-size: 0.88rem;
}

.button:disabled {
  border-color: #c5cfcc;
  color: #74817d;
  background: #eef2f1;
  cursor: not-allowed;
}

.auth-layout {
  display: grid;
  place-items: center;
  min-height: calc(100vh - 180px);
}

.auth-panel,
.side-panel,
.tile {
  border: 1px solid #d5dfdc;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 44px rgba(23, 32, 29, 0.08);
}

.auth-panel {
  width: min(460px, 100%);
  padding: clamp(24px, 5vw, 40px);
}

.account-settings-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 380px);
  gap: 22px;
  align-items: start;
}

.account-profile-panel,
.account-security-panel {
  width: 100%;
}

.account-profile-panel {
  display: grid;
  gap: 18px;
  align-content: start;
  padding: clamp(24px, 4vw, 34px);
}

.account-security-panel {
  display: grid;
  gap: 20px;
  align-content: start;
  padding: 24px;
}

.account-settings-layout .form-header h1 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.05;
}

.account-security-panel .form-header h1 {
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  line-height: 1.12;
}

.account-section {
  display: grid;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid #d5dfdc;
}

.account-section-heading {
  display: grid;
  gap: 4px;
}

.account-section-heading h2 {
  margin: 0;
  color: #24443c;
  font-size: 1rem;
  line-height: 1.2;
}

.account-fields-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 16px;
}

.account-identity-fields,
.account-password-pair {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.account-password-current {
  width: 100%;
}

.account-profile-panel > label,
.account-fields-grid label,
.account-section > label,
.account-security-panel label,
.two-factor-disable-form label {
  margin-bottom: 0;
}

.account-actions-row {
  display: flex;
  justify-content: flex-end;
  padding-top: 2px;
}

.account-field-stack {
  display: grid;
  gap: 8px;
  align-content: start;
}

.account-profile-panel label {
  align-content: start;
}

.account-field-stack .field-rules,
.account-field-stack .password-rules {
  margin: 0;
}

.account-security-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 0;
}

.status-badge {
  display: inline-grid;
  place-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid #b8c7c2;
  border-radius: 999px;
  color: #4d5e59;
  background: #f4f7f6;
  font-size: 0.78rem;
  font-weight: 900;
}

.status-badge.enabled {
  border-color: #9ed1c0;
  color: #155442;
  background: #effaf6;
}

.two-factor-configurator {
  display: grid;
  gap: 16px;
}

.two-factor-configurator summary {
  width: max-content;
  list-style: none;
}

.two-factor-configurator summary::-webkit-details-marker {
  display: none;
}

.two-factor-setup {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.two-factor-qr {
  display: grid;
  place-items: center;
  width: min(220px, 100%);
  aspect-ratio: 1;
  padding: 12px;
  border: 1px solid #d5dfdc;
  border-radius: 8px;
  color: #17201d;
  background: #ffffff;
}

.two-factor-qr svg {
  display: block;
  width: 100%;
  height: 100%;
}

.two-factor-key {
  display: grid;
  gap: 6px;
  padding: 12px;
  border: 1px solid #d5dfdc;
  border-radius: 8px;
  background: #fbfdfc;
}

.two-factor-key span {
  color: #5b6965;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.two-factor-key strong {
  font-size: 0.92rem;
  overflow-wrap: anywhere;
}

.two-factor-disable-form {
  display: grid;
  gap: 14px;
  margin-top: 0;
}

.two-factor-setup form {
  display: grid;
  gap: 14px;
}

.account-security-panel .form-note {
  margin: 0;
}

.wide-panel {
  width: min(620px, 100%);
}

.settings-section {
  display: grid;
  gap: 12px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid #d5dfdc;
}

.settings-section h2 {
  margin: 0;
  font-size: 1.1rem;
}

.danger-section {
  width: min(620px, 100%);
  margin-top: 28px;
  border-top-color: #d7aaa5;
}

.danger-section .eyebrow {
  color: #9e332d;
}

.danger-section .actions {
  margin-top: 14px;
}

.form-header {
  margin-bottom: 24px;
}

.form-header h1,
.section-heading h1 {
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1;
}

label {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  color: #34423e;
  font-size: 0.9rem;
  font-weight: 800;
}

input,
select {
  width: 100%;
  min-height: 42px;
  border: 1px solid #b8c7c2;
  border-radius: 6px;
  padding: 0 12px;
  color: #17201d;
  background: #fbfdfc;
  font: inherit;
}

.password-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.password-toggle {
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid #95b8ae;
  border-radius: 6px;
  color: #12382f;
  background: #edf6f2;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.password-rules,
.field-rules {
  display: grid;
  gap: 6px;
  margin: -6px 0 16px;
  padding: 0;
  color: #6d2b20;
  font-size: 0.88rem;
  font-weight: 700;
  list-style: none;
}

.password-rules li::before,
.field-rules li::before {
  content: "x";
  display: inline-grid;
  place-items: center;
  width: 18px;
  margin-right: 6px;
  color: #8f2c1d;
  font-weight: 900;
}

.password-rules li[data-valid="true"],
.field-rules li[data-valid="true"] {
  color: #155442;
}

.password-rules li[data-valid="true"]::before,
.field-rules li[data-valid="true"]::before {
  content: "ok";
  width: 24px;
  color: #155442;
}

input[readonly] {
  color: #5b6965;
  background: #eef3f1;
}

input:focus,
select:focus,
button:focus,
a:focus {
  outline: 3px solid rgba(18, 99, 79, 0.24);
  outline-offset: 2px;
}

.form-note {
  margin: 18px 0 0;
  color: #5b6965;
}

.history-list {
  display: grid;
  gap: 10px;
}

.history-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  padding: 12px;
  border: 1px solid #e0e8e5;
  border-radius: 6px;
  background: #fbfdfc;
}

.history-item p {
  margin: 4px 0 0;
  color: #5b6965;
  overflow-wrap: anywhere;
}

.history-item time {
  color: #5b6965;
  font-size: 0.82rem;
  font-weight: 800;
  white-space: nowrap;
}

.messages {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
}

.message {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid #d5dfdc;
  border-radius: 6px;
  background: #ffffff;
}

.message.error {
  border-color: #e5b0a8;
  color: #7a2618;
  background: #fff3f0;
}

.message.success {
  border-color: #a8d4c5;
  color: #155442;
  background: #effaf6;
}

.workspace {
  display: grid;
  gap: 28px;
}

.section-heading {
  display: grid;
  gap: 4px;
}

.admin-users-heading {
  width: 100%;
}

.admin-users-title-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
}

.refresh-button {
  width: 42px;
  min-width: 42px;
  justify-self: end;
  font-size: 1.15rem;
}

.blackjack-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  align-items: center;
}

.metric.positive {
  color: #176647;
}

.metric.negative {
  color: #9b2f23;
}

.metric.neutral {
  color: #5b6965;
}

.balance-history {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.balance-history h3 {
  margin: 0;
  color: #24443c;
  font-size: 0.96rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.tile {
  padding: 22px;
}

.tile h2,
.side-panel h2 {
  margin: 0 0 10px;
  font-size: 1rem;
}

.tile p {
  margin: 0;
  color: #5b6965;
  line-height: 1.55;
}

.stat {
  display: block;
  margin-bottom: 18px;
  color: #12634f;
  font-size: 1.6rem;
  font-weight: 900;
}

.admin-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 300px);
  gap: 18px;
  align-items: start;
}

.blackjack-layout {
  --blackjack-surface-height: 510px;
  display: grid;
  grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.admin-users-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.admin-users-layout .table-wrap {
  width: 100%;
}

.admin-users-layout .side-panel {
  width: min(420px, 100%);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid #d5dfdc;
  border-radius: 8px;
  background: #ffffff;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 860px;
}

th,
td {
  padding: 14px;
  border-bottom: 1px solid #e7eeee;
  text-align: left;
  vertical-align: middle;
}

th {
  color: #5b6965;
  font-size: 0.78rem;
  text-transform: uppercase;
}

tr:last-child td {
  border-bottom: 0;
}

.admin-actions-column {
  position: sticky;
  right: 0;
  z-index: 2;
  width: 68px;
  min-width: 68px;
  text-align: center;
  background: #ffffff;
  box-shadow: -10px 0 16px rgba(23, 32, 29, 0.08);
}

th.admin-actions-column {
  z-index: 3;
  background: #ffffff;
}

.inline-form {
  display: contents;
}

.check {
  display: flex;
  grid-template-columns: none;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.check input {
  width: 18px;
  min-height: 18px;
}

.muted {
  color: #6b7975;
  font-weight: 800;
}

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 36px;
  aspect-ratio: 1;
  border: 1px solid #95b8ae;
  border-radius: 6px;
  color: #12382f;
  background: #edf6f2;
  font-size: 1rem;
  font-weight: 900;
  text-decoration: none;
}

.icon-button:hover {
  background: #dbece6;
}

.side-panel {
  padding: 20px;
}

.role-list {
  display: grid;
  gap: 8px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.role-list li {
  padding: 8px 10px;
  border-radius: 6px;
  background: #edf6f2;
  color: #24443c;
  font-weight: 800;
}

.stacked {
  display: grid;
  gap: 12px;
}

.bet-stepper {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  align-items: stretch;
  min-height: 44px;
}

.bet-stepper input {
  min-width: 0;
  border-inline: 0;
  border-radius: 0;
  text-align: center;
}

.bet-stepper input::-webkit-outer-spin-button,
.bet-stepper input::-webkit-inner-spin-button {
  margin: 0;
  appearance: none;
}

.bet-stepper input[type="number"] {
  appearance: textfield;
}

.bet-presets {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.button.compact {
  min-height: 38px;
  padding: 8px 12px;
}

.stepper-button {
  min-height: 44px;
  padding: 0;
  border: 1px solid #adc5bd;
  color: #12382f;
  background: #edf6f2;
  font-size: 1.2rem;
  font-weight: 900;
}

.stepper-button:first-child {
  border-radius: 6px 0 0 6px;
}

.stepper-button:last-child {
  border-radius: 0 6px 6px 0;
}

.stepper-button:hover {
  background: #dbece6;
}

.coins-input {
  max-width: 110px;
}

.grid[data-experience-grid] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 540px) {
  .grid[data-experience-grid] {
    grid-template-columns: 1fr;
  }
}

.experience-tile {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.experience-tile .actions {
  margin-top: auto;
}

.experience-tile__image {
  display: block;
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 16px;
  background: #0c4536;
}

.counter-form {
  max-width: 520px;
}

.counter-date-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.date-picker-field {
  position: relative;
}

.date-picker-field input[type="date"] {
  cursor: pointer;
}

.date-picker-field input[type="date"]::-webkit-calendar-picker-indicator {
  display: none;
}

.date-picker-popup {
  position: absolute;
  z-index: 30;
  top: calc(100% + 6px);
  left: 0;
  width: max-content;
  padding: 12px;
  background: #ffffff;
  border: 1px solid #d7e1de;
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(18, 99, 79, 0.16);
}

.date-picker-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.date-picker-selects {
  display: flex;
  gap: 6px;
}

.date-picker-select {
  width: auto;
  min-height: 32px;
  padding: 0 6px;
  border: 1px solid #d7e1de;
  border-radius: 8px;
  font-weight: 700;
  color: #17201d;
  background: #fbfdfc;
  cursor: pointer;
}

.date-picker-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  font-size: 1.1rem;
  line-height: 1;
  color: #12634f;
  background: transparent;
  border: 1px solid #d7e1de;
  border-radius: 8px;
  cursor: pointer;
}

.date-picker-nav:hover {
  background: #e0e8e5;
}

.date-picker-weekdays,
.date-picker-grid {
  display: grid;
  grid-template-columns: repeat(7, 36px);
  gap: 2px;
}

.date-picker-weekdays {
  margin-bottom: 4px;
}

.date-picker-weekdays span {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: #5b6965;
}

.date-picker-day {
  height: 36px;
  font: inherit;
  font-size: 0.9rem;
  color: #17201d;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 9px;
  cursor: pointer;
}

.date-picker-day:hover {
  background: #e0e8e5;
}

.date-picker-day.is-adjacent {
  color: #aab6b2;
}

.date-picker-day.is-today {
  border-color: #12634f;
}

.date-picker-day.is-selected,
.date-picker-day.is-selected:hover {
  background: #12634f;
  border-color: #12634f;
  color: #ffffff;
  font-weight: 700;
}

.date-picker-day:focus-visible {
  outline: 2px solid #12634f;
  outline-offset: 1px;
}

.counter-card {
  display: grid;
  align-content: start;
  gap: 10px;
}

.counter-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.counter-card-head h2 {
  margin: 0;
}

progress.counter-progress {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  height: 12px;
  border: none;
  border-radius: 6px;
  background: #e0e8e5;
  overflow: hidden;
}

progress.counter-progress::-webkit-progress-bar {
  background: #e0e8e5;
  border-radius: 6px;
}

progress.counter-progress::-webkit-progress-value {
  background: #12634f;
  border-radius: 6px;
  transition: width 200ms ease;
}

progress.counter-progress::-moz-progress-bar {
  background: #12634f;
  border-radius: 6px;
}

.counter-meta {
  margin: 0;
  color: #4c5a56;
}

.counter-dates {
  margin: 0;
  color: #5b6965;
  font-size: 0.9rem;
}

.counter-tz {
  color: #859390;
}

.counter-grid {
  grid-template-columns: 1fr;
}

.tz-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 100%;
  padding-right: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3 5l4 4 4-4' fill='none' stroke='%2312634f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 14px;
  cursor: pointer;
}

.tz-select:hover {
  border-color: #12634f;
}

.tab-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  border-bottom: 1px solid #d5dfdc;
  margin-bottom: 18px;
}

.tab-button {
  appearance: none;
  border: none;
  background: transparent;
  padding: 10px 16px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #4c5a56;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  border-radius: 8px 8px 0 0;
}

.tab-button:hover {
  color: #12634f;
  background: #eef4f1;
}

.tab-button.is-active {
  color: #12634f;
  border-bottom-color: #12634f;
}

.tab-button-danger {
  color: #b23b3b;
  margin-left: auto;
}

.tab-button-danger.is-active {
  border-bottom-color: #b23b3b;
}

.tab-panel[hidden] {
  display: none;
}

.tab-panel {
  display: grid;
  gap: 4px;
}

.admin-save-actions[hidden] {
  display: none;
}

.counter-share {
  display: flex;
  gap: 8px;
  align-items: center;
}

.counter-link {
  flex: 1;
  min-width: 0;
  font-size: 0.85rem;
}

.counter-actions {
  flex-wrap: wrap;
  margin-top: 6px;
}

.counter-actions form {
  margin: 0;
}

.counter-edit {
  margin-top: 4px;
}

.counter-edit summary {
  cursor: pointer;
  color: #21735f;
  font-weight: 600;
}

.counter-edit form {
  margin-top: 12px;
}

.public-counter {
  max-width: 560px;
}

.experience-search {
  width: min(360px, 100%);
}

.experience-search input {
  min-height: 40px;
  border-color: #d5dfdc;
  background: #ffffff;
}

.experience-empty {
  margin-top: 0;
}

.blackjack-controls {
  box-sizing: border-box;
  height: var(--blackjack-surface-height);
  overflow-y: auto;
}

.blackjack-table {
  --blackjack-surface-height: 510px;
  --blackjack-card-width: 78px;
  --blackjack-card-gap: 10px;
  --blackjack-hand-width: calc((var(--blackjack-card-width) * 2) + var(--blackjack-card-gap));
  box-sizing: border-box;
  display: grid;
  align-content: start;
  gap: 22px;
  height: var(--blackjack-surface-height);
  overflow-y: auto;
  scrollbar-gutter: stable;
  padding: 24px;
  border: 1px solid #d5dfdc;
  border-radius: 8px;
  background: #0f362e;
  color: #ffffff;
  box-shadow: 0 14px 44px rgba(23, 32, 29, 0.08);
}

.blackjack-table.split-table {
  align-content: start;
}

.player-hands {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
}

.hand {
  display: grid;
  gap: 12px;
}

.hand h2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: var(--blackjack-hand-width);
  margin: 0;
  font-size: 1rem;
}

.hand-total {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 900;
  text-align: right;
}

.cards {
  display: flex;
  flex-wrap: nowrap;
  gap: var(--blackjack-card-gap);
  width: max-content;
  min-width: var(--blackjack-hand-width);
}

.card {
  display: inline-grid;
  place-items: center;
  width: var(--blackjack-card-width);
  aspect-ratio: 7 / 10;
  border: 1px solid #dfe9e5;
  border-radius: 7px;
  color: #17201d;
  background: #ffffff;
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.card.card-enter {
  opacity: 0;
  transform: translateY(8px);
}

.card.card-enter.card-enter-active {
  animation: card-enter 180ms ease-out both;
}

.card-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
  image-rendering: pixelated;
}

.blackjack-table .actions {
  margin-top: 0;
}

.game-message,
.empty-state p,
.side-panel p {
  margin: 0;
  color: #dce9e5;
  line-height: 1.55;
}

.empty-state h2 {
  margin: 0 0 10px;
}

.side-panel p {
  color: #5b6965;
}

.divider {
  width: 100%;
  margin: 22px 0;
  border: 0;
  border-top: 1px solid #d5dfdc;
}

@keyframes card-enter {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .card.card-enter.card-enter-active {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 780px) {
  .topbar,
  .admin-layout,
  .blackjack-layout,
  .account-settings-layout,
  .account-fields-grid {
    grid-template-columns: 1fr;
  }

  .topbar {
    display: grid;
    align-items: start;
    padding-block: 14px;
  }

  .nav {
    justify-content: flex-start;
  }
}

