:root {
  --bg: #0c1012;
  --page-bg: #10161a;
  --panel: #171e23;
  --panel-2: #11171b;
  --panel-3: #202a30;
  --panel-soft: #1d252b;
  --ink: #f7f2e9;
  --muted: #aeb8b5;
  --line: #2d3942;
  --line-soft: rgba(124, 139, 145, 0.24);
  --accent: #d8ad57;
  --accent-dark: #2d2415;
  --accent-2: #173b35;
  --accent-border: #58a995;
  --accent-ink: #fff2cd;
  --success: #66d2b4;
  --danger: #f06f67;
  --warn: #e0b55b;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.34);
  --shadow-soft: 0 14px 34px rgba(0, 0, 0, 0.24);
  --app-safe-top: env(safe-area-inset-top, 0px);
  --app-safe-right: env(safe-area-inset-right, 0px);
  --app-safe-bottom: env(safe-area-inset-bottom, 0px);
  --app-safe-left: env(safe-area-inset-left, 0px);
}

html {
  background: #090c0e;
  text-rendering: optimizeLegibility;
}

body {
  grid-template-columns: 248px minmax(0, 1180px) !important;
  gap: 0 22px !important;
  background:
    linear-gradient(180deg, rgba(25, 30, 32, 0.96) 0%, rgba(13, 17, 19, 0.98) 42%, #080b0d 100%),
    linear-gradient(135deg, rgba(216, 173, 87, 0.08), rgba(88, 169, 149, 0.08) 46%, transparent 76%) !important;
  color: var(--ink) !important;
  font-size: 14px !important;
}

.site-top {
  width: min(1450px, calc(100vw - 32px));
  height: 154px;
  margin-top: 16px;
  isolation: isolate;
  border-color: rgba(216, 173, 87, 0.34);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.site-top::before {
  background:
    linear-gradient(90deg, rgba(9, 12, 14, 0.84), rgba(9, 12, 14, 0.42) 48%, rgba(9, 12, 14, 0.86)),
    linear-gradient(180deg, rgba(32, 42, 48, 0.08), rgba(9, 12, 14, 0.78));
}

.site-top::after {
  left: 28px;
  right: 28px;
  bottom: 14px;
  background: linear-gradient(90deg, rgba(216, 173, 87, 0.72), rgba(88, 169, 149, 0.62), transparent);
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  left: 28px;
  right: auto;
  top: 32px;
  text-align: left;
  font-size: clamp(38px, 3.8vw, 58px);
  letter-spacing: 0;
}

.site-brand::before {
  content: "";
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  border: 1px solid rgba(216, 173, 87, 0.48);
  border-radius: 16px;
  background:
    radial-gradient(circle at 30% 22%, rgba(255, 243, 203, 0.24), transparent 34%),
    linear-gradient(145deg, rgba(216, 173, 87, 0.2), rgba(88, 169, 149, 0.18)),
    rgba(14, 19, 22, 0.92) url("assets/bricklayers-kit.gif") center / 70% auto no-repeat;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 14px 28px rgba(0, 0, 0, 0.3);
  image-rendering: pixelated;
}

.site-brand::after {
  content: "TT";
  position: absolute;
  left: 39px;
  top: 36px;
  width: 22px;
  height: 18px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(216, 173, 87, 0.58);
  border-radius: 6px;
  background: rgba(9, 12, 14, 0.88);
  color: #fff2cd;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  text-shadow: none;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.32);
}

.site-slogan {
  left: 30px;
  right: auto;
  top: 94px;
  text-align: left;
  color: #dce6e2;
  font-size: 13.5px;
}

.boosted-boss-widget {
  top: 14px;
  right: 16px;
  width: min(470px, 42vw);
  min-height: 72px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 7px;
  padding: 8px;
  border-color: rgba(216, 173, 87, 0.36);
  border-radius: 14px;
  background: rgba(13, 18, 21, 0.76);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.34);
}

.daily-info-row {
  min-width: 0;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 7px;
  padding: 6px;
  border: 1px solid rgba(124, 139, 145, 0.24);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
}

.boosted-boss-widget img,
.daily-info-badge {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}

.daily-info-eyebrow {
  color: #f1cd81;
  font-size: 9px;
  letter-spacing: 0.06em;
}

.daily-info-name {
  color: #fff8e8;
  font-size: 12px;
}

.daily-info-detail {
  color: #bac5c0;
  font-size: 10px;
}

.site-menu {
  width: 248px;
  top: 16px;
  display: grid;
  align-content: start;
  grid-auto-rows: max-content;
  gap: 12px;
}

.menu-box {
  margin-bottom: 0;
  border-color: var(--line-soft);
  border-radius: var(--radius-md);
  background: rgba(20, 27, 31, 0.86);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(10px);
}

.menu-title {
  min-height: auto;
  padding: 11px 12px 9px;
  border-bottom-color: var(--line-soft);
  background: rgba(255, 255, 255, 0.035);
  color: #f4e7cd;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.menu-list {
  padding: 8px;
}

.menu-list li + li {
  margin-top: 4px;
}

.menu-list a,
.menu-note {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 11px;
  color: #e5ece9 !important;
  font-size: 12.5px;
  font-weight: 800;
}

.menu-list a::before {
  content: none;
}

.menu-icon,
.app-icon,
.tool-icon-svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.menu-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.menu-list a:hover,
.menu-list a.active {
  border-color: rgba(216, 173, 87, 0.5);
  background: linear-gradient(135deg, rgba(216, 173, 87, 0.16), rgba(88, 169, 149, 0.08));
  color: #fffaf0 !important;
}

body > main {
  width: min(1180px, 100%) !important;
  margin-top: 18px !important;
  border-color: var(--line-soft) !important;
  border-radius: var(--radius-lg) !important;
  background: rgba(19, 26, 30, 0.96) !important;
  box-shadow: var(--shadow) !important;
}

header {
  padding: 22px 24px 19px !important;
  border-bottom-color: var(--line-soft) !important;
  background:
    linear-gradient(180deg, rgba(33, 43, 49, 0.96), rgba(20, 27, 31, 0.96)) !important;
}

h1 {
  font-size: clamp(25px, 2.3vw, 34px) !important;
  line-height: 1.05 !important;
}

h2 {
  color: #fbefd5 !important;
  font-size: 18px !important;
}

.subtitle {
  max-width: 760px;
  margin-top: 8px !important;
  color: #b8c4bf !important;
  font-size: 13px !important;
  line-height: 1.55 !important;
}

.tools {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)) !important;
  gap: 14px !important;
  padding: 22px 24px 24px !important;
}

.tool,
.card,
.metric,
.lookup-section,
.kv,
.plain-list li,
.inline-row,
.toolbar,
.formula,
.chart-card {
  border-color: var(--line-soft) !important;
  border-radius: var(--radius-md) !important;
  background: linear-gradient(180deg, rgba(35, 45, 51, 0.92), rgba(22, 30, 35, 0.96)) !important;
  box-shadow: var(--shadow-soft) !important;
}

.tool {
  min-height: 190px;
  padding: 18px !important;
}

.tool:hover {
  border-color: rgba(216, 173, 87, 0.58) !important;
  background: linear-gradient(180deg, rgba(40, 52, 58, 0.98), rgba(25, 35, 40, 0.98)) !important;
}

.tool .icon {
  width: 42px;
  height: 42px;
  margin-bottom: 13px !important;
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(216, 173, 87, 0.18), rgba(88, 169, 149, 0.13));
  color: #f3d28c;
}

.tool .icon.is-svg {
  font-size: 0;
}

.tool-icon-svg {
  width: 22px;
  height: 22px;
}

.tool h2 {
  font-size: 17px !important;
  line-height: 1.2 !important;
}

.home-news {
  display: grid;
  gap: 24px;
  padding: 22px 24px 24px;
}

.news-panel {
  display: grid;
  gap: 14px;
}

.news-panel + .news-panel {
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.section-heading h2 {
  margin: 0;
  color: #fbefd5 !important;
  font-size: 18px !important;
  line-height: 1.2;
}

.section-heading p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.45;
}

.news-source-link {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 11px;
  border: 1px solid rgba(216, 173, 87, 0.34);
  border-radius: 999px;
  background: rgba(216, 173, 87, 0.08);
  color: #fff2cd !important;
  text-decoration: none;
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.news-card,
.ticker-item {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(35, 45, 51, 0.84), rgba(18, 25, 29, 0.94));
  box-shadow: var(--shadow-soft);
}

.news-card {
  min-height: 132px;
  display: grid;
  gap: 12px;
  align-content: space-between;
  padding: 14px;
}

.news-card.is-featured {
  grid-column: 1 / -1;
  min-height: 158px;
  background:
    linear-gradient(135deg, rgba(216, 173, 87, 0.18), rgba(88, 169, 149, 0.1)),
    linear-gradient(180deg, rgba(39, 50, 55, 0.94), rgba(18, 25, 29, 0.98));
}

.news-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.news-meta span,
.ticker-category,
.ticker-date {
  color: #f2d38c;
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-transform: uppercase;
}

.news-meta span {
  padding: 5px 7px;
  border: 1px solid rgba(216, 173, 87, 0.22);
  border-radius: 999px;
  background: rgba(216, 173, 87, 0.07);
}

.news-title,
.ticker-title {
  color: #fff8e8 !important;
  text-decoration: none;
  font-weight: 900;
}

.news-title {
  font-size: 16px;
  line-height: 1.28;
}

.news-card.is-featured .news-title {
  font-size: clamp(20px, 2.3vw, 28px);
  line-height: 1.12;
}

.news-title:hover,
.ticker-title:hover,
.news-source-link:hover {
  color: var(--success) !important;
}

.news-action {
  color: var(--success);
  font-size: 12px;
  font-weight: 900;
}

.ticker-list {
  display: grid;
  gap: 9px;
}

.ticker-item {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 12px;
}

.ticker-date {
  padding-top: 2px;
  color: #dbc487;
}

.ticker-content {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.ticker-title {
  font-size: 13px;
  line-height: 1.42;
}

.ticker-category {
  color: var(--muted);
}

.news-state {
  margin: 0;
  padding: 14px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.45;
}

.legal-content {
  display: grid;
  gap: 16px;
  padding: 22px 24px 24px;
}

.legal-section {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(35, 45, 51, 0.72), rgba(18, 25, 29, 0.94));
  box-shadow: var(--shadow-soft);
}

.legal-section h2 {
  margin: 0;
  color: #fbefd5 !important;
  font-size: 17px !important;
  line-height: 1.2;
}

.legal-section p,
.legal-section li {
  color: #d8e0dc;
  font-size: 13px;
  line-height: 1.6;
}

.legal-section p {
  margin: 0;
}

.legal-section ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 18px;
}

.legal-section a,
.contact-link {
  color: var(--success) !important;
  font-weight: 850;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 13px;
  border: 1px solid rgba(216, 173, 87, 0.34);
  border-radius: 12px;
  background: rgba(216, 173, 87, 0.08);
  color: #fff2cd !important;
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 900;
}

.site-legal-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  padding: 15px 24px 18px;
  border-top: 1px solid var(--line-soft);
  background: rgba(13, 19, 23, 0.62);
}

.site-legal-footer a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 11px;
  border: 1px solid rgba(124, 139, 145, 0.26);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: #d8e0dc !important;
  text-decoration: none;
  font-size: 12px;
  font-weight: 850;
}

.site-legal-footer a:hover,
.site-legal-footer a.active {
  border-color: rgba(216, 173, 87, 0.46);
  background: rgba(216, 173, 87, 0.1);
  color: #fff2cd !important;
}

.tool p,
.text-note,
.hint-line,
.explain,
.foot-note {
  line-height: 1.55 !important;
}

.card.feature {
  border-color: rgba(88, 169, 149, 0.5) !important;
  background: linear-gradient(135deg, rgba(28, 71, 62, 0.78), rgba(25, 35, 39, 0.96)) !important;
}

.big {
  font-size: clamp(25px, 2.9vw, 34px) !important;
}

.medium,
.metric-value {
  color: #fff6e6;
  font-size: 18px !important;
}

.ok,
.tool .open {
  color: var(--success) !important;
}

.label,
.card .label,
.metric-label,
.kv .label {
  color: #aebbb6 !important;
  letter-spacing: 0.06em !important;
}

.lookup-panel,
.results,
.section,
.section.alt,
.summary-band {
  background: rgba(16, 23, 27, 0.94) !important;
}

.content-grid,
.lookup-panel,
.results,
.section,
.summary-band {
  padding-left: 24px !important;
  padding-right: 24px !important;
}

.lookup-section h2 {
  padding: 13px 14px 12px !important;
  border-bottom-color: var(--line-soft) !important;
  background: rgba(255, 255, 255, 0.035) !important;
}

input,
select,
textarea {
  min-height: 44px;
  border-color: rgba(124, 139, 145, 0.44) !important;
  border-radius: 12px !important;
  background: #0f1519 !important;
}

button,
.search-button,
.pagination-button {
  min-height: 44px;
  border-radius: 12px !important;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2) !important;
}

.small-action {
  width: auto !important;
}

.tag,
.small-tag,
.status-pill,
.source-grid a {
  border-radius: 999px !important;
}

.table-wrap,
.data-table-wrap {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(18, 25, 29, 0.98), rgba(13, 19, 23, 0.98));
  box-shadow: var(--shadow-soft);
  overflow: auto;
}

table {
  background: transparent !important;
}

thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: rgba(35, 45, 51, 0.98) !important;
  color: #f6e8c9 !important;
  backdrop-filter: blur(10px);
}

tbody td {
  border-bottom-color: rgba(124, 139, 145, 0.18) !important;
  color: #f2eee5;
  line-height: 1.4;
}

tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.018);
}

tbody tr:hover {
  background: rgba(216, 173, 87, 0.075) !important;
}

.number-cell,
tbody td[data-sort-value] {
  font-variant-numeric: tabular-nums;
}

.app-install-panel {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  padding: 13px;
}

.app-install-panel[hidden],
[data-app-install][hidden],
.app-tabbar,
.mobile-nav-backdrop,
.mobile-nav-sheet {
  display: none !important;
}

.app-install-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.app-install-copy strong {
  color: #fff2cd;
  font-size: 12.5px;
  line-height: 1.25;
}

.app-install-copy span,
.install-help {
  margin: 0;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.45;
}

.install-action {
  width: 100% !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.app-button-icon {
  display: grid;
  place-items: center;
}

.install-help {
  padding: 8px 9px;
  border: 1px solid rgba(216, 173, 87, 0.28);
  border-radius: 10px;
  background: rgba(216, 173, 87, 0.08);
}

@media (max-width: 1100px) {
  .site-brand {
    font-size: 40px;
  }

  .site-brand::before {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }

  .site-brand::after {
    left: 35px;
    top: 32px;
    width: 20px;
    height: 16px;
    font-size: 9px;
  }

  .boosted-boss-widget {
    width: min(430px, 48vw);
  }
}

@media (max-width: 900px) {
  body {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-areas:
      "top"
      "side"
      "main" !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .site-top {
    width: 100%;
    height: 188px;
  }

  .site-brand,
  .site-slogan {
    left: 20px;
    right: 20px;
  }

  .site-slogan {
    top: 84px;
  }

  .boosted-boss-widget {
    top: auto;
    left: 14px;
    right: 14px;
    bottom: 12px;
    width: auto;
  }

  .site-menu {
    width: 100%;
  }
}

@media (max-width: 700px) {
  body {
    display: block !important;
    padding: 0 12px calc(108px + var(--app-safe-bottom)) !important;
    overflow-x: hidden;
  }

  .site-top {
    width: calc(100% + 24px);
    height: calc(188px + var(--app-safe-top));
    margin: 0 -12px 12px;
    border-right: 0;
    border-left: 0;
    border-radius: 0 0 24px 24px;
  }

  .site-top::after {
    left: 16px;
    right: 16px;
    bottom: 9px;
  }

  .site-brand {
    top: calc(20px + var(--app-safe-top));
    left: 16px;
    right: 16px;
    gap: 10px;
    font-size: 28px;
  }

  .site-brand::before {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
    border-radius: 12px;
  }

  .site-brand::after {
    left: 29px;
    top: 26px;
    width: 18px;
    height: 15px;
    border-radius: 5px;
    font-size: 8px;
  }

  .site-slogan {
    top: calc(66px + var(--app-safe-top));
    left: 17px;
    right: 17px;
    font-size: 12px;
  }

  .boosted-boss-widget {
    top: auto;
    left: 12px;
    right: 12px;
    bottom: 18px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    padding: 6px;
    border-radius: 14px;
  }

  .daily-info-row {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 6px;
    padding: 5px;
  }

  .boosted-boss-widget img,
  .daily-info-badge {
    width: 28px;
    height: 28px;
    border-radius: 8px;
  }

  .daily-info-eyebrow {
    font-size: 0;
  }

  .daily-info-eyebrow::before {
    content: attr(data-short-label);
    font-size: 9px;
  }

  .daily-info-name {
    font-size: 10.5px;
  }

  .daily-info-detail {
    display: none;
  }

  body > main {
    width: 100% !important;
    margin-top: 0 !important;
    border-radius: 20px !important;
  }

  header {
    padding: 18px 16px 16px !important;
  }

  h1 {
    font-size: 25px !important;
  }

  h2 {
    font-size: 17px !important;
  }

  .subtitle {
    font-size: 12.5px !important;
  }

  .content-grid,
  .lookup-panel,
  .results,
  .section,
  .summary-band,
  .home-news,
  .legal-content,
  .site-legal-footer,
  .tools,
  footer {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .site-legal-footer {
    justify-content: center;
  }

  .tools {
    grid-template-columns: 1fr !important;
  }

  .tool {
    min-height: auto;
  }

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

  .card,
  .metric {
    padding: 12px !important;
  }

  .big {
    font-size: 25px !important;
  }

  .medium,
  .metric-value {
    font-size: 16px !important;
  }

  .table-wrap,
  .data-table-wrap {
    margin-right: -4px;
    margin-left: -4px;
    border-radius: 16px;
    -webkit-overflow-scrolling: touch;
  }

  html.app-shell-ready .site-menu {
    display: none !important;
  }

  .app-tabbar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 100;
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 5px;
    box-sizing: border-box;
    min-height: calc(86px + var(--app-safe-bottom));
    padding:
      8px
      max(10px, var(--app-safe-right))
      calc(8px + var(--app-safe-bottom))
      max(10px, var(--app-safe-left));
    border: 1px solid rgba(216, 173, 87, 0.28);
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 24px 24px 0 0;
    background: rgba(12, 16, 18, 0.94);
    box-shadow: 0 -18px 44px rgba(0, 0, 0, 0.44);
    backdrop-filter: blur(16px);
  }

  .app-tab-item {
    min-width: 0;
    min-height: 56px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 3px;
    border: 1px solid transparent;
    border-radius: 18px;
    padding: 0 !important;
    background: transparent !important;
    color: #d9e2df !important;
    text-align: center;
    text-decoration: none;
    font-size: 10px;
    font-weight: 850;
    line-height: 1.1;
    box-shadow: none !important;
  }

  .app-tab-item .app-icon {
    width: 21px;
    height: 21px;
  }

  .app-tab-item.active,
  .app-tab-item:hover,
  .app-tab-more[aria-expanded="true"] {
    border-color: rgba(216, 173, 87, 0.36);
    background: linear-gradient(135deg, rgba(216, 173, 87, 0.18), rgba(88, 169, 149, 0.12));
    color: #fff4d8 !important;
  }

  .mobile-nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 110;
    display: block !important;
    background: rgba(0, 0, 0, 0.48);
    opacity: 0;
    transition: opacity 0.18s ease;
  }

  .mobile-nav-sheet {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 111;
    display: grid !important;
    max-height: min(calc(100dvh - var(--app-safe-top) - 12px), 620px);
    gap: 14px;
    overflow: auto;
    padding:
      16px
      max(16px, var(--app-safe-right))
      calc(24px + var(--app-safe-bottom))
      max(16px, var(--app-safe-left));
    border: 1px solid rgba(216, 173, 87, 0.28);
    border-bottom: 0;
    border-radius: 26px 26px 0 0;
    background: #11181c;
    box-shadow: 0 -24px 70px rgba(0, 0, 0, 0.55);
    transform: translateY(22px);
    opacity: 0;
    transition: transform 0.18s ease, opacity 0.18s ease;
  }

  body.mobile-nav-open .mobile-nav-backdrop {
    opacity: 1;
  }

  body.mobile-nav-open .mobile-nav-sheet {
    transform: translateY(0);
    opacity: 1;
  }

  .mobile-sheet-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .mobile-sheet-title {
    color: #fff4d8;
    font-size: 18px;
    font-weight: 900;
  }

  .mobile-sheet-close {
    width: 44px !important;
    min-height: 44px;
    display: grid;
    place-items: center;
    padding: 0 !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.06) !important;
    color: #f8ead1 !important;
    box-shadow: none !important;
  }

  .mobile-sheet-sections {
    display: grid;
    gap: 14px;
  }

  .mobile-sheet-section {
    display: grid;
    gap: 8px;
  }

  .mobile-sheet-group-title {
    color: #dbc487;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .mobile-sheet-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .mobile-sheet-link {
    min-height: 58px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border: 1px solid var(--line-soft);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    color: #edf4f1 !important;
    text-decoration: none;
    font-size: 12px;
    font-weight: 850;
    line-height: 1.2;
  }

  .mobile-sheet-link.active {
    border-color: rgba(216, 173, 87, 0.5);
    background: rgba(216, 173, 87, 0.14);
    color: #fff4d8 !important;
  }

  .app-install-panel {
    border: 1px solid var(--line-soft);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(216, 173, 87, 0.12), rgba(88, 169, 149, 0.09));
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .news-card.is-featured {
    min-height: 150px;
  }

  .ticker-item {
    grid-template-columns: 1fr;
    gap: 7px;
  }
}

@media (max-width: 460px) {
  .summary-grid {
    grid-template-columns: 1fr !important;
  }

  .mobile-sheet-grid {
    grid-template-columns: 1fr;
  }
}

.mobile-nav-backdrop[hidden],
.mobile-nav-sheet[hidden] {
  display: none !important;
}
