* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  font-family: 'Segoe UI', Roboto, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: #3b7a57;
}

#game-container {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

#ui-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Top Bar */
.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  pointer-events: auto;
  gap: 12px;
}

.stat-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(180deg, #ffffff 0%, #f1f8e9 100%);
  padding: 8px 20px;
  border-radius: 32px;
  box-shadow: 0 5px 0 #388e3c, 0 10px 20px rgba(0, 0, 0, 0.18);
  font-size: 22px;
  font-weight: 900;
  color: #1b5e20;
  border: 3px solid #81c784;
  transition: transform 0.15s ease;
}

.money-badge {
  color: #1b5e20;
}

.boost-badge {
  background: linear-gradient(135deg, #ff9800, #ff5722);
  color: #ffffff;
  border-color: #ffe0b2;
  box-shadow: 0 5px 0 #bf360c, 0 10px 20px rgba(255, 87, 34, 0.4);
  animation: pulse-glow 1.5s infinite alternate;
}

@keyframes pulse-glow {
  0% { transform: scale(1); box-shadow: 0 0 10px rgba(255, 152, 0, 0.5); }
  100% { transform: scale(1.05); box-shadow: 0 0 20px rgba(255, 87, 34, 0.8); }
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: linear-gradient(180deg, #ffffff 0%, #eceff1 100%);
  border: 2px solid #cfd8dc;
  border-radius: 20px;
  padding: 8px 16px;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 0 #b0bec5, 0 6px 14px rgba(0,0,0,0.15);
  color: #263238;
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.icon-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 #b0bec5, 0 10px 18px rgba(0,0,0,0.2);
}

.icon-btn:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 #b0bec5;
}

.action-btn {
  background: linear-gradient(180deg, #ffd54f 0%, #ff8f00 100%);
  color: #3e2723;
  border: 2.5px solid #ffe082;
  box-shadow: 0 5px 0 #e65100, 0 8px 20px rgba(255, 143, 0, 0.4);
  font-weight: 900;
  letter-spacing: 0.5px;
}

.action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 0 #e65100, 0 12px 24px rgba(255, 143, 0, 0.5);
}

.action-btn:active {
  transform: translateY(3px);
  box-shadow: 0 2px 0 #e65100;
}

.pulse-upgrade {
  animation: upgradePulse 1.4s infinite ease-in-out;
  box-shadow: 0 0 16px rgba(255, 215, 0, 0.85), 0 5px 0 #e65100 !important;
}

/* Photo & Camera Mode Styles */
.photo-btn {
  background: linear-gradient(180deg, #38bdf8 0%, #0284c7 100%) !important;
  border-color: #bae6fd !important;
  color: #082f49 !important;
  box-shadow: 0 5px 0 #0369a1, 0 8px 20px rgba(2, 132, 199, 0.4) !important;
}

.photo-mode-overlay {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  justify-content: center;
  pointer-events: auto;
  width: 90%;
  max-width: 520px;
}

.photo-mode-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  padding: 12px 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  width: 100%;
}

.photo-control-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 140px;
}

.photo-control-icon {
  font-size: 16px;
}

.photo-control-label {
  font-size: 12px;
  font-weight: 800;
  color: #e2e8f0;
}

.photo-slider {
  flex: 1;
  height: 6px;
  border-radius: 3px;
  background: #334155;
  outline: none;
  cursor: pointer;
  -webkit-appearance: none;
}

.photo-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #38bdf8;
  border: 2px solid #ffffff;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.photo-action-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  justify-content: center;
  margin-top: 4px;
}

.photo-snap-btn {
  background: linear-gradient(180deg, #22c55e 0%, #16a34a 100%);
  color: #ffffff;
  border: none;
  border-radius: 14px;
  padding: 10px 20px;
  font-size: 13.5px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.4);
  transition: transform 0.1s ease;
  flex: 1.5;
}

.photo-snap-btn:hover {
  transform: scale(1.03);
}

.photo-snap-btn:active {
  transform: scale(0.97);
}

.photo-exit-btn {
  background: #334155;
  color: #f1f5f9;
  border: none;
  border-radius: 14px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: background-color 0.15s ease;
  flex: 1;
}

.photo-exit-btn:hover {
  background: #475569;
}

@keyframes upgradePulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
}

/* Side Actions / Compact Floating Boost Pods */
.side-actions {
  position: absolute;
  top: 75px;
  right: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: auto;
  z-index: 25;
}

.boost-btn {
  width: 44px;
  height: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  cursor: pointer;
  padding: 0;
  transition: transform 0.15s ease, filter 0.15s ease;
  position: relative;
}

.boost-btn:hover {
  transform: scale(1.1) translateY(-1px);
  filter: brightness(1.1);
}

.boost-btn:active {
  transform: scale(0.94);
}

.boost-btn .boost-icon {
  font-size: 19px;
  line-height: 1;
}

.boost-btn .boost-mini-tag {
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.3px;
  line-height: 1;
  margin-top: 2px;
}

.boost-btn.vip-btn {
  background: linear-gradient(180deg, #ffd54f 0%, #ff8f00 100%);
  color: #3e2723;
  border: 2px solid #fff59d;
  box-shadow: 0 3px 0 #c47100, 0 4px 10px rgba(255, 143, 0, 0.4);
  animation: vipGlow 2.0s infinite ease-in-out;
}

.boost-btn.tour-btn {
  background: linear-gradient(180deg, #a78bfa 0%, #6d28d9 100%);
  color: white;
  border: 2px solid #ddd6fe;
  box-shadow: 0 3px 0 #4c1d95, 0 4px 10px rgba(109, 40, 217, 0.4);
}

.boost-btn.crop-btn {
  background: linear-gradient(180deg, #38bdf8 0%, #0284c7 100%);
  color: white;
  border: 2px solid #bae6fd;
  box-shadow: 0 3px 0 #0369a1, 0 4px 10px rgba(2, 132, 199, 0.4);
}

@keyframes vipGlow {
  0%, 100% {
    box-shadow: 0 3px 0 #c47100, 0 0 6px rgba(255, 215, 0, 0.5);
  }
  50% {
    box-shadow: 0 3px 0 #c47100, 0 0 14px rgba(255, 215, 0, 0.95);
  }
}

.boost-info {
  display: flex;
  flex-direction: column;
}

.boost-title {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.5px;
}

.boost-sub {
  font-size: 9px;
  font-weight: 600;
  opacity: 0.9;
}

/* Dynamic Floating Virtual Joystick (Appears wherever touched, hidden when idle) */
#joystick-zone {
  position: fixed;
  width: 120px;
  height: 120px;
  pointer-events: none;
  display: none;
  transform: translate(-50%, -50%);
  z-index: 50;
  transition: opacity 0.12s ease;
}

#joystick-base {
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.22);
  border: 3px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(6px);
}

#joystick-knob {
  width: 48px;
  height: 48px;
  background: radial-gradient(circle, #ffffff 40%, #e0e0e0 100%);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  pointer-events: none;
}

/* Bottom Bar / Capacity Meter HUD */
.bottom-bar {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  z-index: 20;
  width: auto;
}

.capacity-container {
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  padding: 8px 16px;
  border-radius: 20px;
  width: 210px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35), 0 2px 6px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  gap: 5px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.capacity-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.capacity-label {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #f8fafc;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.3px;
}

.capacity-count {
  font-size: 11.5px;
  font-weight: 900;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.16);
  padding: 1px 7px;
  border-radius: 8px;
  letter-spacing: 0.4px;
}

.capacity-bar {
  width: 100%;
  height: 6.5px;
  background: rgba(0, 0, 0, 0.45);
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.capacity-fill {
  height: 100%;
  background: linear-gradient(90deg, #10b981 0%, #06b6d4 100%);
  border-radius: 6px;
  transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1), background 0.25s ease;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
}

.capacity-fill.full {
  background: linear-gradient(90deg, #f59e0b 0%, #ef4444 100%);
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.6);
}

/* Floating Text Popups */
#floating-texts {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.floating-text {
  position: absolute;
  font-size: 20px;
  font-weight: 900;
  color: #ffd54f;
  text-shadow: 0 2px 4px rgba(0,0,0,0.7), 0 0 10px rgba(255, 213, 79, 0.5);
  animation: floatUp 1s ease-out forwards;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.floating-text.money {
  color: #69f0ae;
  text-shadow: 0 2px 4px rgba(0,0,0,0.7), 0 0 10px rgba(105, 240, 174, 0.6);
}

@keyframes floatUp {
  0% { opacity: 0; transform: translate(-50%, 0) scale(0.6); }
  20% { opacity: 1; transform: translate(-50%, -20px) scale(1.1); }
  80% { opacity: 1; transform: translate(-50%, -60px) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -80px) scale(0.9); }
}

/* Modal Overlay */
.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  animation: fadeIn 0.2s ease-out;
}

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

.modal-card {
  max-width: 480px;
  width: 94vw;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  padding: 20px;
  background: #0f172a;
  border-radius: 28px;
  border: none;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.08);
  animation: popIn 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popIn {
  from { transform: scale(0.88); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #1e293b;
  flex-shrink: 0;
}

.modal-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-header h2 {
  font-size: 20px;
  font-weight: 900;
  color: #f8fafc;
  margin: 0;
  letter-spacing: -0.3px;
}

.modal-money-pill {
  background: #064e3b;
  color: #6ee7b7;
  font-size: 13px;
  font-weight: 900;
  padding: 4px 10px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.close-btn {
  background: #1e293b;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 20px;
  color: #94a3b8;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: all 0.15s ease;
}

.close-btn:hover {
  background: #334155;
  color: #f8fafc;
  transform: scale(1.08);
}

/* Upgrade Category Tabs Bar: Seamless 5-Tab Flex Grid with NO Dark Outlines */
.upgrade-tabs {
  display: flex;
  gap: 4px;
  width: 100%;
  margin-bottom: 12px;
  padding: 0;
}

.tab-btn {
  flex: 1;
  min-width: 0;
  background: #1e293b;
  border: none;
  color: #94a3b8;
  border-radius: 12px;
  padding: 8px 4px;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.tab-btn:hover {
  background: #334155;
  color: #f8fafc;
}

.tab-btn.active {
  background: #16a34a;
  color: #ffffff;
  border: none;
  box-shadow: 0 2px 8px rgba(22, 163, 74, 0.35);
  transform: translateY(-1px);
}

.modal-body {
  overflow-y: auto;
  padding-right: 4px;
  max-height: 65vh;
}

.modal-body::-webkit-scrollbar {
  width: 5px;
}
.modal-body::-webkit-scrollbar-thumb {
  background: #334155;
  border-radius: 4px;
}

.upgrade-group-header {
  font-size: 11px;
  font-weight: 900;
  color: #86efac;
  background: #14532d;
  padding: 5px 10px;
  border-radius: 8px;
  margin: 10px 0 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.upgrade-group-header:first-child {
  margin-top: 0;
}

/* =========================================================
   PLAYER & WORKER PRESENTATION UPGRADE STYLES
   ========================================================= */

/* Hero Player / Owner Card */
.player-hero-card {
  background: linear-gradient(135deg, #064e3b 0%, #0f172a 100%);
  border: 1.5px solid #059669;
  border-radius: 20px;
  padding: 16px 14px;
  margin-bottom: 12px;
  box-shadow: 0 4px 16px rgba(5, 150, 105, 0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}

.player-hero-portrait-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
}

.player-avatar-ring {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, #047857 0%, #064e3b 100%);
  border: 3px solid #facc15;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 18px rgba(250, 204, 21, 0.45), 0 4px 12px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
}

.player-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.player-avatar-emoji {
  font-size: 38px;
}

.player-avatar-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: #facc15;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #1e293b;
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
  z-index: 2;
}

.player-hero-identity {
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: center;
}

.player-hero-tag {
  background: rgba(250, 204, 21, 0.15);
  color: #facc15;
  font-size: 10px;
  font-weight: 900;
  padding: 2px 8px;
  border-radius: 6px;
  letter-spacing: 0.5px;
}

.player-hero-name {
  margin: 0;
  font-size: 18px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 0.5px;
}

.player-hero-role {
  font-size: 12px;
  font-weight: 700;
  color: #a7f3d0;
}

.player-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  width: 100%;
  margin-top: 4px;
}

.player-stat-box {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}

.player-stat-icon {
  font-size: 20px;
}

.player-stat-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  flex: 1;
}

.player-stat-label {
  font-size: 10px;
  font-weight: 700;
  color: #94a3b8;
  white-space: nowrap;
}

.player-stat-val {
  font-size: 13.5px;
  font-weight: 900;
  color: #38bdf8;
}

.player-stat-level {
  font-size: 9.5px;
  font-weight: 800;
  color: #facc15;
  background: rgba(234, 179, 8, 0.15);
  padding: 1px 5px;
  border-radius: 4px;
  align-self: flex-start;
}

/* Worker Management Roster Card */
.worker-roster-card {
  background: #1e293b;
  border-radius: 18px;
  padding: 12px 14px;
  margin-bottom: 12px;
  border: 1.5px solid #334155;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.worker-roster-card.worker-hired {
  border-color: #059669;
  background: linear-gradient(180deg, #1e293b 0%, #064e3b 100%);
}

.worker-roster-card.worker-locked {
  opacity: 0.85;
  background: #0f172a;
}

.worker-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Large 3D Character Portrait Frame */
.worker-portrait-frame {
  width: 82px;
  height: 82px;
  min-width: 82px;
  border-radius: 18px;
  background: radial-gradient(circle at 50% 40%, #334155 0%, #0f172a 100%);
  border: 2.5px solid #38bdf8;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  transition: filter 0.2s ease, border-color 0.2s ease;
}

.worker-portrait-frame.portrait-hired {
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.35), 0 4px 12px rgba(0, 0, 0, 0.4);
}

.worker-portrait-frame.portrait-locked {
  filter: grayscale(0.85) opacity(0.65);
  border-color: #475569 !important;
}

.worker-portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.worker-avatar-fallback {
  font-size: 34px;
}

.worker-portrait-lock {
  position: absolute;
  top: 4px;
  right: 4px;
  font-size: 13px;
  background: rgba(15, 23, 42, 0.85);
  padding: 2px 5px;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.4);
  z-index: 2;
}

.worker-header-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.worker-name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.worker-name {
  font-size: 16px;
  font-weight: 900;
  color: #ffffff;
}

.worker-status-badge {
  font-size: 9.5px;
  font-weight: 900;
  padding: 2px 7px;
  border-radius: 6px;
  white-space: nowrap;
}

.worker-status-badge.status-hired {
  background: #059669;
  color: #ffffff;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.4);
}

.worker-status-badge.status-locked {
  background: #334155;
  color: #94a3b8;
}

.worker-title {
  font-size: 12.5px;
  font-weight: 800;
  color: #facc15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.worker-specialty-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2px 8px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  color: #bae6fd;
  width: fit-content;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.specialty-indicator-icon {
  font-size: 13px;
}

.specialty-text {
  font-size: 11px;
  font-weight: 700;
  color: #bae6fd;
}

.worker-outfit-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(15, 23, 42, 0.6);
  border-radius: 8px;
  padding: 4px 8px;
  border: 1px dashed rgba(255, 255, 255, 0.1);
}

.outfit-icon {
  font-size: 13px;
}

.outfit-text {
  font-size: 11px;
  color: #e2e8f0;
}

.worker-tasks-section {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: rgba(15, 23, 42, 0.4);
  border-radius: 10px;
  padding: 8px 10px;
}

.worker-section-title {
  font-size: 10.5px;
  font-weight: 800;
  color: #86efac;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.worker-tasks-list {
  margin: 0;
  padding-left: 14px;
  list-style-type: disc;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.worker-tasks-list li {
  font-size: 11.5px;
  font-weight: 600;
  color: #cbd5e1;
  line-height: 1.3;
}

.worker-stats-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 2px;
}

.worker-stat-pill {
  font-size: 11px;
  color: #94a3b8;
  background: rgba(15, 23, 42, 0.7);
  padding: 3px 8px;
  border-radius: 6px;
}

.worker-stat-pill strong {
  color: #38bdf8;
}

/* Modern Clean Dark Upgrade Row Card */
.upgrade-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: #1e293b;
  border-radius: 16px;
  padding: 10px 12px;
  margin-bottom: 8px;
  border: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.upgrade-item.affordable-card {
  background: #064e3b;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.2);
}

.upgrade-item.maxed-card {
  background: #451a03;
  opacity: 0.92;
}

.upgrade-icon-box {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 14px;
  background: #334155;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.upgrade-info-col {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.upgrade-title-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.upgrade-title-text {
  font-size: 13.5px;
  font-weight: 800;
  color: #f8fafc;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 170px;
}

.upgrade-level-pill {
  background: #0369a1;
  color: #bae6fd;
  font-size: 10px;
  font-weight: 900;
  padding: 1.5px 6px;
  border-radius: 6px;
  white-space: nowrap;
}

.upgrade-level-pill.max-pill {
  background: #d97706;
  color: #fef3c7;
}

.upgrade-benefit-row {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11.5px;
  font-weight: 700;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.benefit-cur {
  color: #94a3b8;
}

.benefit-arrow {
  color: #64748b;
  font-size: 9px;
}

.benefit-next {
  color: #4ade80;
  font-weight: 800;
}

.benefit-unit {
  color: #94a3b8;
  font-size: 11px;
  font-weight: 600;
}

.benefit-max {
  color: #fcd34d;
  font-size: 11px;
  font-weight: 800;
}

.upgrade-btn-col {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-shrink: 0;
}

.upgrade-buy-btn {
  min-width: 78px;
  height: 38px;
  padding: 0 12px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.3px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.btn-can-buy {
  background: linear-gradient(180deg, #22c55e 0%, #16a34a 100%);
  color: #ffffff;
  box-shadow: 0 3px 0 #15803d, 0 4px 10px rgba(22, 163, 74, 0.3);
}

.btn-can-buy:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 0 #15803d, 0 6px 14px rgba(22, 163, 74, 0.4);
}

.btn-can-buy:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 #15803d;
}

.btn-cant-buy {
  background: #334155;
  color: #64748b;
  border: none;
  cursor: not-allowed;
  box-shadow: none;
}

.btn-max {
  background: linear-gradient(135deg, #fef08a, #facc15);
  color: #78350f;
  border: none;
  box-shadow: 0 2px 6px rgba(250, 204, 21, 0.3);
  font-weight: 900;
  cursor: default;
}

/* Notification Banner */
#notification-banner, .notification-banner {
  position: fixed;
  top: 75px;
  left: 50%;
  transform: translateX(-50%) translateY(-30px);
  background: linear-gradient(180deg, rgba(38, 50, 56, 0.96) 0%, rgba(20, 28, 32, 0.98) 100%);
  color: #ffffff;
  padding: 12px 26px;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.3px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45), 0 0 16px rgba(255, 215, 0, 0.35);
  border: 2.5px solid #ffd54f;
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 1000;
  max-width: 90vw;
  text-align: center;
  backdrop-filter: blur(8px);
}

#notification-banner.show, .notification-banner.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Settings Modal Styling */
.settings-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 8px 4px;
}

.settings-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #1e293b;
  border-radius: 16px;
  padding: 14px 18px;
  border: none;
}

.settings-row.danger-row {
  background: #450a0a;
}

.settings-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.settings-title {
  font-size: 16px;
  font-weight: 800;
  color: #f8fafc;
}

.settings-title.danger-text {
  color: #f87171;
}

.settings-desc {
  font-size: 12px;
  font-weight: 500;
  color: #94a3b8;
}

.settings-action-btn {
  background: #334155;
  border: none;
  border-radius: 12px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 700;
  color: #f8fafc;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: transform 0.1s, background 0.15s;
}

.settings-action-btn:hover {
  transform: translateY(-2px);
  background: #475569;
}

.settings-action-btn.btn-danger-trigger {
  background: linear-gradient(135deg, #e53935, #c62828);
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(211, 47, 47, 0.4);
}

.settings-action-btn.btn-danger-trigger:hover {
  filter: brightness(1.1);
}

/* Volume Slider Controls */
.volume-slider-container {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 145px;
}

.volume-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 105px;
  height: 8px;
  border-radius: 6px;
  background: #334155;
  outline: none;
  cursor: pointer;
  transition: background 0.2s;
}

.volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #4ade80;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  border: 2px solid #ffffff;
  transition: transform 0.1s;
}

.volume-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.volume-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #4ade80;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  border: 2px solid #ffffff;
}

.volume-percentage {
  font-size: 13px;
  font-weight: 800;
  color: #4ade80;
  min-width: 38px;
  text-align: right;
}

.settings-divider {
  height: 1px;
  background: #e0e0e0;
  margin: 4px 0;
}

/* Warning Modal Styling */
.warning-card {
  border-color: #ef5350;
  max-width: 420px;
}

.warning-header h2 {
  color: #f87171 !important;
}

.warning-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 12px 6px 6px;
  gap: 12px;
}

.warning-icon-large {
  font-size: 54px;
  animation: pulse 1s infinite alternate;
}

@keyframes pulse {
  from { transform: scale(0.92); }
  to { transform: scale(1.08); }
}

.warning-main-text {
  font-size: 18px;
  font-weight: 800;
  color: #f8fafc;
  margin: 0;
}

.warning-desc-text {
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.5;
  margin: 0;
}

.warning-actions {
  display: flex;
  gap: 12px;
  width: 100%;
  margin-top: 12px;
}

.modal-btn {
  flex: 1;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  border: none;
  transition: transform 0.1s, filter 0.15s;
}

.modal-btn:hover {
  transform: translateY(-2px);
}

.modal-btn.btn-secondary {
  background: #e0e0e0;
  color: #424242;
}

.modal-btn.btn-danger {
  background: linear-gradient(135deg, #e53935, #b71c1c);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(229, 57, 53, 0.35);
}

/* Leaderboard Modal & Spotlight Styles */
.leaderboard-btn {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  border-color: #fbbf24;
}

.leaderboard-card {
  max-width: 480px;
  background: #0f172a;
}

.leaderboard-header {
  border-bottom: 1px solid #334155;
  padding-bottom: 12px;
}

.leaderboard-subtitle {
  font-size: 12px;
  color: #94a3b8;
  font-weight: 600;
}

.crazygames-auth-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: #1e1e38;
  border: 1px solid #6366f1;
  border-radius: 12px;
  padding: 8px 14px;
  margin: 10px 16px 0 16px;
}

.cg-banner-text {
  font-size: 12px;
  font-weight: 700;
  color: #c7d2fe;
}

.cg-auth-btn {
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 800;
  border: none;
  padding: 5px 12px;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(99, 102, 241, 0.3);
  transition: transform 0.1s, filter 0.15s;
}

.cg-auth-btn:hover {
  filter: brightness(1.15);
  transform: translateY(-1px);
}

.leaderboard-player-spotlight {
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, #1e293b, #0f172a);
  border: 2px solid #eab308;
  border-radius: 16px;
  padding: 12px 16px;
  margin: 12px 16px 8px 16px;
  box-shadow: 0 4px 16px rgba(234, 179, 8, 0.18);
}

.spotlight-rank {
  font-size: 22px;
  font-weight: 900;
  color: #facc15;
  background: #422006;
  border: 1px solid #ca8a04;
  padding: 6px 12px;
  border-radius: 12px;
}

.spotlight-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.spotlight-name-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.spotlight-name {
  font-size: 14.5px;
  font-weight: 800;
  color: #f8fafc;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.spotlight-edit-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 13px;
  padding: 2px 4px;
  border-radius: 4px;
  transition: background 0.2s;
}

.spotlight-edit-btn:hover {
  background: #334155;
}

.spotlight-tier {
  font-size: 11.5px;
  font-weight: 700;
  color: #38bdf8;
}

.spotlight-score {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.spotlight-score-label {
  font-size: 10px;
  color: #94a3b8;
  font-weight: 700;
  text-transform: uppercase;
}

.spotlight-score-val {
  font-size: 17px;
  font-weight: 900;
  color: #4ade80;
}

/* Milestone Cosmetics Wardrobe */
.leaderboard-cosmetics-panel {
  background: #1e293b;
  border-radius: 14px;
  padding: 10px 14px;
  margin: 0 16px 8px 16px;
  border: 1px solid #334155;
}

.cosmetics-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.cosmetics-title {
  font-size: 12px;
  font-weight: 800;
  color: #f1f5f9;
}

.cosmetics-subtitle {
  font-size: 10.5px;
  font-weight: 600;
  color: #94a3b8;
}

.cosmetics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.cosmetic-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: #0f172a;
  border: 1.5px solid #334155;
  border-radius: 10px;
  padding: 8px 6px;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}

.cosmetic-card:hover {
  transform: translateY(-2px);
  border-color: #64748b;
}

.cosmetic-card.equipped {
  border-color: #22c55e;
  background: #064e3b;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.3);
}

.cosmetic-card.locked {
  opacity: 0.55;
  cursor: not-allowed;
}

.cosmetic-icon {
  font-size: 22px;
}

.cosmetic-name {
  font-size: 11px;
  font-weight: 800;
  color: #f8fafc;
  text-align: center;
}

.cosmetic-status {
  font-size: 9.5px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 6px;
}

.cosmetic-card.equipped .cosmetic-status {
  background: #22c55e;
  color: #ffffff;
}

.cosmetic-card.unlocked:not(.equipped) .cosmetic-status {
  background: #3b82f6;
  color: #ffffff;
}

.cosmetic-card.locked .cosmetic-status {
  background: #475569;
  color: #cbd5e1;
}

.leaderboard-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 380px;
  overflow-y: auto;
  padding: 8px 16px 16px 16px;
}

.leaderboard-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 12px;
  padding: 10px 14px;
  transition: transform 0.15s ease;
}

.leaderboard-row.player-row {
  background: #1e3a8a;
  border: 1.5px solid #60a5fa;
  box-shadow: 0 2px 10px rgba(96, 165, 250, 0.25);
}

.lb-rank {
  font-size: 16px;
  font-weight: 900;
  width: 32px;
  text-align: center;
  color: #cbd5e1;
}

.lb-rank.rank-1 { color: #facc15; font-size: 18px; }
.lb-rank.rank-2 { color: #e2e8f0; font-size: 17px; }
.lb-rank.rank-3 { color: #f97316; font-size: 17px; }

.lb-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.lb-name {
  font-size: 13.5px;
  font-weight: 800;
  color: #f8fafc;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lb-tier {
  font-size: 11px;
  font-weight: 600;
  color: #94a3b8;
}

.lb-score {
  font-size: 15px;
  font-weight: 900;
  color: #4ade80;
  text-align: right;
  white-space: nowrap;
}

/* Quests & Achievements Modal Styles */
.quests-header .modal-title-group,
.leaderboard-header .modal-title-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
}

.quests-subtitle,
.leaderboard-subtitle,
.quests-header-badge {
  font-size: 12px;
  color: #94a3b8;
  font-weight: 600;
  line-height: 1.3;
  margin-top: 1px;
}

.quest-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #1e293b;
  border-radius: 16px;
  padding: 12px 14px;
  margin-bottom: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.quest-card.quest-claimable {
  background: #064e3b;
  border: 1.5px solid #34d399;
  box-shadow: 0 4px 14px rgba(52, 211, 153, 0.25);
  animation: pulse-border 2s infinite ease-in-out;
}

@keyframes pulse-border {
  0%, 100% { box-shadow: 0 4px 14px rgba(52, 211, 153, 0.25); }
  50% { box-shadow: 0 4px 20px rgba(52, 211, 153, 0.5); }
}

.quest-card.quest-claimed {
  background: #1e293b;
  opacity: 0.65;
}

.quest-icon-box {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 14px;
  background: #334155;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.quest-info-col {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.quest-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.quest-title {
  font-size: 13.5px;
  font-weight: 800;
  color: #f8fafc;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.quest-reward-pill {
  font-size: 11.5px;
  font-weight: 800;
  color: #facc15;
  background: rgba(234, 179, 8, 0.15);
  padding: 2px 8px;
  border-radius: 8px;
  white-space: nowrap;
}

.quest-desc {
  font-size: 11.5px;
  color: #94a3b8;
  line-height: 1.3;
}

.quest-progress-track {
  position: relative;
  width: 100%;
  height: 14px;
  background: #0f172a;
  border-radius: 7px;
  overflow: hidden;
  margin-top: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quest-progress-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  background: linear-gradient(90deg, #10b981, #34d399);
  border-radius: 7px;
  transition: width 0.3s ease;
}

.quest-progress-text {
  position: relative;
  font-size: 9.5px;
  font-weight: 800;
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
  z-index: 1;
}

.quest-action-col {
  display: flex;
  align-items: center;
}

.quest-claim-btn {
  font-family: inherit;
  font-size: 12px;
  font-weight: 900;
  border: none;
  border-radius: 12px;
  padding: 8px 14px;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.quest-claim-btn.btn-claim-active {
  background: #10b981;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
  animation: pulse-scale 1.5s infinite ease-in-out;
}

.quest-claim-btn.btn-claimed {
  background: #334155;
  color: #94a3b8;
  cursor: default;
}

.quest-claim-btn.btn-in-progress {
  background: #1e293b;
  color: #64748b;
  border: 1px solid #334155;
  cursor: default;
}

@keyframes pulse-scale {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* Responsive adjustments */
@media (max-width: 680px) {
  .top-bar {
    padding: 8px 10px;
    gap: 6px;
    box-sizing: border-box;
    width: 100%;
    max-width: 100vw;
  }
  .stat-badge {
    font-size: 15px;
    padding: 5px 10px;
    gap: 5px;
    border-width: 2px;
    border-radius: 18px;
    box-shadow: 0 3px 0 #388e3c, 0 5px 12px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
  }
  .badge-icon {
    font-size: 16px;
  }
  .top-actions {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
  }
  .icon-btn {
    width: 37px;
    height: 37px;
    min-width: 37px;
    max-width: 37px;
    padding: 0;
    border-radius: 12px;
    font-size: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 0 #b0bec5, 0 4px 8px rgba(0,0,0,0.12);
  }
  .icon-btn:hover {
    transform: translateY(-1px);
  }
  .icon-btn:active {
    transform: translateY(2px);
    box-shadow: 0 1px 0 #b0bec5;
  }
  .action-btn {
    box-shadow: 0 3px 0 #e65100, 0 4px 8px rgba(255, 143, 0, 0.35);
  }
  #btn-upgrade {
    width: 39px;
    height: 37px;
    min-width: 39px;
    max-width: 39px;
  }
  .quest-notification-dot {
    top: -2px;
    right: -2px;
    width: 9px;
    height: 9px;
  }
  .btn-label {
    display: none !important;
  }
  .side-actions {
    top: 64px;
    right: 8px;
    gap: 8px;
  }
  .boost-btn {
    padding: 8px 10px;
  }
  .boost-title {
    font-size: 11px;
  }
  .upgrade-tabs {
    gap: 3px;
  }
  .tab-btn {
    padding: 7px 2px;
    font-size: 10px;
    border-radius: 10px;
  }
  .player-hero-card {
    padding: 12px 10px;
  }
  .player-avatar-ring {
    width: 62px;
    height: 62px;
  }
  .player-avatar-emoji {
    font-size: 32px;
  }
  .player-stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }
  .worker-roster-card {
    padding: 10px 10px;
  }
  .worker-portrait-frame {
    width: 68px;
    height: 68px;
    min-width: 68px;
    border-radius: 14px;
  }
  .bottom-bar {
    bottom: 14px;
  }
  .capacity-container {
    width: 190px;
    padding: 6px 12px;
    border-radius: 16px;
    gap: 4px;
  }
  .capacity-label {
    font-size: 11px;
  }
  .capacity-count {
    font-size: 10.5px;
    padding: 1px 6px;
  }
  .capacity-bar {
    height: 5.5px;
  }
}

@media (max-width: 375px) {
  .top-bar {
    padding: 6px 6px;
    gap: 4px;
  }
  .stat-badge {
    font-size: 13.5px;
    padding: 4px 7px;
    gap: 3px;
  }
  .top-actions {
    gap: 3.5px;
  }
  .icon-btn {
    width: 33px;
    height: 33px;
    min-width: 33px;
    max-width: 33px;
    font-size: 15px;
    border-radius: 10px;
  }
  #btn-upgrade {
    width: 34px;
    height: 33px;
    min-width: 34px;
    max-width: 34px;
  }
  .tab-btn {
    font-size: 9px;
    padding: 6px 1px;
  }
  .player-stats-grid {
    grid-template-columns: 1fr;
  }
  .worker-portrait-frame {
    width: 58px;
    height: 58px;
    min-width: 58px;
    border-radius: 12px;
  }
  .bottom-bar {
    bottom: 10px;
  }
  .capacity-container {
    width: 170px;
    padding: 5px 10px;
  }
}