body { padding-bottom: 120px; background: #0a0b0d; }
.visual-copy h1 { font-size: 42px; }
.visual-header { min-height: 260px; }
.visual-copy { padding-top: 50px; padding-bottom: 32px; }
.brand-mark { background: #19170f; }
.preview-label { font-size: 11px; color: #e8bd50; border: 1px solid #51431f; padding: 4px 9px; border-radius: 4px; margin-inline-end: 8px; }
#accountButton { display: none; }
.header-actions { min-width: 0; }
.bottom-nav { position: fixed; z-index: 35; bottom: 14px; left: 50%; transform: translateX(-50%); width: min(500px,calc(100% - 32px)); display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); background: rgba(20,22,26,.97); border: 1px solid #353535; border-radius: 8px; box-shadow: 0 8px 32px #0008; padding: 6px 10px; padding-bottom: max(6px,env(safe-area-inset-bottom)); backdrop-filter: blur(16px); }
.bottom-tab { position: relative; min-height: 66px; border: 0; background: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: #8e939d; font-size: 12px; font-weight: 600; transition: color .18s; }
.bottom-tab::before { content: ''; position: absolute; inset: -7px 32% auto; height: 2px; background: transparent; }
.bottom-tab.is-active { color: #f2c55d; }
.bottom-tab.is-active::before { background: #f2c55d; }
.nav-icon { display: grid; place-items: center; width: 58px; height: 33px; border-radius: 7px; transition: background .18s; }
.nav-icon svg { width: 22px; height: 22px; }
.is-active .nav-icon { background: #f2c55d1c; }
.is-active .nav-icon svg { stroke-width: 2.2; }
.bottom-tab:hover { color: #fff0c0; }
.bottom-tab { -webkit-tap-highlight-color: transparent; outline: none; }
.bottom-tab:focus { outline: none; box-shadow: none; }
.bottom-tab:focus-visible .nav-icon { outline: 2px solid #f2c55d; outline-offset: 2px; }
.bottom-tab:active { background: none; }
body[data-view="orders"] .visual-header, body[data-view="profile"] .visual-header { display: none; }
body:not([data-view="store"]) .selection-bar { display: none !important; }
.selection-bar { bottom: 112px; }
.app-section { width: min(960px,calc(100% - 40px)); margin: 0 auto; padding: 36px 0 30px; animation: section-in .2s ease-out; }
.view-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 28px; }
.view-kicker { color: #a4a7ae; font-size: 12px; }
.view-heading h1 { margin: 6px 0; font-size: 28px; font-weight: 850; }
.view-heading p { margin: 0; color: #a4a7ae; font-size: 13px; }
.order-stats { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); padding: 22px 0; margin-bottom: 26px; border-block: 1px solid #292c31; }
.order-stats>div { padding-inline: 24px; border-inline-end: 1px solid #292c31; }
.order-stats>div:first-child { padding-inline-start: 0; }
.order-stats>div:last-child { border: 0; }
.order-stats span { display: block; color: #a4a7ae; font-size: 12px; }
.order-stats strong { display: block; margin-top: 9px; font-size: 22px; font-weight: 800; }
.order-stats small { font-size: 11px; color: #999fa9; margin-inline-start: 4px; font-weight: 400; }
.orders-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; }
.order-filters { display: flex; border-bottom: 1px solid #33353a; }
.order-filters button { background: none; color: #9fa4ae; border: 0; border-bottom: 2px solid transparent; padding: 12px 14px; font-size: 12px; }
.order-filters button.is-active { color: #f2c55d; border-bottom-color: #f2c55d; }
#orderCount { color: #949ba6; font-size: 11px; white-space: nowrap; }
.order-row { border: 1px solid #2d3036; border-radius: 8px; background: #121418; margin-bottom: 12px; overflow: hidden; }
.order-row summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 44px minmax(0,1fr) auto 18px; align-items: center; gap: 16px; padding: 20px; }
.order-row summary::-webkit-details-marker { display: none; }
.order-symbol { width: 44px; height: 44px; display: grid; place-items: center; background: #e7b94f10; border: 1px solid #e7b94f30; border-radius: 7px; color: #e7b94f; }
.order-main { min-width: 0; }
.order-main h3 { margin: 0 0 7px; font-size: 14px; font-weight: 700; line-height: 1.7; overflow-wrap: anywhere; }
.order-main time { color: #8e96a2; font-size: 11px; }
.order-price { text-align: left; white-space: nowrap; font-size: 15px; }
.order-price small { font-size: 10px; color: #9ca3af; }
.order-state { margin-top: 7px; display: flex; justify-content: flex-end; gap: 5px; align-items: center; font-size: 11px; }
.order-state svg { width: 13px; height: 13px; }
.state-fulfilled { color: #6bcaa5; }.state-pending_gateway { color: #edc46e; }.state-cancelled { color: #d58f90; }
.order-chevron { width: 17px; color: #7b8490; transition: transform .15s; }.order-row[open] .order-chevron { transform: rotate(180deg); }
.order-extra { border-top: 1px solid #2c2f35; margin: 0 20px; padding: 16px 0; display: flex; justify-content: space-between; gap: 14px; font-size: 12px; color: #b7bec9; flex-wrap: wrap; }
.empty-orders { padding: 60px 20px; text-align: center; color: #989fab; border-top: 1px solid #2c2f35; }
.empty-orders svg { margin: 0 auto 18px; width: 32px; height: 32px; color: #c9ae70; }
.empty-orders h3 { color: #f0f0f0; font-size: 17px; }.empty-orders p { font-size: 13px; }
.commander-identity { display: flex; align-items: center; gap: 18px; padding: 22px 0 30px; border-bottom: 1px solid #292c31; }
.commander-avatar { height: 70px; width: 70px; display: grid; place-items: center; border: 1px solid #a5883c; border-radius: 8px; background: #242015; color: #f2c55d; flex-shrink: 0; }
.commander-avatar { overflow: hidden; }
.commander-avatar img { grid-area: 1 / 1; width: 100%; height: 100%; object-fit: cover; }
.commander-avatar.has-photo>svg { display: none; }
.commander-avatar svg { width: 34px; height: 34px; }.commander-identity h2 { font-size: 22px; margin: 0 0 8px; overflow-wrap: anywhere; }
.level-tag { font-size: 12px; color: #d8bd80; }.account-connected { margin-inline-start: auto; display: flex; align-items: center; gap: 6px; color: #6bcaa5; font-size: 11px; white-space: nowrap; }.account-connected svg { width: 15px; }
.profile-wallet { display: flex; align-items: center; justify-content: space-between; padding: 28px 0; border-bottom: 1px solid #292c31; }
.profile-wallet span { display: flex; align-items: center; gap: 7px; font-size: 12px; color: #a2a9b4; }.profile-wallet span svg { width: 17px; }
.profile-wallet strong { display: inline-block; font-size: 34px; color: #f2c55d; margin-top: 10px; }.profile-wallet small { margin-inline-start: 8px; font-size: 12px; color: #abb1bb; }.profile-wallet .wallet-art { width: 58px; height: 58px; stroke-width: 1; color: #b99951; }
.subheading { margin: 26px 0 16px; font-size: 14px; font-weight: 700; }
.profile-resources { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; padding-bottom: 22px; border-bottom: 1px solid #292c31; }
.resource-number { display: grid; grid-template-columns: 20px 1fr; gap: 7px; align-items: center; padding: 10px 0; }.resource-number svg { color: #e2bb63; width: 18px; }.resource-number:nth-child(2) svg { color: #77c7d1; }.resource-number:nth-child(3) svg { color: #b4baa6; }.resource-number span { color: #9fa6b0; font-size: 12px; }.resource-number b { grid-column: 2; font-size: 18px; }
.profile-fields>div { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid #25292e; font-size: 13px; }.profile-fields>div>span:first-child { color: #9fa6b0; }.id-value { display: flex; gap: 10px; align-items: center; }.id-value .icon-button { width: 32px; height: 32px; border: none; background: none; }.id-value svg { width: 16px; }
.profile-link { display: flex; align-items: center; justify-content: space-between; width: 100%; border: 0; border-bottom: 1px solid #292c31; padding: 22px 0; background: transparent; color: #f1cb75; font-size: 13px; }.profile-link span { display: flex; align-items: center; gap: 10px; }
@keyframes section-in { from { opacity: .4; transform: translateY(5px); } to { opacity: 1; transform: none; } }
@media (max-width:600px) {
  body { padding-bottom: 102px; }.visual-copy h1 { font-size: 30px; }.visual-header { min-height: 210px; }.visual-copy { padding: 38px 0 26px; }.hero-subtitle { font-size: 12px !important; line-height: 1.9; }
  .bottom-nav { width: 100%; left: 0; bottom: 0; transform: none; border-radius: 0; border-inline: none; border-bottom: none; padding-inline: 20px; }.selection-bar { bottom: calc(92px + env(safe-area-inset-bottom)); }
  .app-section { width: calc(100% - 32px); padding-top: 24px; }.view-heading h1 { font-size: 24px; }.view-heading { margin-bottom: 20px; }
  .order-stats>div { padding-inline: 12px; }.order-stats strong { font-size: 20px; }.order-stats span { font-size: 10px; }.order-stats small { display: block; margin-top: 3px; margin-inline: 0; }
  .orders-toolbar { gap: 6px; }.order-filters button { padding-inline: 9px; font-size: 11px; }
  .order-row summary { grid-template-columns: 36px minmax(0,1fr) auto; gap: 10px; padding: 16px 12px; }.order-symbol { width: 36px; height: 36px; }.order-symbol svg { width: 18px; }.order-chevron { display: none; }.order-main h3 { font-size: 12px; }.order-price { font-size: 13px; }.order-price small { display: block; margin-top: 3px; }.order-state { font-size: 10px; }.order-main time { font-size: 10px; }.order-extra { margin-inline: 12px; }
  .commander-identity { gap: 12px; flex-wrap: wrap; }.commander-avatar { width: 60px; height: 60px; }.commander-identity h2 { font-size: 20px; }.account-connected { width: 100%; margin-inline: 72px 0; }.profile-wallet strong { font-size: 28px; }.profile-resources { gap: 8px; }.resource-number b { font-size: 16px; }
}
@media (prefers-reduced-motion:reduce) { .app-section { animation: none; } * { transition: none !important; } }
@media (max-width:360px) { .preview-label { font-size: 9px; padding: 4px 6px; margin-inline-end: 0; }.topbar { padding-inline: 12px; }.brand { gap: 8px; } }
