/* Tools tables, gates, and filters */

.tool-page {
  position: relative;
  max-width: var(--content-wide, 1100px);
  margin: 0 auto;
  padding: 0 var(--space-4) var(--space-16);
}

.tool-page .page-hero {
  padding-left: 0;
  padding-right: 0;
  background: transparent;
  border-bottom: none;
}

.tool-gate {
  text-align: center;
  padding: var(--space-12) var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  background: var(--color-surface-2);
}

.tool-gate p {
  color: var(--color-text-muted);
  font-size: var(--text-base);
  line-height: 1.65;
  max-width: 42ch;
  margin: 0 auto var(--space-6);
}

.tool-filters {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-bottom: var(--space-5);
}

.tool-filters select,
.tool-filters input[type="search"],
.tool-filters input[type="number"] {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-2) var(--space-4);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  outline: none;
}

.tool-filters input[type="search"] {
  min-width: min(100%, 18rem);
  flex: 1;
}

.tool-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: rgba(10, 14, 26, 0.55);
}

.tool-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.tool-table th {
  text-align: left;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--color-border);
  white-space: nowrap;
}

.tool-table td {
  padding: 0.7rem 1rem;
  border-bottom: 1px solid rgba(140, 170, 220, 0.08);
  color: var(--color-text);
  vertical-align: middle;
}

.tool-table tbody tr:last-child td {
  border-bottom: none;
}

.tool-table tbody tr:hover td {
  background: rgba(124, 197, 232, 0.05);
}

.tool-table a {
  color: var(--color-crystal);
  text-decoration: none;
  font-weight: 600;
}

.tool-table a:hover {
  text-decoration: underline;
}

.tool-avatar {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: var(--color-surface-3);
  flex-shrink: 0;
}

.tool-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tool-char {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.tool-item-icon {
  width: 32px;
  height: 32px;
  image-rendering: pixelated;
  vertical-align: middle;
}

.tool-muted {
  color: var(--color-text-muted);
}

.tool-empty,
.tool-error,
.tool-loading {
  text-align: center;
  padding: var(--space-10) var(--space-4);
  color: var(--color-text-muted);
}

.yells-hero .page-hero__label {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  color: #b4964b;
}

.yells-hero .page-hero__title {
  font-size: clamp(2rem, 4.5vw, 3.15rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
}

.yells-hero .page-hero__desc {
  font-size: 0.98rem;
  color: #888888;
  max-width: none;
}

.yells-hero {
  padding-bottom: var(--space-8);
}

.tool-yells {
  font-family: ui-monospace, "Cascadia Mono", Consolas, "Courier New", monospace;
  font-size: 0.875rem;
  line-height: 1.75;
  padding: 1.15rem 1.25rem;
  border: 1px solid rgba(140, 170, 220, 0.16);
  border-radius: 6px;
  background: transparent;
  min-height: 16rem;
  color: #9aa3b2;
}

.tool-yells .tool-muted,
.tool-yells p {
  margin: 0;
  color: #666666;
  text-align: left;
  font-family: inherit;
}

.tool-yells__line {
  color: #c5cad4;
}

.tool-yells__time {
  color: #7d8494;
  margin-right: 0.45rem;
}

.tool-yells__name {
  color: #e8eaef;
  font-weight: 600;
}

.tool-inv-block {
  margin-top: var(--space-8);
}

.tool-inv-block h2 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  margin-bottom: var(--space-3);
}

.tool-pager {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
  margin-top: var(--space-4);
}

.tool-pager button {
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: var(--color-surface-2);
  color: var(--color-text);
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600;
}

.tool-pager button:disabled {
  opacity: 0.4;
  cursor: default;
}

.tool-dyna-grid {
  display: grid;
  gap: var(--space-6);
}

.tool-dyna-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: rgba(10, 14, 26, 0.55);
  padding: var(--space-5);
}

.tool-dyna-card h2 {
  font-family: var(--font-display);
  font-size: var(--text-base);
  margin: 0 0 var(--space-4);
}

/* Dynamis occupancy board */
.dyna-hero .page-hero__label { display: none; }
.dyna-hero .page-hero__title {
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  letter-spacing: 0.06em;
  text-transform: none;
  margin-bottom: 0;
}
.dyna-hero .page-hero__desc { display: none; }
.dyna-hero { padding-bottom: var(--space-6); }

.dyna-board { margin-top: 0.25rem; }

.dyna-section {
  margin-bottom: 1.85rem;
}

.dyna-section__label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-crystal);
  margin: 0 0 0.7rem;
}

.dyna-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

@media (max-width: 720px) {
  .dyna-grid { grid-template-columns: 1fr; }
}

.dyna-card {
  position: relative;
  isolation: isolate;
  min-height: 7.25rem;
  padding: 1.05rem 1.15rem;
  border-radius: 0.28rem;
  overflow: hidden;
  border: 1px solid rgba(160, 180, 210, 0.12);
  background: #07080d;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.dyna-card.is-occupied {
  border-color: rgba(124, 197, 232, 0.5);
  box-shadow: 0 0 0 1px rgba(124, 197, 232, 0.12), inset 0 0 40px rgba(80, 150, 200, 0.08);
}

.dyna-card__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
  opacity: 0.42;
  filter: saturate(0.45) contrast(1.05);
}

.dyna-card__photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.88;
  filter: saturate(0.7) contrast(1.08) brightness(0.82);
}

.dyna-card__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(6, 8, 14, 0.72) 0%, rgba(6, 8, 14, 0.22) 48%, rgba(6, 8, 14, 0.4) 100%);
}

.dyna-card--sandoria .dyna-card__bg {
  background-image: linear-gradient(125deg, #5a4630 0%, #1c1814 45%, #3a2c20 100%);
}
.dyna-card--bastok .dyna-card__bg {
  background-image: linear-gradient(125deg, #4a5560 0%, #1a1e24 45%, #2c3844 100%);
}
.dyna-card--windurst .dyna-card__bg {
  background-image: linear-gradient(125deg, #3d5a38 0%, #141c14 45%, #2a4028 100%);
}
.dyna-card--jeuno .dyna-card__bg {
  background-image: linear-gradient(125deg, #4a3a58 0%, #16141c 45%, #2c2438 100%);
}
.dyna-card--beaucedine .dyna-card__bg {
  background-image: linear-gradient(125deg, #6a7a88 0%, #1a2228 45%, #3a4850 100%);
}
.dyna-card--xarcabard .dyna-card__bg {
  background-image: linear-gradient(125deg, #3a4450 0%, #101418 45%, #243038 100%);
}
.dyna-card--valkurm .dyna-card__bg {
  background-image: linear-gradient(125deg, #5a6a48 0%, #1c1810 45%, #3a4030 100%);
}
.dyna-card--buburimu .dyna-card__bg {
  background-image: linear-gradient(125deg, #4a6a58 0%, #142018 45%, #2c4038 100%);
}
.dyna-card--qufim .dyna-card__bg {
  background-image: linear-gradient(125deg, #4a5850 0%, #141816 45%, #2c3830 100%);
}
.dyna-card--tavnazia .dyna-card__bg {
  background-image: linear-gradient(125deg, #5a5048 0%, #181410 45%, #3a342c 100%);
}

.dyna-card__name {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.01em;
  margin: 0;
}

.dyna-card__expires-label {
  margin: 0.45rem 0 0.1rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-crystal);
}

.dyna-card__expires {
  font-size: 0.92rem;
  font-weight: 600;
  color: #f0f3f8;
}

.dyna-card__expires-clock {
  margin-left: 0.55rem;
  font-weight: 500;
  color: rgba(240, 243, 248, 0.92);
}

.dyna-badge {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.22rem 0.7rem 0.22rem 0.55rem;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.dyna-badge__dot {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
}

.dyna-badge--occupied {
  background: rgba(70, 140, 190, 0.72);
  color: #fff;
}
.dyna-badge--occupied .dyna-badge__dot {
  background: #d7f0ff;
  box-shadow: 0 0 6px #9ad8f8;
}

.dyna-badge--open {
  background: rgba(8, 12, 18, 0.72);
  border: 1px solid rgba(134, 239, 172, 0.28);
  color: #86efac;
}
.dyna-badge--open .dyna-badge__dot {
  background: #4ade80;
  box-shadow: 0 0 6px #4ade80;
}

/* Bazaars search */
.bazaars-hero .page-hero__label,
.bazaars-hero .page-hero__desc { display: none; }
.bazaars-hero .page-hero__title {
  font-size: clamp(2rem, 4.5vw, 3.15rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0;
}
.bazaars-hero { padding-bottom: var(--space-6); }

/* Seeking board */
body[data-tool="seeking"] .tool-page {
  max-width: min(1600px, calc(100vw - 1.5rem));
}
.seeking-hero .page-hero__label,
.seeking-hero .page-hero__desc { display: none; }
.seeking-hero .page-hero__title {
  font-size: clamp(2.4rem, 6vw, 4rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 0;
}
.seeking-hero { padding-bottom: var(--space-5); }

.seek-filters {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  margin-bottom: 0.85rem;
  color: #9aa3b2;
  font-size: 0.95rem;
}
.seek-filters select,
.seek-filters input[type="number"] {
  background: #141824;
  border: 1px solid #3a4258;
  border-radius: 4px;
  color: #e8eaef;
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 0.22rem 0.45rem;
  outline: none;
}
.seek-filters select { min-width: 7.5rem; }
.seek-filters input[type="number"] { width: 4.4rem; }

.seek-table-wrap {
  overflow-x: auto;
  border-radius: 4px;
  background: #fff;
  border: 1px solid #c8c8c8;
}

.seek-table {
  width: max-content;
  min-width: 100%;
  border-collapse: collapse;
  background: #fff;
  color: #222;
  font-size: 0.82rem;
  font-family: var(--font-body);
}

.seek-table th {
  text-align: left;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.78rem;
  font-weight: 700;
  color: #333;
  background: #f3f3f3;
  border: 1px solid #d0d0d0;
  padding: 0.45rem 0.55rem;
  white-space: nowrap;
}

.seek-table td {
  border: 1px solid #e0e0e0;
  padding: 0.28rem 0.5rem;
  color: #222;
  background: #fff;
  vertical-align: middle;
}

.seek-table tbody tr:nth-child(even) td { background: #f4f4f4; }
.seek-table tbody tr:hover td { background: #eceff5; }

.seek-table a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 600;
}
.seek-table a:hover { text-decoration: underline; }

.seek-table .seek-num {
  text-align: center;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.seek-table .seek-seacom {
  min-width: 11rem;
  max-width: 22rem;
  white-space: nowrap;
}

.seek-table .seek-ava {
  width: 44px;
  padding: 0.2rem 0.35rem;
}

.seek-table .seek-ava .pxi-portrait-img,
.seek-table .seek-ava img {
  width: 36px !important;
  height: 36px !important;
  border: 1px solid #ccc !important;
  display: block;
}

.seek-table th:nth-child(1),
.seek-table td:nth-child(1) {
  position: sticky;
  left: 0;
  z-index: 2;
}
.seek-table th:nth-child(2),
.seek-table td:nth-child(2) {
  position: sticky;
  left: 44px;
  z-index: 2;
}
.seek-table thead th:nth-child(1),
.seek-table thead th:nth-child(2) { z-index: 3; }
.seek-table tbody tr:nth-child(even) td:nth-child(1),
.seek-table tbody tr:nth-child(even) td:nth-child(2) { background: #f4f4f4; }

.bz-search-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.15rem;
  flex-wrap: wrap;
}

.bz-search {
  flex: 1;
  min-width: min(100%, 16rem);
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: #d7dde8;
  border-radius: 999px;
  padding: 0.7rem 1.15rem;
  cursor: text;
}

.bz-search__icon {
  color: #4a7ec2;
  flex-shrink: 0;
}

.bz-search input {
  flex: 1;
  width: 100%;
  min-width: 0;
  background: transparent;
  border: none;
  outline: none;
  color: #2a3142;
  font-family: var(--font-body);
  font-size: 0.95rem;
}

.bz-search input::placeholder {
  color: #6b7388;
}

.bz-search input::-webkit-search-cancel-button {
  filter: grayscale(1);
}

.bz-outskirts {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #c5cad4;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}

.bz-outskirts input {
  width: 1rem;
  height: 1rem;
  accent-color: #e8eaef;
  cursor: pointer;
}

.bz-panel {
  background: #e6e8ee;
  border-radius: 12px;
  min-height: 16rem;
  overflow: hidden;
}

.bz-prompt {
  text-align: center;
  padding: 5.5rem 1.5rem;
}

.bz-prompt__title,
.bz-prompt__detail {
  margin: 0;
  color: #9aa0ad;
  font-size: 0.95rem;
  line-height: 1.55;
}

.bz-prompt__detail {
  margin-top: 0.35rem;
}

.bz-panel .tool-loading,
.bz-panel .tool-error {
  color: #6b7388;
}

.bz-table-wrap {
  overflow-x: auto;
}

.bz-table {
  background: transparent;
}

.bz-table th {
  color: #6b7388;
  border-bottom-color: rgba(30, 36, 52, 0.12);
}

.bz-table td {
  color: #1c2230;
  border-bottom-color: rgba(30, 36, 52, 0.08);
}

.bz-table tbody tr:hover td {
  background: rgba(40, 60, 100, 0.05);
}

.bz-table a {
  color: #1c2230;
  font-weight: 600;
}

.bz-table a:hover {
  color: #2f5ea8;
}

.bz-num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-family: ui-monospace, Consolas, monospace;
  white-space: nowrap;
}

.bz-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}

.bz-item span {
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bz-char {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}

.bz-online {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 4px rgba(34, 197, 94, 0.5);
  flex-shrink: 0;
}
.bz-online--off {
  background: #64748b;
  box-shadow: none;
}

@media (max-width: 640px) {
  .bz-table th:nth-child(5),
  .bz-table td:nth-child(5) {
    display: none;
  }
}

/* Items / AH detail */
.tool-page--items #login-gate {
  margin-top: calc(80px + var(--space-8));
}

.tool-page--items .ah-search-wrap {
  position: relative;
  margin: 0.85rem 0 1.35rem;
}

body.is-item-detail .ah-search-wrap {
  margin-top: 0.85rem;
}

.ah-results {
  margin: 0.5rem 0 2rem;
  background: rgba(12, 18, 32, 0.55);
  border: 1px solid rgba(140, 170, 220, 0.16);
  border-radius: 12px;
  overflow: hidden;
}

.ah-results__title {
  margin: 0;
  padding: 0.9rem 1.1rem 0.4rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #e8eaef;
}

.ah-results .ah-suggest__row {
  color: #e8eaef;
}

.ah-results .ah-suggest__row:hover {
  background: rgba(124, 197, 232, 0.08);
}

#ah-detail {
  margin-top: 0.5rem;
  padding-bottom: 2rem;
}

.items-hero {
  padding: calc(80px + var(--space-6)) 0 0;
}

.items-hero .page-hero__title {
  font-size: clamp(2rem, 4.5vw, 3.15rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0;
}

.ah-kicker {
  margin: 0 0 0.7rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8a92a8;
}

.ah-home-sec {
  margin-bottom: 1.6rem;
}

.ah-recent-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.ah-recent-card {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 0.95rem;
  border: 1px solid rgba(140, 170, 220, 0.16);
  border-radius: 10px;
  background: rgba(12, 18, 32, 0.72);
  color: #e8eaef;
  font-weight: 600;
  cursor: pointer;
}

.ah-recent-card:hover {
  border-color: rgba(140, 170, 220, 0.32);
}

.ah-char-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.ah-char-card {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.55rem 0.85rem 0.55rem 0.55rem;
  border: 1px solid rgba(140, 170, 220, 0.16);
  border-radius: 12px;
  background: rgba(12, 18, 32, 0.72);
  color: #e8eaef;
  text-decoration: none;
  font-weight: 600;
}

.ah-char-card:hover {
  color: #fff;
  border-color: rgba(140, 170, 220, 0.32);
}

.ah-char-card .tool-avatar {
  width: 36px;
  height: 36px;
}

.ah-char-card__chevron {
  margin-left: 0.35rem;
  opacity: 0.55;
  transform: rotate(-90deg);
}

.ah-sales-home {
  margin: 1.75rem 0 0;
  padding: 1.4rem 1.35rem 2rem;
  background: #f3f4f7;
  border-radius: 16px;
  color: #1c2230;
}

.ah-sales-home > h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6b7388;
}

.ah-sales-group__name {
  margin: 1.15rem 0 0.15rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9aa0ad;
}

.ah-sale-row {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 0.75rem;
  align-items: center;
  width: 100%;
  padding: 0.62rem 0;
  border: none;
  border-bottom: 1px solid rgba(30, 36, 52, 0.08);
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.ah-sale-row:last-child {
  border-bottom: none;
}

.ah-sale-row__name {
  font-weight: 600;
  color: #2a3142;
}

.ah-sale-row__price {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #1c2230;
}

.ah-sale-row__when {
  color: #8a92a8;
  font-size: 0.88rem;
  min-width: 4.5rem;
  text-align: right;
}

.ah-suggest {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 0.45rem);
  background: #e6e8ee;
  border-radius: 12px;
  overflow: hidden;
  z-index: 40;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  max-height: 22rem;
  overflow-y: auto;
}

.ah-suggest__row {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  width: 100%;
  padding: 0.65rem 1rem;
  border: none;
  background: transparent;
  color: #1c2230;
  font: inherit;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.ah-suggest__row:hover {
  background: rgba(40, 60, 100, 0.08);
}

.ah-suggest__empty {
  padding: 0.9rem 1rem;
  color: #6b7388;
  font-size: 0.9rem;
}

.ah-empty {
  text-align: center;
  padding: 4rem 1rem;
  color: var(--color-text-muted);
}

.ah-detail__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.ah-detail__title {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: #fff;
}

.ah-wiki {
  display: inline-flex;
  align-items: center;
  padding: 0.42rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
}

.ah-wiki:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.ah-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(140, 170, 220, 0.22);
  border-radius: 10px;
  background: rgba(10, 14, 26, 0.55);
  margin-bottom: 1.75rem;
}

.ah-card__icon {
  width: 40px;
  height: 40px;
  image-rendering: pixelated;
  flex-shrink: 0;
}

.ah-card__name {
  margin: 0;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
}

.ah-card__desc {
  margin: 0.2rem 0 0;
  color: #8a92a8;
  font-size: 0.9rem;
}

.ah-sales {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 900px) {
  .ah-sales { grid-template-columns: 1fr 1fr; }
}

.ah-sales__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.7rem;
}

.ah-sales__head h2 {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: #e8eaef;
}

.ah-sales__stat {
  margin: 0;
  color: #8a92a8;
  font-size: 0.85rem;
  font-weight: 600;
}

.ah-sales__stat strong {
  color: #e8eaef;
  font-weight: 700;
}

.ah-sales__dot {
  margin: 0 0.45rem;
  opacity: 0.35;
}

.ah-table-panel {
  background: #f4f5f7;
  border-radius: 10px;
  overflow: hidden;
}

.ah-table th {
  color: #5c6578;
}

.ah-table a {
  color: #3d7ec9;
  font-weight: 600;
}

.ah-table a:hover {
  color: #2f5ea8;
}

.ah-sort {
  font-size: 0.65rem;
  opacity: 0.55;
}

.ah-table-empty {
  text-align: center;
  color: #8a92a8 !important;
  padding: 1.5rem 1rem !important;
}
