/* ═══════════════════════════════════════════════════════════════════════════
   RESET & COMMON STYLES
   ════════════════════════════════════════════════════════════════════════════ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #0a0a0a;
  color: #fff;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: #d4af37;
  text-decoration: none;
}

a:hover {
  color: #f5d76e;
  text-decoration: underline;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
}

button:focus {
  outline: 2px solid #d4af37;
  outline-offset: 2px;
}

input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

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

th, td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid #333;
}

th {
  background: #1a1a1a;
  color: #d4af37;
  font-weight: bold;
}

tr:hover {
  background: rgba(212, 175, 55, 0.05);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
  background: #d4af37;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #f5d76e;
}

/* Selection */
::selection {
  background: #d4af37;
  color: #000;
}

/* Focus */
*:focus {
  outline: 2px solid #d4af37;
  outline-offset: 2px;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

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

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }

.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }

.p-10 { padding: 10px; }
.p-20 { padding: 20px; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-10 { gap: 10px; }
.gap-20 { gap: 20px; }

.w-full { width: 100%; }
.h-full { height: 100%; }

.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }

/* Responsive */
@media (max-width: 768px) {
  html { font-size: 14px; }
}

@media (max-width: 480px) {
  html { font-size: 12px; }
}
/* ═══════════════════════════════════════════════════════════════════════════
   Player stage — กรอบไอโฟนแนวตั้งปัจจุบัน 9:19.5 (เช่น 1080×2340)
   ทุกขนาดจอ: ย่อให้พอดีจอ ส่วนที่ว่างนอกกรอบเป็นท้องฟ้าผู้เล่น
   ห้องแอดมินใช้ html.admin-fullscreen → จอเต็มเว็บ
   ═══════════════════════════════════════════════════════════════════════════ */
html.player-stage {
  --stage-ratio-w: 9;
  --stage-ratio-h: 19.5;
  --stage-w: min(1080px, 100vw, calc(100vh * 9 / 19.5));
  --stage-h: min(2340px, 100vh, calc(100vw * 19.5 / 9));
  --stage-left: calc((100vw - var(--stage-w)) / 2);
  --stage-top: calc((100vh - var(--stage-h)) / 2);
  height: 100%;
  overflow: hidden;
  --player-sky: url('../assets/images/player-sky-backdrop.jpg?v=20260930sky1');
  background-color: #061018;
  background-image: none;
}

@supports (height: 100dvh) {
  html.player-stage {
    --stage-w: min(1080px, 100vw, calc(100dvh * 9 / 19.5));
    --stage-h: min(2340px, 100dvh, calc(100vw * 19.5 / 9));
    --stage-left: calc((100vw - var(--stage-w)) / 2);
    --stage-top: calc((100dvh - var(--stage-h)) / 2);
  }
}

html.player-stage body {
  position: fixed !important;
  top: var(--stage-top) !important;
  left: var(--stage-left) !important;
  width: var(--stage-w) !important;
  height: var(--stage-h) !important;
  max-width: var(--stage-w) !important;
  max-height: var(--stage-h) !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  background-color: #6ec8f8;
  background-image: var(--player-sky);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-sizing: border-box;
  box-shadow: 0 0 0 1px #1c1c1c, 0 0 40px rgba(0, 0, 0, 0.75);
  aspect-ratio: 9 / 19.5;
}

html.player-stage #loadingScreen,
html.player-stage .full-page,
html.player-stage .modal-overlay:not(.force-update-overlay),
html.player-stage .social-tab-bar {
  left: var(--stage-left) !important;
  right: auto !important;
  width: var(--stage-w) !important;
  max-width: var(--stage-w) !important;
}

html.player-stage #loadingScreen,
html.player-stage .full-page,
html.player-stage .modal-overlay:not(.force-update-overlay) {
  top: var(--stage-top) !important;
  height: var(--stage-h) !important;
  max-height: var(--stage-h) !important;
}

/* ป๊อปอัปอัปเดตเกม: เต็มจอเสมอ ให้นักเล่นเห็นชัด */
html.player-stage .force-update-overlay {
  left: 0 !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  max-width: none !important;
  max-height: none !important;
  z-index: 99999 !important;
}

@supports (height: 100dvh) {
  html.player-stage .force-update-overlay {
    height: 100dvh !important;
  }
}

html.player-stage .social-tab-bar {
  bottom: calc(100vh - var(--stage-top) - var(--stage-h)) !important;
  top: auto !important;
}

@supports (height: 100dvh) {
  html.player-stage .social-tab-bar {
    bottom: calc(100dvh - var(--stage-top) - var(--stage-h)) !important;
  }
}

html.player-stage .back-btn {
  left: calc(var(--stage-left) + 6px) !important;
  bottom: calc(100vh - var(--stage-top) - var(--stage-h) + 6px) !important;
  transform: none !important;
  transform-origin: center center !important;
}

html.player-stage .back-btn:active,
html.player-stage .back-btn.is-pressed {
  transform: scale(0.86) !important;
}

html.player-stage #storePage .back-btn,
html.player-stage #bankPage .back-btn {
  left: calc(var(--stage-left) + (var(--stage-w) / 2)) !important;
  transform: translateX(-50%) !important;
}

html.player-stage #storePage .back-btn:active,
html.player-stage #storePage .back-btn.is-pressed,
html.player-stage #bankPage .back-btn:active,
html.player-stage #bankPage .back-btn.is-pressed {
  transform: translateX(-50%) scale(0.86) !important;
}

@supports (height: 100dvh) {
  html.player-stage .back-btn {
    bottom: calc(100dvh - var(--stage-top) - var(--stage-h) + 6px) !important;
  }
}

html.player-stage .slot-session-bag-btn {
  position: relative !important;
  top: -12px !important;
  right: auto !important;
  left: auto !important;
  bottom: auto !important;
}

html.player-stage .toast {
  left: calc(var(--stage-left) + (var(--stage-w) / 2)) !important;
  top: calc(var(--stage-top) + (var(--stage-h) / 2)) !important;
  right: auto !important;
  max-width: min(420px, calc(var(--stage-w) - 32px)) !important;
  transform: translate(-50%, -50%) scale(0.86) !important;
}

html.player-stage .toast.show {
  transform: translate(-50%, -50%) scale(1) !important;
}

html.player-stage .level-badge {
  bottom: -8px !important;
  right: 8px !important;
  left: auto !important;
}

html.player-stage .level-badge.level-badge-attack,
html.player-stage .level-badge#attackLevelBadge {
  right: auto !important;
  left: 8px !important;
}

html.player-stage .lobby-stars-top {
  top: calc(var(--stage-top) + 8px) !important;
  left: auto !important;
  right: calc(100vw - var(--stage-left) - var(--stage-w) + 8px) !important;
  width: calc(var(--stage-w) / 2 - 8px) !important;
  max-width: calc(var(--stage-w) / 2 - 8px) !important;
  transform: none !important;
  transform-origin: top right !important;
}

html.player-stage .lobby-coins-top {
  top: calc(var(--stage-top) + 8px) !important;
  right: auto !important;
  left: calc(var(--stage-left) + 8px) !important;
  width: calc(var(--stage-w) / 4 - 8px) !important;
  max-width: calc(var(--stage-w) / 4 - 8px) !important;
  transform: none !important;
  transform-origin: top left !important;
}

html.player-stage .lobby-coins-top.is-coin-icon {
  top: calc(var(--stage-top) + 8px) !important;
  width: 64px !important;
  max-width: 64px !important;
  min-width: 64px !important;
  height: 64px !important;
  min-height: 64px !important;
  max-height: 64px !important;
  aspect-ratio: 1 / 1 !important;
}

html.player-stage .lobby-coins-top.is-coin-count {
  left: calc(var(--stage-left) + 72px) !important;
  width: calc(var(--stage-w) / 2 - 72px) !important;
  max-width: calc(var(--stage-w) / 2 - 72px) !important;
}

html.player-stage #lobbyPage {
  --lobby-star-top: 12px;
}

html.player-stage .lobby-bottom-dock {
  left: var(--stage-left) !important;
  right: auto !important;
  width: var(--stage-w) !important;
  max-width: var(--stage-w) !important;
  bottom: calc(100vh - var(--stage-top) - var(--stage-h)) !important;
}

@supports (height: 100dvh) {
  html.player-stage .lobby-bottom-dock {
    bottom: calc(100dvh - var(--stage-top) - var(--stage-h)) !important;
  }
}

/* ── จอกว้างไม่เกิน 1024: เกมอยู่กรอบมือถือ 9:19.5 ไม่ยืดเป็นไอแพด ──
   ช่องดาว/HUD คงจุดเดิม ถ้าชนกันลด scale ไม่ย้ายตำแหน่ง */
@media (max-width: 1024px) {
  html.player-stage {
    --lobby-chrome-scale: 0.92;
    background-color: #061018;
    background-image: none;
  }

  html.player-stage body {
    box-shadow: none !important;
    background-color: #6ec8f8 !important;
    background-image: var(--player-sky) !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
  }

  html.player-stage #lobbyPage::before {
    inset: auto !important;
    left: var(--stage-left) !important;
    top: var(--stage-top) !important;
    right: auto !important;
    bottom: auto !important;
    width: var(--stage-w) !important;
    height: var(--stage-h) !important;
    max-width: var(--stage-w) !important;
    max-height: var(--stage-h) !important;
    background-size: cover !important;
    background-position: center center !important;
  }

  html.player-stage .lobby-ambience {
    inset: auto !important;
    left: var(--stage-left) !important;
    top: var(--stage-top) !important;
    width: var(--stage-w) !important;
    height: var(--stage-h) !important;
    right: auto !important;
    bottom: auto !important;
  }

  /* ภารกิจ + Monopoly — กึ่งกลางช่องว่าง เหนือแถบทอง */
  html.player-stage .lobby-brand-bar {
    position: fixed !important;
    top: calc(429px + env(safe-area-inset-top, 0px)) !important;
    bottom: calc(141px + env(safe-area-inset-bottom, 0px)) !important;
    left: var(--stage-left) !important;
    right: auto !important;
    width: var(--stage-w) !important;
    max-width: var(--stage-w) !important;
    height: auto !important;
    box-sizing: border-box !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    padding-left: max(6px, env(safe-area-inset-left, 0px)) !important;
    padding-right: max(8px, env(safe-area-inset-right, 0px)) !important;
    align-items: center !important;
    justify-content: flex-end !important;
    transform: none !important;
    z-index: 20 !important;
  }

  html.player-stage .lobby-brand-bar .lobby-bag-stack {
    transform: scale(var(--lobby-chrome-scale));
    transform-origin: center right;
  }

  html.player-stage .lobby-brand-logo {
    margin-left: 4px !important;
    margin-top: 8px !important;
  }

  html.player-stage .player-chest-pile {
    transform: translateX(-100%) scale(var(--lobby-chrome-scale));
    transform-origin: top right;
    z-index: 21 !important;
  }

  /* ช่องดาว — มุมบนขวา กว้างครึ่งจอ
     overflow ต้อง visible: ดาว 3D วางนอกกล่องเลข — ถ้า hidden จะตัดปลายตอนหมุน */
  html.player-stage .lobby-stars-top {
    top: calc(var(--stage-top) + 8px) !important;
    left: auto !important;
    right: calc(100vw - var(--stage-left) - var(--stage-w) + 8px) !important;
    width: calc(var(--stage-w) / 2 - 8px) !important;
    max-width: calc(var(--stage-w) / 2 - 8px) !important;
    transform: none !important;
    transform-origin: top right !important;
    overflow: visible !important;
    pointer-events: none !important;
  }

  html.player-stage .lobby-coins-top {
    top: calc(var(--stage-top) + 8px) !important;
    right: auto !important;
    left: calc(var(--stage-left) + 8px) !important;
    width: calc(var(--stage-w) / 4 - 8px) !important;
    max-width: calc(var(--stage-w) / 4 - 8px) !important;
    transform: none !important;
    transform-origin: top left !important;
    overflow: visible !important;
    pointer-events: none !important;
  }

  html.player-stage .lobby-coins-top.is-coin-icon {
    top: calc(var(--stage-top) + 8px) !important;
    width: 64px !important;
    max-width: 64px !important;
    min-width: 64px !important;
    height: 64px !important;
    min-height: 64px !important;
    max-height: 64px !important;
    aspect-ratio: 1 / 1 !important;
  }

  html.player-stage .lobby-coins-top.is-coin-count {
    left: calc(var(--stage-left) + 72px) !important;
    width: calc(var(--stage-w) / 2 - 72px) !important;
    max-width: calc(var(--stage-w) / 2 - 72px) !important;
  }

  /* เมนูล่าง — กว้างเท่ากรอบมือถือ ไม่ยืดเต็มหน้าต่างกว้าง */
  html.player-stage .lobby-bottom-dock {
    position: fixed !important;
    left: var(--stage-left) !important;
    right: auto !important;
    width: var(--stage-w) !important;
    max-width: var(--stage-w) !important;
    bottom: calc(100vh - var(--stage-top) - var(--stage-h)) !important;
    transform: scale(var(--lobby-chrome-scale));
    transform-origin: bottom center;
    z-index: 20 !important;
  }

  html.player-stage .social-tab-bar {
    left: var(--stage-left) !important;
    width: var(--stage-w) !important;
    max-width: var(--stage-w) !important;
    bottom: calc(100vh - var(--stage-top) - var(--stage-h)) !important;
  }

  html.player-stage .back-btn {
    left: max(6px, env(safe-area-inset-left, 0px)) !important;
    bottom: max(6px, env(safe-area-inset-bottom, 0px)) !important;
    transform: none !important;
    transform-origin: center center !important;
  }

  html.player-stage .back-btn:active,
  html.player-stage .back-btn.is-pressed {
    transform: scale(0.86) !important;
  }

  html.player-stage #storePage .back-btn,
  html.player-stage #bankPage .back-btn {
    left: 50% !important;
    transform: translateX(-50%) !important;
  }

  html.player-stage #storePage .back-btn:active,
  html.player-stage #storePage .back-btn.is-pressed,
  html.player-stage #bankPage .back-btn:active,
  html.player-stage #bankPage .back-btn.is-pressed {
    transform: translateX(-50%) scale(0.86) !important;
  }

  html.player-stage .slot-session-bag-btn {
    position: relative !important;
    top: -12px !important;
    right: auto !important;
    left: auto !important;
  }
}

/* จอเตี้ยมาก: ลดขนาดปุ่มขอบเพิ่ม ยังไม่ย้ายจุด */
@media (max-width: 1024px) and (max-height: 720px) {
  html.player-stage {
    --lobby-chrome-scale: 0.84;
  }

  html.player-stage .lobby-bottom-dock .svg-button-container {
    height: 64px !important;
  }

  html.player-stage .lobby-bottom-dock .tab-bar {
    min-height: calc(56px + env(safe-area-inset-bottom, 0px)) !important;
  }
}

@media (max-width: 1024px) and (max-height: 620px) {
  html.player-stage {
    --lobby-chrome-scale: 0.78;
  }

  html.player-stage .lobby-bottom-dock .svg-button-container {
    height: 56px !important;
  }
}

/* Desktop: เงากรอบเข้มขึ้น + ห้องแอดมินเต็มจอ */
@media (min-width: 1025px) {
  html.player-stage body {
    box-shadow: 0 0 0 2px #1c1c1c, 0 0 80px rgba(0, 0, 0, 0.85);
  }

  html.admin-fullscreen {
    background:
      radial-gradient(ellipse 70% 45% at 50% 0%, rgba(0, 229, 255, 0.06), transparent 55%),
      #060810;
    height: 100%;
    overflow: auto;
  }

  html.admin-fullscreen body {
    position: static !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    min-height: 100vh !important;
    max-height: none !important;
    margin: 0 !important;
    overflow-x: hidden;
    overflow-y: auto;
    background: transparent !important;
    box-shadow: none !important;
    aspect-ratio: auto !important;
  }

  html.admin-fullscreen #adminPage {
    width: 100% !important;
    max-width: none !important;
    min-height: 100vh;
  }

  html.admin-fullscreen #loadingScreen,
  html.admin-fullscreen .modal-overlay,
  html.admin-fullscreen .toast {
    left: 0 !important;
    right: 0 !important;
    top: 0 !important;
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    max-height: none !important;
  }

  html.admin-fullscreen .toast {
    left: 50% !important;
    top: 50% !important;
    right: auto !important;
    width: auto !important;
    height: auto !important;
    max-width: min(420px, calc(100vw - 32px)) !important;
    transform: translate(-50%, -50%) scale(0.86) !important;
  }

  html.admin-fullscreen .toast.show {
    transform: translate(-50%, -50%) scale(1) !important;
  }
}

/* ไอคอนเหรียน (แทน 🪙) / ระเบิด (แทน 💣) / โล่ (แทน 🃏) / ยาน (แทน 🟢) / Grim Reaper (แทน 🔴) */
.game-icon-coin,
.game-icon-grenade,
.game-icon-shield,
.game-icon-starship,
.game-icon-reaper,
.game-icon-bust,
.game-icon-crate,
.game-icon-diamond,
.game-icon-star,
.game-icon-key {
  width: 1.2em;
  height: 1.2em;
  object-fit: contain;
  vertical-align: -0.22em;
  display: inline-block;
  pointer-events: none;
  user-select: none;
  background: transparent;
}

/* Grim Reaper / Crowned Bust / Gold Star: บังคับพื้นไอคอนโปร่งใสทุกจุด */
img.game-icon-reaper,
img.game-icon-bust,
img.game-icon-crate,
img.game-icon-star,
img.game-icon-key {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none;
  border: 0;
}

/* เหรียน: เงาอ่อนชุดเดียวกับตอนชนะ/บินเข้ากระเป๋า */
.game-icon-coin {
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.35));
}

.store-item .icon .game-icon-coin,
.bank-asset .icon .game-icon-coin,
.store-item .icon .game-icon-grenade,
.bank-asset .icon .game-icon-grenade,
.store-item .icon .game-icon-shield,
.bank-asset .icon .game-icon-shield,
.store-item .icon .game-icon-starship,
.bank-asset .icon .game-icon-starship,
.store-item .icon .game-icon-reaper,
.bank-asset .icon .game-icon-reaper,
.store-item .icon .game-icon-bust,
.bank-asset .icon .game-icon-bust,
.store-item .icon .game-icon-crate,
.bank-asset .icon .game-icon-crate,
.store-item .icon .game-icon-diamond,
.bank-asset .icon .game-icon-diamond,
.store-item .icon .game-icon-star,
.store-item .icon .game-icon-key,
.bank-asset .icon .game-icon-star,
.bank-asset .icon .game-icon-key {
  width: 48px;
  height: 48px;
  vertical-align: middle;
}

.reel-col .reel-strip span .game-icon-coin,
.reel-col .reel-strip span .game-icon-grenade,
.reel-col .reel-strip span .game-icon-shield,
.reel-col .reel-strip span .game-icon-starship,
.reel-col .reel-strip span .game-icon-reaper,
.reel-col .reel-strip span .game-icon-bust,
.reel-col .reel-strip span .game-icon-crate,
.reel-col .reel-strip span .game-icon-diamond,
.reel-col .reel-strip span .game-icon-star,
.reel-col .reel-strip span .game-icon-key {
  width: 1.08em;
  height: 1.08em;
  max-width: 98%;
  max-height: 98%;
  vertical-align: middle;
}

#slotWinIcon .game-icon-coin,
.slot-win-icon .game-icon-coin,
#slotWinIcon .game-icon-grenade,
.slot-win-icon .game-icon-grenade,
#slotWinIcon .game-icon-shield,
.slot-win-icon .game-icon-shield,
#slotWinIcon .game-icon-starship,
.slot-win-icon .game-icon-starship,
#slotWinIcon .game-icon-reaper,
.slot-win-icon .game-icon-reaper,
#slotWinIcon .game-icon-bust,
.slot-win-icon .game-icon-bust,
#slotWinIcon .game-icon-crate,
.slot-win-icon .game-icon-crate,
#slotWinIcon .game-icon-diamond,
.slot-win-icon .game-icon-diamond,
#slotWinIcon .game-icon-star,
#slotWinIcon .game-icon-key,
#slotWinIcon .game-icon-clip,
.slot-win-icon .game-icon-star,
.slot-win-icon .game-icon-key,
.slot-win-icon .game-icon-clip {
  width: clamp(88px, 20vw, 160px);
  height: clamp(88px, 20vw, 160px);
  object-fit: contain;
  aspect-ratio: 1 / 1;
  vertical-align: middle;
  display: block;
}

#slotWinIcon .game-icon-model,
.slot-win-icon .game-icon-model {
  width: clamp(160px, 42vw, 280px);
  height: clamp(160px, 42vw, 280px);
  display: block;
  background: transparent;
  pointer-events: none;
}

th .game-icon-coin,
th .game-icon-grenade,
th .game-icon-shield,
th .game-icon-starship,
th .game-icon-reaper,
th .game-icon-bust,
th .game-icon-crate,
th .game-icon-diamond,
th .game-icon-star,
th .game-icon-key,
th .game-icon-clip {
  width: 1.3em;
  height: 1.3em;
}

.system-maintenance-gate {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  align-items: center;
  justify-content: center;
  padding: 28px 20px;
  background: #060810;
  color: #e8fbff;
  text-align: center;
  pointer-events: auto;
}

.system-maintenance-gate.is-on {
  display: flex;
}

.system-maintenance-copy {
  max-width: 18em;
  font-size: clamp(22px, 4.6vw, 38px);
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.35;
  color: #f4ffff;
  text-shadow: 0 0 18px rgba(0, 229, 255, 0.28);
}

.gold-digit-row {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.gold-digit-row .gold-digit {
  display: block;
  height: 1em;
  width: auto;
  pointer-events: none;
  user-select: none;
}

.gold-digit-row .gold-digit-comma {
  display: block;
  height: 46%;
  width: auto;
  align-self: flex-end;
  margin-bottom: 0;
  flex: 0 0 auto;
  pointer-events: none;
  user-select: none;
}

