* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f6f7fb;
  color: #222;
}

.container {
  width: min(880px, calc(100% - 32px));
  margin: 40px auto;
}

.admin-container {
  width: min(1280px, calc(100% - 32px));
}

h1 {
  margin-bottom: 8px;
}

.desc {
  color: #666;
  margin-bottom: 24px;
}

.card {
  background: #fff;
  border: 1px solid #e5e7ef;
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 18px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

label {
  display: block;
  margin: 10px 0 6px;
  font-weight: 600;
}

input,
textarea {
  width: 100%;
  border: 1px solid #ccd1dc;
  border-radius: 10px;
  padding: 12px;
  font-size: 16px;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

button {
  border: none;
  border-radius: 10px;
  padding: 12px 16px;
  margin-top: 12px;
  background: #222;
  color: #fff;
  font-size: 15px;
  cursor: pointer;
}

button:hover {
  opacity: 0.9;
}

.secondary-button,
.table-button {
  background: #e9ebf2;
  color: #222;
}

.danger-button {
  color: #b3261e;
}

.page-heading,
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.page-heading > button,
.section-heading > button {
  margin-top: 0;
}

.muted {
  color: #666;
}

.token-output {
  min-height: 180px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 12px 10px;
  border-bottom: 1px solid #e5e7ef;
  text-align: left;
  vertical-align: top;
}

.sort-header {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 600;
  white-space: nowrap;
}

.sort-header:hover {
  color: #555;
  opacity: 1;
}

.sort-header.active {
  color: #236b2e;
}

.sort-indicator {
  width: 12px;
  color: #8b91a1;
  text-align: center;
}

.sort-header.active .sort-indicator {
  color: #236b2e;
}

.token-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
}

.bulk-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 12px;
  padding: 10px 12px;
  border: 1px solid #e1e5ec;
  border-radius: 10px;
  background: #f8fafc;
}

.bulk-actions > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bulk-actions button {
  margin: 0;
  padding: 8px 12px;
}

.bulk-delete-button {
  border: 1px solid #efc7c3;
  background: #fff4f3;
}

.select-column {
  width: 42px;
  text-align: center;
}

.row-checkbox {
  width: 17px;
  height: 17px;
  margin: 0;
  padding: 0;
  accent-color: #236b2e;
  cursor: pointer;
}

tr.selected-row td {
  background: #f3f8f3;
}

.assignment-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: end;
  margin: 4px 0 18px;
  padding: 16px;
  border: 1px solid #dce8de;
  border-radius: 12px;
  background: #f7fbf7;
}

.assignment-panel label,
.assignment-panel p {
  margin: 0;
}

.assignment-panel p {
  margin-top: 6px;
}

.assignment-controls {
  display: grid;
  grid-template-columns: 110px auto;
  gap: 10px;
}

.assignment-controls input,
.assignment-controls button {
  margin: 0;
}

.assignment-result {
  margin: 0 0 18px;
  padding: 16px;
  border: 1px solid #dce8de;
  border-radius: 12px;
  background: #fbfdfb;
}

.assignment-status {
  display: block;
  white-space: nowrap;
}

.assignment-status.assigned {
  color: #236b2e;
}

.assignment-status.unassigned {
  color: #8b5e00;
}

.assignment-status + small {
  display: block;
  margin-top: 4px;
  color: #777;
  white-space: nowrap;
}

.user-delete-status {
  display: block;
  white-space: nowrap;
}

.user-delete-status.deleted {
  color: #b3261e;
}

.user-delete-status.active {
  color: #666;
}

.user-delete-status + small {
  display: block;
  margin-top: 4px;
  color: #777;
  white-space: nowrap;
}

.assign-button {
  color: #236b2e;
}

.assign-button.assigned {
  border: 1px solid #bfe2c4;
  background: #ecf8ee;
  color: #236b2e;
  font-weight: 600;
}

.filter-button {
  min-width: 82px;
  padding: 8px 14px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #475569;
}

.filter-button:hover {
  border-color: #64748b;
  background: #f8fafc;
}

.filter-button.active {
  border-color: #236b2e;
  background: #236b2e;
  color: #ffffff;
}

.token-cell {
  max-width: 220px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  word-break: break-all;
}

.status {
  white-space: nowrap;
  font-weight: 600;
}

.status.used {
  color: #666;
}

.status.unused {
  color: #236b2e;
}

.table-button {
  padding: 7px 10px;
  margin: 0 6px 6px 0;
}

@media (max-width: 700px) {
  .assignment-panel {
    grid-template-columns: 1fr;
  }

  .assignment-controls {
    grid-template-columns: 1fr;
  }

  .bulk-actions {
    align-items: stretch;
    flex-direction: column;
  }
}

details pre {
  min-width: 260px;
}

.hidden {
  display: none;
}

.message {
  min-height: 22px;
  color: #236b2e;
}

.message.error {
  color: #b3261e;
}

pre {
  background: #f3f4f8;
  border-radius: 10px;
  padding: 12px;
  white-space: pre-wrap;
  word-break: break-all;
}

@media (max-width: 640px) {
  .page-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

}

/* Tarot customer experience */
.tarot-page {
  --tarot-bg: #160900;
  --tarot-panel: #211100;
  --tarot-gold: #c9a84c;
  --tarot-gold-light: #e8c96a;
  --tarot-gold-dark: #76551c;
  --tarot-cream: #f5e6c8;
  --tarot-muted: #c8b898;
  min-height: 100vh;
  background:
    radial-gradient(circle at 15% 10%, rgba(201, 168, 76, 0.08), transparent 35%),
    radial-gradient(circle at 85% 80%, rgba(201, 168, 76, 0.07), transparent 40%),
    var(--tarot-bg);
  color: var(--tarot-cream);
  font-family: "Lora", Georgia, serif;
}

.tarot-page::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.25;
  background-image:
    radial-gradient(circle at 20% 30%, #fff 0 1px, transparent 1.5px),
    radial-gradient(circle at 70% 15%, #fff 0 1px, transparent 1.5px),
    radial-gradient(circle at 85% 65%, #fff 0 1px, transparent 1.5px),
    radial-gradient(circle at 35% 80%, #fff 0 1px, transparent 1.5px);
  background-size: 170px 170px, 230px 230px, 280px 280px, 310px 310px;
}

.tarot-header {
  position: relative;
  z-index: 1;
  padding: 42px 16px 28px;
  text-align: center;
  border-bottom: 1px solid var(--tarot-gold-dark);
  background: linear-gradient(180deg, rgba(8, 2, 0, 0.92), rgba(22, 9, 0, 0.7));
}

.tarot-header h1 {
  margin: 8px 0;
  color: var(--tarot-gold);
  font-family: "Cinzel", serif;
  font-size: clamp(2rem, 6vw, 3.3rem);
  letter-spacing: 0.18em;
  text-shadow: 0 0 28px rgba(201, 168, 76, 0.4);
}

.tarot-header p,
.tarot-stars {
  color: var(--tarot-gold-dark);
  font-family: "Cinzel", serif;
  font-size: 0.74rem;
  letter-spacing: 0.35em;
}

.tarot-container {
  position: relative;
  z-index: 1;
  width: min(1040px, calc(100% - 28px));
  margin: 32px auto 72px;
}

.tarot-panel {
  margin-bottom: 24px;
  padding: clamp(20px, 4vw, 34px);
  border: 1px solid var(--tarot-gold-dark);
  border-radius: 4px;
  background: rgba(33, 17, 0, 0.94);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.35);
}

.tarot-panel h2,
.section-heading-centered > span {
  color: var(--tarot-gold);
  font-family: "Cinzel", serif;
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  letter-spacing: 0.13em;
}

.tarot-panel p,
.section-heading-centered p {
  color: var(--tarot-muted);
  line-height: 1.75;
}

.tarot-page label {
  color: var(--tarot-gold-light);
}

.tarot-page input,
.tarot-page textarea {
  color: var(--tarot-cream);
  border: 1px solid #624817;
  border-radius: 2px;
  outline: none;
  background: #120900;
}

.tarot-page input:focus,
.tarot-page textarea:focus {
  border-color: var(--tarot-gold);
  box-shadow: 0 0 0 2px rgba(201, 168, 76, 0.13);
}

.tarot-page input.invalid {
  border-color: #c87878;
  box-shadow: 0 0 0 2px rgba(200, 120, 120, 0.14);
}

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

.tarot-page button {
  border: 1px solid var(--tarot-gold);
  border-radius: 2px;
  background: var(--tarot-gold);
  color: #1b0b00;
  font-family: "Cinzel", serif;
  letter-spacing: 0.08em;
}

.tarot-page button:disabled {
  cursor: default;
  opacity: 0.45;
}

.tarot-message {
  min-height: 24px;
  margin: 14px 0 0;
  color: #8acc8a;
}

.tarot-message.error {
  color: #e19898;
}

.section-heading-centered {
  margin: 8px 0 28px;
  text-align: center;
}

.section-heading-centered p {
  margin-top: 8px;
}

.shuffle-area {
  margin: 22px 0;
  padding: 18px;
  text-align: center;
  border: 1px dashed #594014;
  background: rgba(10, 4, 0, 0.35);
}

.shuffle-area p {
  margin-top: 0;
}

.outline-button,
.text-button {
  background: transparent !important;
  color: var(--tarot-gold) !important;
}

.shuffling {
  animation: shufflePulse 0.22s ease-in-out infinite alternate;
}

@keyframes shufflePulse {
  from { transform: translateX(-4px) rotate(-1deg); }
  to { transform: translateX(4px) rotate(1deg); }
}

.manual-hint,
.consume-warning {
  text-align: center;
  font-size: 0.9rem;
}

.selection-progress {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 18px 0;
}

.selection-progress span {
  padding: 10px;
  border: 1px solid #4a3511;
  color: var(--tarot-muted);
  text-align: center;
  font-family: "Cinzel", serif;
}

.selection-progress span.selected {
  border-color: var(--tarot-gold);
  color: var(--tarot-gold);
  background: rgba(201, 168, 76, 0.08);
}

.hidden-deck {
  display: grid;
  grid-template-columns: repeat(13, minmax(36px, 1fr));
  gap: 8px;
  margin: 22px 0 28px;
}

.hidden-card {
  position: relative;
  aspect-ratio: 2 / 3;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  border: 1px solid #76551c !important;
  border-radius: 5px;
  background:
    radial-gradient(circle, #c9a84c 0 5%, transparent 6%),
    repeating-linear-gradient(45deg, #160925 0 5px, #2a1240 5px 10px) !important;
  box-shadow: inset 0 0 0 3px #160925, inset 0 0 0 4px #9a762c;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.hidden-card:hover {
  transform: translateY(-5px);
  box-shadow:
    0 8px 16px rgba(0, 0, 0, 0.35),
    inset 0 0 0 3px #160925,
    inset 0 0 0 4px var(--tarot-gold);
}

.hidden-card.selected {
  transform: translateY(-8px);
  border-color: var(--tarot-gold) !important;
  box-shadow: 0 0 18px rgba(201, 168, 76, 0.55);
}

.hidden-card span {
  position: absolute;
  inset: auto 2px 4px;
  padding: 2px;
  color: #fff4c2;
  background: rgba(18, 9, 0, 0.88);
  font-size: clamp(0.48rem, 1vw, 0.68rem);
  line-height: 1.2;
  letter-spacing: 0;
}

.draw-button {
  display: block;
  min-width: min(100%, 320px);
  margin: 30px auto 12px !important;
  padding: 15px 24px !important;
}

.three-cards-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 4vw, 44px);
  align-items: start;
  margin: 32px auto;
}

.tarot-card-slot {
  text-align: center;
}

.position-label {
  display: block;
  margin-bottom: 12px;
  color: var(--tarot-gold);
  font-family: "Cinzel", serif;
  letter-spacing: 0.14em;
}

.flip-card {
  width: min(100%, 220px);
  aspect-ratio: 0.565;
  margin: 0 auto !important;
  padding: 0 !important;
  border: 0 !important;
  perspective: 1100px;
  background: transparent !important;
}

.flip-inner {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.2, 0.75, 0.25, 1);
  transform-style: preserve-3d;
}

.flip-card.flipped .flip-inner {
  transform: rotateY(180deg);
}

.tarot-card-back,
.tarot-card-face {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border: 2px solid var(--tarot-gold-dark);
  border-radius: 7px;
  backface-visibility: hidden;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
}

.tarot-card-back {
  display: grid;
  place-items: center;
  color: var(--tarot-gold);
  background:
    repeating-radial-gradient(circle at center, transparent 0 15px, rgba(201, 168, 76, 0.14) 16px 17px),
    linear-gradient(135deg, #120700, #301900 48%, #120700);
}

.tarot-card-back::before,
.tarot-card-back::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid #7a5c20;
}

.tarot-card-back::after {
  inset: 18px;
  transform: rotate(45deg);
}

.back-orbit,
.back-star,
.back-corner {
  position: absolute;
  z-index: 1;
  font-size: 2.2rem;
  text-shadow: 0 0 15px rgba(201, 168, 76, 0.65);
}

.back-star {
  font-size: 3.4rem;
}

.back-orbit {
  top: 22%;
}

.back-orbit.lower {
  top: auto;
  bottom: 22%;
}

.back-corner {
  top: 9%;
  font-size: 1rem;
}

.back-corner.lower {
  top: auto;
  bottom: 9%;
}

.tarot-card-face {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  background: #ead9b7;
  transform: rotateY(180deg);
}

.tarot-image-wrap {
  display: grid;
  min-height: 0;
  place-items: center;
  overflow: hidden;
  background: #130900;
}

.tarot-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reversed-image {
  transform: rotate(180deg);
}

.tarot-image-fallback {
  display: flex;
  min-height: 180px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--tarot-gold);
}

.tarot-card-info {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px;
  color: #2b1705;
  font-family: "Lora", serif;
}

.orientation {
  padding: 3px 6px;
  border: 1px solid #8a6a28;
  font-size: 0.72rem;
  white-space: nowrap;
}

.orientation.reversed {
  color: #8b2020;
  border-color: #8b2020;
}

.spread-details {
  display: grid;
  gap: 14px;
  margin-top: 32px;
}

.reading-detail,
.copy-panel {
  padding: 20px;
  border: 1px solid var(--tarot-gold-dark);
  background: rgba(33, 17, 0, 0.94);
}

.reading-detail h3,
.copy-panel h3 {
  margin: 0 0 8px;
  color: var(--tarot-gold);
  font-family: "Cinzel", serif;
  font-size: 0.95rem;
}

.reading-detail p {
  color: var(--tarot-muted);
  line-height: 1.8;
}

.keyword-line {
  color: var(--tarot-gold) !important;
  font-size: 0.85rem;
}

.copy-panel {
  margin-top: 24px;
}

.user-delete-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 26px;
  padding: 18px;
  border: 1px solid #6f3535;
  background: rgba(91, 29, 29, 0.18);
}

.user-delete-panel h3,
.user-delete-panel p {
  margin: 0;
}

.user-delete-panel h3 {
  color: #e3a0a0;
}

.user-delete-panel p {
  margin-top: 7px;
  color: var(--tarot-muted);
  line-height: 1.6;
}

.user-delete-button {
  flex: 0 0 auto;
  margin: 0 !important;
  border-color: #a45151 !important;
  background: #6f2929 !important;
  color: #fff1f1 !important;
}

.ai-analysis-panel {
  margin-top: 28px;
  padding: clamp(20px, 4vw, 30px);
  border: 1px solid var(--tarot-gold);
  background:
    radial-gradient(circle at 100% 0, rgba(201, 168, 76, 0.1), transparent 35%),
    rgba(25, 12, 0, 0.96);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.36);
}

.ai-analysis-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid #4a3511;
}

.ai-analysis-heading h2 {
  margin: 5px 0 0;
  color: var(--tarot-gold);
  font-family: "Cinzel", serif;
  font-size: 1.25rem;
  letter-spacing: 0.12em;
}

.ai-kicker {
  color: var(--tarot-gold-dark);
  font-family: "Cinzel", serif;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
}

.ai-status {
  padding: 5px 9px;
  border: 1px solid #76551c;
  color: var(--tarot-muted);
  font-size: 0.75rem;
  white-space: nowrap;
}

.ai-status.completed {
  color: #8acc8a;
  border-color: #4f7e4f;
}

.ai-status.failed {
  color: #e19898;
  border-color: #8b4444;
}

.ai-loading {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 28px 4px 12px;
  color: var(--tarot-muted);
}

.ai-loading.hidden {
  display: none;
}

.ai-analysis-start {
  padding-top: 24px;
  text-align: center;
}

.ai-analysis-start p {
  margin: 0 auto 18px;
  max-width: 620px;
  color: var(--tarot-muted);
  line-height: 1.75;
}

.ai-generate-button {
  width: min(100%, 360px);
  margin: 0 auto;
}

.ai-orb {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  border: 2px solid #4a3511;
  border-top-color: var(--tarot-gold);
  border-radius: 50%;
  animation: aiSpin 0.9s linear infinite;
}

@keyframes aiSpin {
  to { transform: rotate(360deg); }
}

.ai-analysis-content {
  display: grid;
  gap: 18px;
  padding-top: 22px;
}

.ai-analysis-content section {
  padding-left: 16px;
  border-left: 2px solid #76551c;
}

.ai-analysis-content h3 {
  margin: 0 0 8px;
  color: var(--tarot-gold);
  font-family: "Cinzel", serif;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
}

.ai-analysis-content p,
.ai-analysis-error p,
.ai-disclaimer {
  color: var(--tarot-muted);
  line-height: 1.85;
}

.ai-analysis-error {
  padding-top: 22px;
}

.ai-disclaimer {
  margin: 22px 0 0;
  font-size: 0.78rem;
  opacity: 0.72;
}

.modal-privacy {
  margin-top: 12px !important;
  padding-top: 12px;
  border-top: 1px solid #4a3511;
  font-size: 0.84rem !important;
}

.copy-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
}

.copy-heading p {
  color: var(--tarot-muted);
}

.copy-panel pre,
.tarot-panel pre {
  color: var(--tarot-muted);
  border: 1px solid #493411;
  background: #120900;
  line-height: 1.75;
}

.modal-open {
  overflow: hidden;
}

.tarot-modal {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
}

.tarot-modal.hidden {
  display: none;
}

.tarot-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 2, 0, 0.82);
  backdrop-filter: blur(5px);
  animation: modalFade 0.2s ease-out;
}

.tarot-modal-dialog {
  position: relative;
  width: min(440px, 100%);
  padding: 34px 28px 28px;
  color: var(--tarot-cream);
  border: 1px solid var(--tarot-gold);
  background:
    radial-gradient(circle at 50% 0, rgba(201, 168, 76, 0.14), transparent 45%),
    #211100;
  box-shadow:
    0 0 0 6px rgba(201, 168, 76, 0.05),
    0 24px 80px rgba(0, 0, 0, 0.7);
  text-align: center;
  animation: modalAppear 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.tarot-modal-dialog::before,
.tarot-modal-dialog::after {
  content: "";
  position: absolute;
  width: 44px;
  height: 44px;
  border-color: var(--tarot-gold-dark);
}

.tarot-modal-dialog::before {
  top: 8px;
  left: 8px;
  border-top: 1px solid;
  border-left: 1px solid;
}

.tarot-modal-dialog::after {
  right: 8px;
  bottom: 8px;
  border-right: 1px solid;
  border-bottom: 1px solid;
}

.modal-symbol {
  color: var(--tarot-gold);
  font-size: 1.6rem;
  text-shadow: 0 0 18px rgba(201, 168, 76, 0.8);
}

.tarot-modal-dialog h2 {
  margin: 10px 0 14px;
  color: var(--tarot-gold);
  font-family: "Cinzel", serif;
  letter-spacing: 0.16em;
}

.tarot-modal-dialog p {
  margin: 0;
  color: var(--tarot-muted);
  font-size: 1rem;
  line-height: 1.8;
}

.tarot-modal-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 26px;
}

.tarot-modal-actions button {
  min-width: 120px;
  margin-top: 0;
}

@keyframes modalFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

@media (max-width: 700px) {
  .token-row,
  .selection-progress,
  .three-cards-layout {
    grid-template-columns: 1fr;
  }

  .hidden-deck {
    grid-template-columns: repeat(6, minmax(34px, 1fr));
    gap: 7px;
  }

  .token-row button {
    margin-top: 0;
  }

  .three-cards-layout {
    max-width: 260px;
    gap: 30px;
  }

  .copy-heading {
    flex-direction: column;
  }

  .user-delete-panel {
    align-items: stretch;
    flex-direction: column;
  }

  .tarot-modal-actions {
    flex-direction: column-reverse;
  }

  .tarot-modal-actions button {
    width: 100%;
  }
}
