/* ===== FlowTok Ads Mobile — Design Tokens ===== */
:root {
  /* Colors */
  --primary-blue: #2246F3;
  --primary-purple: #7832F0;
  --primary-gradient: linear-gradient(225deg, #2246F3 0%, #7832F0 100%);
  --primary-gradient-btn: linear-gradient(200deg, #2246F3 0%, #7832F0 100%);
  --cyan: #37D5FA;
  --black: #000000;
  --white: #FFFFFF;
  --text-primary: #1D1D1D;
  --text-secondary: #8E8E93;
  --text-dark: #222222;
  --bg-light: #EFEFF4;
  --bg-card: #FFFFFF;
  --bg-gray: #E5E5EA;
  --bg-input: #F0F0F0;
  --border-color: #E5E5EA;
  --divider: #E8E8E8;
  --tab-inactive: #979797;
  --danger: #FF3B30;
  --success: #34C759;

  /* Typography */
  --font-family: -apple-system, 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', Arial, sans-serif;
  --font-bold: 700;
  --font-semibold: 600;
  --font-medium: 500;
  --font-regular: 400;

  /* Spacing */
  --padding-screen: 20px;
  --padding-card: 25px;
  --gap-sm: 8px;
  --gap-md: 16px;
  --gap-lg: 24px;

  /* Radii */
  --radius-sm: 5px;
  --radius-md: 11px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-pill: 24px;
  --radius-round: 30px;
  --radius-circle: 50%;

  /* Shadows */
  --shadow-fab: 0px 10px 20px rgba(0,0,0,0.15);
  --shadow-tab: 0px -0.5px 0px 0px #E8E8E8;

  /* Sizing */
  --tabbar-height: 60px;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  background: var(--bg-light);
  margin: 0;
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===== App Container ===== */
.app {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--white);
  overflow: hidden;
}

/* ===== Screen System ===== */
.screen {
  display: none;
  min-height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}

.screen.active {
  display: block;
}

.screen::-webkit-scrollbar {
  display: none;
}

/* ===== Status Bar (hidden for TMA) ===== */
.status-bar {
  display: none !important;
}

/* ===== Header ===== */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px var(--padding-screen);
  background: var(--white);
  position: relative;
}

.header-title {
  font-size: 17px;
  font-weight: var(--font-semibold);
  text-align: center;
  flex: 1;
}

.header-logo {
  width: 21px;
  height: 27px;
}

.header-avatar {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-circle);
  background: #ECECEC;
  overflow: hidden;
}

.header-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.header-back {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  background: none;
}

.header-divider {
  height: 1px;
  background: linear-gradient(to right, var(--white), var(--border-color) 50%, var(--white));
  border-radius: 31px;
}

/* ===== Tab Bar ===== */
.tab-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  max-width: 480px;
  margin: 0 auto;
  height: var(--tabbar-height);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(27px);
  -webkit-backdrop-filter: blur(27px);
  box-shadow: var(--shadow-tab);
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 200;
}

.tab-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  border: none;
  background: none;
  min-width: 67px;
}

.tab-item svg {
  width: 22px;
  height: 20px;
}

.tab-item span {
  font-size: 10px;
  font-weight: var(--font-medium);
  letter-spacing: 0.12px;
  color: var(--tab-inactive);
}

.tab-item.active span {
  color: var(--black);
}

.tab-item.active svg {
  color: var(--black);
}

/* ===== FAB (Floating Action Button) ===== */
.fab {
  position: fixed;
  bottom: 80px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 28px;
  background: var(--primary-gradient);
  box-shadow: var(--shadow-fab);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  z-index: 201;
  transition: transform 0.2s ease;
}

.fab:active {
  transform: scale(0.95);
}

.fab svg {
  width: 22px;
  height: 22px;
  color: var(--white);
}

/* ===== Buttons ===== */
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  border-radius: var(--radius-pill);
  font-family: var(--font-family);
  font-size: 15px;
  font-weight: var(--font-medium);
  letter-spacing: -0.36px;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
  border: none;
  width: 100%;
}

.btn:active {
  transform: scale(0.98);
  opacity: 0.85;
}

.btn-primary {
  background: var(--black);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--border-color);
  color: var(--text-primary);
}

.btn-gradient {
  background: var(--primary-gradient-btn);
  color: var(--white);
  border-radius: var(--radius-md);
}

.btn-white {
  background: var(--white);
  color: var(--black);
  border: 2px solid var(--white);
  border-radius: 26px;
}

.btn-sm {
  height: 41px;
  font-size: 14px;
  width: auto;
  padding: 0 24px;
}

.btn-icon-left {
  gap: 12px;
  justify-content: flex-start;
  padding-left: 17px;
}

.btn-icon-left img, .btn-icon-left svg {
  width: 26px;
  height: 26px;
}

.btn-icon-left .btn-text {
  flex: 1;
  text-align: center;
  padding-right: 38px;
}

/* ===== Cards ===== */
.card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: var(--padding-card);
  margin: 0 10px;
}

.card + .card {
  margin-top: 10px;
}

.card-row {
  display: flex;
  align-items: baseline;
  gap: var(--gap-md);
}

.card-label {
  font-size: 13px;
  font-weight: var(--font-semibold);
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: -0.31px;
}

.card-value {
  font-size: 15px;
  font-weight: var(--font-regular);
  color: var(--text-primary);
  letter-spacing: -0.36px;
}

.card-value-bold {
  font-size: 15px;
  font-weight: var(--font-semibold);
  color: var(--black);
  letter-spacing: -0.41px;
}

.card-divider {
  height: 0.5px;
  background: linear-gradient(to right, var(--white), var(--border-color) 50%, var(--white));
  margin: 15px -25px;
}

/* ===== Input fields ===== */
.input-group {
  margin-bottom: var(--gap-md);
}

.input-label {
  font-size: 13px;
  font-weight: var(--font-semibold);
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: -0.31px;
  margin-bottom: 8px;
}

.input-field {
  width: 100%;
  height: 48px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  padding: 0 16px;
  font-family: var(--font-family);
  font-size: 15px;
  color: var(--text-primary);
  background: var(--white);
  outline: none;
  transition: border-color 0.2s;
}

.input-field:focus {
  border-color: var(--primary-blue);
}

.input-field::placeholder {
  color: var(--text-secondary);
}

textarea.input-field {
  height: 100px;
  padding: 14px 16px;
  resize: none;
}

/* ===== Balance section ===== */
.balance-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px var(--padding-screen);
  height: 53px;
}

.balance-info .balance-label {
  font-size: 15px;
  font-weight: var(--font-medium);
  color: rgba(34,34,34,0.5);
  letter-spacing: -0.36px;
}

.balance-info .balance-amount {
  font-size: 24px;
  font-weight: var(--font-bold);
  color: var(--text-dark);
  letter-spacing: -0.68px;
}

.balance-topup {
  height: 41px;
  padding: 0 20px;
  border-radius: var(--radius-md);
  background: var(--primary-gradient-btn);
  color: var(--white);
  font-size: 14px;
  font-weight: var(--font-medium);
  letter-spacing: -0.41px;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
}

.balance-topup:active {
  opacity: 0.85;
}

/* ===== Empty State ===== */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px var(--padding-screen);
  text-align: center;
}

.empty-state-illustration {
  width: 180px;
  height: 180px;
  margin-bottom: 24px;
}

.empty-state-title {
  font-size: 19px;
  font-weight: var(--font-semibold);
  color: var(--text-primary);
  letter-spacing: -0.63px;
  margin-bottom: 8px;
}

.empty-state-text {
  font-size: 15px;
  color: var(--text-secondary);
  letter-spacing: -0.51px;
  line-height: 1.4;
  margin-bottom: 32px;
  max-width: 250px;
}

/* ===== Stats Grid ===== */
.stats-grid {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: var(--radius-sm);
  margin-right: 4px;
}

.stat-dot-purple { background: var(--primary-purple); }
.stat-dot-cyan { background: var(--cyan); }
.stat-dot-blue { background: var(--primary-blue); }

.stat-value {
  font-size: 15px;
  font-weight: var(--font-semibold);
  color: var(--black);
  letter-spacing: -0.41px;
}

.stat-label {
  font-size: 11px;
  color: var(--text-secondary);
  letter-spacing: -0.31px;
}

/* ===== Bloggers Grid ===== */
.bloggers-grid {
  display: flex;
  gap: 15px;
}

.blogger-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.blogger-stat-header {
  display: flex;
  align-items: center;
  gap: 4px;
}

.blogger-stat svg {
  width: 12px;
  height: 12px;
  color: var(--text-secondary);
}

/* ===== Login Screen ===== */
.login-hero {
  position: relative;
  width: 100%;
  height: 40vh;
  min-height: 200px;
  background: #f1f1f1;
  overflow: hidden;
}

.login-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.login-hero .logo-overlay {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 10;
}

.login-content {
  background: var(--white);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  margin-top: -30px;
  position: relative;
  z-index: 5;
  padding: 30px var(--padding-screen) 40px;
}

.login-title {
  font-size: 21px;
  font-weight: var(--font-bold);
  margin-bottom: 20px;
}

.login-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.login-footer {
  text-align: center;
  margin-bottom: 16px;
}

.login-footer p {
  font-size: 13px;
  color: var(--text-primary);
  letter-spacing: -0.31px;
}

/* ===== Choice Screen ===== */
.choice-section {
  position: relative;
  width: 100%;
  height: 50%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 40px;
}

.choice-section img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.choice-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.8) 100%);
}

.choice-section .choice-text {
  position: relative;
  z-index: 2;
  font-size: 24px;
  font-weight: var(--font-bold);
  color: var(--white);
  text-align: center;
  max-width: 220px;
  line-height: 1.3;
  margin-bottom: 16px;
}

.choice-section .btn-white {
  position: relative;
  z-index: 2;
  width: auto;
  padding: 0 28px;
  height: 44px;
}

.choice-logo {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 10;
}

/* ===== Settings / Notifications list ===== */
.settings-list {
  background: var(--white);
  border-radius: var(--radius-lg);
  margin: 10px;
  overflow: hidden;
}

.settings-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  cursor: pointer;
  transition: background 0.15s;
}

.settings-item:active {
  background: #f5f5f5;
}

.settings-item + .settings-item {
  border-top: 0.5px solid var(--border-color);
}

.settings-item-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.settings-item-icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.settings-item-icon svg {
  width: 16px;
  height: 16px;
  color: var(--white);
}

.settings-item-title {
  font-size: 15px;
  font-weight: var(--font-regular);
  color: var(--text-primary);
}

.settings-item-subtitle {
  font-size: 13px;
  color: var(--text-secondary);
}

.settings-item-arrow {
  color: #C7C7CC;
  font-size: 18px;
}

/* ===== Toggle Switch ===== */
.toggle {
  position: relative;
  width: 51px;
  height: 31px;
  background: #E5E5EA;
  border-radius: 16px;
  cursor: pointer;
  transition: background 0.3s;
}

.toggle.active {
  background: var(--success);
}

.toggle::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 27px;
  height: 27px;
  background: var(--white);
  border-radius: var(--radius-circle);
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
  transition: transform 0.3s;
}

.toggle.active::after {
  transform: translateX(20px);
}

/* ===== Notification item ===== */
.notification-item {
  display: flex;
  gap: 12px;
  padding: 14px var(--padding-screen);
}

.notification-item + .notification-item {
  border-top: 0.5px solid var(--border-color);
}

.notification-avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-circle);
  background: var(--bg-gray);
  flex-shrink: 0;
  overflow: hidden;
}

.notification-content {
  flex: 1;
}

.notification-text {
  font-size: 14px;
  color: var(--text-primary);
  line-height: 1.4;
}

.notification-time {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 4px;
}

.notification-unread {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-circle);
  background: var(--primary-blue);
  flex-shrink: 0;
  margin-top: 6px;
}

/* ===== Top Up screen ===== */
.topup-amount-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 16px 0;
}

.topup-amount-btn {
  height: 44px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: var(--white);
  font-family: var(--font-family);
  font-size: 15px;
  font-weight: var(--font-medium);
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.2s;
}

.topup-amount-btn.selected {
  background: var(--primary-gradient);
  color: var(--white);
  border-color: transparent;
}

.topup-amount-btn:active {
  transform: scale(0.97);
}

/* ===== Payment methods ===== */
.payment-method {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
}

.payment-method + .payment-method {
  border-top: 0.5px solid var(--border-color);
}

.payment-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.payment-info {
  flex: 1;
}

.payment-name {
  font-size: 15px;
  font-weight: var(--font-medium);
}

.payment-detail {
  font-size: 13px;
  color: var(--text-secondary);
}

.payment-check {
  width: 22px;
  height: 22px;
  border-radius: var(--radius-circle);
  border: 2px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

.payment-check.active {
  background: var(--primary-gradient);
  border-color: transparent;
}

/* ===== Campaign Creation ===== */
.campaign-step-indicator {
  display: flex;
  gap: 6px;
  padding: 0 var(--padding-screen);
  margin-bottom: 20px;
}

.campaign-step-dot {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: var(--bg-gray);
}

.campaign-step-dot.active {
  background: var(--primary-gradient);
}

.campaign-step-dot.done {
  background: var(--primary-blue);
}

.campaign-form {
  padding: 0 var(--padding-screen);
}

.campaign-form .input-group {
  margin-bottom: 20px;
}

/* ===== Campaign Overview ===== */
.overview-section {
  padding: var(--padding-card);
  background: var(--white);
  border-radius: var(--radius-lg);
  margin: 10px;
}

.overview-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
}

.overview-row + .overview-row {
  border-top: 0.5px solid var(--border-color);
}

.overview-label {
  font-size: 15px;
  color: var(--text-secondary);
}

.overview-value {
  font-size: 15px;
  font-weight: var(--font-medium);
  color: var(--text-primary);
}

/* ===== Support Screen ===== */
.support-chat {
  flex: 1;
  padding: var(--padding-screen);
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 80px;
}

.chat-message {
  max-width: 75%;
  padding: 12px 16px;
  border-radius: 18px;
  font-size: 15px;
  line-height: 1.4;
}

.chat-message.incoming {
  background: var(--bg-gray);
  color: var(--text-primary);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
}

.chat-message.outgoing {
  background: var(--primary-blue);
  color: var(--white);
  border-bottom-right-radius: 4px;
  align-self: flex-end;
}

.chat-time {
  font-size: 11px;
  color: var(--text-secondary);
  text-align: center;
  margin: 8px 0;
}

.chat-input-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px var(--padding-screen) 16px;
  background: var(--white);
  border-top: 0.5px solid var(--border-color);
  z-index: 200;
}

.chat-input {
  flex: 1;
  height: 36px;
  border-radius: 18px;
  border: 1px solid var(--border-color);
  padding: 0 16px;
  font-family: var(--font-family);
  font-size: 15px;
  outline: none;
}

.chat-send-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-circle);
  background: var(--primary-gradient);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.chat-send-btn svg {
  width: 18px;
  height: 18px;
  color: var(--white);
}

/* ===== Profile Extended ===== */
.profile-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  margin: 10px;
  padding: 20px;
}

.profile-user {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.profile-user-avatar {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-circle);
  background: var(--bg-gray);
  overflow: hidden;
}

.profile-user-name {
  font-size: 17px;
  font-weight: var(--font-semibold);
}

.profile-user-email {
  font-size: 13px;
  color: var(--text-secondary);
}

/* ===== Campaign Card Close Button ===== */
.card-close {
  width: 24px;
  height: 24px;
  border-radius: var(--radius-circle);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  background: none;
  color: var(--text-secondary);
  font-size: 18px;
  transition: color 0.2s;
}

.card-close:hover {
  color: var(--text-primary);
}

/* ===== Period Selector ===== */
.period-selector {
  display: flex;
  gap: 8px;
  margin: 12px 0;
}

.period-option {
  flex: 1;
  height: 36px;
  border-radius: 18px;
  border: 1px solid var(--border-color);
  background: var(--white);
  font-family: var(--font-family);
  font-size: 13px;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.2s;
}

.period-option.selected {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

/* ===== Date Picker Row ===== */
.date-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 0;
}

.date-input {
  flex: 1;
  height: 44px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  padding: 0 14px;
  font-family: var(--font-family);
  font-size: 14px;
  text-align: center;
  outline: none;
}

.date-separator {
  color: var(--text-secondary);
  font-size: 16px;
}

/* ===== Budget Slider ===== */
.budget-slider-container {
  margin: 20px 0;
}

.budget-value {
  font-size: 32px;
  font-weight: var(--font-bold);
  text-align: center;
  margin-bottom: 16px;
}

.budget-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background: var(--bg-gray);
  outline: none;
}

.budget-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 28px;
  height: 28px;
  border-radius: var(--radius-circle);
  background: var(--white);
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  cursor: pointer;
}

.budget-range {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 13px;
  color: var(--text-secondary);
}

/* ===== Utility classes ===== */
.screen-bg-light {
  background: var(--bg-light);
}

.screen-bg-gray {
  background: var(--bg-gray);
}

.screen-bg-white {
  background: var(--white);
}

.content-padded {
  padding: 0 var(--padding-screen);
}

.mt-sm { margin-top: var(--gap-sm); }
.mt-md { margin-top: var(--gap-md); }
.mt-lg { margin-top: var(--gap-lg); }
.mb-sm { margin-bottom: var(--gap-sm); }
.mb-md { margin-bottom: var(--gap-md); }
.mb-lg { margin-bottom: var(--gap-lg); }
.pb-tabbar { padding-bottom: calc(var(--tabbar-height) + 20px); }
.text-center { text-align: center; }

/* SVG Logo */
.logo-svg {
  width: 21px;
  height: 27px;
}

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

/* Content section with safe area */
.screen-content {
  min-height: calc(100vh - var(--tabbar-height));
}

/* ===== Tablet (600–1023px) ===== */
@media (min-width: 600px) and (max-width: 1023px) {
  .app {
    max-width: 100%;
  }

  .tab-bar {
    max-width: 100%;
  }

  .chat-input-bar {
    max-width: 100%;
  }

  /* Campaign cards in 2-column grid */
  #campaigns-list,
  #archive-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 12px 16px 100px !important;
  }

  #campaigns-list .card,
  #archive-list .card {
    margin: 0;
    max-width: none;
  }

  .card {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }

  .settings-list {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }

  .overview-section {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }

  .profile-card {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }

  .campaign-form {
    max-width: 600px;
    margin: 0 auto;
  }

  .content-padded {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }

  .login-hero {
    height: 30vh;
  }

  .choice-section {
    height: 50vh;
  }

  .header {
    max-width: 600px;
    margin: 0 auto;
  }

  .balance-section {
    max-width: 600px;
    margin: 0 auto;
  }

  .empty-state {
    max-width: 600px;
    margin: 0 auto;
  }

  .fab {
    right: calc(50% - 300px + 24px);
  }
}

/* ===== Wide screens shared (≥600px) ===== */
@media (min-width: 600px) {
  .app {
    max-width: 100%;
  }
}
