:root {
  --bg: #eef3fb;
  --panel: #ffffff;
  --panel-alt: #f8fbff;
  --surface: #f8fafc;
  --surface-alt: #eef3fb;
  --border: #d8e2ed;
  --text: #102a43;
  --muted: #475569;
  --muted-soft: #6b7b95;
  --accent: #2563eb;
  --accent-soft: #dbeafe;
  --danger: #b91c1c;
  --success: #047857;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.12), transparent 24%),
              radial-gradient(circle at right center, rgba(139, 92, 246, 0.1), transparent 28%),
              linear-gradient(180deg, #eef3fb 0%, #f8fafc 100%);
  color: var(--text);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(100%, 1360px);
  max-width: 1360px;
  margin: 0 auto;
  padding: 8px 16px;
  background: var(--panel);
  border-bottom: 1px solid var(--border);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.45rem;
}

.brand img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.nav-links a {
  color: #33415f;
  text-decoration: none;
  font-size: 0.9rem;
  padding: 6px 10px;
  border-radius: 8px;
  transition: background .2s ease, color .2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: #e8eefc;
  color: #274381;
}

.nav-links a.active {
  background: #e8eefc;
  color: #274381;
  font-weight: 700;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.seller-cta,
.balance-pill,
.badge-pill,
.cart-pill,
.lang-pill,
.avatar-pill {
  border-radius: 999px;
  padding: 8px 14px;
  background: #f8fbff;
  color: #1f2a45;
  font-size: 0.84rem;
  font-weight: 700;
}

.seller-cta {
  background: #2563eb;
  color: #fff;
  border: none;
}

.balance-pill,
.badge-pill,
.lang-pill {
  border: 1px solid var(--border);
}

.avatar-pill {
  border-radius: 999px;
  background: #f0f4fb;
  padding-inline: 14px;
}

.dashboard-shell {
  width: min(100%, 1360px);
  max-width: 1360px;
  margin: 0 auto;
  padding: 24px 20px 32px;
}

.view-panel {
  width: 100%;
}

.dashboard-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(320px, 0.85fr);
  gap: 22px;
  margin-top: 22px;
}

.dashboard-main,
.editor-panel {
  min-width: 0;
}

.editor-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  position: sticky;
  top: 18px;
}

.editor-card h2 {
  margin: 0 0 12px;
  font-size: 1.15rem;
  color: #1f2a45;
}

.editor-input {
  width: 100%;
  border: 1px solid #d7dfec;
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 12px;
  font: inherit;
  background: #f8f9fd;
}

.editor-actions {
  display: flex;
  gap: 8px;
}

.small-button {
  min-height: 44px;
  width: auto;
  padding-inline: 18px;
}

.secondary-button {
  border: 1px solid #d7dfec;
  background: #fff;
  color: #40506d;
  border-radius: 10px;
  padding: 10px 14px;
  cursor: pointer;
}

.base-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease, background 0.24s ease;
}

.base-card:hover {
  transform: translateY(-2px);
  border-color: #cbd5e1;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.rbtn {
  border: none;
  background: #ffffff;
  color: #ff6a00;
  font-weight: 800;
  border-radius: 10px;
  padding: 12px 16px;
  cursor: pointer;
  transition: transform 0.24s ease, box-shadow 0.24s ease, background 0.24s ease, color 0.24s ease;
}

.rbtn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(255, 106, 0, 0.18);
  background: #ffedd5;
}

.bases-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  background: #f8f0d7;
  padding: 12px 16px;
  border-radius: 10px 10px 0 0;
  border: 1px solid #d8dbe1;
  border-bottom: none;
  font-size: 0.98rem;
}

.base-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.base-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px 24px;
  min-height: auto;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.base-card:hover {
  transform: translateY(-2px);
  border-color: #cbd5e1;
  box-shadow: 0 16px 35px rgba(15, 23, 42, 0.07);
}

.updates-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.95fr);
  gap: 20px;
  margin-top: 20px;
  align-items: start;
}

.updates-list-card,
.info-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 18px;
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease, background 0.24s ease;
}

.updates-list-card:hover,
.info-card:hover {
  transform: translateY(-2px);
  border-color: #cbd5e1;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.06);
}

.updates-list-card {
  padding: 24px 26px 24px;
}

.updates-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.98rem;
  font-weight: 800;
  margin-bottom: 18px;
}

.updates-date {
  font-size: 0.82rem;
  color: #5f6b86;
  margin-bottom: 18px;
}

.updates-date-placeholder {
  color: #94a3b8;
  background: #f8fafc;
  border: 1px dashed #d1d5db;
  border-radius: 999px;
  padding: 6px 12px;
  display: inline-flex;
  margin: 0 6px 8px 0;
}

.previous-update-groups {
  display: grid;
  gap: 24px;
  margin-top: 16px;
  margin-bottom: 24px;
}

.previous-update-group {
  border: 1px solid #dde4ef;
  border-radius: 18px;
  padding: 18px;
  background: #ffffff;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
}

.previous-update-group .updates-date {
  font-weight: 700;
  margin-bottom: 14px;
  color: #334155;
  letter-spacing: 0.01em;
}

.update-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 16px;
}

.update-header-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.update-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  min-width: 130px;
}

.update-name {
  font-weight: 800;
  color: #121d39;
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.update-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 12px;
}

.update-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  background: #f8fafc;
  color: #475569;
  border: 1px solid #e2e8f0;
  white-space: nowrap;
}

.update-pill.pill-success {
  background: #d8f7e2;
  color: #0f5132;
  border-color: #b7ebc6;
}

.update-tags {
  margin-top: 2px;
}

.update-tags span {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #334155;
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 0.75rem;
}

.previous-update-group {
  border: 1px solid #dde4ef;
  border-radius: 20px;
  padding: 18px 20px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.previous-update-group:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  border-color: #cbd5e1;
}

.update-row {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(140px, 0.95fr);
  align-items: center;
  gap: 20px;
}

.update-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  min-width: 140px;
}

.update-price {
  font-size: 2rem;
  font-weight: 900;
  color: #1d4ed8;
}

.update-name {
  font-weight: 900;
  color: #0f172a;
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.rbtn.small {
  background: linear-gradient(135deg, #f97316, #fb923c);
  color: #fff;
  border: none;
  padding: 12px 18px;
  border-radius: 16px;
  font-size: 0.9rem;
}

.rbtn.small {
  background: #f97316;
  color: #fff;
  border: none;
  padding: 10px 16px;
  border-radius: 14px;
  font-size: 0.88rem;
  min-width: 110px;
}

.small {
  padding: 8px 10px;
  font-size: 0.78rem;
}

.sidebar-stack {
  display: grid;
  gap: 10px;
}

.market-filters-top {
  background: var(--panel);
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: 0 24px 48px rgba(31, 44, 68, 0.08);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.market-filters-top:hover {
  transform: translateY(-2px);
  box-shadow: 0 34px 60px rgba(31, 44, 68, 0.1);
  border-color: #d0d7e4;
}

.market-filters-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.filters-label {
  font-size: 1.1rem;
  font-weight: 800;
  color: #1f2a45;
}

.market-filters-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.market-toolbar {
  display: none;
}

.market-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}

.market-field {
  background: #f8fbff;
  border: 1px solid #dbe1ec;
  border-radius: 16px;
  padding: 16px 18px;
}

.market-field-span2 {
  grid-column: span 2;
}

.market-field label {
  display: block;
  margin-bottom: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #5d6a89;
}

.market-field input,
.market-field select,
.range-row input {
  width: 100%;
  border: 1px solid #dbe1ec;
  border-radius: 12px;
  padding: 12px 14px;
  background: #fff;
  font: inherit;
  color: #2f415f;
}

.market-field select {
  appearance: none;
}

.feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.feature-pills span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: #eef4ff;
  border: 1px solid #d3def8;
  color: #1d4ed8;
  font-size: 0.78rem;
  font-weight: 700;
}

.range-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
}

.range-row span {
  color: #7d8ca5;
  font-weight: 900;
}

.market-banner-wide {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  border-radius: 20px;
  padding: 22px 26px;
  background: linear-gradient(90deg, #f97316, #ef4444);
  color: #ffffff;
  box-shadow: 0 26px 62px rgba(248, 113, 24, 0.18);
  margin-bottom: 20px;
}

.market-banner-title {
  font-size: 1.15rem;
  font-weight: 800;
}

.market-banner-copy {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.95rem;
}

.market-table-wrap {
  position: relative;
  background: var(--panel);
  border: 1px solid #e5e7f1;
  border-radius: 24px;
  overflow-x: auto;
  box-shadow: 0 24px 50px rgba(31, 44, 68, 0.08);
}

.market-lock-overlay {
  position: absolute;
  inset: 0;
  z-index: 20;
  cursor: pointer;
  touch-action: manipulation;
  background: rgba(248, 250, 252, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  text-align: center;
  padding: 1.5rem 1.25rem 2rem;
}

.market-lock-message {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: min(100%, 340px);
  border: 1px solid rgba(185, 28, 28, 0.25);
  background: #fff3f2;
  color: var(--danger);
  padding: 1.25rem 1.5rem;
  border-radius: 1.5rem;
  box-shadow: 0 24px 60px rgba(148, 20, 20, 0.16);
}

.market-lock-message strong {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.market-lock-message span {
  font-size: 1rem;
  font-weight: 600;
  color: #991b1b;
}

.market-table-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 18px 24px;
  border-bottom: 1px solid #eef1f7;
  color: #5c6d8a;
  font-size: 0.92rem;
}

.market-lock-button {
  border: none;
  background: #b91c1c;
  color: #ffffff;
  border-radius: 999px;
  padding: 14px 18px;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
  width: min(100%, 260px);
}

.market-lock-button:hover,
.market-lock-button:focus-visible {
  background-color: #991b1b;
  transform: translateY(-1px);
}

.market-lock-overlay:focus-visible {
  outline: 2px solid rgba(185, 28, 28, 0.35);
  outline-offset: 4px;
}

.market-table-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 18px 24px;
  border-top: 1px solid #eef1f7;
  background: #fafbfc;
  color: #52637a;
  font-size: 0.92rem;
  min-height: 68px;
}

.table-summary {
  font-weight: 600;
}

.pagination {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.page-button {
  -webkit-appearance: none;
  appearance: none;
  font-family: inherit;
  line-height: 1;
  text-align: center;
  border: 1px solid #d7dee8;
  background: #ffffff;
  color: #4b5b76;
  min-width: 38px;
  height: 38px;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
}

.page-button:hover:not(.disabled) {
  background: #eff4ff;
  border-color: #b6c5f0;
}

.page-button.active {
  background: #2d6be6;
  border-color: #2d6be6;
  color: #ffffff;
}

.page-button.disabled {
  background: #f3f5f8;
  border-color: #e6ebf2;
  color: #9aa4b6;
  cursor: not-allowed;
}

.page-button[disabled] {
  opacity: 1;
}

.page-button:focus-visible {
  outline: 2px solid rgba(45, 107, 230, 0.35);
  outline-offset: 2px;
}

.market-table {
  width: 100%;
  min-width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.market-table th,
.market-table td {
  padding: 16px 20px;
  border-bottom: 1px solid #eef2f7;
  vertical-align: middle;
  font-size: 0.9rem;
  color: #1f2937;
  white-space: normal;
  overflow-wrap: anywhere;
}

.market-table th:nth-child(1),
.market-table td:nth-child(1) {
  width: 40px;
}

.market-table th:nth-child(2),
.market-table td:nth-child(2) {
  width: 160px;
}

.market-table th:nth-child(11),
.market-table td:nth-child(11) {
  width: 210px;
}

.market-table thead {
  background: #f3f6fb;
}

@media (max-width: 1024px) {
  .dashboard-shell {
    padding: 20px 18px 28px;
  }

  .topbar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 14px 16px;
  }

  .nav-links {
    justify-content: center;
    gap: 8px;
  }

  .dashboard-layout,
  .base-grid,
  .updates-grid,
  .market-grid {
    grid-template-columns: 1fr;
  }

  .market-filters-header,
  .market-table-head,
  .market-table-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .market-banner-wide {
    flex-direction: column;
    align-items: stretch;
    padding: 18px 20px;
  }

  .market-banner-wide button,
  .market-lock-button {
    width: 100%;
    max-width: 100%;
  }

  .market-field {
    padding: 12px 14px;
  }

  .market-table th,
  .market-table td {
    padding: 12px 14px;
    font-size: 0.82rem;
  }

  .market-lock-message {
    width: min(100%, 100%);
    max-width: 100%;
    padding: 1.4rem 1.1rem;
  }
}

@media (max-width: 640px) {
  .dashboard-shell {
    padding: 16px 12px 24px;
  }

  .topbar {
    padding: 14px 12px;
  }

  .market-filters-top,
  .market-banner-wide,
  .market-table-wrap {
    margin: 0 -12px;
    border-radius: 0;
  }

  .market-filters-top {
    padding: 16px;
  }

  .market-banner-wide {
    padding: 16px;
  }

  .market-lock-overlay {
    padding: 1.25rem 0.75rem;
  }

  .market-lock-message {
    gap: 0.35rem;
    padding: 1.2rem 1rem;
  }

  .market-lock-message strong {
    font-size: 1.35rem;
  }

  .market-lock-message span {
    font-size: 0.95rem;
  }

  .market-lock-button {
    font-size: 1rem;
    padding: 14px 16px;
  }

  .market-table th,
  .market-table td {
    padding: 10px 12px;
    font-size: 0.78rem;
  }

  .market-table th:nth-child(2),
  .market-table td:nth-child(2),
  .market-table th:nth-child(11),
  .market-table td:nth-child(11) {
    width: auto;
  }
}

.market-table th {
  font-weight: 700;
  color: #6d7a90;
  text-align: left;
}

.market-table tbody tr:hover {
  background: #f6f8fc;
}

.table-bank {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.table-bank strong {
  font-size: 0.95rem;
  color: #1f2a45;
}

.table-bank span {
  color: #62718b;
  font-size: 0.82rem;
}

.type-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  color: #fff;
}

.type-credit {
  background: #3b82f6;
}

.type-debit {
  background: #16a34a;
}

.feature-pill-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.feature-pill-row::-webkit-scrollbar {
  height: 6px;
}

.feature-pill-row::-webkit-scrollbar-thumb {
  background: rgba(99, 110, 141, 0.24);
  border-radius: 999px;
}

.feature-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 32px;
  border-radius: 12px;
  background: #eef9f2;
  color: #0f7a4f;
  font-size: 0.86rem;
  font-weight: 700;
  padding: 0 12px;
  border: 1px solid #d8f0e4;
}

.price-cell {
  font-weight: 800;
  color: #0f4a92;
}

.actions-cell {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  min-width: 220px;
  white-space: nowrap;
}

.market-table td .ghost-button,
.market-table td .market-buy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.market-table input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #2d6be6;
}

.ghost-button,
.market-search-button {
  border: 1px solid #cbd5e1;
  background: #f8fbff;
  border-radius: 12px;
  padding: 12px 18px;
  font-weight: 700;
  color: #1f2a45;
  cursor: pointer;
}

.ghost-button.small {
  background: #f9fbff;
  border-color: #d6e2f0;
  color: #1f2a45;
  padding: 10px 14px;
  min-width: 92px;
  min-height: 42px;
  box-shadow: inset 0 0 0 1px rgba(55, 65, 81, 0.08);
}

.market-buy-button.small {
  border: none;
  background: #047857;
  color: #fff;
  font-weight: 700;
  padding: 10px 16px;
  min-width: 92px;
  min-height: 42px;
  border-radius: 999px;
}

.market-search-button {
  background: #2d6be6;
  color: #fff;
  border-color: #2d6be6;
}

.market-buy-button {
  border: none;
  background: #047857;
  color: #fff;
  font-weight: 800;
  padding: 12px 18px;
  border-radius: 12px;
  cursor: pointer;
}

@media (max-width: 980px) {
  .market-grid, .market-stats-grid { grid-template-columns: 1fr; }
  .market-field-span2 { grid-column: span 1; }
  .market-banner-wide { flex-direction: column; align-items: stretch; }
  .market-table-head { flex-direction: column; align-items: flex-start; }
}

.small {
  font-size: 0.76rem;
  padding: 7px 9px;
}

@media (max-width: 980px) {
  .topbar, .nav-links, .topbar-right { flex-wrap: wrap; }
  .base-grid, .updates-grid, .dashboard-layout, .market-grid { grid-template-columns: 1fr; }
  .update-row { grid-template-columns: 1fr; }
}

.info-card {
  padding: 13px 15px;
  border-radius: 10px;
}

.notice-card {
  background: #fff3cf;
  border-color: #f1d98f;
}

.site-card {
  background: #eaf3ff;
  border-color: #bad4f6;
}

.rules-card {
  background: #ffffff;
}

.info-title {
  font-size: 1.05rem;
  font-weight: 900;
  margin-bottom: 10px;
}

.info-card p,
.info-card li {
  font-size: 0.92rem;
  line-height: 1.55;
  color: #3c4760;
}

.info-card ul {
  margin: 0;
  padding-left: 18px;
}



.base-header,
.base-meta,
.base-actions,
.tag-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.base-header {
  justify-content: space-between;
}

.base-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.base-name {
  font-size: 1rem;
  font-weight: 800;
  color: #1f2a45;
}

.base-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffefdd;
  color: #c25a0d;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 4px 8px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.base-price {
  font-size: 1.2rem;
  font-weight: 900;
  color: #1f2a45;
}

.base-meta span {
  color: #647089;
  font-size: 0.84rem;
}

.base-actions {
  justify-content: flex-start;
}

.sbtn {
  border: 1px solid #d7dfec;
  background: #f7f9fd;
  color: #2d4b72;
  border-radius: 10px;
  padding: 10px 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.sbtn:hover {
  background: #eef3fb;
  border-color: #cfddea;
}

.update-main {
  min-width: 0;
}


.base-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.base-name {
  font-weight: 700;
  font-size: 1rem;
}

.base-badge {
  background: #fce4cf;
  color: #d46a23;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
}

.base-price {
  font-size: 1.45rem;
  font-weight: 800;
}

.base-meta {
  margin-top: 10px;
  color: #3e4a66;
  font-size: 0.88rem;
}

.tag-row {
  margin-top: 10px;
}

.tag-row span,
.sbtn {
  border: 1px solid #d5dded;
  border-radius: 5px;
  background: #f7f9fd;
  color: #40506d;
  font-size: 0.73rem;
  padding: 4px 7px;
}

.base-actions {
  margin-top: 14px;
}

.sbtn {
  cursor: pointer;
}

.rbtn {
  margin-left: auto;
  background: #f6a33c;
  color: #fff;
  padding: 8px 12px;
  font-size: 0.82rem;
  border-radius: 6px;
}

@media (max-width: 980px) {
  .topbar, .nav-links, .topbar-right { flex-wrap: wrap; }
  .base-grid { grid-template-columns: 1fr; }
}
