* { margin: 0; padding: 0; box-sizing: border-box; }

  body {
    background: #069420;
    font-family: 'Courier New', Courier, monospace;
    font-size: 12px;
    color: #222;
    min-height: 100vh;
    padding: 4px;
    margin-top: 25px;
    padding-bottom: 28px
  }

  /* Window chrome */
  .window {
    background: #d4d0c8;
    border: 2px solid;
    border-color: #ffffff #808080 #808080 #ffffff;
    margin-bottom: 4px;
    box-shadow: 1px 1px 0 #000;
    max-width: 860px;
    margin: 0 auto;
  }

  .window-titlebar {
    background: linear-gradient(to right, #069420, #509624 );
    color: white;
    padding: 2px 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11px;
    font-weight: bold;
    user-select: none;
  }

  .window-titlebar .title-text {
    display: flex;
    align-items: center;
    gap: 4px;
  }

  .window-controls {
    display: flex;
    gap: 2px;
  }

  .win-btn {
    width: 16px;
    height: 14px;
    background: #d4d0c8;
    border: 1px solid;
    border-color: #ffffff #808080 #808080 #ffffff;
    font-size: 9px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    line-height: 1;
  }

  /* Menu bar */
  .menubar {
    background: #d4d0c8;
    padding: 2px 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #808080;
  }

  .menu-items {
    display: flex;
    gap: 2px;
  }

  .menu-item {
    padding: 1px 6px;
    cursor: pointer;
    font-size: 11px;
  }

  .menu-item:hover {
    background: #000080;
    color: white;
  }

  .menu-right {
    display: flex;
    gap: 4px;
    align-items: center;
  }

  .btn-menu {
    background: #d4d0c8;
    border: 2px solid;
    border-color: #ffffff #808080 #808080 #ffffff;
    padding: 2px 8px;
    font-size: 11px;
    cursor: pointer;
    font-family: 'Courier New', monospace;
  }

  .btn-menu:active {
    border-color: #808080 #ffffff #ffffff #808080;
  }

  /* Subwindow (inner panel) */
  .subwindow {
    background: #d4d0c8;
    border: 2px solid;
    border-color: #ffffff #808080 #808080 #ffffff;
    margin: 6px;
    box-shadow: 1px 1px 0 #000;
  }

  .subwindow-titlebar {
    background: linear-gradient(to right, #069420, #509624 );
    color: #ffd700;
    padding: 2px 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11px;
    font-weight: bold;
    user-select: none;
  }

  .subwindow-body {
    padding: 8px;
  }

  /* Overview panel */
  .overview-title {
    color: #8b0000;
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 6px;
  }

  .overview-desc {
    color: #333;
    font-size: 11px;
    margin-bottom: 10px;
    line-height: 1.5;
  }

  .btn-row {
    display: flex;
    gap: 4px;
    margin-bottom: 10px;
  }
  .btn-row a {
    text-decoration: none;
    color: black ;
  }

  .btn-primary {
    background: #d4d0c8;
    border: 2px solid;
    border-color: #ffffff #808080 #808080 #ffffff;
    padding: 3px 10px;
    font-size: 11px;
    cursor: pointer;
    font-family: 'Courier New', monospace;
    font-weight: bold;
  }

  .btn-primary:active {
    border-color: #808080 #ffffff #ffffff #808080;
  }

  /* Stats grid */
  .stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    border: 1px solid #808080;
    margin-bottom: 6px;
  }

  .stat-cell {
    padding: 4px 8px;
    border-right: 1px solid #808080;
    border-bottom: 1px solid #808080;
  }

  .stat-cell:last-child { border-right: none; }

  .stat-label {
    color: #555;
    font-size: 10px;
    margin-bottom: 1px;
  }

  .stat-value {
    font-weight: bold;
    font-size: 12px;
    color: #000;
  }

  .supply-row {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    color: #555;
    margin-bottom: 2px;
  }

  .progress-bar-wrap {
    background: #808080;
    height: 14px;
    border: 1px solid #404040;
    position: relative;
  }

  .progress-bar-fill {
    background: #98cc25;
    height: 100%;
    width: 34.111%;
  }

  /* Chart */
  .chart-container {
    background: white;
    border: 1px inset #808080;
    padding: 8px;
    position: relative;
    height: 260px;
    margin-bottom: 6px;
  }

  .chart-legend {
    display: flex;
    gap: 16px;
    font-size: 10px;
    margin-bottom: 4px;
    align-items: center;
  }

  .legend-item {
    display: flex;
    align-items: center;
    gap: 4px;
  }

  .legend-line {
    width: 20px;
    height: 2px;
  }

  .chart-area-btns {
    display: flex;
    gap: 2px;
  }

  .chart-toggle-btn {
    background: #d4d0c8;
    border: 1px solid #808080;
    padding: 1px 6px;
    font-size: 10px;
    cursor: pointer;
    font-family: 'Courier New', monospace;
  }

  .chart-toggle-btn.active {
    background: #808080;
    color: white;
  }

  canvas#bondingChart {
    width: 100% !important;
    height: 100% !important;
  }

  .chart-info-bar {
    background: #d4d0c8;
    border: 1px solid #808080;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    font-size: 10px;
  }

  .chart-info-cell {
    padding: 2px 6px;
    border-right: 1px solid #808080;
  }

  .chart-info-cell:last-child { border-right: none; }

  /* Trade panel */
  .trade-tabs {
    display: flex;
    border-bottom: 1px solid #808080;
    margin-bottom: 8px;
  }

  .trade-tab {
    padding: 3px 12px;
    font-size: 11px;
    cursor: pointer;
    border: 1px solid;
    border-bottom: none;
    border-color: #ffffff #808080 transparent #ffffff;
    background: #d4d0c8;
    margin-right: 2px;
    margin-bottom: -1px;
  }

  .trade-tab.active {
    background: #d4d0c8;
    border-color: #ffffff #808080 #d4d0c8 #ffffff;
    font-weight: bold;
  }

  .trade-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .trade-left {}

  .trade-field-row {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 6px;
  }

  .trade-label {
    font-size: 11px;
    min-width: 60px;
  }

  .trade-input {
    flex: 1;
    border: 2px solid;
    border-color: #808080 #ffffff #ffffff #808080;
    background: white;
    padding: 2px 4px;
    font-size: 11px;
    font-family: 'Courier New', monospace;
  }

  .btn-small {
    background: #d4d0c8;
    border: 2px solid;
    border-color: #ffffff #808080 #808080 #ffffff;
    padding: 1px 8px;
    font-size: 11px;
    cursor: pointer;
    font-family: 'Courier New', monospace;
  }

  .balance-hint {
    font-size: 10px;
    color: #555;
    margin-bottom: 6px;
  }

  .receive-box {
    background: white;
    border: 2px solid;
    border-color: #808080 #ffffff #ffffff #808080;
    padding: 6px 8px;
    margin-bottom: 6px;
  }

  .receive-box .receive-label {
    font-size: 11px;
    color: #c04000;
    font-weight: bold;
    margin-bottom: 2px;
  }

  .receive-box .receive-detail {
    font-size: 10px;
    color: #555;
    line-height: 1.6;
  }

  .btn-connect {
    width: 100%;
    background: #d4d0c8;
    border: 2px solid;
    border-color: #ffffff #808080 #808080 #ffffff;
    padding: 4px;
    font-size: 11px;
    cursor: pointer;
    font-family: 'Courier New', monospace;
    text-align: center;
    margin-bottom: 4px;
  }

  .router-hint {
    font-size: 9px;
    color: #555;
    margin-bottom: 2px;
  }

  .router-link {
    font-size: 9px;
    color: #0000cc;
    text-decoration: underline;
    cursor: pointer;
    word-break: break-all;
  }

  .trade-stats {
    font-size: 11px;
    line-height: 1.8;
  }

  .trade-stat-row {
    display: flex;
    justify-content: space-between;
    gap: 8px;
  }

  .trade-stat-label { color: #555; }
  .trade-stat-value { font-weight: bold; }
  .trade-stat-value.red { color: #c00000; }

  /* FAQ grid */
  .faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 6px;
  }

  .faq-item {
    background: white;
    border: 1px solid #808080;
    padding: 8px;
  }

  .faq-title {
    font-weight: bold;
    font-size: 11px;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
  }

  .faq-body {
    font-size: 10px;
    color: #444;
    line-height: 1.5;
  }

  /* Flows volume */
  .flows-inner {
    background: white;
    border: 2px solid;
    border-color: #808080 #ffffff #ffffff #808080;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #808080;
    font-size: 11px;
  }

  /* Contract addresses */
  .contract-row {
    display: flex;
    align-items: center;
    margin-bottom: 4px;
    gap: 6px;
    font-size: 11px;
    flex-wrap: wrap;
  }

  .contract-label {
    min-width: 50px;
    color: #555;
  }

  .contract-addr {
    color: #0000cc;
    text-decoration: underline;
    cursor: pointer;
    font-size: 10px;
  }

  .btn-copy {
    background: #d4d0c8;
    border: 2px solid;
    border-color: #ffffff #808080 #808080 #ffffff;
    padding: 1px 8px;
    font-size: 10px;
    cursor: pointer;
    font-family: 'Courier New', monospace;
  }

  .disclaimer-box {
    background: #fffbe6;
    border: 1px solid #c0a000;
    padding: 6px 8px;
    font-size: 10px;
    color: #444;
    margin-top: 6px;
    line-height: 1.5;
  }

  /* Footer */
  .site-footer {
    text-align: center;
    color: #d4d0c8;
    font-size: 10px;
    padding: 10px 4px 6px;
  }

  .site-footer a {
    color: #d4d0c8;
  }

  ::-webkit-scrollbar { width: 16px; }
  ::-webkit-scrollbar-track { background: #d4d0c8; }
  ::-webkit-scrollbar-thumb {
    background: #808080;
    border: 2px solid;
    border-color: #ffffff #404040 #404040 #ffffff;
  }

  #taskbar {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    height: 28px;
    background: #d4d0c8;
    border-top: 2px solid #ffffff;
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 0 2px;
    z-index: 9999;
    box-shadow: 0 -1px 0 #808080;
    font-family: 'Courier New', monospace;
    font-size: 11px;
  }
  .task-btn {
    height: 22px;
    padding: 0 8px;
    background: #d4d0c8;
    border: 2px solid;
    font-family: 'Courier New', monospace;
    font-size: 11px;
    cursor: pointer;
    white-space: nowrap;
  }
  .start-btn {
    border-color: #ffffff #808080 #808080 #ffffff;
    font-weight: bold;
    padding: 0 10px;
  }
  .start-btn:active {
    border-color: #808080 #ffffff #ffffff #808080;
  }
  .app-btn {
    border-color: #ffffff #808080 #808080 #ffffff;
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 120px;
  }
  .active-task {
    border-color: #808080 #ffffff #ffffff #808080;
    background: #b8b4ac;
  }
  .taskbar-divider {
    width: 2px;
    height: 22px;
    border-left: 1px solid #808080;
    border-right: 1px solid #ffffff;
    margin: 0 2px;
  }
  .taskbar-spacer { flex: 1; }
  .taskbar-clock {
    border: 1px solid;
    border-color: #808080 #ffffff #ffffff #808080;
    padding: 0 8px;
    height: 22px;
    display: flex;
    align-items: center;
    background: #d4d0c8;
    min-width: 70px;
    justify-content: center;
  }
@media only screen and (max-width: 800px) {
.trade-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}
.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
}
}