/* [project]/app/globals.css [app-client] (css) */
:root {
  --lightningcss-light: initial;
  --lightningcss-dark: ;
  color-scheme: light;
  --bg-page: #fff;
  --bg-subtle: #f5f5f7;
  --bg-elevated: #fff;
  --bg-card: #fff;
  --bg-card-subtle: #fbfbfd;
  --bg-pill: #e8e8ed;
  --bg-input: #fbfbfd;
  --border: #00000014;
  --border-subtle: #0000000a;
  --border-strong: #00000029;
  --border-focus: #0071e366;
  --text-primary: #1d1d1f;
  --text-secondary: #6e6e73;
  --text-tertiary: #86868b;
  --text-quaternary: #a1a1a6;
  --apple-blue: #0071e3;
  --apple-blue-hover: #0077ed;
  --apple-blue-light: #e8f2fc;
  --gold-primary: #a37c3f;
  --gold-accent: #b89047;
  --gold-light: #fdf9f0;
  --gold-border: #b8904740;
  --cyan-primary: #008f8c;
  --cyan-light: #e6f7f7;
  --status-ingame: #028090;
  --status-online: #34c759;
  --status-offline: #86868b;
  --status-danger: #ff3b30;
  --status-danger-light: #ffeeed;
  --status-warning: #ff9500;
  --status-warning-light: #fff8e8;
  --shadow-xs: 0 1px 3px #0000000a;
  --shadow-sm: 0 2px 8px #0000000a;
  --shadow-md: 0 8px 24px #0000000d, 0 2px 6px #00000005;
  --shadow-lg: 0 20px 48px #00000012, 0 4px 12px #00000005;
  --shadow-island: 0 16px 36px #00000026, 0 4px 12px #0000000f;
  --radius-full: 9999px;
  --radius-2xl: 22px;
  --radius-xl: 16px;
  --radius-lg: 12px;
  --radius-md: 8px;
  --radius-sm: 6px;
  --font-serif: "New York", "Playfair Display", "Songti SC", "STSong", Georgia, serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: "SF Mono", "SFMono-Regular", Menlo, Monaco, Consolas, monospace;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  background-color: var(--bg-page);
  min-width: 320px;
  color: var(--text-primary);
  font-family: var(--font-sans);
  text-rendering: optimizelegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-page);
  min-height: 100vh;
  color: var(--text-primary);
  line-height: 1.5;
  overflow-x: hidden;
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

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

:focus-visible {
  outline: 2px solid var(--apple-blue);
  outline-offset: 2px;
}

h1, h2, h3, .serif-heading {
  font-family: var(--font-serif);
  color: var(--text-primary);
  letter-spacing: -.025em;
  text-wrap: balance;
  font-weight: 600;
}

h1 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  line-height: 1.15;
}

h2 {
  font-size: clamp(1.4rem, 2.8vw, 1.85rem);
  line-height: 1.25;
}

h3 {
  font-size: 1.2rem;
  line-height: 1.35;
}

p {
  color: var(--text-secondary);
  text-wrap: pretty;
}

.eyebrow {
  font-family: var(--font-mono);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-bottom: .5rem;
  font-size: .725rem;
  font-weight: 600;
  display: inline-block;
}

.tabular-nums {
  font-variant-numeric: tabular-nums;
}

.app-frame {
  background-color: var(--bg-page);
  flex-direction: column;
  min-height: 100vh;
  display: flex;
}

.topbar-header {
  z-index: 40;
  border-bottom: 1px solid var(--border);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  background: #ffffffd9;
  width: 100%;
  transition: border-color .2s, background .2s;
  position: sticky;
  top: 0;
}

.topbar-inner {
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: .75rem 1.5rem;
  display: flex;
}

.brand-capsule {
  align-items: center;
  gap: .65rem;
  text-decoration: none;
  display: flex;
}

.brand-glyph {
  color: #f5f5f7;
  width: 32px;
  height: 32px;
  font-family: var(--font-serif);
  background: linear-gradient(135deg, #1d1d1f 0%, #3a3a3c 100%);
  border: 1px solid #ffffff1a;
  border-radius: 9px;
  justify-content: center;
  align-items: center;
  font-size: 1.05rem;
  font-weight: 700;
  transition: transform .15s;
  display: flex;
  box-shadow: 0 2px 6px #0000001f;
}

.brand-capsule:hover .brand-glyph {
  transform: scale(1.05);
}

.brand-text {
  flex-direction: column;
  display: flex;
}

.brand-text strong {
  font-family: var(--font-serif);
  color: var(--text-primary);
  letter-spacing: -.01em;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.1;
}

.brand-text small {
  color: var(--text-tertiary);
  letter-spacing: .02em;
  font-size: .7rem;
}

.nav-segmented {
  background: var(--bg-subtle);
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  align-items: center;
  gap: 2px;
  padding: 3px;
  display: flex;
}

.nav-pill {
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  white-space: nowrap;
  align-items: center;
  gap: .35rem;
  padding: .4rem .95rem;
  font-size: .85rem;
  font-weight: 500;
  transition: color .15s, background-color .15s, transform .1s;
  display: flex;
}

.nav-pill:hover {
  color: var(--text-primary);
  background-color: #fff9;
}

.nav-pill:active {
  transform: scale(.96);
}

.nav-pill.active {
  color: var(--text-primary);
  background-color: var(--bg-elevated);
  font-weight: 600;
  box-shadow: 0 1px 4px #00000014;
}

.nav-symbol {
  opacity: .75;
  font-size: .85rem;
}

.topbar-meta {
  align-items: center;
  gap: .75rem;
  display: flex;
}

.status-badge {
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  align-items: center;
  gap: .45rem;
  padding: .3rem .75rem;
  font-size: .75rem;
  display: inline-flex;
}

.live-indicator {
  border-radius: var(--radius-full);
  background-color: var(--status-online);
  width: 7px;
  height: 7px;
  animation: 2.5s infinite pulse-dot;
  box-shadow: 0 0 0 2px #34c75933;
}

@keyframes pulse-dot {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: .75;
    transform: scale(1.15);
  }
}

.mobile-bottom-dock {
  z-index: 50;
  -webkit-backdrop-filter: blur(24px) saturate(190%);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-island);
  border-radius: var(--radius-full);
  background: #ffffffe0;
  gap: 2px;
  padding: 4px;
  display: none;
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
}

.mobile-dock-pill {
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: .35rem .85rem;
  font-size: .65rem;
  font-weight: 500;
  transition: transform .1s, color .15s, background .15s;
  display: flex;
}

.mobile-dock-pill .dock-icon {
  margin-bottom: 2px;
  font-size: 1rem;
  line-height: 1;
}

.mobile-dock-pill:active {
  transform: scale(.92);
}

.mobile-dock-pill.active {
  color: var(--apple-blue);
  background: #0071e314;
  font-weight: 600;
}

.workspace {
  flex: 1;
  width: 100%;
}

.content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 6rem;
}

.section-page, .overview {
  flex-direction: column;
  gap: 2rem;
  display: flex;
}

.section-heading, .overview-heading {
  margin-bottom: .5rem;
}

.section-heading h1, .overview-heading h1 {
  margin: .25rem 0 .65rem;
}

.section-heading p, .overview-heading p {
  max-width: 720px;
  font-size: 1.05rem;
  line-height: 1.6;
}

.bento-grid {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.25rem;
  display: grid;
}

.glass-panel, .bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-sm);
  padding: 1.75rem;
  transition: transform .2s cubic-bezier(.16, 1, .3, 1), box-shadow .2s cubic-bezier(.16, 1, .3, 1), border-color .2s;
  position: relative;
  overflow: hidden;
}

.glass-panel:hover, .bento-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

.search-panel {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: 1.5rem;
}

.search-label {
  color: var(--text-secondary);
  margin-bottom: .75rem;
  font-size: .85rem;
  font-weight: 500;
  display: block;
}

.search-row {
  align-items: center;
  gap: .75rem;
  display: flex;
}

.search-combobox {
  flex: 1;
  position: relative;
}

.search-input {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  width: 100%;
  height: 52px;
  color: var(--text-primary);
  box-shadow: var(--shadow-xs);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' viewBox='0 0 24 24' stroke='%2386868b' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath stroke-linecap='round' d='m21 21-4.35-4.35'/%3E%3C/svg%3E");
  background-position: 1rem;
  background-repeat: no-repeat;
  padding: 0 1.25rem 0 2.85rem;
  font-size: 1rem;
  transition: border-color .15s, box-shadow .15s, background .15s;
}

.search-input:focus {
  border-color: var(--apple-blue);
  box-shadow: 0 0 0 4px var(--apple-blue-light);
  outline: none;
}

.search-input::placeholder {
  color: var(--text-tertiary);
}

.suggestion-popover {
  z-index: 30;
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  background: #fffffff5;
  flex-direction: column;
  gap: 2px;
  max-height: 360px;
  padding: 6px;
  display: flex;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  overflow-y: auto;
}

.suggestion-option {
  border-radius: var(--radius-lg);
  text-align: left;
  cursor: pointer;
  background: none;
  border: none;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: .65rem .95rem;
  transition: background-color .12s;
  display: flex;
}

.suggestion-option:hover, .suggestion-option-active {
  background-color: var(--bg-subtle);
}

.suggestion-option strong {
  color: var(--text-primary);
  font-size: .925rem;
  display: block;
}

.suggestion-option small {
  color: var(--text-tertiary);
  font-size: .775rem;
  display: block;
}

.button {
  border-radius: var(--radius-full);
  color: #fff;
  background: var(--text-primary);
  cursor: pointer;
  height: 52px;
  box-shadow: var(--shadow-xs);
  white-space: nowrap;
  -webkit-user-select: none;
  user-select: none;
  border: none;
  justify-content: center;
  align-items: center;
  gap: .45rem;
  padding: 0 1.5rem;
  font-size: .925rem;
  font-weight: 600;
  transition: transform .12s, background-color .15s, opacity .15s;
  display: inline-flex;
}

.button:hover {
  background: #000;
}

.button:active {
  transform: scale(.96);
}

.button:disabled {
  opacity: .4;
  cursor: not-allowed;
  transform: none;
}

.button-secondary {
  color: var(--text-primary);
  background: var(--bg-subtle);
  border: 1px solid var(--border);
}

.button-secondary:hover {
  background: var(--bg-pill);
}

.button-small {
  border-radius: var(--radius-full);
  height: 38px;
  padding: 0 1.1rem;
  font-size: .85rem;
}

.button-accent {
  background: var(--apple-blue);
  color: #fff;
}

.button-accent:hover {
  background: var(--apple-blue-hover);
}

.button-gold {
  color: #fff;
  background: linear-gradient(135deg, #c59b27 0%, #a37c3f 100%);
}

.button-gold:hover {
  filter: brightness(1.05);
}

.quiet-button {
  color: var(--apple-blue);
  cursor: pointer;
  border-radius: var(--radius-md);
  background: none;
  border: none;
  padding: .4rem .75rem;
  font-size: .85rem;
  font-weight: 500;
  transition: background-color .12s, color .12s, transform .1s;
}

.quiet-button:hover {
  background-color: var(--apple-blue-light);
}

.quiet-button:active {
  transform: scale(.96);
}

.quiet-button-primary {
  font-weight: 600;
}

.quiet-button-danger {
  color: var(--status-danger);
}

.quiet-button-danger:hover {
  background-color: var(--status-danger-light);
}

.file-button {
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.file-button input[type="file"] {
  opacity: 0;
  cursor: pointer;
  position: absolute;
  inset: 0;
}

.type-chip {
  border-radius: var(--radius-full);
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  align-items: center;
  padding: .25rem .65rem;
  font-size: .75rem;
  font-weight: 500;
  display: inline-flex;
}

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

.status-card {
  flex-direction: column;
  gap: .4rem;
  padding: 1.5rem;
  display: flex;
}

.status-card span {
  color: var(--text-tertiary);
  font-size: .8rem;
  font-weight: 500;
}

.status-card strong {
  color: var(--text-primary);
  letter-spacing: -.02em;
  font-size: 1.45rem;
  font-weight: 700;
}

.status-card p {
  margin-top: .2rem;
  font-size: .85rem;
  line-height: 1.5;
}

.action-grid {
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1.25rem;
  display: grid;
}

.action-card {
  flex-direction: column;
  justify-content: space-between;
  min-height: 200px;
  padding: 2rem;
  text-decoration: none;
  display: flex;
}

.action-card h2 {
  margin: .25rem 0 .5rem;
  font-size: 1.45rem;
}

.action-card p {
  font-size: .925rem;
  line-height: 1.55;
}

.action-link {
  color: var(--apple-blue);
  align-items: center;
  gap: .35rem;
  margin-top: 1.25rem;
  font-size: .925rem;
  font-weight: 600;
  transition: transform .15s;
  display: inline-flex;
}

.action-card:hover .action-link {
  transform: translateX(4px);
}

.market-result {
  flex-direction: column;
  gap: 1.25rem;
  display: flex;
}

.result-heading {
  border-bottom: 1px solid var(--border);
  justify-content: space-between;
  align-items: flex-end;
  padding-bottom: .5rem;
  display: flex;
}

.result-heading h2 {
  color: var(--text-primary);
  margin: .1rem 0;
  font-size: 1.6rem;
}

.fresh-stamp {
  text-align: right;
}

.fresh-stamp span {
  color: var(--text-tertiary);
  font-size: .75rem;
  display: block;
}

.fresh-stamp strong {
  color: var(--text-secondary);
  font-size: .85rem;
}

.view-switch-row {
  justify-content: space-between;
  align-items: center;
  margin-bottom: .5rem;
  display: flex;
}

.segmented-control {
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  align-items: center;
  gap: 2px;
  padding: 3px;
  display: inline-flex;
}

.segmented-btn {
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  cursor: pointer;
  background: none;
  border: none;
  align-items: center;
  gap: .35rem;
  padding: .35rem .85rem;
  font-size: .8rem;
  font-weight: 500;
  transition: all .15s;
  display: inline-flex;
}

.segmented-btn.active {
  color: var(--text-primary);
  background: var(--bg-elevated);
  font-weight: 600;
  box-shadow: 0 1px 4px #00000014;
}

.order-rail {
  flex-direction: column;
  gap: .75rem;
  display: flex;
}

.order-row {
  border-radius: var(--radius-xl);
  grid-template-columns: 48px minmax(180px, 1fr) 140px 100px auto;
  align-items: center;
  gap: 1.25rem;
  padding: 1.15rem 1.5rem;
  display: grid;
}

.order-position {
  font-family: var(--font-mono);
  color: var(--text-quaternary);
  font-size: .95rem;
  font-weight: 700;
}

.seller-block {
  flex-direction: column;
  gap: .2rem;
  display: flex;
}

.seller-block strong {
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 600;
}

.seller-block span {
  color: var(--text-tertiary);
  align-items: center;
  gap: .4rem;
  font-size: .8rem;
  display: flex;
}

.status-orb {
  border-radius: var(--radius-full);
  background-color: var(--status-online);
  width: 7px;
  height: 7px;
  display: inline-block;
}

.status-orb-ingame {
  background-color: var(--status-ingame);
}

.price-block {
  align-items: baseline;
  gap: .35rem;
  display: flex;
}

.price-block strong {
  color: var(--gold-primary);
  font-variant-numeric: tabular-nums;
  font-size: 1.45rem;
  font-weight: 700;
  font-family: var(--font-sans);
}

.price-block span {
  color: var(--text-tertiary);
  font-size: .8rem;
}

.stock-block {
  flex-direction: column;
  display: flex;
}

.stock-block span {
  color: var(--text-tertiary);
  font-size: .75rem;
}

.stock-block strong {
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
  font-size: 1rem;
  font-weight: 600;
}

.compact-table-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.compact-table {
  border-collapse: collapse;
  text-align: left;
  width: 100%;
  font-size: .875rem;
}

.compact-table th {
  background: var(--bg-subtle);
  color: var(--text-tertiary);
  border-bottom: 1px solid var(--border);
  padding: .75rem 1rem;
  font-size: .775rem;
  font-weight: 600;
}

.compact-table td {
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: middle;
  padding: .75rem 1rem;
}

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

.compact-table tr:hover td {
  background-color: var(--bg-subtle);
}

.empty-panel {
  text-align: center;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
  padding: 3.5rem 2rem;
  display: flex;
}

.empty-panel h2 {
  font-size: 1.35rem;
}

.empty-panel p {
  max-width: 460px;
  margin-bottom: .5rem;
}

.notice {
  border-radius: var(--radius-lg);
  padding: 1rem 1.25rem;
  font-size: .9rem;
  line-height: 1.5;
}

.notice-error {
  background: var(--status-danger-light);
  color: var(--status-danger);
  border: 1px solid #ff3b3033;
}

.notice-warning {
  background: var(--status-warning-light);
  color: #945300;
  border: 1px solid #ff950033;
}

.tool-actions {
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: 1rem;
  display: flex;
}

.watch-section {
  flex-direction: column;
  gap: 1.25rem;
  display: flex;
}

.watch-list {
  flex-direction: column;
  gap: .75rem;
  display: flex;
}

.watch-row {
  border-radius: var(--radius-xl);
  grid-template-columns: minmax(200px, 1.2fr) 120px 180px auto;
  align-items: center;
  gap: 1.25rem;
  padding: 1.15rem 1.5rem;
  display: grid;
}

.watch-name {
  align-items: center;
  gap: .75rem;
  display: flex;
}

.watch-name strong {
  color: var(--text-primary);
  font-size: .95rem;
  display: block;
}

.watch-name small {
  color: var(--text-tertiary);
  font-size: .775rem;
  display: block;
}

.watch-price {
  align-items: baseline;
  gap: .35rem;
  display: flex;
}

.watch-price strong {
  color: var(--gold-primary);
  font-variant-numeric: tabular-nums;
  font-size: 1.35rem;
  font-weight: 700;
}

.watch-price span {
  color: var(--text-tertiary);
  font-size: .8rem;
}

.loading-text {
  color: var(--text-tertiary) !important;
  font-size: .85rem !important;
  font-weight: 500 !important;
}

.error-text {
  color: var(--status-danger);
  font-size: .8rem;
}

.watch-seller strong {
  font-size: .875rem;
  display: block;
}

.watch-seller span {
  color: var(--text-tertiary);
  font-size: .75rem;
}

.row-actions {
  justify-content: flex-end;
  align-items: center;
  gap: .35rem;
  display: flex;
}

.compare-result {
  background: var(--bg-card-subtle);
  border: 1px solid var(--border);
  flex-direction: column;
  gap: 1.25rem;
  padding: 1.75rem;
  display: flex;
}

.panel-title-row {
  justify-content: space-between;
  align-items: center;
  display: flex;
}

.compare-totals {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  padding: 1.25rem;
  display: grid;
}

.compare-totals div span {
  color: var(--text-tertiary);
  margin-bottom: .25rem;
  font-size: .775rem;
  display: block;
}

.compare-totals div strong {
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
  font-size: 1.25rem;
  font-weight: 700;
}

.recommendation strong {
  color: var(--cyan-primary) !important;
}

.parts-list {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: .75rem;
  display: grid;
}

.parts-list div {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  justify-content: space-between;
  align-items: center;
  padding: .85rem 1rem;
  font-size: .85rem;
  display: flex;
}

.parts-list div strong {
  color: var(--gold-primary);
  font-variant-numeric: tabular-nums;
}

.riven-auction-list {
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.25rem;
  display: grid;
}

.riven-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-sm);
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  transition: transform .15s, box-shadow .15s, border-color .15s;
  display: flex;
}

.riven-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

.riven-head {
  justify-content: space-between;
  align-items: flex-start;
  display: flex;
}

.riven-weapon-name {
  font-family: var(--font-serif);
  color: var(--text-primary);
  font-size: 1.15rem;
  font-weight: 700;
}

.disposition-dots {
  color: var(--gold-primary);
  gap: 3px;
  font-size: .75rem;
  display: inline-flex;
}

.riven-attr-list {
  flex-direction: column;
  gap: .45rem;
  display: flex;
}

.riven-attr-item {
  font-variant-numeric: tabular-nums;
  justify-content: space-between;
  font-size: .875rem;
  display: flex;
}

.riven-attr-item.positive {
  color: var(--cyan-primary);
  font-weight: 500;
}

.riven-attr-item.negative {
  color: var(--status-danger);
  font-weight: 500;
}

.riven-card-footer {
  border-top: 1px solid var(--border);
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: .85rem;
  display: flex;
}

.owned-orders-section {
  flex-direction: column;
  gap: 1.25rem;
  display: flex;
}

.order-list-meta {
  border-bottom: 1px solid var(--border);
  justify-content: space-between;
  align-items: flex-end;
  padding-bottom: .5rem;
  display: flex;
}

.order-list-meta h2 {
  margin: .1rem 0;
  font-size: 1.5rem;
}

.order-list-meta span {
  color: var(--text-tertiary);
  font-size: .8rem;
}

.orders-toolbar-controls {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  display: flex;
}

.orders-bulk-actions {
  align-items: center;
  gap: .5rem;
  display: flex;
}

.owned-order-list {
  flex-direction: column;
  gap: .75rem;
  display: flex;
}

.owned-order-columns {
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: .05em;
  grid-template-columns: minmax(180px, 1.5fr) 110px 100px 100px auto;
  gap: 1rem;
  padding: 0 1.5rem;
  font-size: .775rem;
  font-weight: 600;
  display: grid;
}

.owned-order-row {
  border-radius: var(--radius-xl);
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  grid-template-columns: minmax(180px, 1.5fr) 110px 100px 100px auto;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  transition: border-color .15s, box-shadow .15s;
  display: grid;
}

.owned-order-row:hover {
  border-color: var(--border-strong);
}

.owned-order-title {
  align-items: center;
  gap: .75rem;
  display: flex;
}

.owned-order-title strong {
  color: var(--text-primary);
  font-size: .95rem;
}

.owned-order-title small {
  color: var(--text-tertiary);
  font-size: .75rem;
}

.order-item-art {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 10px;
  justify-content: center;
  align-items: center;
  width: 38px;
  height: 38px;
  display: flex;
  overflow: hidden;
}

.order-item-art img {
  object-fit: contain;
  width: 100%;
  height: 100%;
}

.sell-order-form {
  border-top: 1px solid var(--border);
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  align-items: flex-end;
  gap: 1rem;
  margin-top: 1rem;
  padding-top: 1rem;
  display: grid;
}

.sell-order-form label {
  color: var(--text-secondary);
  flex-direction: column;
  gap: .35rem;
  font-size: .8rem;
  font-weight: 500;
  display: flex;
}

.sell-order-form input, .sell-order-form select {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-input);
  outline: none;
  height: 44px;
  padding: 0 12px;
}

.sell-order-form input:focus, .sell-order-form select:focus {
  border-color: var(--apple-blue);
  box-shadow: 0 0 0 3px var(--apple-blue-light);
}

.check-label {
  cursor: pointer;
  flex-direction: row !important;
  align-items: center !important;
  gap: .5rem !important;
}

dialog.order-dialog {
  z-index: 100;
  background: none;
  border: none;
  width: min(92vw, 760px);
  max-height: 90vh;
  margin: auto;
  padding: 0;
  position: fixed;
  inset: 0;
  overflow: visible;
}

dialog.order-dialog::backdrop {
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  background: #0006;
}

.order-dialog-shell {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-lg);
  grid-template-columns: 240px 1fr;
  display: grid;
  overflow: hidden;
}

.order-dialog-identity {
  background: var(--bg-card-subtle);
  border-right: 1px solid var(--border);
  flex-direction: column;
  gap: 1.25rem;
  padding: 1.75rem;
  display: flex;
}

.order-dialog-art {
  border-radius: var(--radius-xl);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  width: 72px;
  height: 72px;
  box-shadow: var(--shadow-xs);
  justify-content: center;
  align-items: center;
  display: flex;
  overflow: hidden;
}

.order-dialog-art img {
  object-fit: contain;
  width: 100%;
  height: 100%;
}

.price-signal {
  flex-direction: column;
  gap: .75rem;
  display: flex;
}

.price-signal > div {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: .75rem 1rem;
}

.price-signal span {
  color: var(--text-tertiary);
  font-size: .75rem;
  display: block;
}

.price-signal strong {
  color: var(--gold-primary);
  font-variant-numeric: tabular-nums;
  font-size: 1.25rem;
  font-weight: 700;
  display: block;
}

.price-signal small {
  color: var(--text-tertiary);
  font-size: .75rem;
}

.price-signal-good strong {
  color: var(--cyan-primary) !important;
}

.price-signal-warn strong {
  color: var(--status-warning) !important;
}

.order-dialog-content {
  flex-direction: column;
  gap: 1.25rem;
  max-height: 85vh;
  padding: 1.75rem;
  display: flex;
  overflow-y: auto;
}

.order-dialog-header {
  justify-content: space-between;
  align-items: flex-start;
  display: flex;
}

.order-dialog-close {
  color: var(--text-tertiary);
  cursor: pointer;
  background: none;
  border: none;
  padding: 0 4px;
  font-size: 1.5rem;
  line-height: 1;
}

.order-dialog-close:hover {
  color: var(--text-primary);
}

.market-depth-toolbar {
  color: var(--text-tertiary);
  justify-content: space-between;
  align-items: center;
  font-size: .775rem;
  display: flex;
}

.market-depth-grid {
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
  display: grid;
}

.market-depth-panel {
  background: var(--bg-card-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  flex-direction: column;
  gap: .5rem;
  padding: .75rem;
  display: flex;
}

.market-depth-heading {
  color: var(--text-secondary);
  justify-content: space-between;
  font-size: .75rem;
  font-weight: 600;
  display: flex;
}

.market-depth-list {
  flex-direction: column;
  gap: 4px;
  display: flex;
}

.market-depth-row {
  font-variant-numeric: tabular-nums;
  justify-content: space-between;
  font-size: .8rem;
  display: flex;
}

.market-depth-price {
  color: var(--gold-primary);
  font-weight: 600;
}

.price-quick-actions {
  color: var(--text-secondary);
  align-items: center;
  gap: .5rem;
  font-size: .8rem;
  display: flex;
}

.visibility-control {
  background: var(--bg-subtle);
  border-radius: var(--radius-full);
  border: none;
  gap: 2px;
  padding: 3px;
  display: inline-flex;
}

.visibility-control legend {
  color: var(--text-secondary);
  margin-bottom: .35rem;
  font-size: .8rem;
  font-weight: 500;
}

.visibility-control button {
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  cursor: pointer;
  background: none;
  border: none;
  padding: .35rem .95rem;
  font-size: .8rem;
  font-weight: 500;
  transition: all .15s;
}

.visibility-control button.visibility-active {
  background: var(--bg-card);
  color: var(--text-primary);
  font-weight: 600;
  box-shadow: 0 1px 4px #00000014;
}

.order-dialog-fields {
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  display: grid;
}

.order-dialog-fields label {
  color: var(--text-secondary);
  flex-direction: column;
  gap: .35rem;
  font-size: .8rem;
  font-weight: 500;
  display: flex;
}

.order-dialog-fields input {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-input);
  outline: none;
  height: 46px;
  padding: 0 12px;
}

.order-dialog-fields input:focus {
  border-color: var(--apple-blue);
  box-shadow: 0 0 0 3px var(--apple-blue-light);
}

.order-dialog-actions {
  justify-content: flex-end;
  gap: .75rem;
  margin-top: .5rem;
  display: flex;
}

.account-console {
  background: var(--bg-card);
  border-radius: var(--radius-2xl);
  border: 1px solid var(--border);
  align-items: center;
  gap: 1.5rem;
  padding: 2rem;
  display: flex;
}

.account-orbit {
  color: #fff;
  background: linear-gradient(135deg, #1d1d1f 0%, #3a3a3c 100%);
  border-radius: 16px;
  justify-content: center;
  align-items: center;
  width: 52px;
  height: 52px;
  font-size: 1.35rem;
  display: flex;
}

.account-live {
  background: var(--status-online);
  color: #fff;
  margin-left: auto;
  font-weight: 600;
}

.account-status-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  display: grid;
}

.presence-panel, .credential-panel {
  flex-direction: column;
  gap: 1.25rem;
  display: flex;
}

.presence-form, .credential-form {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  align-items: flex-end;
  gap: 1rem;
  display: grid;
}

.presence-form label, .credential-form label {
  color: var(--text-secondary);
  flex-direction: column;
  gap: .35rem;
  font-size: .8rem;
  font-weight: 500;
  display: flex;
}

.presence-form select, .presence-form input, .credential-form input {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-input);
  outline: none;
  height: 46px;
  padding: 0 12px;
}

.presence-form select:focus, .presence-form input:focus, .credential-form input:focus {
  border-color: var(--apple-blue);
  box-shadow: 0 0 0 3px var(--apple-blue-light);
}

.dynamic-island-toast {
  z-index: 1000;
  color: #fff;
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-island);
  background: #1d1d1ff0;
  border: 1px solid #ffffff1f;
  align-items: center;
  gap: .75rem;
  padding: .65rem 1.25rem;
  animation: .35s cubic-bezier(.16, 1, .3, 1) island-enter;
  display: flex;
  position: fixed;
  top: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
}

@keyframes island-enter {
  0% {
    opacity: 0;
    transform: translate(-50%, -20px)scale(.9);
  }

  100% {
    opacity: 1;
    transform: translate(-50%)scale(1);
  }
}

.toast-mark {
  border-radius: var(--radius-full);
  background: #fff3;
  justify-content: center;
  align-items: center;
  width: 22px;
  height: 22px;
  font-size: .75rem;
  font-weight: 700;
  display: inline-flex;
}

.toast-success .toast-mark {
  background: var(--status-online);
  color: #fff;
}

.toast-error .toast-mark {
  background: var(--status-danger);
  color: #fff;
}

.toast-copy {
  flex-direction: column;
  display: flex;
}

.toast-copy strong {
  color: #fff;
  font-size: .85rem;
  font-weight: 600;
}

.toast-copy small {
  color: #ffffffb3;
  font-size: .75rem;
}

.toast-close {
  color: #fff9;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0 4px;
  font-size: 1.15rem;
  line-height: 1;
}

.toast-close:hover {
  color: #fff;
}

@media (max-width: 860px) {
  .order-dialog-shell {
    grid-template-columns: 1fr;
  }

  .order-dialog-identity {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .order-row {
    grid-template-columns: 32px 1fr 1fr;
    gap: .75rem;
  }

  .order-row button {
    grid-column: 1 / -1;
  }

  .watch-row {
    grid-template-columns: 1fr;
    gap: .75rem;
  }

  .row-actions {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .owned-order-columns {
    display: none;
  }

  .owned-order-row {
    grid-template-columns: 1fr 1fr;
    gap: .75rem;
  }

  .nav-segmented {
    display: none;
  }

  .mobile-bottom-dock {
    display: flex;
  }

  .content {
    padding-bottom: 7rem;
  }
}

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