/* Canonical CSS owner: auction. Historical layers consolidated 2026-08-02. */
#auctionView .section-toolbar h2 {
  font-size: var(--font-size-page-title);

  font-weight: var(--font-weight-semibold);
}

@media (max-width: 767px) {
  body.mobile-shell #auctionView {
    border-radius: 0px;
  }
}

#auctionView {
  --line: var(--border);

  --line-strong: var(--border-strong);

  --surface-muted: var(--surface-subtle);

  border-radius: 0;

  color: var(--text-primary);

  --action: var(--primary);

  --action-hover: var(--primary-hover);

  --action-soft: var(--surface-selected);

  --border: var(--color-border);

  --border-strong: var(--color-border-strong);

  border-color: transparent;

  background: transparent;
}

.auction-phase-notice > div {
  min-width: 0px;

  display: grid;

  gap: 2px;
}

.auction-phase-notice[data-phase="observing"] .auction-phase-marker {
  background: rgb(197, 139, 28);

  box-shadow: rgba(197, 139, 28, 0.14) 0px 0px 0px 4px;
}

.auction-phase-notice[data-phase="selection"] .auction-phase-marker {
  background: var(--market-up);

  box-shadow: rgba(198, 66, 54, 0.14) 0px 0px 0px 4px;
}

.auction-phase-notice[data-phase="selection"] time {
  color: var(--market-up);

  font-weight: 700;
}

.auction-phase-notice[data-phase="finalized"] .auction-phase-marker {
  background: rgb(63, 118, 97);

  box-shadow: rgba(63, 118, 97, 0.13) 0px 0px 0px 4px;
}

.auction-amount-value {
  font-size: 20px;

  font-variant-numeric: tabular-nums;
}

.auction-theme-row > div:first-child {
  min-width: 0px;

  display: grid;

  gap: 2px;
}

.auction-theme-row > div:first-child strong {
  overflow: hidden;

  text-overflow: ellipsis;

  white-space: nowrap;

  font-size: 13px;
}

.auction-theme-row > div:first-child span {
  overflow: hidden;

  text-overflow: ellipsis;

  white-space: nowrap;

  color: var(--text-muted);

  font-size: 11px;
}

:where(#auctionView) .auction-expectation {
  justify-content: center;

  white-space: nowrap;
}

:where(#auctionView) .auction-theme-status {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  white-space: nowrap;
}

:where(#auctionView) .auction-expectation.above {
  border-color: rgb(239, 183, 173);
}

:where(#auctionView) .auction-theme-status.strong {
  border-color: rgb(239, 183, 173);
}

:where(#auctionView) .auction-expectation.matched {
  border-color: rgb(184, 204, 220);
}

:where(#auctionView) .auction-theme-status.steady {
  border-color: rgb(184, 204, 220);
}

:where(#auctionView) .auction-theme-status.mixed {
  border-color: rgb(228, 202, 136);
}

:where(#auctionView) .auction-expectation.below {
  border-color: rgb(185, 215, 203);
}

:where(#auctionView) .auction-theme-status.weak {
  border-color: rgb(185, 215, 203);
}

.auction-theme-chips {
  min-width: 0px;

  display: flex;

  flex-wrap: wrap;

  gap: 5px;
}

.auction-theme-chips > span {
  padding: 3px 7px;

  border-radius: 3px;

  background: var(--surface-muted);

  color: var(--text-secondary);

  font-size: 11px;
}

.auction-theme-chips > span strong {
  color: var(--market-up);

  font-variant-numeric: tabular-nums;
}

.auction-theme-chips > small {
  color: var(--text-muted);

  font-size: 12px;
}

.auction-inline-empty {
  color: var(--text-muted);

  font-size: 12px;

  min-height: 80px;

  display: grid;

  place-items: center;
}

.auction-amount-day {
  min-width: 0px;

  flex: 1 1 0%;

  display: grid;

  grid-template-rows: minmax(0px, 1fr) 20px;

  align-items: end;

  gap: 4px;
}

.auction-amount-day.current > span {
  background: var(--market-up);
}

.auction-amount-day:hover > span {
  opacity: 0.72;
}

.auction-amount-day small {
  overflow: hidden;

  color: var(--text-muted);

  font-size: 10px;

  text-align: center;

  white-space: nowrap;

  font-variant-numeric: tabular-nums;
}

.auction-amount-compare span {
  color: var(--text-muted);

  font-size: 11px;
}

.auction-amount-compare strong {
  margin-left: 5px;

  color: var(--text);

  font-size: 12px;

  font-variant-numeric: tabular-nums;
}

:where(#auctionView) .auction-score {
  font-variant-numeric: tabular-nums;
}

:where(#auctionView) .auction-core-tags b {
  white-space: nowrap;
}

.auction-source {
  max-width: 180px;

  color: var(--text-secondary);

  font-size: 12px;
}

.auction-context-cell small {
  overflow: hidden;

  text-overflow: ellipsis;

  white-space: nowrap;

  color: var(--text-muted);

  font-size: 10px;

  font-weight: 400;
}

.auction-context-cell {
  min-width: 0px;

  display: grid;

  gap: 2px;

  max-width: 155px;
}

@media (max-width: 767px) {
  .auction-phase-notice time {
    grid-column: 2;
  }
}

.auction-header-actions {
  min-width: 0px;

  display: flex;

  align-items: center;

  gap: 12px;

  margin-left: auto;
}

.auction-phase-notice span:not(.auction-phase-marker) {
  color: var(--text-muted);

  font-size: 11px;

  line-height: 1.4;
}

.auction-phase-notice strong {
  font-size: 11px;

  line-height: 1.4;

  color: inherit;
}

.auction-phase-notice time {
  color: var(--text-secondary);

  font-variant-numeric: tabular-nums;

  white-space: nowrap;

  font-size: 11px;

  line-height: 1.4;

  font-weight: 650;
}

.auction-phase-notice[data-phase="observing"] {
  background: var(--amber-soft);

  color: rgb(138, 94, 10);
}

.auction-phase-notice[data-phase="selection"] {
  background: var(--market-up-soft);

  color: var(--market-up);
}

.auction-phase-notice[data-phase="finalized"] {
  background: var(--market-down-soft);

  color: var(--market-down);
}

.auction-phase-notice[data-phase="archive"] {
  background: var(--surface-muted);

  color: var(--text-2);
}

.auction-phase-marker {
  border-radius: 50%;

  background: rgb(131, 144, 154);

  width: 7px;

  height: 7px;

  box-shadow: none;
}

.auction-table {
  min-width: 860px;

  font-size: var(--font-size-table);
}

.auction-table tbody tr:hover td {
  background: var(--table-hover);
}

.auction-stock-cell {
  display: grid;

  align-items: center;

  gap: 5px;

  grid-template-columns: minmax(0px, 1fr);

  min-width: 112px;
}

.auction-stock-cell > b {
  color: var(--text-muted);

  font-size: 10px;

  font-weight: 500;

  text-align: center;

  display: none;
}

.auction-stock-cell strong {
  overflow: hidden;

  text-overflow: ellipsis;

  white-space: nowrap;

  font-size: 13px;

  font-weight: 750;
}

.auction-stock-cell small {
  overflow: hidden;

  text-overflow: ellipsis;

  white-space: nowrap;

  color: var(--text-muted);

  font-weight: 400;

  margin-left: 6px;

  font-size: 10.5px;
}

.auction-stock-cell > span {
  min-width: 0px;

  display: flex;

  align-items: baseline;

  gap: 0px;
}

.auction-context-cell strong {
  overflow: hidden;

  text-overflow: ellipsis;

  white-space: nowrap;

  font-size: 12px;
}

.auction-amount-day > span {
  width: 100%;

  min-height: 8px;

  border-radius: 2px 2px 0px 0px;

  transition: opacity var(--motion-fast) ease;

  background: var(--accent-soft);
}

.auction-amount-average {
  position: absolute;

  right: 0px;

  left: 0px;

  z-index: 2;

  border-top: 1.5px dashed rgb(217, 119, 6);

  pointer-events: none;
}

.auction-amount-average small {
  position: absolute;

  top: -16px;

  right: 0px;

  padding-left: 4px;

  background: var(--surface);

  color: rgb(180, 83, 9);

  font-size: 10px;
}

@media (max-width: 1200px) {

  .auction-header-actions {
    width: 100%;

    margin-left: 0px;

    justify-content: space-between;
  }
}

@media (max-width: 767px) {

  .auction-phase-notice {
    grid-template-columns: 10px minmax(0px, 1fr);

    max-width: 100%;

    flex-wrap: wrap;
  }

  .auction-phase-notice span:not(.auction-phase-marker) {
    flex: 1 1 calc(100% - 16px);
  }
}

.auction-table td {
  height: 40px;

  padding-right: 12px;

  padding-left: 12px;

  border-right: 0px;

  border-bottom-color: var(--border);
}

.auction-table th {
  padding-right: 12px;

  padding-left: 12px;

  border-right: 0px;

  height: 36px;

  color: var(--text-2);

  font-size: var(--font-size-caption);

  border-bottom-color: var(--border);

  background: var(--table-header);
}

.auction-phase-notice {
  min-height: 28px;

  display: inline-flex;

  grid-template-columns: none;

  align-items: center;

  gap: 6px;

  padding: 4px 9px;

  border: 0px;

  background: var(--surface-muted);

  border-radius: 5px;
}

@media (prefers-reduced-motion: reduce) {
  .auction-table tbody tr td {
    transition: none;
  }
}

.auction-workspace {
  border: 1px solid var(--card-border);

  border-radius: var(--card-radius);

  background: var(--card-bg);

  box-shadow: var(--card-shadow);
}

:where(#auctionView) .auction-theme-row {
  justify-content: space-between;
}

.auction-amount-compare {
  min-height: 34px;

  display: flex;

  align-items: end;

  gap: 18px;

  padding-top: 7px;

  margin-left: 14px;

  margin-right: 14px;
}

.auction-amount-trend {
  height: 148px;

  display: flex;

  align-items: stretch;

  gap: 5px;

  padding: 8px 2px 0px;

  border-bottom: 1px solid var(--line);

  margin-left: 14px;

  margin-right: 14px;
}

.auction-theme-list {
  min-height: 162px;

  display: grid;

  align-content: start;

  max-height: 390px;

  overflow-y: auto;

  scrollbar-width: thin;

  margin-left: 14px;

  margin-right: 14px;
}

.redesigned-auction-view {
  width: min(100%, 2200px);

  min-width: 0px;

  margin-right: auto;

  margin-left: auto;

  padding: var(--page-pad-y) 0 18px;
}

.auction-page-head-v2 {
  min-width: 0px;

  min-height: 40px;

  display: flex;

  align-items: center;

  gap: 18px;

  margin-bottom: 12px;
}

.auction-title-cluster {
  min-width: 0px;

  flex: 1 1 0%;

  display: flex;

  align-items: center;

  gap: 14px;
}

.auction-title-line {
  flex: 0 0 auto;

  display: grid;

  gap: 3px;
}

.auction-title-line h2 {
  margin: 0px;

  color: var(--r2-ink);

  font-size: var(--font-size-page-title);

  font-weight: var(--font-weight-semibold);

  letter-spacing: 0px;
}

.auction-title-line span {
  color: var(--r2-faint);

  font-size: 12px;

  white-space: nowrap;
}

.auction-phase-notice-v2 {
  min-width: 0px;

  display: flex;

  align-items: center;

  gap: 7px;

  padding: 0 0 0 12px;

  border: 0;

  border-left: 1px solid var(--r2-line);

  border-radius: 0;

  background: transparent;

  color: var(--r2-sub);

  font-size: 11.5px;
}

.auction-phase-notice-v2 .auction-phase-marker {
  width: 7px;

  height: 7px;

  flex: 0 0 7px;

  border-radius: 50%;

  background: var(--r2-faint);

  box-shadow: none;
}

.auction-phase-notice-v2 strong {
  flex: 0 0 auto;

  color: var(--r2-ink);

  font-size: 12px;

  font-weight: 700;
}

.auction-phase-notice-v2 > span:not(.auction-phase-marker) {
  min-width: 0px;

  overflow: hidden;

  text-overflow: ellipsis;

  white-space: nowrap;
}

.auction-phase-notice-v2 time {
  flex: 0 0 auto;

  margin-left: 3px;

  color: var(--r2-faint);

  font-size: 10.5px;

  white-space: nowrap;
}

.auction-phase-notice-v2[data-phase="selection"] {
  border-color: var(--warning-color);

  background: transparent;
}

.auction-phase-notice-v2[data-phase="selection"] .auction-phase-marker {
  background: var(--warning-color);

  animation: 1.8s ease-in-out 0s infinite normal none running auction-pulse;
}

.auction-phase-notice-v2[data-phase="finalized"] {
  border-color: var(--market-down);

  background: transparent;
}

.auction-phase-notice-v2[data-phase="finalized"] .auction-phase-marker {
  background: var(--r2-down);
}

.auction-phase-notice-v2[data-phase="observing"] .auction-phase-marker {
  background: var(--r2-blue);

  animation: 1.8s ease-in-out 0s infinite normal none running auction-pulse;
}

@keyframes auction-pulse {
  0%,
  100% {
    opacity: 0.42;

    box-shadow: 0 0 0 0 var(--focus-ring);
  }

  50% {
    opacity: 1;

    box-shadow: 0 0 0 4px transparent;
  }
}

.auction-header-actions-v2 {
  flex: 0 0 auto;

  display: flex;

  align-items: center;

  gap: 8px;
}

.auction-summary-v2 {
  min-width: 348px;

  display: grid;

  grid-template-columns: repeat(4, minmax(82px, 1fr));

  border: 0;

  border-left: 1px solid var(--r2-line-soft);

  border-radius: 0;

  background: var(--surface);

  box-shadow: none;
}

.auction-summary-v2 > div {
  min-width: 0px;

  min-height: 44px;

  display: grid;

  align-content: center;

  gap: 2px;

  padding: 6px 10px;

  border-right: 1px solid var(--r2-line-soft);
}

.auction-summary-v2 > div:last-child {
  border-right: 0px;
}

.auction-summary-v2 span {
  color: var(--r2-faint);

  font-size: 10.5px;

  white-space: nowrap;
}

.auction-summary-v2 strong {
  color: var(--r2-ink);

  font-size: 14px;

  font-weight: 750;

  font-variant-numeric: tabular-nums;

  white-space: nowrap;
}

.auction-summary-v2 strong.up {
  color: var(--r2-up);
}

.auction-export-button,
.auction-refresh-button {
  min-height: 32px;

  height: 32px;

  display: inline-flex;

  align-items: center;

  justify-content: center;

  gap: 5px;

  padding: 0 12px;

  border: 1px solid var(--border-strong);

  border-radius: 8px;

  background: var(--surface);

  color: var(--text-primary);

  font-size: var(--font-size-label);

  font-weight: 500;

  white-space: nowrap;
}

.auction-export-button:hover,
.auction-refresh-button:hover {
  border-color: var(--r2-blue-line);

  color: var(--r2-blue);
}

.auction-refresh-button .lucide {
  width: 14px;

  height: 14px;
}

.auction-workspace-v2 {
  min-width: 0px;

  min-height: 0px;

  display: grid;

  grid-template-columns: minmax(0px, 1fr) 340px;

  align-items: stretch;

  gap: 12px;
}

.auction-side-card {
  min-width: 0px;

  overflow: hidden;

  border-radius: var(--r2-radius);

  background: var(--surface);

  box-shadow: var(--card-shadow);
}

.auction-primary-card {
  min-width: 0px;

  overflow: hidden;

  border-radius: var(--r2-radius);

  background: var(--surface);

  box-shadow: var(--card-shadow);

  min-height: 0px;

  display: flex;

  flex-direction: column;
}

:where(#auctionView) .auction-tabs-v2 {
  flex: 0 0 auto;

  min-height: 45px;

  display: flex;

  gap: 2px;

  padding: 0px 14px;

  border-bottom: 1px solid var(--r2-line-soft);
}

.auction-tabs-v2 button {
  min-width: 0px;

  display: inline-flex;

  align-items: center;

  gap: 4px;

  position: relative;

  padding: 0px 14px;

  border: 0px;

  background: transparent;

  color: var(--r2-sub);

  font-size: 13px;

  font-weight: 500;

  white-space: nowrap;
}

.auction-tabs-v2 button::after {
  content: "";

  position: absolute;

  right: 12px;

  bottom: -1px;

  left: 12px;

  height: 2px;

  border-radius: 2px 2px 0px 0px;

  background: transparent;
}

.auction-tabs-v2 button strong {
  color: var(--r2-faint);

  font-size: 11px;

  font-weight: 400;

  font-variant-numeric: tabular-nums;
}

.auction-tabs-v2 button:hover {
  color: var(--r2-blue);
}

.auction-tabs-v2 button.active {
  color: var(--r2-blue);

  font-weight: 650;
}

.auction-tabs-v2 button.active::after {
  background: var(--r2-blue);
}

.auction-tabs-v2 button.active strong {
  color: var(--r2-blue);
}

.auction-tools-v2 {
  flex: 0 0 auto;

  min-height: 47px;

  display: flex;

  align-items: center;

  justify-content: space-between;

  background: var(--surface-subtle);
}

.auction-expectation-v2,
.auction-tool-actions {
  min-width: 0px;

  display: flex;

  align-items: center;

  gap: 8px;
}

.auction-expectation-v2[hidden] {
  display: none;
}

.auction-expectation-v2 > span {
  flex: 0 0 auto;

  color: var(--r2-sub);

  font-size: 11px;
}

.auction-filter-segments {
  min-width: 0px;

  display: flex;

  align-items: center;

  gap: 2px;

  padding: 2px;

  border-radius: 8px;
}

.auction-filter-segments button {
  min-height: 27px;

  border: 0px;

  border-radius: 6px;

  background: transparent;

  color: var(--r2-sub);

  font-size: 12px;
}

.auction-filter-segments button.active {
  background: var(--surface);

  color: var(--r2-ink);

  font-weight: 600;

  box-shadow: var(--shadow-xs);
}

.auction-search-v2 {
  min-width: 0px;

  height: 32px;

  display: flex;

  align-items: center;

  gap: 6px;

  padding: 0px 9px;

  border: 1px solid var(--border-strong);

  border-radius: 8px;

  background: var(--surface);
}

.auction-search-v2 .lucide {
  width: 14px;

  height: 14px;

  color: var(--r2-faint);
}

.auction-search-v2 input {
  min-width: 0px;

  padding: 0px;

  border: 0px;

  outline: 0px;

  background: transparent;

  color: var(--r2-ink);
}

.auction-search-v2:focus-within {
  border-color: var(--r2-blue-line);

  box-shadow: 0 0 0 2px var(--focus-ring);
}

.auction-export-button:focus-visible,
.auction-filter-segments button:focus-visible,
.auction-refresh-button:focus-visible,
.auction-tabs-v2 button:focus-visible {
  outline: 2px solid var(--accent);

  outline-offset: 2px;
}

.auction-table-frame-v2 {
  min-height: 0px;

  flex: 1 1 auto;

  max-height: none;

  overflow: auto;

  overscroll-behavior: contain;

  scrollbar-gutter: stable;
}

.auction-table-v2 {
  width: 100%;

  min-width: 790px;

  border-collapse: collapse;

  font-size: var(--font-size-table);
}

.auction-table-v2 thead th {
  position: sticky;

  top: 0px;

  z-index: 2;

  height: 36px;

  padding: 0 12px;

  background: var(--table-header);

  color: var(--r2-sub);

  font-size: var(--font-size-caption);

  font-weight: 600;

  text-align: left;

  white-space: nowrap;
}

.auction-table-v2 thead th:first-child,
.auction-table-v2 tbody td:first-child {
  text-align: left;
}

.auction-table-v2 thead th.number {
  text-align: right;
}

.auction-table-v2 thead th.sortable {
  cursor: pointer;

  user-select: none;
}

.auction-table-v2 thead th.sortable:hover {
  color: var(--r2-blue);
}

.auction-table-v2 thead th.sortable span {
  margin-left: 3px;

  color: var(--r2-faint);

  font-size: 9px;
}

.auction-table-v2 thead th.sorted span {
  color: var(--r2-blue);
}

.auction-table-v2 tbody td {
  height: 40px;

  padding: 0 12px;

  border-bottom: 1px solid var(--r2-line-soft);

  color: var(--r2-ink);

  white-space: nowrap;
}

.auction-table-v2 tbody tr:last-child td {
  border-bottom: 0px;
}

.auction-table-v2 tbody tr:hover td {
  background: var(--table-hover);
}

.auction-stock-cell-v2 {
  min-width: 112px;

  display: flex;

  align-items: baseline;

  gap: 6px;
}

.auction-stock-cell-v2 strong {
  color: var(--r2-ink);

  font-size: 13px;

  font-weight: 750;
}

.auction-stock-cell-v2 small {
  color: var(--r2-faint);

  font-size: 10.5px;

  font-weight: 400;
}

.auction-context-cell-v2 {
  min-width: 130px;

  max-width: 190px;

  display: grid;

  gap: 3px;
}

.auction-context-cell-v2 > strong {
  overflow: hidden;

  color: var(--r2-ink);

  font-size: 12px;

  font-weight: 650;

  text-overflow: ellipsis;

  white-space: nowrap;
}

.auction-source-tags-v2 {
  min-width: 0px;

  display: flex;

  gap: 3px;

  overflow: hidden;
}

.auction-source-tags-v2 b {
  flex: 0 0 auto;

  padding: 1px 4px;

  border-radius: 3px;

  background: var(--surface-muted);

  color: var(--r2-sub);

  font-size: 9.5px;

  font-weight: 500;
}

.auction-source-tags-v2 b:nth-child(n+2) {
  background: var(--r2-blue-soft);

  color: var(--r2-blue);
}

#auctionView .auction-core-tags {
  display: inline-flex;

  flex-wrap: wrap;

  gap: 4px;
}

#auctionView .auction-core-tags b {
  padding: 2px 5px;

  border: 0px;

  border-radius: 4px;

  background: var(--r2-amber-soft);

  color: var(--r2-amber);

  font-size: 10px;

  font-weight: 700;
}

.auction-identity-empty {
  display: inline-block;

  width: 1px;

  height: 18px;
}

#auctionView .auction-score {
  color: var(--r2-blue);

  font-weight: 750;
}

#auctionView .auction-volume-ratio {
  color: var(--r2-sub);
}

#auctionView .auction-expectation {
  min-height: 22px;

  display: inline-flex;

  align-items: center;

  padding: 1px 7px;

  border: 0px;

  border-radius: 5px;

  font-size: 11px;

  font-weight: 600;
}

#auctionView .auction-expectation.above {
  background: var(--r2-up-soft);

  color: var(--r2-up);
}

#auctionView .auction-expectation.matched {
  background: var(--surface-muted);

  color: var(--text-secondary);
}

#auctionView .auction-expectation.below {
  background: var(--r2-down-soft);

  color: var(--r2-down);
}

#auctionView .auction-one-price-tag {
  min-height: 22px;

  display: inline-flex;

  align-items: center;

  padding: 1px 7px;

  border: 0px;

  border-radius: 5px;

  font-size: 11px;

  font-weight: 600;

  background: var(--r2-amber-soft);

  color: var(--r2-amber);
}

.auction-side-v2 {
  min-width: 0px;

  min-height: 0px;

  max-height: 100%;

  display: flex;

  flex-direction: column;

  gap: 12px;

  overflow-y: auto;

  overscroll-behavior: contain;

  scrollbar-gutter: stable;

  scrollbar-width: none;
}

.auction-side-v2::-webkit-scrollbar {
  display: none;
}

.auction-side-v2 > .auction-side-card {
  flex: 0 0 auto;
}

.auction-card-head-v2 {
  min-height: 44px;

  display: flex;

  align-items: center;

  gap: 8px;

  border-bottom: 1px solid var(--r2-line-soft);
}

.auction-card-head-v2 > div {
  min-width: 0px;

  display: flex;

  align-items: baseline;

  gap: 7px;
}

.auction-card-head-v2 h3 {
  margin: 0px;

  color: var(--r2-ink);

  font-size: 14px;

  font-weight: 700;
}

.auction-card-head-v2 > div > span {
  color: var(--r2-faint);

  font-size: 11px;
}

.auction-card-tag {
  flex: 0 0 auto;

  margin-left: auto;

  padding: 2px 7px;

  border-radius: 5px;

  background: var(--surface-muted);

  color: var(--r2-sub);

  font-size: 10.5px;

  white-space: nowrap;
}

.auction-theme-list-v2 {
  min-height: 0px;

  padding: 5px 14px;
}

#auctionView .auction-theme-row {
  min-height: 48px;

  display: grid;

  grid-template-columns: 72px minmax(0px, 1fr) auto 54px;

  align-items: center;

  gap: 6px;

  padding: 7px 0px;

  border-bottom: 1px dashed var(--r2-line-soft);
}

#auctionView .auction-theme-row:last-child {
  border-bottom: 0px;
}

.auction-theme-name {
  overflow: hidden;

  color: var(--r2-ink);

  font-size: 12.5px;

  font-weight: 700;

  text-overflow: ellipsis;

  white-space: nowrap;
}

.auction-theme-info {
  min-width: 0px;

  overflow: hidden;

  color: var(--r2-sub);

  font-size: 10.5px;

  text-overflow: ellipsis;

  white-space: nowrap;
}

#auctionView .auction-theme-status {
  min-height: 21px;

  padding: 1px 6px;

  border: 0px;

  border-radius: 5px;

  font-size: 10.5px;

  font-weight: 600;
}

#auctionView .auction-theme-status.strong {
  background: var(--r2-blue-soft);

  color: var(--r2-blue);
}

#auctionView .auction-theme-status.steady {
  background: var(--r2-blue-soft);

  color: var(--r2-blue);
}

#auctionView .auction-theme-status.mixed {
  background: var(--r2-amber-soft);

  color: var(--r2-amber);
}

#auctionView .auction-theme-status.weak {
  background: var(--surface-muted);

  color: var(--r2-sub);
}

.auction-theme-median {
  display: grid;

  justify-items: end;

  color: var(--r2-sub);

  font-size: 11.5px;

  font-weight: 650;

  font-variant-numeric: tabular-nums;

  white-space: nowrap;
}

.auction-theme-median small {
  color: var(--r2-faint);

  font-size: 9.5px;

  font-weight: 400;
}

.auction-new-theme-v2 {
  display: grid;

  grid-template-columns: auto minmax(0px, 1fr);

  align-items: start;

  gap: 9px;

  padding: 9px 14px 11px;

  border-top: 1px solid var(--r2-line-soft);

  color: var(--r2-sub);

  font-size: 11px;
}

.auction-new-theme-v2 > strong {
  color: var(--r2-ink);

  font-size: 11.5px;
}

.auction-theme-chips-v2 {
  min-width: 0px;

  display: flex;

  flex-wrap: wrap;

  gap: 4px;
}

.auction-theme-chips-v2 > span {
  padding: 2px 6px;

  border-radius: 4px;

  background: var(--r2-blue-soft);

  color: var(--r2-blue);

  font-size: 10px;
}

.auction-theme-chips-v2 > span strong {
  color: var(--r2-up);
}

.auction-theme-chips-v2 > small {
  color: var(--r2-faint);

  font-size: 10.5px;

  line-height: 1.5;
}

.auction-volume-body {
  padding: 11px 14px 7px;
}

.auction-volume-summary {
  display: flex;

  align-items: baseline;

  gap: 14px;

  margin-bottom: 8px;
}

.auction-amount-value-v2 {
  flex: 0 0 auto;

  color: var(--r2-ink);

  font-size: 22px;

  font-weight: 800;

  font-variant-numeric: tabular-nums;
}

.auction-amount-compare-v2 {
  min-width: 0px;

  display: flex;

  align-items: center;

  gap: 12px;
}

.auction-amount-compare-v2 span {
  color: var(--r2-sub);

  font-size: 10.5px;

  white-space: nowrap;
}

.auction-amount-compare-v2 strong {
  margin-left: 4px;

  color: var(--r2-ink);

  font-size: 11px;

  font-weight: 650;
}

.auction-amount-trend-v2 {
  height: 112px;

  display: flex;

  align-items: stretch;

  gap: 5px;

  position: relative;

  padding: 6px 0px 0px;
}

.auction-amount-trend-v2 .auction-amount-day {
  min-width: 0px;

  flex: 1 1 0%;

  display: grid;

  grid-template-rows: minmax(0px, 1fr) 18px;

  align-items: end;

  gap: 3px;
}

.auction-amount-trend-v2 .auction-amount-day > span {
  width: 72%;

  min-height: 4px;

  justify-self: center;

  border-radius: 3px 3px 0px 0px;

  background: var(--accent-soft);

  transition: opacity 180ms, transform 180ms;

  transform-origin: center bottom;
}

.auction-amount-trend-v2 .auction-amount-day.current > span {
  background: var(--r2-up);
}

.auction-amount-trend-v2 .auction-amount-day:hover > span {
  opacity: 0.78;

  transform: scaleY(1.03);
}

.auction-amount-trend-v2 .auction-amount-day small {
  overflow: hidden;

  color: var(--r2-faint);

  font-size: 9px;

  text-align: center;

  white-space: nowrap;
}

.auction-amount-trend-v2 .auction-amount-day.current small {
  color: var(--r2-up);

  font-weight: 700;
}

.auction-amount-trend-v2 .auction-amount-average {
  position: absolute;

  right: 0px;

  left: 0px;

  z-index: 1;

  border-top: 1.5px dashed rgb(245, 158, 11);

  pointer-events: none;
}

.auction-amount-trend-v2 .auction-amount-average small {
  position: absolute;

  top: -15px;

  right: 0px;

  padding-left: 3px;

  background: var(--surface);

  color: rgb(217, 119, 6);

  font-size: 9.5px;
}

.auction-volume-legend {
  display: flex;

  gap: 13px;

  padding: 7px 14px 10px;

  border-top: 1px solid var(--r2-line-soft);

  color: var(--r2-faint);

  font-size: 10px;
}

.auction-volume-legend span {
  display: inline-flex;

  align-items: center;

  gap: 4px;
}

.auction-volume-legend i {
  width: 10px;

  height: 7px;

  display: inline-block;

  border-radius: 2px;

  background: var(--accent-soft);
}

.auction-volume-legend i.current {
  background: var(--r2-up);
}

.auction-volume-legend i.average {
  height: 0px;

  border-top: 1.5px dashed rgb(245, 158, 11);

  border-radius: 0px;

  background: transparent;
}

@media (max-width: 1260px) {
  .auction-page-head-v2 {
    align-items: stretch;

    flex-direction: column;

    gap: 9px;
  }

  .auction-header-actions-v2 {
    justify-content: space-between;
  }

  .auction-summary-v2 {
    width: min(100%, 500px);
  }
}

@media (max-width: 1050px) {
  .auction-workspace-v2 {
    grid-template-columns: minmax(0px, 1fr);
  }

  .auction-side-v2 {
    display: grid;

    grid-template-columns: repeat(2, minmax(0px, 1fr));
  }
}

@media (max-width: 767px) {
  .redesigned-auction-view {
    padding: 0px;
  }

  .auction-title-cluster {
    align-items: flex-start;

    flex-direction: column;

    gap: 8px;
  }

  .auction-phase-notice-v2 {
    width: 100%;

    flex-wrap: wrap;
  }

  .auction-phase-notice-v2 > span:not(.auction-phase-marker) {
    width: calc(100% - 110px);
  }

  .auction-phase-notice-v2 time {
    margin-left: 14px;
  }

  .auction-header-actions-v2 {
    align-items: stretch;

    flex-direction: column;
  }

  .auction-summary-v2 {
    min-width: 0px;

    width: 100%;

    grid-template-columns: repeat(2, minmax(0px, 1fr));
  }

  .auction-summary-v2 > div:nth-child(2) {
    border-right: 0px;
  }

  .auction-summary-v2 > div:nth-child(-n+2) {
    border-bottom: 1px solid var(--r2-line-soft);
  }

  .auction-tabs-v2 {
    overflow-x: auto;
  }

  .auction-tabs-v2 button {
    flex: 0 0 auto;

    padding: 0px 10px;
  }

  .auction-tools-v2 {
    flex-direction: column;
  }

  .auction-expectation-v2 {
    align-items: flex-start;

    flex-direction: column;
  }

  .auction-filter-segments {
    width: 100%;
  }

  .auction-filter-segments button {
    flex: 1 1 0%;
  }

  .auction-tool-actions {
    width: 100%;
  }

  .auction-search-v2 {
    flex: 1 1 0%;
  }

  .auction-table-frame-v2 {
    min-height: 360px;

    max-height: none;
  }

  .auction-side-v2 {
    grid-template-columns: minmax(0px, 1fr);
  }

  .auction-volume-summary {
    align-items: flex-start;

    flex-direction: column;

    gap: 4px;
  }

  #auctionView .auction-theme-row {
    grid-template-columns: 66px minmax(0px, 1fr) auto 50px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .auction-phase-notice-v2 .auction-phase-marker {
    animation: auto ease 0s 1 normal none running none !important;
  }

  .auction-amount-trend-v2 .auction-amount-day > span {
    transition: none;
  }
}

@media (min-width: 768px) {
  body[data-active-view="auctionView"] .app-main {
    display: flex;

    flex-direction: column;

    overflow: hidden;
  }

  body[data-active-view="auctionView"] #auctionView.active-view {
    min-height: 0px;

    flex: 1 1 auto;

    display: flex;

    flex-direction: column;
  }
}

@media (min-width: 768px) and (max-height: 900px) {
  .redesigned-auction-view {
    padding: 10px 0 12px;
  }

  .auction-page-head-v2 {
    min-height: 52px;

    gap: 12px;

    margin-bottom: 8px;
  }

  .auction-summary-v2 > div {
    min-height: 43px;

    padding-top: 4px;

    padding-bottom: 4px;
  }

  .auction-tabs-v2 {
    min-height: 41px;
  }

  .auction-tools-v2 {
    min-height: 43px;

    padding-top: 5px;

    padding-bottom: 5px;
  }

  .auction-table-v2 tbody td {
    height: 40px;

    padding: 0 12px;
  }
}

@media (min-width: 1321px) and (min-height: 1400px) {
  body[data-active-view="auctionView"] .auction-workspace-v2 {
    align-items: start;
  }
}

.auc-head {
  display: flex;

  align-items: center;

  gap: 12px;

  margin-bottom: 12px;

  flex-wrap: wrap;
}

.auc-head h2 {
  font-size: var(--font-size-page-title);

  font-weight: var(--font-weight-semibold);
}

.auc-grid {
  display: grid;

  grid-template-columns: minmax(0px, 1fr) 372px;

  gap: 12px;

  align-items: start;
}

@media (max-width: 1400px) {
  .auc-grid {
    grid-template-columns: minmax(0px, 1fr) 340px;
  }
}

#auctionView .auction-tabs-v2 .auction-summary-v2 {
  margin-left: auto;

  align-self: center;
}

#auctionView .auction-tabs-v2 {
  padding-right: 0px;
}

@media (min-width: 768px) {
  #auctionView .auction-page-head-v2 {
    flex: 0 0 auto;
  }

  #auctionView .auction-workspace-v2 {
    min-height: 0px;

    flex: 1 1 auto;

    height: 100%;

    grid-template-columns: minmax(0,1fr) var(--right-rail-wide);

    grid-template-rows: minmax(0px, 1fr);

    align-items: stretch;

    overflow: hidden;
  }

  #auctionView .auction-primary-card {
    min-height: 0px;

    display: flex;

    flex-direction: column;

    overflow: hidden;
  }

  #auctionView .auction-table-frame-v2 {
    min-height: 0px;

    flex: 1 1 auto;

    overflow: auto;
  }

  #auctionView .auction-side-v2 {
    min-height: 0px;

    overflow: auto;
  }
}

@media (max-width: 767px), (max-width: 1023px) and (max-height: 600px) {
  #auctionView .auction-workspace-v2 {
    display: block;
  }
}

:root[data-theme="dark"] :is(.auction-tabs-v2, .auction-summary-v2, .auction-theme-row, .auction-amount-day) {
  border-color: var(--line-soft);

  background: var(--surface);
}

:root[data-theme="dark"] #auctionView :is(.auction-export-button, .auction-refresh-button, .auction-filter-segments, .auction-table-v2 thead th) {
  border-color: var(--border);

  background: var(--surface-muted);

  color: var(--text-secondary);
}

:root[data-theme="dark"] #auctionView .auction-phase-notice-v2 {
  border-left-color: var(--border);

  background: transparent;

  color: var(--text-secondary);
}

:root[data-theme="dark"] #auctionView .auction-phase-notice-v2[data-phase="selection"] {
  border-color: var(--warning-line);

  background: transparent;
}

:root[data-theme="dark"] #auctionView .auction-phase-notice-v2[data-phase="finalized"] {
  border-color: var(--market-down-soft);

  background: transparent;
}

:root[data-theme="dark"] #auctionView :is(.auction-filter-segments button.active, .auction-source-tags-v2 b) {
  background: var(--surface-subtle);

  color: var(--text-primary);
}

:root[data-theme="dark"] #auctionView .auction-source-tags-v2 b:nth-child(n+2) {
  background: var(--action-soft);

  color: var(--action);
}

:root[data-theme="dark"] #auctionView .auction-table-v2 tbody tr:hover td {
  background: var(--action-soft);
}

:root[data-theme="dark"] #auctionView :is(.auction-expectation.matched, .auction-card-tag) {
  background: var(--surface-subtle);

  color: var(--text-secondary);
}

:root[data-theme="dark"] #auctionView :is(.auction-theme-status.steady, .auction-theme-status.strong) {
  background: var(--action-soft);

  color: var(--action);
}

:root[data-theme="dark"] #auctionView .auction-amount-trend-v2 small {
  background: var(--surface);

  color: var(--text-secondary);
}

/* Mobile auction keeps one page scrollbar; dense rows scroll only sideways. */
@media (max-width: 767px) {
  #auctionView {
    padding-inline: 0;
  }

  #auctionView .auction-workspace-v2 {
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-12);
    overflow: visible;
  }

  #auctionView .auction-primary-card {
    width: 100%;
    max-width: 100%;
    min-height: 0;
    min-width: 0;
    overflow: visible;
  }

  #auctionView .auction-tabs-v2 {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding-inline: 0;
    overflow: visible;
  }

  #auctionView .auction-tabs-v2 button {
    min-width: 0;
    min-height: var(--mobile-touch-size);
    justify-content: center;
    padding-inline: var(--space-4);
    font-size: var(--font-size-label);
  }

  #auctionView .auction-tabs-v2 .auction-summary-v2 {
    width: 100%;
    min-width: 0;
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-left: 0;
    border-top: 1px solid var(--border-subtle);
    border-left: 0;
  }

  #auctionView .auction-tools-v2,
  #auctionView .auction-expectation-v2,
  #auctionView .auction-tool-actions {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  #auctionView .auction-filter-segments {
    width: 100%;
    min-width: 0;
  }

  #auctionView .auction-filter-segments button {
    min-width: 0;
    flex: 1 1 0;
  }

  #auctionView .auction-search-v2,
  #auctionView .auction-search-v2 input {
    min-width: 0;
  }

  #auctionView .auction-table-frame-v2 {
    width: 100%;
    max-width: 100%;
    min-height: var(--mobile-table-min-height);
    max-height: none;
    min-width: 0;
    overflow-x: auto;
    overflow-y: visible;
  }

  #auctionView .auction-side-v2 {
    max-height: none;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-12);
    overflow: visible;
  }
}
