:root {
  --card-width: 100px;
  --card-height: calc(var(--card-width) * 1.3);
  --btn-width: 50px;
  --btn-height: 50px;
}

.card.non-interactive {
  opacity: 0.6;
  cursor: not-allowed;
  filter: grayscale(50%);
  pointer-events: none;
}

img {
  -webkit-user-drag: none;
  -webkit-user-select: none;
  user-select: none;
}

h3 {
  color: #000;
  margin-bottom: 10px;
  padding: 1rem;
}

.history-list {
  max-height: 150px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.history-item {
  padding: 5px 10px;
  font-size: 0.9rem;
  border-bottom: 1px dashed #000;
}

.history-item:last-child {
  font-weight: bold;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.game-container {
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 1vh;
  text-align: center;
}

.round-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-size: 1.1rem;
}

/* Scores */
.scores {
  display: grid;
  grid-template-columns: auto auto;
}

.score-rounds {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 0.9rem;
}

.total {
  font-weight: bold;
  color: #000;
  border-top: 1px solid #666;
  padding-top: 5px;
  margin-top: 5px;
}

/* Current Word */

.current-word {
  --current-word-size: 3rem;
  font-size: var(--current-word-size);
  font-weight: bold;
  color: #000;
  margin: 10px 0;
  letter-spacing: 3px;
}

.word-length {
  font-size: 1.2rem;
  color: #ccc;
}

/* Variable Cards */

.variable-cards {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

/* Cards */
.card {
  background: #fff;
  border: 2px solid #333;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  color: #333;
  cursor: grab;
  transition: all 0.3s ease;
  user-select: none;
  aspect-ratio: 3 / 4;
}

.card:hover {
  transform: translateY(-5px);
}

.hand-cards .card {
  position: relative;
  max-width: var(--card-width);
  height: var(--card-height);
  transition: all 0.3s ease;
  border-radius: 2px;
}

.hand-cards .card::before {
  content: "";
  position: absolute;
  border-radius: inherit;
  bottom: calc(var(--card-height) * -0.05);
  left: calc(var(--card-width) * 0.04);
  width: calc(var(--card-width) * 0.86);
  background: #00000047;
  height: calc(var(--card-height) * 0.02);
}

.hand-cards .card::after {
  content: "";
  position: absolute;
  border-radius: inherit;
  bottom: calc(var(--card-height) * -0.03);
  left: calc(var(--card-width) * 0.02);
  width: calc(var(--card-width) * 0.9);
  background: #383838;
  height: calc(var(--card-height) * 0.02);
}

.hand-cards .card:hover::before {
  display: none;
  content: "";
  position: absolute;
  border-radius: inherit;
  bottom: calc(var(--card-height) * -0.03);
  left: calc(var(--card-width) * 0.06);
  width: calc(var(--card-width) * 0.82);
  background: #00000047;
  height: calc(var(--card-height) * 0.02);
}

.hand-cards .card:hover::after {
  content: "";
  position: absolute;
  border-radius: inherit;
  bottom: calc(var(--card-height) * -0.02);
  left: calc(var(--card-width) * 0.04);
  width: calc(var(--card-width) * 0.86);
  background: #383838;
  height: calc(var(--card-height) * 0.02);
}

.card:active {
  cursor: grabbing;
  transform: scale(0.95);
}

.card.dragging {
  opacity: 0.7;
  transform: rotate(5deg);
  z-index: 1000;
}

.dragging.card::before,
.dragging.card::after {
  display: none;
}

.card.selected {
  border-color: #000;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
  opacity: 0.3;
  cursor: unset;
}

.card.selected:hover {
  transform: unset;
}

.card.unavailable {
  opacity: 0.5;
  cursor: not-allowed;
  background: #666;
}

/* Opponent's face-down cards */
.card.face-down {
  cursor: default;
  background-color: #fff;
  opacity: 0.8;
  background-image:
    linear-gradient(135deg, #404040 25%, transparent 25%),
    linear-gradient(225deg, #404040 25%, transparent 25%),
    linear-gradient(45deg, #404040 25%, transparent 25%),
    linear-gradient(315deg, #404040 25%, #fff 25%);
  background-position:
    10px 0,
    10px 0,
    0 0,
    0 0;
  background-size: 10px 10px;
  background-repeat: repeat;
  box-shadow: 0 5px 5px 0 rgb(0 0 0 / 0.2);
}

.card.face-down:hover {
  transform: none;
  box-shadow: none;
}

.card.face-down .card-symbol {
  display: none;
}

/* Variable Cards Specific */
.variable-card {
  background: #000;
  color: white;
  width: 50px;
  aspect-ratio: 3 / 4;
}

/* Number Cards */
.number-card {
  color: #000;
  /* box-shadow: 0 5px 5px 0 rgb(0 0 0 / 0.2);*/
}

/* Wild Cards */
.wild-card {
  color: #000;
  box-shadow: 0 5px 5px 0 rgb(0 0 0 / 0.2);
}

/* Bomb Cards */
.bomb-card {
  color: white;
  box-shadow: 0 5px 5px 0 rgb(0 0 0 / 0.2);
}

.bomb-card img {
  width: 40px;
}

.wild-card img {
  width: 40px;
}

/* Transformation Builder */

.transformation-builder {
  border-radius: 10px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 1rem;
  border: 3px dashed rgb(128, 128, 128);
}

.transformation-builder.drag-over {
  border-color: #000;
  background: rgba(255, 215, 0, 0.1);
}

.transformation-builder.drag-over img {
  transform: scale(0.8);
  opacity: 0.6;
}

.transformation-builder .card {
  width: 50%;
  cursor: pointer;
}

.transformation-builder .variable-card {
  width: 30%;
}

.drop-zone {
  color: #999;
  font-style: italic;
  text-align: center;
  width: 100%;
}

.drop-zone .icon {
  width: 30%;
  max-width: 50px;
}

.calculation {
  text-align: center;
  font-size: 1.1rem;
  color: #000;
}

/* Player Hands */
.player-hand {
  display: grid;
  grid-template-columns: auto;
  align-items: start;
  gap: 1rem;
  background: transparent;
  border-radius: 10px;
  text-align: center;
}

.player-hand.active {
  border-color: #000;
}

/* My hand sits at the bottom; flip inner order so name appears below cards */
.player-hand.bottom-hand h3 {
  order: 1;
}

.hand-cards {
  display: flex;
  gap: 10px;
  justify-content: center;
  min-height: 90px;
  align-items: center;
}

/* Word Input */
.word-input-section {
  padding: 1rem;
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
}

#word-input {
  width: 100%;
  padding: 0 0 1rem;
  font-size: clamp(1.25rem, 1.788vw + 0.39rem, 2rem);
  color: #333;
  text-align: center;
  text-transform: uppercase;
  border: none;
  border-bottom: 3px solid transparent;
}

#word-input:focus {
  outline: none;
  border-color: #000;
  border-bottom: 3px solid #000;
  background-color: rgba(255, 215, 0, 0.2);
  box-shadow: 0 0 50px rgba(255, 215, 0, 0.5);
}

.required-length {
  color: #000;
  font-weight: bold;
  margin: 1rem 0 0;
}

/* Buttons */
.btn-large {
  width: 100%;
  padding: 15px;
  font-size: 1.2rem;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 15px;
}

/* Action Buttons */
.action-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  align-content: center;
}

.btn-wrapper {
  z-index: 1;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: bottom;
}

.btn-wrapper::before {
  content: "";
  position: absolute;
  width: var(--btn-width);
  height: var(--btn-height);
  z-index: -1;
  background: darkgray;
  padding: 0.5rem;
  border-radius: 30% 30% 20% 20%;
  clip-path: polygon(2% 0%, 98% 0%, 100% 100%, 0% 100%);
}

.btn-wrapper::after {
  content: "";
  position: absolute;
  width: var(--btn-width);
  height: var(--btn-height);
  padding: 0.5rem;
  background: gray;
  z-index: -1;
  border-radius: 20%;
  clip-path: polygon(30% 0%, 70% 0%, 100% 100%, 0% 100%);
}

.btn-wrapper:active::before {
  transform: translateY(5px);
  border-radius: 25% 25% 20% 20%;
  height: calc(var(--btn-height) * 0.8);
  padding: 0.5rem 0.4rem;
}

.btn-wrapper:active::after {
  transform: translateY(5px);
  border-radius: 20%;
  height: calc(var(--btn-height) * 0.8);
  padding: 0.5rem 0.4rem;
}

.btn-wrapper:active {
  transform: translateY(5px);
}

.btn-wrapper.primary::before {
  background: linear-gradient(90deg, #92cd92, #489f48);
}

.btn-wrapper.primary::after {
  background: #537253;
}

.btn-wrapper.secondary::before {
  background: linear-gradient(90deg, #ccc, #8a8a8a);
}

.btn-wrapper.secondary::after {
  background: #5f5f5f;
}

.btn-wrapper.skip::before {
  background: linear-gradient(90deg, #e67ab5, #9f4777);
}

.btn-wrapper.skip::after {
  background: #46405f;
}

.btn {
  max-width: var(--btn-width);
  height: max-content;
  display: flex;
  justify-content: center;
  aspect-ratio: 1 / 1;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  text-transform: uppercase;
  border-radius: 20%;
  padding: 1rem;
}

.btn img {
  width: 100%;
  max-width: 24px;
}

.btn.primary {
  background: #489f48;
  outline: 2px solid #586b58;
  border: 2px solid #59df59;
  outline-offset: -1px;
  color: white;
}

.btn.secondary {
  background: #898989;
  color: black;
  outline: 2px solid #5f5f5f;
  border: 1px solid #ffffff;
}

.btn.skip {
  background: #9f4777;
  outline: 2px solid #393638;
  border: 1px solid #ff9bd1;
  color: white;
}

#play-again-btn {
  background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
  color: white;
}

#play-again-btn:hover {
  background: linear-gradient(135deg, #45a049 0%, #3d8b40 100%);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(5, 6, 5, 0.4);
}

#return-lobby-btn {
  background: linear-gradient(135deg, #2196f3 0%, #1976d2 100%);
  color: white;
}

#return-lobby-btn:hover {
  background: linear-gradient(135deg, #1976d2 0%, #1565c0 100%);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(33, 150, 243, 0.4);
}

.btn.danger {
  display: none;
  background: #a55959;
  outline: 2px solid #a559599c;
  color: white;
}

.btn:disabled {
  background: #898989;
  border: 1px solid #ffffff;
  cursor: not-allowed;
  transform: none;
}

.btn-wrapper:has(button:disabled),
.btn-wrapper:has(button:disabled)::before,
.btn-wrapper:has(button:disabled)::after {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.btn:disabled img {
  opacity: 0.3;
}

/* Messages */
.messages {
  position: fixed;
  top: 20px;
  right: 20px;
  max-width: 300px;
  z-index: 1000;
}

.message {
  background: rgba(0, 0, 0, 0.9);
  color: white;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 10px;
  border-left: 4px solid #000;
  animation: slideIn 0.3s ease;
}

.message.error {
  border-left-color: #f44336;
  background: rgba(244, 67, 54, 0.9);
}

.message.success {
  border-left-color: #4caf50;
  background: rgba(76, 175, 80, 0.9);
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Deck Info */
.deck-info {
  background: transparent;
  padding: 10px;
  border-radius: 8px;
  text-align: center;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.deck-count,
.discard-pile {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 2px solid #333;
  border-radius: 8px;
  width: 20%;
  aspect-ratio: 3 / 4;
}

.deck-info .discard-pile {
  border: 2px dashed #8d8d8d;
}

.deck-info .deck-count {
  background-color: #fff;
  opacity: 0.8;
  background-image:
    linear-gradient(135deg, #404040 25%, transparent 25%),
    linear-gradient(225deg, #404040 25%, transparent 25%),
    linear-gradient(45deg, #404040 25%, transparent 25%),
    linear-gradient(315deg, #404040 25%, #fff 25%);
  background-position:
    10px 0,
    10px 0,
    0 0,
    0 0;
  background-size: 10px 10px;
  background-repeat: repeat;
  border: 2px solid #404040;
}

.deck-count span,
.discard-pile span {
  background-color: #fff;
  padding: 5px;
  border: 1px solid #000;
  border-radius: 100px;
  min-width: 2rem;
  min-height: 2rem;
  aspect-ratio: 1 / 1;
  display: block;
}

/* custom */

body * {
  margin: 0;
  padding: 0;
  font-family: "Silkscreen", Arial, Helvetica, sans-serif;
}

h1,
h2 {
  margin: 0;
  padding: 0;
  font-size: 1.5rem;
}

.main-wrapper {
  margin: 0 auto;
  max-width: 1200px;
  padding: 1rem;
  transition: padding-bottom 0.25s ease;
  background-color: #fff;
}

.transformation-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  grid-column-start: 1;
  grid-row-start: 1;
  grid-row-end: 5;
  padding: 0 0 2rem;
}

.transformation-inner {
  display: flex;
  align-items: stretch;
  gap: 2rem;
  height: 100%;
}

.transformation-inner .transformation-builder {
  flex: 1;
}

.mobile-variable-cards {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
}

.mobile-variable-cards .hand-cards {
  flex: 1;
}

.variable-cards-section {
  align-self: center;
}

.scores-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: space-around;
  grid-column-start: 3;
  grid-row-start: 1;
}

.action-buttons {
  grid-column-start: 3;
  grid-row-start: 4;
}

/* Desktop grid positioning (col 2 elements & deck/history) */
.player-hand {
  grid-column-start: 2;
  grid-row-start: 1;
}

.current-word-section {
  grid-column-start: 2;
  grid-row-start: 2;
}

.word-input-section {
  grid-column-start: 2;
  grid-row-start: 3;
}

.bottom-hand {
  grid-column-start: 2;
  grid-row-start: 4;
}

.deck-info {
  grid-column-start: 3;
  grid-row-start: 2;
}

.play-history {
  grid-column-start: 3;
  grid-row-start: 3;
}

.tony-gif {
  display: none;
  text-align: center;
  width: 100%;
  position: fixed;
  bottom: 0;
  z-index: 1001;
  transform: translateY(100%);
}

.tony-gif img {
  width: 100%;
}

.tony-gif.gabagool {
  display: block;
  animation: slideUpDown 3s ease forwards;
}

@keyframes slideUpDown {
  0% {
    transform: translateY(100%);
    opacity: 0;
  }
  10% {
    transform: translateY(0);
    opacity: 1;
  }
  80% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(100%);
    opacity: 0;
  }
}

.gabagool-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
}

.gabagool-overlay.active {
  display: block;
}

/* Endgame popup */
.endgame-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1100;
  justify-content: center;
  align-items: center;
}

.endgame-overlay.active {
  display: flex;
}

.endgame-popup {
  background: #c3c3c3;
  border: 5px solid black;
  box-shadow: 0 8px 0 black;
  border-radius: 12px;
  padding: 2rem 2.5rem;
  text-align: center;
  max-width: 400px;
  width: 90%;
  font-family: "Silkscreen", monospace;
}

.endgame-popup h2 {
  margin: 0 0 0.75rem;
  font-size: 1.4rem;
  color: #333;
}

.endgame-popup p {
  margin: 0 0 1.5rem;
  font-size: 0.9rem;
  color: #666;
}

.endgame-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.endgame-buttons .btn {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
}

/* start mobile styles */

@media (max-width: 768px) {
  .game-container {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  /* grid positioning */
  .round-info {
    grid-column-start: 1;
    grid-row-start: 1;
  }

  .player-hand {
    grid-column-start: 1;
    grid-row-start: 2;
  }

  .current-word-section {
    grid-column-start: 1;
    grid-row-start: 3;
  }

  .word-input-section {
    grid-column-start: 1;
    grid-row-start: 4;
  }

  .bottom-hand {
    grid-column-start: 1;
    grid-row-start: 5;
  }

  .transformation-section {
    display: none;
  }

  .messages {
    top: auto;
    right: 10px;
    left: 10px;
    max-width: none;
  }

  .game-container > .scores-section {
    display: none;
  }

  .game-container > .play-history {
    display: none;
  }

  .game-container > .action-buttons {
    display: none;
  }

  .deck-info {
    grid-column-start: 1;
    grid-row-start: 6;
  }

  .btn {
    padding: 1rem;
  }

  /* end grid positioning */

  .main-wrapper {
    padding: 1rem 1.25rem;
  }

  .game-container {
    gap: 0;
    max-width: 500px;
  }

  .current-word {
    --current-word-size: 2rem;
    font-size: var(--current-word-size);
  }

  #word-input {
    font-size: 1rem;
    padding: 0;
  }

  .word-input-section {
    padding: 0;
  }

  .card {
    max-width: 120px;
  }

  .variable-card {
    width: 100%;
    max-width: 50px;
    border-radius: 5px;
    padding: 0.25rem;
  }

  .variable-card .card-symbol {
    font-size: 1rem;
  }

  .variable-cards {
    flex-direction: column;
    width: 10vw;
  }

  .round-info {
    flex-direction: row;
    justify-content: center;
    align-items: center;
  }

  .round-info .deck-info {
    display: flex;
    gap: 0.5rem;
    align-items: center;
  }
  .deck-count,
  .discard-pile {
    width: 50%;
    aspect-ratio: 3 / 4;
  }
  .deck-count span,
  .discard-pile span {
    font-size: 1rem;
  }

  .mobile-top-menu.open .mobile-top-menu-content {
    padding: 1rem;
  }

  .mobile-variable-cards {
    padding: 1rem 0 0;
  }

  .btn.primary,
  .btn.secondary,
  .btn.danger {
    max-width: clamp(3.125rem, 4.415vw + 2.256rem, 4.375rem);
  }
}

/* end mobile styles */

/* ─── Top menu bar ─────────────────────────────────────────────────────────── */

.mobile-top-menu {
  display: block;
  position: sticky;
  top: 0;
  z-index: 800;
}

.mobile-top-menu-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding-top: env(safe-area-inset-top);
  background: #333;
}

.mobile-top-menu-toggle {
  display: none;
}

.menu-title {
  color: #fff;
  font-family: "Silkscreen", monospace;
  font-size: 0.95rem;
  text-align: center;
}

.menu-buttons {
  display: flex;
  justify-content: flex-end;
}

.mobile-top-menu-content {
  display: none;
}

.darkmode-toggle {
  padding: 0.6rem 1rem;
  background: #333;
  color: #fff;
  border: none;
  border-left: 1px solid #555;
  font-size: 1.2rem;
  cursor: pointer;
}

.exit-to-lobby {
  padding: 0.6rem 1rem;
  background: #333;
  color: #fff;
  border: none;
  cursor: pointer;
}

.exit-to-lobby img {
  opacity: 0.8;
}

@media (max-width: 768px) {
  .mobile-top-menu-toggle {
    display: flex;
    flex: 1;
    padding: 0.6rem 1rem;
    background: #333;
    color: #fff;
    border: none;
    font-family: "Silkscreen", monospace;
    font-size: 0.85rem;
    cursor: pointer;
    align-items: center;
    gap: 0.5rem;
  }

  .toggle-chevron {
    font-size: 0.7rem;
    transition: transform 0.25s ease;
  }

  .mobile-top-menu.open .toggle-chevron {
    transform: rotate(180deg);
  }

  .mobile-top-menu-content {
    display: block;
    max-height: 0;
    overflow: hidden;
    background: #e8e8e8;
    transition: max-height 0.3s ease;
  }

  .mobile-top-menu.open .mobile-top-menu-content {
    max-height: 500px;
  }

  .mobile-top-menu-content .scores-section,
  .mobile-top-menu-content .play-history {
    padding: 0.75rem 1rem;
  }

  .sheet-drop-zone .card {
    width: 20%;
  }

  .sheet-drop-zone .icon {
    width: 10%;
    max-width: 50px;
  }
}

/* ─── Touch drag ghost ─────────────────────────────────────────────────────── */

#drag-ghost {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0.88;
  transform: rotate(3deg) scale(1.05);
}

/* ─── Mobile dropzone sheet ────────────────────────────────────────────────── */

#mobile-dropzone-sheet {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ededed;
  border-radius: 12px 12px 0 0;
  z-index: 950;
  transform: translateY(calc(100% - 40px));
  transition: transform 0.25s ease;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

#mobile-dropzone-sheet.active {
  transform: translateY(0);
}

.sheet-header {
  background: #5c5c5c;
  border-radius: 12px 12px 0 0;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.sheet-handle {
  width: 40px;
  height: 4px;
  background: #fff;
  border-radius: 2px;
}

.sheet-drop-zone {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0.5rem;
  margin: 0.5rem;
}

.sheet-drop-zone .card {
  cursor: pointer;
}

.sheet-drop-zone.drag-over {
  background: rgba(255, 215, 0, 0.2);
  outline: 2px dashed #000;
}

#mobile-dropzone-sheet .action-buttons {
  display: flex;
  padding: 0.75rem 1rem 1.5rem;
}

#mobile-dropzone-sheet .action-buttons .btn {
  max-width: 50px;
  max-height: 50px;
}

@media (min-width: 769px) {
  #mobile-dropzone-sheet {
    display: none !important;
  }
}

/* Dark mode */
body.dark-mode {
  background: #000;
}

.dark-mode .btn.primary {
  background: #757575;
}

.dark-mode #dark-mode-wrapper {
  filter: invert(1);
}

.dark-mode .variable-card {
  filter: invert(1);
  border-color: white;
}

.dark-mode #mobile-dropzone-sheet {
  filter: invert(1);
}

.dark-mode .btn.secondary img,
.dark-mode .btn.danger img {
  filter: invert(1);
}

.dark-mode .message.success {
  border-left-color: unset;
  background: rgba(0, 0, 0, 0.9);
  color: white;
}
