/* [project]/src/app/globals.css [app-client] (css) */
@layer properties {
  @supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
    *, :before, :after, ::backdrop {
      --tw-blur: initial;
      --tw-brightness: initial;
      --tw-contrast: initial;
      --tw-grayscale: initial;
      --tw-hue-rotate: initial;
      --tw-invert: initial;
      --tw-opacity: initial;
      --tw-saturate: initial;
      --tw-sepia: initial;
      --tw-drop-shadow: initial;
      --tw-drop-shadow-color: initial;
      --tw-drop-shadow-alpha: 100%;
      --tw-drop-shadow-size: initial;
    }
  }
}

@layer theme {
  :root, :host {
    --font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",
      "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
      "Courier New", monospace;
    --default-font-family: var(--font-sans);
    --default-mono-font-family: var(--font-mono);
  }
}

@layer base {
  *, :after, :before, ::backdrop {
    box-sizing: border-box;
    border: 0 solid;
    margin: 0;
    padding: 0;
  }

  ::file-selector-button {
    box-sizing: border-box;
    border: 0 solid;
    margin: 0;
    padding: 0;
  }

  html, :host {
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    line-height: 1.5;
    font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }

  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }

  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }

  h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
  }

  a {
    color: inherit;
    -webkit-text-decoration: inherit;
    -webkit-text-decoration: inherit;
    text-decoration: inherit;
  }

  b, strong {
    font-weight: bolder;
  }

  code, kbd, samp, pre {
    font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
    font-feature-settings: var(--default-mono-font-feature-settings, normal);
    font-variation-settings: var(--default-mono-font-variation-settings, normal);
    font-size: 1em;
  }

  small {
    font-size: 80%;
  }

  sub, sup {
    vertical-align: baseline;
    font-size: 75%;
    line-height: 0;
    position: relative;
  }

  sub {
    bottom: -.25em;
  }

  sup {
    top: -.5em;
  }

  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }

  :-moz-focusring {
    outline: auto;
  }

  progress {
    vertical-align: baseline;
  }

  summary {
    display: list-item;
  }

  ol, ul, menu {
    list-style: none;
  }

  img, svg, video, canvas, audio, iframe, embed, object {
    vertical-align: middle;
    display: block;
  }

  img, video {
    max-width: 100%;
    height: auto;
  }

  button, input, select, optgroup, textarea {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    opacity: 1;
    background-color: #0000;
    border-radius: 0;
  }

  ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    opacity: 1;
    background-color: #0000;
    border-radius: 0;
  }

  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }

  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }

  ::file-selector-button {
    margin-inline-end: 4px;
  }

  ::placeholder {
    opacity: 1;
  }

  @supports (not ((-webkit-appearance: -apple-pay-button))) or (contain-intrinsic-size: 1px) {
    ::placeholder {
      color: currentColor;
    }

    @supports (color: color-mix(in lab, red, red)) {
      ::placeholder {
        color: color-mix(in oklab, currentcolor 50%, transparent);
      }
    }
  }

  textarea {
    resize: vertical;
  }

  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }

  ::-webkit-date-and-time-value {
    min-height: 1lh;
    text-align: inherit;
  }

  ::-webkit-datetime-edit {
    display: inline-flex;
  }

  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }

  ::-webkit-datetime-edit {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-year-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-month-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-day-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-hour-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-minute-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-second-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-millisecond-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }

  ::-webkit-calendar-picker-indicator {
    line-height: 1;
  }

  :-moz-ui-invalid {
    box-shadow: none;
  }

  button, input:where([type="button"], [type="reset"], [type="submit"]) {
    appearance: button;
  }

  ::file-selector-button {
    appearance: button;
  }

  ::-webkit-inner-spin-button {
    height: auto;
  }

  ::-webkit-outer-spin-button {
    height: auto;
  }

  [hidden]:where(:not([hidden="until-found"])) {
    display: none !important;
  }
}

@layer components;

@layer utilities {
  .grid {
    display: grid;
  }

  .h-full {
    height: 100%;
  }

  .min-h-full {
    min-height: 100%;
  }

  .antialiased {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  .filter {
    filter: var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, );
  }
}

:root {
  --bg: #0f1117;
  --panel: #181b26;
  --card: #1a1d27;
  --card-hov: #1f2330;
  --inset: #10131b;
  --line: #ffffff12;
  --line-2: #ffffff21;
  --tx: #e9ebf2;
  --tx-2: #9aa1b4;
  --tx-3: #646b80;
  --yes: #22c55e;
  --yes-dim: #22c55e29;
  --yes-line: #22c55e59;
  --no: #ef4444;
  --no-dim: #ef444429;
  --no-line: #ef444459;
  --resolved: #3b82f6;
  --resolved-dim: #3b82f629;
  --p1: #8b5cf6;
  --p2: #4f7dff;
  --p3: #22d3ee;
  --prism: linear-gradient(110deg, var(--p1), var(--p2) 50%, var(--p3));
  --prism-soft: linear-gradient(110deg, #8b5cf62e, #4f7dff24 50%, #22d3ee29);
  --r-card: 12px;
  --r-sm: 8px;
  --r-pill: 999px;
  --shadow: 0 1px 0 #ffffff08 inset, 0 8px 30px -12px #0000009e;
  --sans: "IBM Plex Sans KR", "Pretendard", "Apple SD Gothic Neo", system-ui, sans-serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", ui-monospace, monospace;
}

* {
  box-sizing: border-box;
}

html, body {
  background: var(--bg);
  min-height: 100%;
  color: var(--tx);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizelegibility;
  margin: 0;
}

body {
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
}

::selection {
  background: #4f7dff59;
}

.num, .tnum {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

.muted {
  color: var(--tx-2);
}

.yes-text {
  color: var(--yes);
}

.no-text {
  color: var(--no);
}

.up {
  color: var(--yes);
}

.down {
  color: var(--no);
}

.spin {
  animation: .9s linear infinite spin;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.nav {
  z-index: 50;
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  background: #0f1117e6;
  align-items: center;
  gap: 26px;
  height: 62px;
  padding: 0 30px;
  display: flex;
  position: sticky;
  top: 0;
}

.brand {
  flex: none;
  align-items: center;
  gap: 11px;
  display: flex;
}

.prism-mark {
  flex: none;
  width: 30px;
  height: 30px;
}

.wordmark {
  font-size: 17px;
  font-weight: 700;
}

.wordmark b {
  background: var(--prism);
  color: #0000;
  -webkit-background-clip: text;
  background-clip: text;
}

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

.nav-links a {
  border-radius: var(--r-sm);
  color: var(--tx-2);
  padding: 8px 13px;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--tx);
  background: #ffffff0f;
}

.nav-right {
  align-items: center;
  gap: 12px;
  margin-left: auto;
  display: flex;
}

.balance {
  border-radius: var(--r-pill);
  background: var(--prism-soft);
  height: 36px;
  color: var(--tx);
  border: 1px solid #788cff38;
  align-items: center;
  gap: 8px;
  padding: 0 13px;
  font-size: 13px;
  display: flex;
}

.balance .amt {
  font-weight: 700;
}

.balance .unit {
  color: var(--tx-2);
  font-size: 12px;
}

.btn, .mini-act {
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  height: 36px;
  color: var(--tx);
  background: none;
  justify-content: center;
  align-items: center;
  gap: 7px;
  padding: 0 15px;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1;
  transition: background .15s, border-color .15s, filter .15s;
  display: inline-flex;
}

.btn:hover, .mini-act:hover {
  background: #ffffff0d;
}

.btn-prism {
  background: var(--prism);
  color: #fff;
  border: none;
  box-shadow: 0 8px 24px -10px #4f7dffb8;
}

.btn-prism:hover {
  background: var(--prism);
  filter: brightness(1.07);
}

.btn:disabled, .btn-prism:disabled {
  box-shadow: none;
  color: var(--tx-3);
  filter: none;
  background: #2a2e3c;
}

.btn-ghost {
  background: none;
}

.icon-btn {
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  width: 36px;
  height: 36px;
  color: var(--tx-2);
  background: none;
  place-items: center;
  display: inline-grid;
}

.icon-btn:hover {
  color: var(--tx);
  background: #ffffff0d;
}

.avatar {
  border: 1px solid var(--line-2);
  color: #cdd4ff;
  background: linear-gradient(135deg, #4f7dff33, #8b5cf633);
  border-radius: 50%;
  place-items: center;
  width: 34px;
  height: 34px;
  font-size: 13px;
  font-weight: 700;
  display: grid;
}

.wrap {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  padding: 30px 30px 80px;
}

.page-head {
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 22px;
  display: flex;
}

.page-head h1, .detail-title {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.3;
}

.page-head .sub {
  color: var(--tx-2);
  margin-top: 6px;
  font-size: 13.5px;
}

.head-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  display: flex;
}

.search-shell {
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--card);
  width: 220px;
  height: 34px;
  color: var(--tx-2);
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  display: flex;
}

.search-shell input {
  width: 100%;
  color: var(--tx);
  background: none;
  border: none;
  outline: none;
  font-size: 13px;
}

.search-shell input::placeholder {
  color: var(--tx-3);
}

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

.chip {
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--card);
  height: 34px;
  color: var(--tx-2);
  align-items: center;
  gap: 7px;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
}

.chip:hover, .chip.active {
  border-color: var(--line-2);
  color: var(--tx);
  background: #ffffff12;
}

.chip .dot, .dot {
  background: var(--tx-3);
  border-radius: 50%;
  width: 6px;
  height: 6px;
}

.dot.open {
  background: var(--yes);
}

.dot.closed {
  background: #f7b267;
}

.dot.resolved {
  background: var(--resolved);
}

.badge {
  border-radius: var(--r-pill);
  text-transform: uppercase;
  align-items: center;
  gap: 6px;
  height: 22px;
  padding: 0 9px;
  font-size: 11px;
  font-weight: 800;
  display: inline-flex;
}

.badge .d {
  border-radius: 50%;
  width: 6px;
  height: 6px;
}

.badge.open {
  background: var(--yes-dim);
  color: #6ee7a0;
}

.badge.open .d {
  background: var(--yes);
}

.badge.closed {
  color: var(--tx-2);
  background: #ffffff0f;
}

.badge.closed .d {
  background: var(--tx-3);
}

.badge.resolved {
  background: var(--resolved-dim);
  color: #8fb6ff;
}

.badge.resolved .d {
  background: var(--resolved);
}

.grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  display: grid;
}

.panel, .card {
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--card);
  box-shadow: var(--shadow);
}

.card {
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  padding: 18px;
  transition: background .15s, border-color .15s, transform .12s;
  display: flex;
}

.card:hover {
  border-color: var(--line-2);
  background: var(--card-hov);
  transform: translateY(-2px);
}

.market-card.dimmed {
  opacity: .78;
}

.card-top {
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  display: flex;
}

.card-time {
  color: #f7b267;
  white-space: nowrap;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  display: inline-flex;
}

.card-link {
  flex-direction: column;
  gap: 14px;
  display: flex;
}

.card-q {
  min-height: 44px;
  color: var(--tx);
  overflow-wrap: anywhere;
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.4;
}

.card-prob {
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  display: flex;
}

.prob-main {
  align-items: baseline;
  gap: 8px;
  display: flex;
}

.prob-main .pct {
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
}

.prob-main .lbl {
  color: var(--yes);
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 800;
  display: inline-flex;
}

.prob-no {
  color: var(--tx-2);
  text-align: right;
  font-size: 12px;
}

.prob-no .pct {
  color: var(--no);
  font-size: 15px;
  font-weight: 800;
}

.gauge {
  border-radius: var(--r-pill);
  background: var(--no);
  height: 9px;
  display: flex;
  overflow: hidden;
}

.yes-fill {
  background: var(--yes);
  border-right: 2px solid var(--inset);
  height: 100%;
}

.live {
  background: var(--yes);
  border-radius: 50%;
  width: 7px;
  height: 7px;
  display: inline-block;
  position: relative;
}

.live:after {
  border: 1px solid var(--yes);
  content: "";
  border-radius: 50%;
  animation: 1.8s cubic-bezier(0, 0, .2, 1) infinite ping;
  position: absolute;
  inset: -3px;
}

@keyframes ping {
  75%, 100% {
    opacity: 0;
    transform: scale(2);
  }
}

@media (prefers-reduced-motion: reduce) {
  .live:after, .spin {
    animation: none;
  }
}

.qbuy {
  gap: 8px;
  display: flex;
}

.qbuy a {
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--inset);
  flex: 1;
  justify-content: center;
  align-items: center;
  gap: 6px;
  height: 34px;
  font-size: 12.5px;
  font-weight: 800;
  display: flex;
}

.qbuy .y {
  color: var(--yes);
}

.qbuy .n {
  color: var(--no);
}

.qbuy .y:hover {
  border-color: var(--yes-line);
  background: var(--yes-dim);
}

.qbuy .n:hover {
  border-color: var(--no-line);
  background: var(--no-dim);
}

.card-foot {
  border-top: 1px solid var(--line);
  color: var(--tx-2);
  align-items: center;
  gap: 14px;
  padding-top: 13px;
  font-size: 12px;
  display: flex;
}

.card-foot .it {
  align-items: center;
  gap: 6px;
  display: inline-flex;
}

.card-foot .vol {
  color: var(--tx);
  margin-left: auto;
}

.empty, .loading-panel {
  min-height: 260px;
  color: var(--tx-2);
  text-align: center;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 28px;
  display: flex;
}

.empty h1, .empty h2 {
  color: var(--tx);
  margin: 0;
  font-size: 20px;
  font-weight: 800;
}

.empty p {
  margin: 0;
}

.skeleton-card {
  background: linear-gradient(90deg, var(--card), var(--card-hov), var(--card));
  min-height: 230px;
}

.breadcrumb {
  color: var(--tx-2);
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 13px;
  display: flex;
}

.breadcrumb a {
  align-items: center;
  gap: 6px;
  display: inline-flex;
}

.breadcrumb a:hover {
  color: var(--tx);
}

.breadcrumb .sep {
  color: var(--tx-3);
}

.detail {
  grid-template-columns: minmax(0, 1fr) 372px;
  align-items: start;
  gap: 22px;
  display: grid;
}

.detail-head {
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 8px;
  display: flex;
}

.detail-title {
  overflow-wrap: anywhere;
  margin-bottom: 16px;
  font-size: 28px;
}

.detail-meta {
  color: var(--tx-2);
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
  font-size: 13px;
  display: flex;
}

.detail-meta .it {
  align-items: center;
  gap: 7px;
  display: inline-flex;
}

.detail-meta b {
  color: var(--tx);
  font-weight: 700;
}

.section-card {
  margin-bottom: 22px;
  padding: 20px;
}

.section-card h2 {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 800;
}

.section-card .h-row, .h-row {
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  display: flex;
}

.readout {
  align-items: baseline;
  gap: 14px;
  display: flex;
}

.readout .big {
  font-size: 46px;
  font-weight: 800;
  line-height: 1;
}

.chart-wrap {
  min-height: 240px;
  position: relative;
}

.chart {
  width: 100%;
  height: 240px;
  display: block;
}

.chart-gridline {
  stroke: #ffffff0f;
  stroke-width: 1px;
}

.chart-labels {
  height: 240px;
  color: var(--tx-3);
  font-family: var(--mono);
  pointer-events: none;
  flex-direction: column;
  justify-content: space-between;
  font-size: 10px;
  display: flex;
  position: absolute;
  top: 0;
  right: 6px;
}

.desc {
  color: var(--tx-2);
  white-space: pre-wrap;
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
}

.trade-row {
  border-bottom: 1px solid var(--line);
  grid-template-columns: 28px minmax(0, 1fr) auto auto auto;
  align-items: center;
  gap: 12px;
  padding: 12px 4px;
  font-size: 13px;
  display: grid;
}

.trade-row:last-child {
  border-bottom: none;
}

.trade-av {
  color: #cdd4ff;
  background: linear-gradient(135deg, #4f7dff29, #8b5cf629);
  border-radius: 50%;
  place-items: center;
  width: 28px;
  height: 28px;
  font-size: 11px;
  font-weight: 800;
  display: grid;
}

.trade-side, .side-tag {
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 800;
  display: inline-block;
}

.trade-side.y, .side-tag.y {
  background: var(--yes-dim);
  color: var(--yes);
}

.trade-side.n, .side-tag.n {
  background: var(--no-dim);
  color: var(--no);
}

.trade-row .t-shares {
  color: var(--tx-2);
  text-align: right;
}

.trade-row .t-cost, .trade-row .t-time {
  text-align: right;
}

.trade-row .t-time {
  min-width: 88px;
  color: var(--tx-3);
  font-size: 12px;
}

.bet {
  padding: 18px;
  position: sticky;
  top: 82px;
}

.bet h2 {
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 800;
}

.sidetabs {
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 18px;
  display: grid;
}

.sidetabs button {
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--inset);
  height: 54px;
  color: var(--tx-2);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 3px;
  font-weight: 800;
  display: flex;
}

.sidetabs .s-lbl {
  font-size: 13px;
}

.sidetabs .s-price {
  font-size: 12px;
}

.sidetabs button.y.active {
  border-color: var(--yes-line);
  background: var(--yes-dim);
  color: var(--yes);
}

.sidetabs button.n.active {
  border-color: var(--no-line);
  background: var(--no-dim);
  color: var(--no);
}

.field {
  margin-bottom: 14px;
}

.field label, .form-grp > label {
  color: var(--tx-2);
  margin-bottom: 8px;
  font-size: 12.5px;
  font-weight: 700;
  display: block;
}

.input-shell {
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--inset);
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 12px;
  display: flex;
}

.input-shell:focus-within, .inp:focus, .ta:focus {
  border-color: var(--line-2);
}

.input-shell input {
  width: 100%;
  min-width: 0;
  color: var(--tx);
  background: none;
  border: none;
  outline: none;
  font-size: 20px;
}

.input-shell .suffix {
  color: var(--tx-3);
  font-size: 13px;
}

.quick {
  gap: 6px;
  margin-bottom: 18px;
  display: flex;
}

.quick button {
  border: 1px solid var(--line);
  background: var(--inset);
  height: 30px;
  color: var(--tx-2);
  font-family: var(--mono);
  border-radius: 6px;
  flex: 1;
  font-size: 12px;
  font-weight: 700;
}

.quick button:hover:not(:disabled) {
  border-color: var(--line-2);
  color: var(--tx);
}

.summary {
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--inset);
  flex-direction: column;
  gap: 11px;
  margin-bottom: 16px;
  padding: 14px;
  display: flex;
}

.sum-row {
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  display: flex;
}

.sum-row .k {
  color: var(--tx-2);
}

.sum-row .v {
  font-family: var(--mono);
  text-align: right;
  font-weight: 700;
}

.sum-row.cost .v {
  font-size: 18px;
}

.sum-row.total {
  border-top: 1px solid var(--line);
  padding-top: 11px;
}

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

.prob-shift .arrow {
  color: var(--tx-3);
}

.cta {
  border-radius: var(--r-sm);
  color: #fff;
  border: none;
  justify-content: center;
  align-items: center;
  gap: 8px;
  width: 100%;
  height: 52px;
  font-size: 15px;
  font-weight: 800;
  transition: filter .14s;
  display: inline-flex;
}

.cta.y {
  background: var(--yes);
  box-shadow: 0 8px 22px -10px #22c55eb3;
}

.cta.n {
  background: var(--no);
  box-shadow: 0 8px 22px -10px #ef4444b3;
}

.cta:hover:not(:disabled) {
  filter: brightness(1.06);
}

.cta:disabled {
  box-shadow: none;
  color: var(--tx-3);
  background: #2a2e3c;
}

.bet-bal {
  border-top: 1px solid var(--line);
  color: var(--tx-2);
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  padding-top: 14px;
  font-size: 13px;
  display: flex;
}

.bet-bal .b {
  color: var(--tx);
  font-family: var(--mono);
  font-weight: 800;
}

.notice, .form-error {
  color: #f7b267;
  margin-top: 12px;
  font-size: 13px;
}

.empty-inline {
  min-height: 76px;
  color: var(--tx-2);
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  display: flex;
}

.empty-inline.roomy {
  min-height: 180px;
}

.overlay {
  z-index: 200;
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  background: #07080cb8;
  justify-content: center;
  align-items: center;
  padding: 20px;
  display: none;
  position: fixed;
  inset: 0;
}

.overlay.show {
  display: flex;
}

.modal {
  border: 1px solid var(--line-2);
  background: var(--card);
  border-radius: 14px;
  width: 440px;
  max-width: 100%;
  max-height: calc(100dvh - 40px);
  padding: 24px;
  overflow-y: auto;
  box-shadow: 0 30px 80px -20px #000c;
}

.modal.wide {
  width: 560px;
}

.modal-head {
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 18px;
  display: flex;
}

.modal h3 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 800;
}

.modal p {
  color: var(--tx-2);
  margin: 0;
  font-size: 13.5px;
}

.form-grp {
  margin-bottom: 16px;
}

.form-grp > label .opt {
  color: var(--tx-3);
  font-weight: 500;
}

.inp, .ta {
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--inset);
  width: 100%;
  color: var(--tx);
  outline: none;
  font-size: 14px;
}

.inp {
  height: 44px;
  padding: 0 13px;
}

.ta {
  resize: vertical;
  min-height: 86px;
  padding: 11px 13px;
  line-height: 1.6;
}

.inp::placeholder, .ta::placeholder {
  color: var(--tx-3);
}

.form-2 {
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  display: grid;
}

.seg {
  gap: 6px;
  display: flex;
}

.seg button {
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--inset);
  min-width: 0;
  height: 44px;
  color: var(--tx-2);
  flex: 1;
  font-size: 12.5px;
  font-weight: 700;
}

.seg button.active {
  border-color: var(--line-2);
  color: var(--tx);
  background: #ffffff14;
}

.modal-actions {
  justify-content: flex-end;
  gap: 10px;
  margin-top: 22px;
  display: flex;
}

.toast {
  z-index: 300;
  border: 1px solid var(--line-2);
  max-width: calc(100vw - 28px);
  color: var(--tx);
  opacity: 0;
  pointer-events: none;
  background: #0c0e15;
  border-radius: 10px;
  padding: 13px 18px;
  font-size: 13.5px;
  transition: opacity .25s, transform .25s;
  position: fixed;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%)translateY(20px);
  box-shadow: 0 12px 40px -12px #000c;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%)translateY(0);
}

.toast.error {
  border-color: var(--no-line);
}

.port {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 26px;
  display: grid;
}

.pcard {
  padding: 18px 20px;
  position: relative;
  overflow: hidden;
}

.pcard.hero {
  background: var(--prism-soft);
  border-color: #788cff38;
}

.pcard .k {
  color: var(--tx-2);
  margin-bottom: 9px;
  font-size: 12px;
}

.pcard .v {
  font-size: 28px;
  font-weight: 800;
}

.pcard .v small {
  color: var(--tx-2);
  margin-left: 3px;
  font-size: 14px;
  font-weight: 600;
}

.pcard .sub {
  color: var(--tx-2);
  font-family: var(--mono);
  margin-top: 6px;
  font-size: 12px;
}

.tab-switch {
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--inset);
  gap: 2px;
  padding: 3px;
  display: flex;
}

.tab-switch button {
  color: var(--tx-2);
  white-space: nowrap;
  background: none;
  border: none;
  border-radius: 6px;
  padding: 7px 13px;
  font-size: 12.5px;
  font-weight: 800;
}

.tab-switch button.active {
  color: var(--tx);
  background: #ffffff14;
}

.tab-switch .cnt {
  font-family: var(--mono);
  opacity: .65;
  margin-left: 5px;
}

.tbl {
  border-collapse: collapse;
  width: 100%;
  font-size: 13.5px;
}

.tbl th {
  border-bottom: 1px solid var(--line);
  color: var(--tx-3);
  text-align: left;
  text-transform: uppercase;
  padding: 14px 18px;
  font-size: 11.5px;
  font-weight: 800;
}

.tbl td {
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
  padding: 16px 18px;
}

.tbl tr:last-child td {
  border-bottom: none;
}

.tbl tbody tr:hover {
  background: #ffffff05;
}

.right {
  text-align: right;
}

.pos-q {
  max-width: 360px;
}

.pos-q .qt {
  color: var(--tx);
  overflow-wrap: anywhere;
  font-size: 13.5px;
  font-weight: 800;
  line-height: 1.4;
}

.pos-q .qs {
  color: var(--tx-3);
  margin-top: 4px;
  font-size: 11.5px;
}

.pnl {
  font-family: var(--mono);
  font-weight: 800;
}

.mini-act {
  height: 32px;
  padding: 0 12px;
  font-size: 12px;
}

@media (max-width: 1080px) {
  .grid, .port {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .detail {
    grid-template-columns: 1fr;
  }

  .bet {
    position: static;
  }
}

@media (max-width: 760px) {
  .nav {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    gap: 12px;
    height: 56px;
    padding: 0 14px;
    position: relative;
    top: auto;
  }

  .wordmark {
    font-size: 15px;
  }

  .nav-links {
    z-index: 60;
    height: 58px;
    padding-bottom: env(safe-area-inset-bottom);
    border-top: 1px solid var(--line);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    background: #0f1117f2;
    justify-content: space-around;
    bottom: 0;
    left: 0;
    right: 0;
    position: fixed !important;
    top: auto !important;
  }

  .nav-links a {
    border-radius: 0;
    flex: 1;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 0;
    font-size: 12.5px;
    display: flex;
  }

  .nav-links a.active {
    box-shadow: inset 0 2px 0 var(--p2);
    background: none;
  }

  .nav-right {
    gap: 9px;
  }

  .balance {
    height: 34px;
    padding: 0 10px;
  }

  .nav-icon {
    display: none;
  }

  .create-button {
    right: 16px;
    bottom: calc(72px + env(safe-area-inset-bottom));
    z-index: 61;
    border-radius: 50%;
    width: 54px;
    height: 54px;
    padding: 0;
    position: fixed;
  }

  .create-button span {
    clip: rect(0 0 0 0);
    width: 1px;
    height: 1px;
    position: absolute;
    overflow: hidden;
  }

  .wrap {
    padding: 18px 14px calc(84px + env(safe-area-inset-bottom));
  }

  .page-head {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    margin-bottom: 18px;
  }

  .page-head h1 {
    font-size: 21px;
  }

  .head-actions {
    justify-content: stretch;
    align-items: stretch;
  }

  .search-shell {
    width: 100%;
  }

  .filters {
    flex-wrap: nowrap;
    width: 100%;
    padding-bottom: 2px;
    overflow-x: auto;
  }

  .filters::-webkit-scrollbar {
    display: none;
  }

  .tab-switch::-webkit-scrollbar {
    display: none;
  }

  .chip {
    flex: none;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .detail-title {
    font-size: 22px;
  }

  .detail-meta {
    gap: 10px 14px;
  }

  .section-card .h-row, .h-row, .readout {
    flex-wrap: wrap;
  }

  .readout .big {
    font-size: 36px;
  }

  .trade-row {
    grid-template-columns: 28px minmax(0, 1fr) auto;
    gap: 9px;
  }

  .trade-row .t-cost, .trade-row .t-time {
    display: none;
  }

  .port {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 20px;
  }

  .pcard {
    padding: 14px 15px;
  }

  .pcard .v {
    font-size: 23px;
  }

  .tab-switch {
    width: 100%;
    overflow-x: auto;
  }

  .modal, .modal.wide {
    width: 100%;
    max-height: calc(100dvh - 86px);
    padding: 20px;
  }

  .form-2 {
    grid-template-columns: 1fr;
  }

  .toast {
    bottom: calc(74px + env(safe-area-inset-bottom));
  }

  .tbl, .tbl tbody {
    width: 100%;
    display: block;
  }

  .tbl thead {
    display: none;
  }

  .tbl tbody tr {
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    padding: 15px 16px;
    display: flex;
  }

  .tbl tbody tr:last-child {
    border-bottom: none;
  }

  .tbl tbody tr:hover {
    background: none;
  }

  .tbl td {
    text-align: right;
    border: none;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding: 5px 0;
    display: flex;
  }

  .tbl td:before {
    color: var(--tx-3);
    content: attr(data-label);
    text-align: left;
    text-transform: uppercase;
    flex: none;
    font-size: 11px;
    font-weight: 800;
  }

  .tbl td.cell-title {
    border-bottom: 1px dashed var(--line);
    text-align: left;
    order: -1;
    max-width: none;
    margin-bottom: 9px;
    padding: 0 0 9px;
    display: block;
  }

  .tbl td.cell-title:before, .tbl td.cell-actions:before {
    content: none;
  }

  .tbl td.cell-actions {
    text-align: left;
    order: 10;
    padding-top: 10px;
    display: block;
  }

  .cell-actions .mini-act {
    width: 100%;
    height: 42px;
  }

  .pos-q {
    max-width: none;
  }
}

@media (max-width: 420px) {
  .brand .wordmark, .avatar {
    display: none;
  }

  .port {
    grid-template-columns: 1fr;
  }
}

@property --tw-blur {
  syntax: "*";
  inherits: false
}

@property --tw-brightness {
  syntax: "*";
  inherits: false
}

@property --tw-contrast {
  syntax: "*";
  inherits: false
}

@property --tw-grayscale {
  syntax: "*";
  inherits: false
}

@property --tw-hue-rotate {
  syntax: "*";
  inherits: false
}

@property --tw-invert {
  syntax: "*";
  inherits: false
}

@property --tw-opacity {
  syntax: "*";
  inherits: false
}

@property --tw-saturate {
  syntax: "*";
  inherits: false
}

@property --tw-sepia {
  syntax: "*";
  inherits: false
}

@property --tw-drop-shadow {
  syntax: "*";
  inherits: false
}

@property --tw-drop-shadow-color {
  syntax: "*";
  inherits: false
}

@property --tw-drop-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}

@property --tw-drop-shadow-size {
  syntax: "*";
  inherits: false
}

/*# sourceMappingURL=src_app_globals_162hn9o.css.map*/