@font-face {
  font-family: 'Rajdhani';
  src: url('/static/fonts/rajdhani-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Rajdhani';
  src: url('/static/fonts/rajdhani-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Rajdhani';
  src: url('/static/fonts/rajdhani-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Rajdhani';
  src: url('/static/fonts/rajdhani-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Share Tech Mono';
  src: url('/static/fonts/share-tech-mono-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0b0b0d;
  --bg2: #101013;
  --panel: #15151a;
  --panel2: #1b1b21;
  --line: rgba(240, 138, 29, .25);
  --line2: rgba(255, 255, 255, .07);
  --brand: #f08a1d;
  --brand2: #ffb84d;
  --cyan: #3ec6d8;
  --red: #ff4040;
  --green: #35d07f;
  --text: #ece7db;
  --muted: #8f8b7d;
  --mono: 'Share Tech Mono', Consolas, monospace;
  --sans: 'Rajdhani', Bahnschrift, 'Microsoft YaHei', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  border-radius: 0;
  letter-spacing: 0;
}

html {
  scrollbar-color: var(--brand) var(--bg2);
  scrollbar-width: thin;
}

body {
  font-family: var(--sans);
  font-size: 14px;
  background-color: var(--bg);
  background-image:
    linear-gradient(rgba(240, 138, 29, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240, 138, 29, .025) 1px, transparent 1px);
  background-size: 32px 32px;
  color: var(--text);
  min-height: 100vh;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9997;
  pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 55%, rgba(0, 0, 0, .45) 100%);
}

::selection {
  background: var(--brand);
  color: #0b0b0d;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg2);
}
::-webkit-scrollbar-thumb {
  background: var(--brand);
  border: 2px solid var(--bg2);
}

a {
  color: var(--brand);
}

button {
  font-family: var(--sans);
}

.kt-scanlines {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: .05;
  background: repeating-linear-gradient(
    0deg,
    rgba(255, 255, 255, .4) 0 1px,
    transparent 1px 3px
  );
}

/* ---------- topbar ---------- */
.kt-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 56px;
  z-index: 1000;
  display: flex;
  align-items: center;
  padding: 0 20px;
  background: rgba(11, 11, 13, .92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.kt-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: 32px;
  cursor: pointer;
}
.kt-brand img {
  height: 28px;
  width: auto;
  display: block;
}
.kt-brand span {
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text);
  white-space: nowrap;
}
.kt-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.kt-nav::-webkit-scrollbar {
  display: none;
}
.kt-nav a {
  display: block;
  padding: 15px 12px;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  position: relative;
  transition: color .2s;
}
.kt-nav a:hover {
  color: var(--text);
}
.kt-nav a.active {
  color: var(--brand);
}
.kt-nav a.active::after {
  content: '';
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 0;
  height: 3px;
  background: var(--brand);
  clip-path: polygon(0 0, calc(100% - 4px) 0, 100% 100%, 0 100%);
}
.kt-user {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text);
}
.kt-user .kt-status-dot {
  margin-right: 2px;
}

/* ---------- ticker ---------- */
.kt-ticker {
  position: fixed;
  top: 56px;
  left: 0;
  right: 0;
  height: 30px;
  z-index: 999;
  display: flex;
  align-items: stretch;
  background: rgba(16, 16, 19, .94);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.kt-ticker-label {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  padding: 0 12px;
  background: var(--red);
  color: #fff;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
}
.kt-ticker-track {
  display: flex;
  align-items: center;
  width: max-content;
  white-space: nowrap;
  animation: kt-ticker 30s linear infinite;
}
.kt-ticker-track > span {
  margin-right: 48px;
  padding-left: 24px;
  color: var(--text);
  font-size: 13px;
}
.kt-ticker-track > span::before {
  content: '// ';
  color: var(--brand);
}
@keyframes kt-ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- layout ---------- */
.kt-wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 96px 20px 20px;
}
.kt-wrap--center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

/* ---------- panel ---------- */
.kt-panel,
.kt-card,
.kt-stat,
.kt-modal {
  background: var(--panel);
  border: 1px solid var(--line);
  clip-path: polygon(
    0 0,
    calc(100% - 14px) 0,
    100% 14px,
    100% 100%,
    14px 100%,
    0 calc(100% - 14px)
  );
}

.kt-panel {
  position: relative;
  padding: 16px;
  margin-bottom: 20px;
}
.kt-panel-h {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: -16px -16px 16px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--line2);
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  text-transform: uppercase;
}
.kt-panel-h::before {
  content: '';
  width: 6px;
  height: 14px;
  background: var(--brand);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}
.kt-panel-h::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
}

/* ---------- buttons ---------- */
.kt-btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand);
  background: rgba(240, 138, 29, .08);
  border: 1px solid var(--line);
  cursor: pointer;
  text-decoration: none;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
  transition: color .2s, border-color .2s, transform .1s;
}
.kt-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--brand);
  transform: translateX(-101%);
  transition: transform .25s ease;
}
.kt-btn:hover {
  color: #0b0b0d;
  border-color: var(--brand);
}
.kt-btn:hover::before {
  transform: translateX(0);
}
.kt-btn:active {
  transform: translateY(1px);
}
.kt-btn:focus-visible {
  outline: 2px solid var(--brand2);
  outline-offset: 2px;
}
.kt-btn.ghost {
  color: var(--text);
  background: transparent;
  border-color: var(--line2);
}
.kt-btn.ghost::before {
  background: var(--brand2);
}
.kt-btn.ghost:hover {
  color: #0b0b0d;
  border-color: var(--brand);
}
.kt-btn.danger {
  color: var(--red);
  background: rgba(255, 64, 64, .06);
  border-color: rgba(255, 64, 64, .4);
}
.kt-btn.danger::before {
  background: var(--red);
}
.kt-btn.danger:hover {
  color: #0b0b0d;
  border-color: var(--red);
}

/* ---------- form ---------- */
.kt-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 14px;
}
.kt-field label {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
}
.kt-input {
  width: 100%;
  padding: 8px 10px;
  background: var(--bg2);
  color: var(--text);
  border: 1px solid var(--line2);
  font-family: var(--sans);
  font-size: 14px;
  outline: none;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
  transition: border-color .2s, box-shadow .2s;
}
.kt-input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 1px var(--brand), 0 0 12px rgba(240, 138, 29, .25);
}
.kt-input::placeholder {
  color: var(--muted);
}

/* ---------- chips / tags / badges ---------- */
.kt-chip,
.kt-tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  font-size: 12px;
  color: var(--text);
  background: var(--panel2);
  border: 1px solid var(--line2);
}
.kt-tag {
  color: var(--brand);
  border-color: var(--line);
  background: rgba(240, 138, 29, .06);
}
.kt-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  border: 1px solid;
}
.kt-badge.internal {
  color: var(--cyan);
  border-color: rgba(62, 198, 216, .5);
  background: rgba(62, 198, 216, .08);
}
.kt-badge.confidential {
  color: var(--brand);
  border-color: rgba(240, 138, 29, .5);
  background: rgba(240, 138, 29, .08);
}
.kt-badge.topsecret {
  color: var(--red);
  border-color: rgba(255, 64, 64, .5);
  background: rgba(255, 64, 64, .08);
}

/* ---------- table ---------- */
.kt-table-wrap {
  overflow-x: auto;
}
.kt-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.kt-table th {
  text-align: left;
  padding: 10px 12px;
  background: rgba(240, 138, 29, .04);
  color: var(--brand);
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  white-space: nowrap;
}
.kt-table td {
  padding: 10px 12px;
  color: var(--text);
  border-bottom: 1px solid var(--line2);
}
.kt-table tbody tr {
  transition: background .15s;
}
.kt-table tbody tr:hover {
  background: rgba(255, 255, 255, .02);
}

/* ---------- cards / grids / stats ---------- */
.kt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}
.kt-card {
  padding: 16px;
}
.kt-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}
.kt-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}
.kt-stat {
  padding: 16px;
  text-align: center;
}
.kt-stat__value {
  font-family: var(--sans);
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  color: var(--brand);
}
.kt-stat__label {
  margin-top: 8px;
  font-size: 12px;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- tabs ---------- */
.kt-tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--line2);
  margin-bottom: 16px;
  overflow-x: auto;
}
.kt-tab {
  appearance: none;
  background: transparent;
  border: 1px solid transparent;
  border-bottom: none;
  padding: 8px 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: color .2s, background .2s;
}
.kt-tab:hover {
  color: var(--text);
}
.kt-tab.active {
  color: var(--brand);
  background: var(--panel);
  border-color: var(--line2);
  position: relative;
}
.kt-tab.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--brand);
}

/* ---------- toast ---------- */
.kt-toast-container {
  position: fixed;
  top: 84px;
  right: 16px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.kt-toast {
  min-width: 220px;
  max-width: 320px;
  padding: 12px 14px;
  background: var(--panel2);
  border: 1px solid var(--line2);
  border-left: 3px solid var(--brand);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .5);
  color: var(--text);
  font-size: 14px;
  animation: kt-toast-in .25s ease, kt-toast-out .4s ease 2.6s forwards;
}
.kt-toast.success {
  border-left-color: var(--green);
}
.kt-toast.error {
  border-left-color: var(--red);
}
@keyframes kt-toast-in {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: none; }
}
@keyframes kt-toast-out {
  to { opacity: 0; transform: translateX(30px); }
}

/* ---------- modal ---------- */
.kt-modal-mask {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, .6);
}
.kt-modal {
  width: 100%;
  max-width: 480px;
  padding: 20px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, .6);
  animation: kt-modal-in .2s ease;
}
@keyframes kt-modal-in {
  from { opacity: 0; transform: scale(.96); }
  to { opacity: 1; transform: none; }
}
.kt-modal-h {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line2);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}
.kt-modal-close {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.kt-modal-close:hover {
  color: var(--red);
}

/* ---------- progress / countdown ---------- */
.kt-progress {
  height: 8px;
  background: var(--bg2);
  border: 1px solid var(--line2);
  overflow: hidden;
}
.kt-progress__bar {
  height: 100%;
  width: 0;
  background: var(--brand);
  transition: width .3s ease;
}
.kt-progress.danger .kt-progress__bar {
  background: var(--red);
}
.kt-countdown {
  font-family: var(--mono);
  font-size: 32px;
  color: var(--brand);
  text-shadow: 0 0 12px rgba(240, 138, 29, .4);
}

/* ---------- empty / loading ---------- */
.kt-empty {
  padding: 40px 16px;
  text-align: center;
  color: var(--muted);
  border: 1px dashed var(--line2);
  background: rgba(255, 255, 255, .01);
}
.kt-loading {
  display: block;
  height: 12px;
  background: linear-gradient(90deg, var(--panel2) 25%, rgba(240, 138, 29, .18) 50%, var(--panel2) 75%);
  background-size: 200% 100%;
  animation: kt-loading 1.2s infinite;
  border: 1px solid var(--line2);
}
@keyframes kt-loading {
  from { background-position: 200% 0; }
  to { background-position: -200% 0; }
}

/* ---------- footer ---------- */
.kt-footer {
  margin-top: 40px;
  padding: 20px;
  text-align: center;
  border-top: 1px solid var(--line2);
  color: var(--muted);
  font-size: 12px;
}

/* ---------- hero ---------- */
.kt-hero {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: flex-end;
  padding: 32px;
  margin-bottom: 20px;
  border: 1px solid var(--line);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
  background:
    linear-gradient(120deg, rgba(240, 138, 29, .18), transparent 42%),
    repeating-linear-gradient(90deg, transparent 0 24px, rgba(240, 138, 29, .05) 24px 25px),
    linear-gradient(0deg, rgba(11, 11, 13, .92), rgba(11, 11, 13, .45));
}
.kt-hero h1 {
  font-size: 34px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 4px;
}
.kt-hero p {
  color: var(--muted);
  font-size: 16px;
}

/* ---------- glitch ---------- */
.kt-glitch {
  position: relative;
  display: inline-block;
}
.kt-glitch::before,
.kt-glitch::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
}
.kt-glitch:hover::before {
  opacity: .75;
  color: var(--cyan);
  transform: translate(-2px, -1px);
  clip-path: polygon(0 0, 100% 0, 100% 30%, 0 30%);
  animation: kt-glitch-jitter .4s infinite linear alternate;
}
.kt-glitch:hover::after {
  opacity: .75;
  color: var(--red);
  transform: translate(2px, 1px);
  clip-path: polygon(0 60%, 100% 60%, 100% 100%, 0 100%);
  animation: kt-glitch-jitter .3s infinite linear alternate-reverse;
}
@keyframes kt-glitch-jitter {
  to { transform: translate(1px, -1px); }
}

/* ---------- boot terminal ---------- */
.kt-boot {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  font-family: var(--mono);
  font-size: 16px;
  color: var(--green);
  pointer-events: none;
  animation: kt-boot-fade .6s ease 1.8s forwards;
}
.kt-boot__inner {
  width: 100%;
  max-width: 620px;
  padding: 24px;
  box-sizing: border-box;
}
.kt-boot__line {
  display: inline-block;
  width: 0;
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  animation: kt-boot-type .3s steps(20, end) forwards;
}
.kt-boot__line:nth-child(1) { animation-delay: .05s; }
.kt-boot__line:nth-child(2) { animation-delay: .25s; }
.kt-boot__line:nth-child(3) { animation-delay: .45s; }
.kt-boot__line:nth-child(4) { animation-delay: .65s; }
.kt-boot__line:nth-child(5) { animation-delay: .85s; }
.kt-boot__line.kt-boot__orange {
  color: var(--brand);
}
.kt-boot__cursor {
  display: inline-block;
  width: 8px;
  height: 16px;
  background: var(--green);
  animation: kt-blink 1s step-start infinite;
}
@keyframes kt-boot-type {
  to { width: 100%; }
}
@keyframes kt-boot-fade {
  to { opacity: 0; visibility: hidden; }
}

/* ---------- status dot ---------- */
.kt-status-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px rgba(53, 208, 127, .8);
  animation: kt-blink 1.2s ease-in-out infinite;
}
.kt-status-dot.offline,
.kt-status-dot.red {
  background: var(--red);
  box-shadow: 0 0 8px rgba(255, 64, 64, .8);
}
.kt-status-dot.cyan {
  background: var(--cyan);
  box-shadow: 0 0 8px rgba(62, 198, 216, .8);
}
@keyframes kt-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: .35; }
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .kt-nav {
    overflow-x: auto;
    flex-wrap: nowrap;
  }
  .kt-nav a {
    padding: 15px 10px;
  }
  .kt-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .kt-grid > .kt-card {
    grid-column: 1 / -1;
  }
  .kt-stat__value {
    font-size: 32px;
  }
  .kt-hero {
    min-height: 220px;
    padding: 24px;
  }
  .kt-hero h1 {
    font-size: 26px;
  }
}

/* dashboard grid + stats: collapse to single column on narrow screens
   (base tracks are inline-styled by page_index.js, hence !important) */
@media (max-width: 900px) {
  .kt-dashboard-grid {
    grid-template-columns: 1fr !important;
  }
  .kt-stats {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* v3 gameplay & visual layer */
@keyframes ktPageIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes ktModalIn { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes ktMarquee { from { transform: translateX(100%); } to { transform: translateX(-100%); } }
@keyframes ktPulse { 0%,100% { opacity: 1; } 50% { opacity: .45; } }

.kt-wrap, main.kt-wrap { animation: ktPageIn .32s ease both; }
.kt-modal, .kt-modal-box { animation: ktModalIn .24s ease both; }
.kt-ticker-text { display: inline-block; white-space: nowrap; animation: ktMarquee 22s linear infinite; }
.kt-ticker-text:after { content: " · "; }

.kt-onboarding-box { max-width: 560px; }
.kt-onboarding-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 18px 0; }
.kt-onboarding-links a { text-align: center; }

.kt-task-drawer {
  position: fixed; right: 16px; top: 84px; width: min(380px, 92vw); max-height: calc(100vh - 110px);
  overflow: auto; z-index: 40; background: rgba(10, 12, 18, .96); border: 1px solid rgba(255, 122, 0, .5);
  border-radius: 6px; box-shadow: 0 0 30px rgba(0,0,0,.45); animation: ktPageIn .28s ease both;
}
.kt-task-drawer-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; border-bottom: 1px solid #252a38; }
.kt-task-drawer-h h3 { margin: 0; }
.kt-task-list { padding: 12px; display: grid; gap: 12px; }
.kt-task-card { border: 1px solid #252a38; border-radius: 6px; padding: 12px; background: #0d1117; }
.kt-task-card h4 { margin: 0 0 8px; color: #ffb020; }
.kt-task-card p { font-size: 13px; line-height: 1.6; color: #d7dde8; margin: 0 0 10px; }
.kt-task-choices { display: grid; gap: 8px; }
.kt-task-choices .kt-btn { width: 100%; text-align: left; justify-content: flex-start; }

.kt-product-detail-layout { display: grid; grid-template-columns: minmax(260px, 420px) 1fr; gap: 18px; margin-top: 16px; }
.kt-product-detail-img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border: 1px solid #2a3140; border-radius: 6px; background: #0a0d12; }
.kt-product-buy { display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.kt-product-buy .kt-product-meta { display: flex; align-items: center; gap: 14px; }
.kt-back { color: #ff7a00; text-decoration: none; }

.kt-public-trades { width: 100%; }
.kt-public-trades td, .kt-public-trades th { padding: 8px 10px; }
.kt-trade-buy { color: #22c55e; }
.kt-trade-sell { color: #ef4444; }

@media (max-width: 900px) {
  .kt-task-drawer { right: 8px; left: 8px; width: auto; top: 86px; }
  .kt-product-detail-layout { grid-template-columns: 1fr; }
  .kt-onboarding-links { grid-template-columns: 1fr; }
}
.kt-activity-drawer {
  position: fixed; left: 16px; bottom: 16px; width: min(360px, 92vw); z-index: 41;
  background: rgba(10, 12, 18, .97); border: 1px solid rgba(0, 184, 169, .55); border-radius: 6px;
  box-shadow: 0 0 24px rgba(0,0,0,.5); animation: ktPageIn .28s ease both;
}
.kt-activity-drawer .kt-task-card { border-color: rgba(0,184,169,.3); }
.kt-activity-drawer a.kt-btn { display: block; text-align: center; }
@media (max-width: 900px) {
  .kt-activity-drawer { left: 8px; right: 8px; width: auto; }
}
.kt-replies { margin-top: 12px; padding-left: 14px; border-left: 2px solid #252a38; display: grid; gap: 10px; }
.kt-reply { border: 1px solid #252a38; border-radius: 6px; padding: 10px; background: #0d1117; }
.kt-reply p { margin: 8px 0 0; }
.kt-admin-reply { border-color: rgba(225,29,72,.8); box-shadow: 0 0 12px rgba(225,29,72,.12); }
.kt-admin-reply .kt-chip { color: #ff5a5a; }
.kt-reply-form { margin-top: 10px; display: grid; gap: 8px; }