:root {
  --bg: #eef1f5;
  --bg-strong: #0f1724;
  --panel: #ffffff;
  --panel-soft: #f6f8fb;
  --border: #d8dee7;
  --border-strong: #bcc7d6;
  --text: #122033;
  --muted: #627286;
  --success: #12835d;
  --danger: #b94542;
  --warning: #9c6500;
  --shadow: 0 22px 50px rgba(15, 23, 36, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(222, 107, 45, 0.12), transparent 28%),
    radial-gradient(circle at top right, rgba(31, 127, 184, 0.12), transparent 22%),
    linear-gradient(180deg, #f8fafc 0%, var(--bg) 100%);
  min-height: 100vh;
}

body.app-mode {
  background:
    radial-gradient(circle at top left, rgba(222, 107, 45, 0.08), transparent 24%),
    radial-gradient(circle at top right, rgba(31, 127, 184, 0.08), transparent 18%),
    linear-gradient(180deg, #f7f9fc 0%, #edf1f6 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.page-shell {
  width: min(1320px, calc(100vw - 28px));
  margin: 0 auto;
  padding: 18px 0 28px;
}

body.app-mode .page-shell {
  width: min(100%, 100vw);
  padding: 0 0 28px;
}

body.app-mode .site-header {
  display: none;
}

body.app-mode main {
  display: grid;
  gap: 14px;
  padding: 10px 10px 0;
}

.site-header {
  position: sticky;
  top: 10px;
  z-index: 20;
  margin-bottom: 22px;
  border-radius: 26px;
  background: rgba(15, 23, 36, 0.95);
  color: #f4f7fb;
  box-shadow: 0 28px 60px rgba(15, 23, 36, 0.22);
  overflow: hidden;
}

.topbar,
.site-footer,
.section-head,
.section-head.compact,
.hero-actions,
.hero-stats,
.dashboard-badges,
.prediction-head,
.prediction-meta,
.plan-head,
.analysis-head,
.analysis-meta,
.portal-card-head,
.panel-head,
.card-inline-stats,
.form-footer,
.site-nav {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.topbar {
  align-items: center;
  padding: 18px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-logo {
  width: 68px;
  height: 68px;
  object-fit: cover;
  border-radius: 20px;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 36px rgba(8, 12, 24, 0.32);
}

.brand-copy {
  display: grid;
  gap: 0;
}

.brand-copy strong,
.hero h1,
.dashboard-hero h1,
.portal-hero h1,
.auth-card h1,
.section-head h2,
.portal-card h3,
.prediction-card h3,
.prediction-brief h3,
.analysis-card h3,
.plan-card h3,
.watch-card strong,
.hero-panel h2,
.portal-hero-panel h2 {
  font-family: "Georgia", "Palatino Linotype", serif;
  letter-spacing: 0.01em;
}

.hero-text,
.section-note,
.helper-text,
.analysis-meta,
.prediction-meta,
.footer-note,
.auth-footnote,
.panel-card p,
.portal-card p,
.sponsor-card p,
.watch-card p,
.mini-metric-card small {
  color: var(--muted);
}

.header-status {
  display: grid;
  gap: 6px;
  justify-items: center;
  max-width: 30rem;
  text-align: center;
}

.header-status p {
  margin: 0;
  color: rgba(244, 247, 251, 0.82);
  font-size: 0.95rem;
  line-height: 1.55;
}

.status-pill,
.member-pill,
.signal-pill,
.hero-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 0.84rem;
  white-space: nowrap;
}

.status-pill {
  background: rgba(255, 255, 255, 0.08);
  color: #ffd19c;
  border: 1px solid rgba(255, 209, 156, 0.22);
}

.site-nav {
  align-items: center;
  flex-wrap: wrap;
}

.nav-link {
  color: rgba(244, 247, 251, 0.88);
}

.primary-button,
.ghost-button {
  border-radius: 999px;
  padding: 11px 18px;
  border: 1px solid transparent;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.primary-button {
  background: linear-gradient(135deg, #ffbf7d, #de6b2d);
  color: #1d1f22;
  font-weight: 700;
  box-shadow: 0 10px 20px rgba(222, 107, 45, 0.22);
}

.ghost-button {
  background: rgba(255, 255, 255, 0.04);
  color: inherit;
  border-color: rgba(255, 255, 255, 0.16);
}

.primary-button:hover,
.ghost-button:hover {
  transform: translateY(-1px);
}

.market-strip {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
  padding: 14px 18px 18px;
}

.market-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 108px;
  padding: 14px 12px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.02);
  text-align: center;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.market-chip:hover {
  transform: translateY(-2px);
}

.market-chip-label {
  color: #ffffff;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.25;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.market-chip-icon {
  color: color-mix(in srgb, var(--accent) 70%, #ffffff 30%);
  font-size: 2rem;
  line-height: 1;
}

.market-chip.active {
  border-color: var(--accent);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06), 0 12px 28px rgba(15, 23, 36, 0.2);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 24%, transparent), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.03);
}

.hero,
.dashboard-hero,
.portal-hero,
.content-section,
.panel-card,
.metric-card,
.auth-card,
.flash-banner,
.empty-card,
.mini-metric-card {
  background: var(--panel);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.hero,
.portal-hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 22px;
  border-radius: 30px;
  padding: 28px;
}

.hero h1,
.dashboard-hero h1,
.portal-hero h1,
.auth-card h1 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.02;
}

.hero-text,
.dashboard-hero p,
.portal-hero p,
.auth-card p {
  line-height: 1.7;
  font-size: 1.02rem;
}

.eyebrow {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
  color: #8b4d16;
}

.hero-actions,
.hero-stats,
.dashboard-badges,
.prediction-meta,
.analysis-meta,
.card-inline-stats,
.hero-tags {
  flex-wrap: wrap;
}

.stat-chip,
.metric-card,
.hero-panel,
.portal-hero-panel,
.portal-card,
.prediction-card,
.prediction-brief,
.analysis-card,
.plan-card,
.sponsor-card,
.watch-card,
.sponsor-slot {
  border-radius: 22px;
}

.hero-panel,
.portal-hero-panel,
.panel-card,
.portal-card,
.prediction-card,
.prediction-brief,
.analysis-card,
.plan-card,
.sponsor-card,
.watch-card,
.sponsor-slot,
.empty-card,
.mini-metric-card {
  background: var(--panel-soft);
  border: 1px solid var(--border);
}

.hero-panel,
.portal-hero-panel,
.panel-card,
.portal-card,
.analysis-card,
.plan-card,
.sponsor-card,
.watch-card,
.sponsor-slot,
.empty-card {
  padding: 22px;
}

.stat-chip,
.metric-card {
  padding: 18px;
  background: linear-gradient(180deg, #ffffff, #f6f8fb);
}

.stat-chip strong,
.metric-card strong,
.mini-metric-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.7rem;
}

.panel-head,
.portal-card-head,
.analysis-head,
.prediction-head,
.plan-head {
  align-items: flex-start;
}

.hero-panel h2,
.portal-hero-panel h2,
.section-head h2,
.portal-card h3,
.prediction-card h3,
.prediction-brief h3,
.analysis-card h3,
.plan-card h3 {
  margin: 0;
}

.content-section,
.dashboard-hero,
.portal-layout,
.auth-shell,
.flash-banner,
.mini-metric-grid {
  margin-top: 22px;
}

.content-section {
  border-radius: 28px;
  padding: 26px;
}

.section-head {
  align-items: end;
  margin-bottom: 18px;
}

.section-head.compact {
  align-items: start;
}

.section-note {
  font-size: 0.92rem;
}

.portal-grid,
.prediction-grid,
.plan-grid,
.sponsor-grid,
.analysis-grid,
.metric-grid,
.mini-metric-grid {
  display: grid;
  gap: 16px;
}

.portal-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.portal-card {
  position: relative;
  overflow: hidden;
}

.portal-card::before,
.prediction-card::before,
.prediction-brief::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--accent, #de6b2d);
}

.portal-card-head,
.card-inline-stats {
  margin-bottom: 14px;
}

.card-kicker {
  display: block;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  color: #6b7585;
}

.card-button {
  display: inline-flex;
  margin-top: 18px;
}

.prediction-grid,
.analysis-grid,
.plan-grid,
.sponsor-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.prediction-card,
.prediction-brief {
  position: relative;
  overflow: hidden;
  padding: 18px 18px 18px 24px;
}

.prediction-head span,
.prediction-meta span,
.analysis-meta span,
.card-inline-stats span,
.watch-card small {
  font-size: 0.9rem;
}

.dashboard-hero {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: start;
  border-radius: 28px;
  padding: 28px;
}

.dashboard-hero-refined {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.8fr);
  gap: 18px;
  background:
    radial-gradient(circle at top left, rgba(222, 107, 45, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 248, 251, 0.96));
}

.dashboard-hero-copy {
  display: grid;
  gap: 18px;
}

.dashboard-news-line {
  margin: 0;
  padding: 13px 16px;
  border-radius: 16px;
  border: 1px solid rgba(222, 107, 45, 0.16);
  background: rgba(255, 248, 242, 0.92);
  color: #7a4a22;
  font-size: 0.98rem;
  line-height: 1.5;
}

.dashboard-inline-metrics,
.dashboard-highlight-grid,
.dashboard-portal-grid {
  display: grid;
  gap: 16px;
}

.dashboard-inline-metrics {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.dashboard-mini-stat,
.dashboard-summary-card,
.dashboard-highlight-card,
.dashboard-portal-card {
  border-radius: 22px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.82);
}

.dashboard-mini-stat {
  padding: 16px 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.dashboard-mini-stat span,
.dashboard-summary-kicker,
.dashboard-highlight-meta,
.dashboard-portal-meta span {
  color: #6a768a;
}

.dashboard-mini-stat strong {
  display: block;
  margin-top: 8px;
  font-size: 1.6rem;
}

.dashboard-summary-card {
  display: grid;
  gap: 14px;
  padding: 22px;
  align-self: stretch;
  box-shadow: 0 18px 36px rgba(15, 23, 36, 0.08);
}

.dashboard-summary-kicker {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.76rem;
}

.dashboard-summary-card strong {
  color: #8b4d16;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.dashboard-summary-card h2 {
  margin: -6px 0 0;
  font-family: "Georgia", "Palatino Linotype", serif;
  font-size: 1.8rem;
  line-height: 1.1;
}

.dashboard-summary-card p {
  margin: 0;
  line-height: 1.7;
  color: #415166;
}

.dashboard-summary-meta,
.dashboard-highlight-head,
.dashboard-portal-card-head,
.dashboard-portal-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.dashboard-highlight-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.dashboard-highlight-card,
.dashboard-portal-card {
  display: grid;
  gap: 14px;
  padding: 20px 22px;
  color: inherit;
  position: relative;
  overflow: hidden;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.dashboard-highlight-card::before,
.dashboard-portal-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--accent, #de6b2d);
}

.dashboard-highlight-card:hover,
.dashboard-portal-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(15, 23, 36, 0.08);
}

.dashboard-highlight-category {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.dashboard-highlight-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 12px;
  background: color-mix(in srgb, var(--accent) 16%, white);
  color: color-mix(in srgb, var(--accent) 72%, #243041 28%);
  font-size: 1.3rem;
  line-height: 1;
}

.dashboard-highlight-card strong,
.dashboard-portal-card h3 {
  margin: 0;
  font-family: "Georgia", "Palatino Linotype", serif;
  font-size: 1.2rem;
  line-height: 1.25;
}

.dashboard-highlight-card p,
.dashboard-portal-card p {
  margin: 0;
  color: #4e5d71;
  line-height: 1.65;
}

.dashboard-highlight-meta {
  font-size: 0.9rem;
  font-weight: 700;
}

.dashboard-portal-grid {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.dashboard-portal-meta {
  font-size: 0.9rem;
}

.home-board-head {
  align-items: center;
}

.home-board-toolbar {
  justify-content: flex-end;
}

.home-ai-card-list {
  display: grid;
  gap: 14px;
}

.home-ai-card {
  display: grid;
  gap: 10px;
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--panel-soft);
  color: inherit;
}

.home-ai-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.home-ai-card-target {
  font-family: "Georgia", "Palatino Linotype", serif;
  font-size: 1.08rem;
  line-height: 1.3;
}

.home-ai-card-signal {
  color: #8b4d16;
  font-size: 0.92rem;
  font-weight: 700;
}

.home-ai-card p {
  margin: 0;
  line-height: 1.6;
}

.home-ai-board {
  min-width: 1040px;
}

.home-ai-board td:last-child {
  min-width: 25rem;
  line-height: 1.65;
}

.portal-grid-home .home-portal-card {
  display: grid;
  gap: 14px;
}

.portal-grid-home .card-inline-stats {
  flex-wrap: wrap;
  margin-bottom: 0;
}

.metric-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.dashboard-grid,
.portal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.9fr);
  gap: 18px;
}

.side-stack,
.portal-side,
.watchlist,
.prediction-stack,
.analysis-form {
  display: grid;
  gap: 16px;
}

.portal-main {
  display: grid;
  gap: 18px;
}

.football-page-card,
.football-live-panel,
.football-nav-panel,
.football-section-shell {
  margin-top: 22px;
}

.football-live-panel {
  display: grid;
  gap: 18px;
}

.football-panel-actions {
  display: grid;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid rgba(12, 22, 34, 0.08);
}

.football-section-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}

.football-section-link {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 248, 251, 0.98));
  box-shadow: 0 12px 28px rgba(15, 23, 36, 0.06);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.football-section-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.football-section-link strong {
  display: block;
  font-family: "Georgia", "Palatino Linotype", serif;
  font-size: 1.06rem;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.football-section-link span {
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.92rem;
}

.football-section-link:hover,
.football-section-link.is-active {
  transform: translateY(-2px);
  border-color: #de6b2d;
  box-shadow: 0 18px 34px rgba(222, 107, 45, 0.12);
}

.football-section-link.is-active {
  background:
    linear-gradient(135deg, rgba(222, 107, 45, 0.12), rgba(31, 127, 184, 0.06)),
    #ffffff;
}

.football-hero-copy,
.football-section-shell,
.football-hero-metrics {
  display: grid;
  gap: 16px;
}

.football-hero-panel {
  display: grid;
  gap: 18px;
}

.football-hero-metrics {
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}

.football-hero-metrics .mini-metric-card {
  padding: 16px;
}

.football-inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

body.app-mode .football-nav-panel .section-head {
  margin-bottom: 4px;
}

body.app-mode .football-section-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

body.app-mode .football-section-link {
  min-height: 108px;
  padding: 16px 12px;
  justify-items: center;
  align-content: center;
  text-align: center;
}

body.app-mode .football-section-link strong {
  font-size: 0.98rem;
}

body.app-mode .football-section-link span:last-child {
  display: none;
}

body.app-mode .football-page-card,
body.app-mode .football-section-shell,
body.app-mode .content-section,
body.app-mode .dashboard-hero,
body.app-mode .portal-hero,
body.app-mode .panel-card,
body.app-mode .auth-card {
  border-radius: 24px;
}

body.app-mode .portal-layout,
body.app-mode .dashboard-grid {
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 14px;
}

body.app-mode .portal-main,
body.app-mode .portal-side {
  gap: 14px;
}

body.app-mode .portal-side {
  order: 2;
}

body.app-mode .theme-chip-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

body.app-mode .theme-chip {
  min-height: 86px;
  padding: 14px 12px;
  border-radius: 18px;
}

body.app-mode .stock-overview-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.app-mode .indicator-grid,
body.app-mode .analysis-grid {
  grid-template-columns: 1fr;
}

body.app-mode .table-scroll-tall {
  max-height: 24rem;
}

body.app-mode {
  --bg: #03060b;
  --bg-strong: #020408;
  --panel: #091019;
  --panel-soft: #101925;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #f5f7fb;
  --muted: #9aa8bb;
  --success: #4ade80;
  --danger: #fb7185;
  --warning: #fbbf24;
  --shadow: 0 18px 38px rgba(0, 0, 0, 0.38);
  background:
    radial-gradient(circle at top center, rgba(23, 184, 255, 0.12), transparent 24%),
    radial-gradient(circle at top right, rgba(255, 143, 31, 0.1), transparent 18%),
    linear-gradient(180deg, #02050a 0%, #040812 100%);
  color-scheme: dark;
}

body.app-mode .page-shell {
  width: 100%;
  padding: 0 0 20px;
}

body.app-mode main {
  gap: 12px;
  padding: 12px 10px 18px;
  grid-template-columns: minmax(0, 1fr);
}

body.app-mode main > * {
  min-width: 0;
  width: 100%;
}

body.app-mode .app-topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  gap: 12px;
  padding: 12px 10px 8px;
  background: linear-gradient(180deg, rgba(2, 5, 10, 0.96), rgba(2, 5, 10, 0.78));
  backdrop-filter: blur(18px);
}

body.app-mode .app-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}

body.app-mode .app-brand-logo {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
  object-fit: cover;
  flex: 0 0 auto;
}

body.app-mode .app-brand-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
  margin-right: auto;
}

body.app-mode .app-brand-copy strong {
  color: #ffffff;
  font-size: 1.02rem;
  letter-spacing: 0.02em;
}

body.app-mode .app-brand-copy small {
  color: var(--muted);
  font-size: 0.8rem;
}

body.app-mode .app-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

body.app-mode .app-actions form {
  margin: 0;
}

body.app-mode .app-quick-button {
  min-height: 40px;
  padding: 10px 14px;
  font-size: 0.88rem;
  box-shadow: none;
}

body.app-mode .app-market-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 0 10px 6px;
}

body.app-mode .app-market-chip {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 6px;
  min-width: 0;
  min-height: 72px;
  padding: 10px 8px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  text-align: center;
}

body.app-mode .app-market-chip span {
  display: block;
  min-width: 0;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.18;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

body.app-mode .app-market-chip.is-active {
  border-color: var(--accent, #17b8ff);
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent, #17b8ff) 18%, transparent), rgba(255, 255, 255, 0.05));
  color: #ffffff;
}

body.app-mode .app-market-chip .market-chip-icon {
  color: color-mix(in srgb, var(--accent, #17b8ff) 72%, #ffffff 28%);
  font-size: 1.2rem;
}

body.app-mode .hero,
body.app-mode .dashboard-hero,
body.app-mode .content-section,
body.app-mode .panel-card,
body.app-mode .metric-card,
body.app-mode .auth-card,
body.app-mode .flash-banner,
body.app-mode .empty-card,
body.app-mode .mini-metric-card,
body.app-mode .portal-card,
body.app-mode .analysis-card,
body.app-mode .watch-card,
body.app-mode .sponsor-slot,
body.app-mode .dashboard-mini-stat,
body.app-mode .dashboard-highlight-card,
body.app-mode .dashboard-summary-card,
body.app-mode .theme-chip,
body.app-mode .stock-metric-card,
body.app-mode .archive-chip,
body.app-mode .result-form-card {
  background: linear-gradient(180deg, rgba(10, 16, 25, 0.96), rgba(15, 24, 37, 0.96));
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

body.app-mode .football-page-card,
body.app-mode .football-section-shell,
body.app-mode .content-section,
body.app-mode .dashboard-hero,
body.app-mode .panel-card,
body.app-mode .auth-card {
  border-radius: 20px;
  padding: 18px;
  min-width: 0;
  max-width: 100%;
}

body.app-mode .dashboard-hero {
  margin-top: 0;
}

body.app-mode .dashboard-hero-refined {
  grid-template-columns: 1fr;
  gap: 12px;
}

body.app-mode .dashboard-inline-metrics,
body.app-mode .dashboard-summary-card {
  display: none;
}

body.app-mode .dashboard-news-line {
  margin: 0;
  border: 1px solid rgba(255, 143, 31, 0.24);
  background: rgba(255, 255, 255, 0.04);
  color: #eef2f7;
}

body.app-mode .home-board-section {
  order: 2;
}

body.app-mode #portallar {
  order: 1;
  margin-top: 0;
}

body.app-mode .home-board-toolbar {
  display: none;
}

body.app-mode .home-ai-card-list {
  gap: 10px;
}

body.app-mode .home-ai-card {
  padding: 14px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(10, 16, 25, 0.96), rgba(15, 24, 37, 0.96));
  box-shadow: var(--shadow);
  min-width: 0;
  max-width: 100%;
}

body.app-mode .home-ai-card-target {
  color: #ffffff;
  font-size: 1rem;
}

body.app-mode .home-ai-card-signal {
  color: #ffb86a;
}

body.app-mode .home-ai-card p {
  color: var(--muted);
}

body.app-mode .section-head {
  margin-bottom: 14px;
}

body.app-mode .section-head h2,
body.app-mode .portal-card h3,
body.app-mode .analysis-card h3,
body.app-mode .dashboard-highlight-card strong,
body.app-mode .dashboard-portal-card h3,
body.app-mode .auth-card h1,
body.app-mode .dashboard-hero h1,
body.app-mode .panel-head h2 {
  color: #ffffff;
}

body.app-mode .eyebrow {
  color: #ff8f1f;
}

body.app-mode .section-note,
body.app-mode .helper-text,
body.app-mode .portal-side .sponsor-mini {
  display: none;
}

body.app-mode .portal-grid,
body.app-mode .dashboard-highlight-grid,
body.app-mode .analysis-grid,
body.app-mode .stock-overview-grid,
body.app-mode .theme-chip-grid {
  gap: 12px;
}

body.app-mode .portal-grid,
body.app-mode .dashboard-highlight-grid,
body.app-mode .analysis-grid {
  grid-template-columns: 1fr;
}

body.app-mode .portal-grid-home,
body.app-mode .football-section-grid,
body.app-mode .theme-chip-grid,
body.app-mode .stock-overview-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.app-mode .portal-grid-home {
  grid-template-columns: 1fr;
}

body.app-mode .portal-card,
body.app-mode .dashboard-highlight-card,
body.app-mode .analysis-card,
body.app-mode .watch-card,
body.app-mode .stock-metric-card {
  padding: 16px;
  min-width: 0;
  max-width: 100%;
}

body.app-mode .portal-card-head > div,
body.app-mode .dashboard-highlight-head > span,
body.app-mode .card-inline-stats span,
body.app-mode .portal-card h3,
body.app-mode .dashboard-highlight-card strong {
  min-width: 0;
  overflow-wrap: anywhere;
}

body.app-mode .portal-card::before,
body.app-mode .prediction-card::before,
body.app-mode .prediction-brief::before,
body.app-mode .dashboard-highlight-card::before,
body.app-mode .dashboard-portal-card::before {
  width: 3px;
}

body.app-mode .portal-card p,
body.app-mode .dashboard-highlight-card p,
body.app-mode .analysis-card p,
body.app-mode .watch-card p,
body.app-mode .news-bulletin-summary,
body.app-mode .table-subline,
body.app-mode .dashboard-highlight-meta,
body.app-mode .dashboard-mini-stat span,
body.app-mode .dashboard-summary-kicker,
body.app-mode .analysis-card small,
body.app-mode .mini-metric-card small {
  color: var(--muted);
}

body.app-mode .primary-button {
  background: linear-gradient(135deg, #ff8f1f, #ff4d5f);
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(255, 77, 95, 0.22);
}

body.app-mode .ghost-button {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

body.app-mode .member-pill,
body.app-mode .signal-pill,
body.app-mode .hero-tag,
body.app-mode .status-pill {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

body.app-mode .notice-banner {
  background: rgba(23, 184, 255, 0.12);
  border-color: rgba(23, 184, 255, 0.22);
  color: #d5efff;
}

body.app-mode .warning-banner {
  background: rgba(255, 143, 31, 0.12);
  border-color: rgba(255, 143, 31, 0.24);
  color: #ffd39f;
}

body.app-mode .flash-banner.success {
  background: rgba(74, 222, 128, 0.12);
  border-color: rgba(74, 222, 128, 0.24);
  color: #b7f7cc;
}

body.app-mode .flash-banner.error {
  background: rgba(251, 113, 133, 0.12);
  border-color: rgba(251, 113, 133, 0.22);
  color: #ffc2cc;
}

body.app-mode .result-pill {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

body.app-mode .result-pending {
  background: rgba(251, 191, 36, 0.14);
  border-color: rgba(251, 191, 36, 0.26);
  color: #ffd66b;
}

body.app-mode .result-win {
  background: rgba(74, 222, 128, 0.14);
  border-color: rgba(74, 222, 128, 0.24);
  color: #97efb1;
}

body.app-mode .result-perfect {
  background: rgba(255, 143, 31, 0.14);
  border-color: rgba(255, 143, 31, 0.22);
  color: #ffcb92;
}

body.app-mode .result-loss {
  background: rgba(251, 113, 133, 0.14);
  border-color: rgba(251, 113, 133, 0.22);
  color: #ffb4c0;
}

body.app-mode .result-skip {
  background: rgba(148, 163, 184, 0.16);
  border-color: rgba(148, 163, 184, 0.24);
  color: #d5dfec;
}

body.app-mode .news-bulletin-row {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.07);
}

body.app-mode .news-bulletin-meta {
  color: #ff8f1f;
}

body.app-mode .table-scroll-tall,
body.app-mode .news-bulletin-scroll,
body.app-mode .watchlist-scroll,
body.app-mode .archive-grid-scroll {
  max-height: 55vh;
  border-color: rgba(255, 255, 255, 0.06);
}

body.app-mode .table-scroll-tall {
  background: rgba(6, 10, 16, 0.88);
}

body.app-mode .table-scroll-tall .data-table th,
body.app-mode .data-table th {
  background: #0d1520;
  color: #8fa3bc;
}

body.app-mode .data-table td {
  color: #f5f7fb;
}

body.app-mode .selected-row td,
body.app-mode .data-table tbody tr:hover td {
  background: rgba(255, 255, 255, 0.03);
}

body.app-mode .table-link {
  color: #ffffff;
}

body.app-mode .theme-chip {
  min-height: 82px;
}

body.app-mode .football-section-link {
  min-height: 96px;
  padding: 14px 10px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(11, 18, 28, 0.98), rgba(16, 25, 37, 0.98));
  border-color: rgba(255, 255, 255, 0.08);
}

body.app-mode .football-section-link strong {
  color: #ffffff;
}

body.app-mode .football-section-link.is-active,
body.app-mode .football-section-link:hover {
  border-color: #ff8f1f;
  box-shadow: 0 14px 28px rgba(255, 143, 31, 0.16);
}

body.app-mode .live-time {
  color: #ff4d5f;
  font-weight: 700;
}

body.app-mode .football-live-panel {
  padding: 14px;
}

body.app-mode .football-live-panel .section-head {
  margin-bottom: 10px;
}

body.app-mode .football-live-panel .section-head h2 {
  font-size: 1.02rem;
}

body.app-mode .football-metrics-compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

body.app-mode .football-metrics-compact .mini-metric-card {
  padding: 10px 9px;
  border-radius: 16px;
}

body.app-mode .football-metrics-compact .mini-metric-card span {
  margin-bottom: 4px;
  font-size: 0.68rem;
  line-height: 1.2;
}

body.app-mode .football-metrics-compact .mini-metric-card strong {
  font-size: 0.96rem;
  line-height: 1.1;
}

body.app-mode .football-metrics-compact .mini-metric-card small {
  display: none;
}

body.app-mode .football-bulletin-scroll {
  margin-top: 10px;
}

body.app-mode .football-live-panel .football-bulletin-scroll.table-scroll-tall {
  max-height: none;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
}

body.app-mode .football-bulletin-table {
  min-width: 0;
  table-layout: fixed;
}

body.app-mode .football-bulletin-table th,
body.app-mode .football-bulletin-table td {
  padding: 8px 6px;
  font-size: 0.78rem;
}

body.app-mode .football-bulletin-table th:nth-child(1),
body.app-mode .football-bulletin-table td:nth-child(1) {
  width: 52%;
}

body.app-mode .football-bulletin-table th:nth-child(2),
body.app-mode .football-bulletin-table td:nth-child(2) {
  width: 20%;
}

body.app-mode .football-bulletin-table th:nth-child(3),
body.app-mode .football-bulletin-table td:nth-child(3) {
  width: 28%;
}

body.app-mode .football-bulletin-table td {
  word-break: break-word;
  overflow-wrap: anywhere;
}

body.app-mode .football-bulletin-table .table-link {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-size: 0.82rem;
  line-height: 1.24;
  font-weight: 600;
}

body.app-mode .football-live-section-table {
  min-width: 0;
  table-layout: fixed;
}

body.app-mode .football-live-section-table th,
body.app-mode .football-live-section-table td {
  padding: 8px 5px;
  font-size: 0.74rem;
  vertical-align: top;
}

body.app-mode .football-live-section-table th:nth-child(1),
body.app-mode .football-live-section-table td:nth-child(1) {
  width: 34%;
}

body.app-mode .football-live-section-table th:nth-child(2),
body.app-mode .football-live-section-table td:nth-child(2) {
  width: 19%;
}

body.app-mode .football-live-section-table th:nth-child(3),
body.app-mode .football-live-section-table td:nth-child(3) {
  width: 12%;
  text-align: center;
  white-space: nowrap;
}

body.app-mode .football-live-section-table th:nth-child(4),
body.app-mode .football-live-section-table td:nth-child(4) {
  width: 35%;
}

body.app-mode .football-live-section-table .table-link {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-size: 0.79rem;
  line-height: 1.18;
}

body.app-mode .football-live-section-table .table-subline {
  margin-top: 4px;
  font-size: 0.68rem;
  line-height: 1.2;
}

body.app-mode .football-day-status-table {
  min-width: 0;
  table-layout: fixed;
}

body.app-mode .football-day-status-table th,
body.app-mode .football-day-status-table td {
  padding: 9px 6px;
  font-size: 0.75rem;
  line-height: 1.22;
  vertical-align: top;
}

body.app-mode .football-day-status-table th:nth-child(1),
body.app-mode .football-day-status-table td:nth-child(1) {
  width: 44%;
}

body.app-mode .football-day-status-table th:nth-child(2),
body.app-mode .football-day-status-table td:nth-child(2) {
  width: 12%;
  white-space: nowrap;
}

body.app-mode .football-day-status-table th:nth-child(3),
body.app-mode .football-day-status-table td:nth-child(3) {
  width: 22%;
}

body.app-mode .football-day-status-table th:nth-child(4),
body.app-mode .football-day-status-table td:nth-child(4) {
  width: 22%;
}

body.app-mode .football-day-status-table th {
  font-size: 0.67rem;
  letter-spacing: 0.03em;
}

body.app-mode .football-day-status-table .table-link {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-size: 0.8rem;
  line-height: 1.22;
}

body.app-mode .football-day-status-table .result-pill {
  padding: 5px 8px;
  font-size: 0.68rem;
  line-height: 1.12;
  white-space: normal;
  text-align: center;
}

body.app-mode .football-live-signal {
  display: block;
  font-size: 0.75rem;
  line-height: 1.1;
  color: #ffffff;
}

body.app-mode .football-live-note {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  word-break: break-word;
  overflow-wrap: anywhere;
}

body.app-mode .football-bulletin-count,
body.app-mode .football-bulletin-signal {
  font-size: 0.76rem;
  line-height: 1.2;
}

body.app-mode .sports-theme-football-table {
  min-width: 0;
  table-layout: fixed;
}

body.app-mode .sports-theme-football-table th,
body.app-mode .sports-theme-football-table td {
  padding: 8px 6px;
  font-size: 0.78rem;
}

body.app-mode .sports-theme-football-table th {
  white-space: nowrap;
  letter-spacing: 0.04em;
}

body.app-mode .sports-theme-football-table th:nth-child(1),
body.app-mode .sports-theme-football-table td:nth-child(1) {
  width: 42%;
}

body.app-mode .sports-theme-football-table th:nth-child(2),
body.app-mode .sports-theme-football-table td:nth-child(2) {
  width: 15%;
}

body.app-mode .sports-theme-football-table th:nth-child(3),
body.app-mode .sports-theme-football-table td:nth-child(3) {
  width: 21%;
}

body.app-mode .sports-theme-football-table th:nth-child(4),
body.app-mode .sports-theme-football-table td:nth-child(4) {
  width: 22%;
}

body.app-mode .sports-theme-football-table td {
  word-break: break-word;
  overflow-wrap: anywhere;
}

body.app-mode .sports-theme-football-table td:nth-child(2),
body.app-mode .sports-theme-football-table td:nth-child(4) {
  white-space: nowrap;
}

body.app-mode .sports-theme-football-table .table-link {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-size: 0.82rem;
  line-height: 1.22;
}

body.app-mode .football-detail-overview-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 10px 0 14px;
}

body.app-mode .football-detail-shell .stock-metric-card {
  padding: 10px 11px;
  border-radius: 16px;
  gap: 6px;
}

body.app-mode .football-detail-shell .stock-metric-card span {
  font-size: 0.68rem;
}

body.app-mode .football-detail-shell .stock-metric-card strong {
  font-size: 0.94rem;
  line-height: 1.12;
}

body.app-mode .football-detail-shell .stock-metric-card small {
  font-size: 0.72rem;
  line-height: 1.25;
}

body.app-mode .football-detail-shell .indicator-grid {
  gap: 10px;
}

body.app-mode .football-detail-shell .analysis-card {
  padding: 12px;
}

body.app-mode .football-detail-shell .data-table.dense {
  min-width: 0;
  table-layout: fixed;
}

body.app-mode .football-detail-shell .data-table.dense th,
body.app-mode .football-detail-shell .data-table.dense td {
  padding: 8px 6px;
  font-size: 0.76rem;
}

body.app-mode .stock-metric-card strong,
body.app-mode .dashboard-mini-stat strong,
body.app-mode .mini-metric-card strong {
  color: #ffffff;
}

.football-feature-card {
  background:
    linear-gradient(135deg, rgba(222, 107, 45, 0.1), rgba(31, 127, 184, 0.08)),
    #f9fbfe;
}

.football-card-link {
  display: grid;
  gap: 8px;
  color: inherit;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.football-card-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(15, 23, 36, 0.08);
  border-color: rgba(222, 107, 45, 0.32);
}

.analysis-action-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(12, 22, 34, 0.08);
  flex-wrap: wrap;
}

.analysis-action-row form {
  margin: 0;
}

.danger-button {
  border-radius: 999px;
  padding: 11px 18px;
  border: 1px solid rgba(185, 69, 66, 0.24);
  background: rgba(185, 69, 66, 0.08);
  color: #9d3e3b;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.danger-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(185, 69, 66, 0.14);
}

.watchlist-scroll {
  max-height: 28rem;
  overflow-y: auto;
  padding-right: 4px;
}

.mini-metric-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.mini-metric-card {
  border-radius: 20px;
  padding: 18px;
}

.mini-metric-card span {
  display: block;
  margin-bottom: 8px;
  color: #6b7585;
}

.football-metrics {
  margin-top: 14px;
}

.football-news-panel .section-head small {
  max-width: 24rem;
  color: #6b7585;
}

.news-bulletin-scroll {
  max-height: 18rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  display: grid;
  gap: 10px;
  padding-right: 6px;
  scroll-snap-type: y proximity;
}

.news-bulletin-row {
  display: grid;
  grid-template-columns: minmax(220px, 0.78fr) minmax(0, 1.75fr);
  grid-template-areas:
    "meta title"
    "meta summary";
  gap: 8px 16px;
  align-items: start;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid #d8e2ec;
  background: #f8fbff;
  scroll-snap-align: start;
}

.news-bulletin-link {
  color: inherit;
  text-decoration: none;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.news-bulletin-link:hover,
.news-bulletin-link:focus-visible {
  border-color: rgba(17, 24, 39, 0.22);
  background: #ffffff;
  transform: translateY(-1px);
}

.news-bulletin-meta {
  grid-area: meta;
  color: #6b7585;
  align-self: center;
  line-height: 1.45;
}

.news-bulletin-row strong {
  grid-area: title;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.4;
  font-size: 1rem;
}

.news-bulletin-summary {
  grid-area: summary;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.5;
  color: #516072;
  font-size: 0.94rem;
}

.news-bulletin-scroll::-webkit-scrollbar {
  width: 10px;
}

.news-bulletin-scroll::-webkit-scrollbar-thumb {
  background: rgba(111, 133, 160, 0.55);
  border-radius: 999px;
}

.news-bulletin-scroll::-webkit-scrollbar-track {
  background: rgba(225, 232, 239, 0.7);
  border-radius: 999px;
}

.notice-banner,
.warning-banner,
.flash-banner {
  display: flex;
  gap: 10px;
  align-items: center;
  border-radius: 18px;
  padding: 14px 18px;
}

.notice-banner {
  margin-top: 12px;
  background: #f4f8fd;
  border: 1px solid #cddbf0;
  color: #284b72;
}

.warning-banner {
  margin-top: 12px;
  background: #fff7ea;
  border: 1px solid #edd3a4;
  color: var(--warning);
}

.flash-banner.success {
  background: #edf8f3;
  border: 1px solid #b9e0cd;
  color: var(--success);
}

.flash-banner.error {
  background: #fff0ef;
  border: 1px solid #ecc0bf;
  color: var(--danger);
}

.archive-grid,
.archive-form-grid {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.archive-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.archive-grid-scroll {
  max-height: 14.5rem;
  overflow-y: auto;
  padding-right: 4px;
}

.archive-chip,
.result-form-card {
  display: grid;
  gap: 8px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--panel-soft);
}

.archive-chip.is-active {
  border-color: #de6b2d;
  box-shadow: inset 0 0 0 1px rgba(222, 107, 45, 0.18);
}

.archive-detail-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 20px;
  align-items: start;
}

.result-form-card .helper-text {
  margin: 0;
}

.result-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.82rem;
  border: 1px solid var(--border);
  background: #ffffff;
}

.result-pending {
  background: #fff7ea;
  border-color: #edd3a4;
  color: var(--warning);
}

.result-win {
  background: #edf8f3;
  border-color: #b9e0cd;
  color: var(--success);
}

.result-perfect {
  background: rgba(222, 107, 45, 0.12);
  border-color: rgba(222, 107, 45, 0.24);
  color: #9b4416;
}

.result-loss {
  background: #fff0ef;
  border-color: #ecc0bf;
  color: var(--danger);
}

.result-skip {
  background: #eef2f7;
  border-color: #d1d8e4;
  color: #5b6574;
}

.table-scroll {
  overflow-x: auto;
  max-width: 100%;
}

.table-scroll-tall {
  max-height: 30rem;
  overflow-y: auto;
  border: 1px solid rgba(12, 22, 34, 0.05);
  border-radius: 18px;
}

.table-scroll-tall .data-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #f4f7fb;
}

.table-scroll-tall::-webkit-scrollbar,
.archive-grid-scroll::-webkit-scrollbar,
.watchlist-scroll::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

.table-scroll-tall::-webkit-scrollbar-thumb,
.archive-grid-scroll::-webkit-scrollbar-thumb,
.watchlist-scroll::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(86, 101, 122, 0.35);
}

.table-scroll-tall::-webkit-scrollbar-track,
.archive-grid-scroll::-webkit-scrollbar-track,
.watchlist-scroll::-webkit-scrollbar-track {
  background: rgba(12, 22, 34, 0.04);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.data-table.compact {
  min-width: 0;
}

.data-table.dense {
  min-width: 1080px;
}

.data-table th,
.data-table td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--border);
  font-size: 0.93rem;
  text-align: left;
  vertical-align: top;
}

.data-table th {
  color: #56657a;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(12, 22, 34, 0.03);
}

.table-subline {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.84rem;
}

.table-link {
  color: #143a63;
  text-decoration: none;
  font-weight: 700;
}

.table-link:hover {
  text-decoration: underline;
}

.live-toast-stack {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  display: grid;
  gap: 12px;
  width: min(24rem, calc(100vw - 24px));
}

.live-toast {
  display: grid;
  gap: 8px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(12, 22, 34, 0.12);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 34px rgba(15, 23, 36, 0.18);
  backdrop-filter: blur(10px);
  animation: live-toast-enter 180ms ease;
}

.live-toast strong,
.live-toast p {
  margin: 0;
}

.live-toast p {
  color: #4e5d71;
  line-height: 1.55;
}

.live-toast.is-hiding {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 220ms ease, transform 220ms ease;
}

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

.selected-row {
  background: rgba(222, 107, 45, 0.08);
}

.text-right {
  text-align: right;
}

.trend-up {
  color: var(--success);
  font-weight: 700;
}

.trend-down {
  color: var(--danger);
  font-weight: 700;
}

.trend-flat {
  color: #7a8699;
  font-weight: 700;
}

.analysis-card p,
.analysis-card small,
.portal-card p,
.watch-card p,
.sponsor-card p,
.sponsor-slot p {
  line-height: 1.65;
}

.signal-pill,
.member-pill {
  border: 1px solid var(--border);
  background: #ffffff;
  color: #314154;
}

.signal-pill.signal-strong {
  background: rgba(222, 107, 45, 0.12);
  border-color: rgba(222, 107, 45, 0.28);
  color: #9b4416;
}

.signal-pill.signal-balanced {
  background: rgba(24, 131, 93, 0.12);
  border-color: rgba(24, 131, 93, 0.24);
  color: #0f6d4d;
}

.signal-pill.signal-cautious {
  background: rgba(185, 69, 66, 0.1);
  border-color: rgba(185, 69, 66, 0.22);
  color: #9d3e3b;
}

.sponsor-card span,
.watch-card small {
  color: #6a768a;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.auth-shell {
  display: grid;
  place-items: center;
  min-height: calc(100vh - 240px);
}

.auth-card {
  width: min(560px, 100%);
  border-radius: 28px;
  padding: 30px;
}

.auth-card-register {
  width: min(760px, 100%);
}

.auth-card-login {
  width: min(620px, 100%);
}

.auth-brand {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
}

.auth-brand-logo {
  width: 76px;
  height: 76px;
  object-fit: cover;
  border-radius: 22px;
  border: 1px solid rgba(15, 23, 36, 0.08);
  box-shadow: 0 18px 36px rgba(15, 23, 36, 0.1);
}

.auth-brand h1 {
  margin: 0;
}

.auth-form,
.form-grid {
  display: grid;
  gap: 16px;
}

.form-grid.two-columns {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.full-span {
  grid-column: 1 / -1;
}

.disclosure-status {
  margin-top: 2px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid #ecd8bf;
  background: #fff8ef;
  color: #8b5a24;
  line-height: 1.6;
}

.disclosure-status.is-approved {
  border-color: #b9e0cd;
  background: #edf8f3;
  color: #0f6d4d;
}

.disclosure-dialog {
  width: min(760px, calc(100vw - 24px));
  border: none;
  background: transparent;
  padding: 0;
}

.disclosure-dialog::backdrop {
  background: rgba(15, 23, 36, 0.56);
  backdrop-filter: blur(4px);
}

.disclosure-dialog-card {
  display: grid;
  gap: 18px;
  padding: 26px;
  border-radius: 26px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 36, 0.08);
  box-shadow: 0 30px 80px rgba(15, 23, 36, 0.26);
}

.disclosure-dialog-head,
.disclosure-dialog-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.disclosure-dialog-head h2 {
  margin: 0;
  font-family: "Georgia", "Palatino Linotype", serif;
}

.disclosure-dialog-scroll {
  max-height: min(52vh, 30rem);
  overflow-y: auto;
  padding-right: 8px;
  display: grid;
  gap: 14px;
  line-height: 1.75;
  color: #33445a;
}

.disclosure-dialog-scroll p {
  margin: 0;
}

.disclosure-dialog-scroll::-webkit-scrollbar {
  width: 10px;
}

.disclosure-dialog-scroll::-webkit-scrollbar-thumb {
  background: rgba(111, 133, 160, 0.5);
  border-radius: 999px;
}

.disclosure-dialog-scroll::-webkit-scrollbar-track {
  background: rgba(225, 232, 239, 0.7);
  border-radius: 999px;
}

.disclosure-scroll-note {
  margin: 0;
  color: #6a768a;
  font-size: 0.92rem;
}

.disclosure-close-button,
.disclosure-dialog-actions .primary-button,
.disclosure-dialog-actions .ghost-button {
  min-width: 10rem;
}

.disclosure-dialog-actions .primary-button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
  box-shadow: none;
}

label {
  display: grid;
  gap: 10px;
}

label span {
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--border-strong);
  background: #ffffff;
  color: #122033;
  padding: 13px 15px;
  outline: none;
  -webkit-text-fill-color: #122033;
  caret-color: #122033;
}

input::placeholder,
textarea::placeholder {
  color: #6a768a;
  opacity: 1;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
select:-webkit-autofill {
  -webkit-text-fill-color: #122033;
  box-shadow: 0 0 0 1000px #ffffff inset;
  transition: background-color 9999s ease-in-out 0s;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #de6b2d;
  box-shadow: 0 0 0 4px rgba(222, 107, 45, 0.12);
}

textarea {
  resize: vertical;
}

.toggle-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.toggle-pill {
  position: relative;
}

.toggle-pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.toggle-pill span {
  display: inline-flex;
  border-radius: 999px;
  padding: 11px 15px;
  background: #ffffff;
  border: 1px solid var(--border-strong);
}

.toggle-pill input:checked + span {
  background: rgba(222, 107, 45, 0.1);
  border-color: rgba(222, 107, 45, 0.42);
  color: #9b4416;
}

.helper-text {
  max-width: 520px;
  line-height: 1.65;
}

.compact-text {
  margin-bottom: 10px;
}

.theme-chip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.theme-chip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: #f9fbfe;
  color: inherit;
  text-decoration: none;
}

.theme-chip strong,
.stock-theme-summary h3 {
  margin: 0;
}

.theme-chip small,
.stock-theme-meta span,
.stock-metric-card small,
.indicator-status {
  color: #6a768a;
}

.theme-chip.is-active {
  border-color: rgba(222, 107, 45, 0.36);
  background: rgba(222, 107, 45, 0.08);
}

.stock-theme-summary {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 8px;
}

.stock-theme-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.stock-overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin: 18px 0 22px;
}

.stock-metric-card {
  display: grid;
  gap: 8px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(244, 247, 251, 0.92));
}

.stock-metric-card span {
  color: #6a768a;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

.stock-metric-card strong {
  font-size: 1.14rem;
}

.indicator-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.indicator-card {
  min-height: 100%;
}

.indicator-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #ffffff;
  padding: 6px 10px;
  font-size: 0.8rem;
}

.empty-card h3 {
  margin-top: 0;
}

.full-width {
  width: 100%;
  justify-content: center;
}

.site-footer {
  margin-top: 22px;
  align-items: center;
  padding: 20px 22px;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.footer-note {
  display: grid;
  gap: 4px;
  text-align: right;
}

@media (max-width: 1120px) {
  .market-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .dashboard-hero-refined,
  .dashboard-grid,
  .portal-layout,
  .hero,
  .portal-hero {
    grid-template-columns: 1fr;
  }

  .football-section-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 840px) {
  .site-header {
    position: static;
    top: auto;
  }

  .topbar,
  .dashboard-hero,
  .site-footer,
  .section-head,
  .form-footer,
  .stock-theme-summary,
  .auth-brand {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-status {
    display: none;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
  }

  .market-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 12px 16px 16px;
  }

  .dashboard-inline-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .form-grid.two-columns {
    grid-template-columns: 1fr;
  }

  .news-bulletin-row {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "meta"
      "title"
      "summary";
    gap: 6px;
  }

  .footer-note {
    text-align: left;
  }

  .football-section-grid {
    grid-template-columns: 1fr;
  }

  .market-chip {
    min-width: 0;
    min-height: 84px;
    padding: 12px 10px;
    gap: 6px;
  }

  .market-chip-label {
    font-size: 0.88rem;
  }

  .market-chip-icon {
    font-size: 1.5rem;
  }
}

@media (max-width: 620px) {
  .page-shell {
    width: min(100vw - 16px, 100%);
    padding-top: 8px;
  }

  .site-header,
  .content-section,
  .dashboard-hero,
  .hero,
  .portal-hero,
  .auth-card,
  .panel-card {
    border-radius: 22px;
  }

  .hero,
  .portal-hero,
  .content-section,
  .dashboard-hero,
  .panel-card,
  .auth-card,
  .portal-card,
  .analysis-card,
  .plan-card,
  .watch-card,
  .sponsor-slot,
  .sponsor-card {
    padding: 18px;
  }

  .topbar {
    padding: 14px;
  }

  .brand-logo {
    width: 58px;
    height: 58px;
    border-radius: 18px;
  }

  .dashboard-inline-metrics {
    grid-template-columns: 1fr;
  }

  .market-chip {
    min-height: 78px;
    border-radius: 16px;
  }

  .hero h1,
  .dashboard-hero h1,
  .portal-hero h1,
  .auth-card h1 {
    font-size: 1.85rem;
  }

  .site-nav .primary-button,
  .site-nav .ghost-button,
  .member-pill {
    padding: 10px 14px;
    font-size: 0.88rem;
  }

  .market-strip {
    padding: 10px 12px 14px;
  }

  .analysis-action-row {
    align-items: stretch;
  }

  body.app-mode main {
    padding: 8px 8px 0;
    gap: 12px;
  }

  body.app-mode .football-section-grid {
    grid-template-columns: 1fr 1fr;
  }

  body.app-mode .football-section-link {
    min-height: 96px;
    border-radius: 18px;
  }

  body.app-mode .football-section-icon {
    font-size: 1.35rem;
  }

  body.app-mode .theme-chip-grid,
  body.app-mode .stock-overview-grid {
    grid-template-columns: 1fr 1fr;
  }

  body.app-mode .app-topbar {
    padding: 10px 8px 6px;
  }

  body.app-mode .app-brand {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  body.app-mode .app-actions {
    width: 100%;
    justify-content: flex-start;
  }

  body.app-mode .app-market-strip {
    padding: 0 8px 6px;
  }

  body.app-mode .app-market-chip {
    min-height: 68px;
    padding: 10px 6px;
  }

  body.app-mode .app-market-chip span {
    font-size: 0.76rem;
  }
}

.admin-monitor-shell {
  display: grid;
  gap: 22px;
}

.admin-hero {
  align-items: start;
}

.admin-stat-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-summary-card {
  min-height: 100%;
}

.admin-filter-bar,
.admin-pagination,
.admin-pagination-actions,
.admin-map-wrap,
.admin-action-form {
  display: flex;
  gap: 12px;
}

.admin-filter-bar,
.admin-action-form,
.admin-map-wrap {
  flex-wrap: wrap;
}

.admin-filter-bar {
  margin-bottom: 18px;
}

.admin-filter-bar input,
.admin-filter-bar select,
.admin-action-form input,
.apk-province-form select {
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--text);
}

.admin-filter-bar input {
  flex: 1 1 260px;
}

.admin-filter-bar select {
  flex: 0 0 220px;
}

.admin-table td {
  vertical-align: top;
}

.compact-button {
  padding: 9px 14px;
}

.danger-button {
  border-color: rgba(185, 69, 66, 0.22);
}

.admin-pagination {
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
}

.admin-pagination-actions {
  align-items: center;
}

.admin-grid-two {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
}

.admin-map-wrap {
  flex-direction: column;
}

.admin-map-canvas {
  min-height: 360px;
  border-radius: 22px;
  border: 1px solid var(--border);
  background:
    radial-gradient(circle at top left, rgba(13, 110, 253, 0.14), transparent 28%),
    linear-gradient(180deg, #f8fbff 0%, #eef4fb 100%);
  padding: 10px;
}

.apk-province-card {
  max-width: 520px;
}

.apk-province-form {
  display: grid;
  gap: 14px;
  width: 100%;
}

.apk-province-form label {
  display: grid;
  gap: 8px;
}

.admin-nav,
.admin-inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.admin-nav-link.is-active {
  background: rgba(13, 110, 253, 0.12);
  border-color: rgba(13, 110, 253, 0.24);
  color: #0d3f8a;
}

.admin-alert {
  border-radius: 18px;
  padding: 14px 18px;
  border: 1px solid var(--border);
  font-weight: 600;
}

.admin-alert-success {
  background: rgba(31, 151, 92, 0.1);
  border-color: rgba(31, 151, 92, 0.22);
  color: #13663f;
}

.admin-alert-error {
  background: rgba(185, 69, 66, 0.1);
  border-color: rgba(185, 69, 66, 0.22);
  color: #8a2722;
}

.admin-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.admin-quick-card {
  display: grid;
  gap: 8px;
  text-decoration: none;
  color: inherit;
}

.admin-quick-card strong {
  font-size: 1.02rem;
}

.admin-raw-details {
  border: 1px solid var(--border);
  border-radius: 20px;
  background: #fff;
  padding: 16px 18px;
}

.admin-raw-details summary {
  cursor: pointer;
  font-weight: 700;
}

.admin-pre {
  margin: 14px 0 0;
  padding: 16px;
  border-radius: 16px;
  background: #0f172a;
  color: #e2e8f0;
  overflow: auto;
  font-size: 0.82rem;
  line-height: 1.5;
}

.profile-grid,
.message-center-grid,
.announcement-grid {
  display: grid;
  gap: 18px;
}

.profile-grid,
.message-center-grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.announcement-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.message-thread-list,
.message-history {
  display: grid;
  gap: 12px;
}

.message-thread-list {
  margin-top: 18px;
}

.message-thread-card {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--panel-soft);
}

.message-thread-card strong {
  font-size: 0.98rem;
}

.message-thread-card span,
.message-thread-card small,
.message-thread-card em {
  color: var(--muted);
}

.message-thread-card em {
  font-style: normal;
  font-weight: 700;
}

.message-thread-card.is-active {
  border-color: #de6b2d;
  box-shadow: 0 18px 30px rgba(222, 107, 45, 0.14);
}

.message-bubble {
  display: grid;
  gap: 8px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: #fff;
}

.message-bubble p,
.announcement-card p {
  margin: 0;
  line-height: 1.6;
}

.message-bubble small {
  color: var(--muted);
}

.message-bubble.is-admin {
  background: rgba(31, 127, 184, 0.08);
  border-color: rgba(31, 127, 184, 0.18);
}

.message-bubble.is-user {
  background: rgba(222, 107, 45, 0.08);
  border-color: rgba(222, 107, 45, 0.18);
}

.announcement-card {
  display: grid;
  gap: 12px;
}

.announcement-card.is-urgent {
  border-color: rgba(185, 69, 66, 0.28);
}

.announcement-head,
.announcement-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.announcement-meta {
  color: var(--muted);
  font-size: 0.85rem;
}

.app-icon-button {
  position: relative;
  display: inline-grid;
  place-items: center;
  gap: 4px;
  min-width: 58px;
  min-height: 58px;
  padding: 8px 10px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  text-decoration: none;
}

.app-icon-button span {
  font-size: 1.12rem;
  line-height: 1;
}

.app-icon-button small {
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.app-icon-button-logout {
  font: inherit;
}

.app-icon-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: #ff4d5f;
  color: #fff;
  font-size: 0.66rem;
  font-style: normal;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.app-message-strip {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 8px 10px 0;
  padding: 11px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #f4f7fb;
}

.app-message-strip strong {
  color: #ffbf7d;
  white-space: nowrap;
}

body.app-mode .profile-shell,
body.app-mode .message-center-shell,
body.app-mode .announcement-shell {
  background: rgba(11, 18, 28, 0.98);
  border-color: rgba(255, 255, 255, 0.06);
}

body.app-mode .profile-grid,
body.app-mode .message-center-grid,
body.app-mode .announcement-grid {
  grid-template-columns: 1fr;
}

body.app-mode .message-thread-card,
body.app-mode .message-bubble,
body.app-mode .announcement-card {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

body.app-mode .message-thread-card span,
body.app-mode .message-thread-card small,
body.app-mode .message-thread-card em,
body.app-mode .announcement-meta,
body.app-mode .message-bubble small {
  color: #9fb0c4;
}

body.app-mode .app-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
}

body.app-mode .app-actions form {
  margin: 0;
}

body.app-mode .app-topbar {
  gap: 10px;
}

body.app-mode .app-brand-copy strong {
  color: #ffffff;
}

body.app-mode .announcement-popup-dialog .disclosure-dialog-card {
  background: #101826;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.08);
  position: relative;
  padding-top: 52px;
}

body.app-mode .announcement-popup-dialog .disclosure-dialog-scroll p {
  color: #d9e1ec;
}

body.app-mode .announcement-popup-dialog .popup-close-button {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

body.app-mode .announcement-popup-dialog .popup-close-button:hover {
  background: rgba(255, 255, 255, 0.16);
}

@media (max-width: 1080px) {
  .admin-stat-grid,
  .admin-grid-two,
  .admin-card-grid,
  .profile-grid,
  .message-center-grid,
  .announcement-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .admin-filter-bar,
  .admin-pagination,
  .admin-pagination-actions,
  .admin-action-form {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-filter-bar select,
  .admin-filter-bar input,
  .admin-action-form input {
    width: 100%;
    flex: 1 1 auto;
  }

  .app-message-strip {
    align-items: flex-start;
    flex-direction: column;
  }
}
