:root {
  --bg: #0c1018;
  --bg-soft: #141b27;
  --line: rgba(232, 208, 150, 0.18);
  --gold: #e8d096;
  --gold-strong: #f3dc9a;
  --ink: #f4efe4;
  --muted: #c9c2b4;
  --danger: #ff8d7b;
  --ok: #8fd7a8;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html,
body {
  margin: 0;
  min-height: 100%;
  overflow-x: hidden;
}

body {
  font-family: Outfit, system-ui, sans-serif;
  color: var(--ink);
  color-scheme: dark;
  background: radial-gradient(1200px 700px at 10% -10%, #22314a 0%, transparent 55%),
    radial-gradient(900px 500px at 100% 0%, #3a2c16 0%, transparent 45%), var(--bg);
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at 50% 20%, black, transparent 75%);
  pointer-events: none;
}

.topbar,
.layout,
.trust-row {
  position: relative;
  width: min(1480px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 0 14px;
  flex-wrap: wrap;
  background: linear-gradient(to bottom, rgba(12, 16, 24, 0.96) 70%, rgba(12, 16, 24, 0.72));
  backdrop-filter: blur(12px);
}

.ghost.compact {
  align-self: end;
  padding: 8px 12px;
  height: fit-content;
}

input,
select,
textarea {
  color-scheme: dark;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 100%;
}

.nav-btn,
.ghost {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  min-height: 44px;
  font-weight: 500;
}

.nav-btn.is-active {
  background: var(--gold);
  color: #1a1408;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.session-chip {
  font-size: 13px;
  color: var(--muted);
  max-width: min(280px, 100%);
  overflow-wrap: anywhere;
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  padding: 10px 14px;
  border-radius: 12px;
  background: #1f8a4c;
  color: #f4efe4;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.whatsapp-btn:hover {
  background: #176b3b;
}

.whatsapp-btn[hidden],
.pay-offline[hidden] {
  display: none !important;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -40px;
  z-index: 80;
  background: var(--gold);
  color: #1a1408;
  padding: 8px 12px;
  border-radius: 8px;
}

.skip-link:focus {
  top: 12px;
}

.loss-reminder {
  position: relative;
  z-index: 20;
  width: min(1480px, calc(100% - 40px));
  margin: 0 auto 12px;
  padding: 16px 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--gold);
  border-radius: 16px;
  background: #1a1408;
}

.loss-reminder p {
  margin: 0;
  color: var(--gold-strong);
  font-size: 16px;
}

.loss-pref {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}

.trust-row {
  margin-bottom: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
}

.trust-row li {
  font-size: 12px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
}

.trust-row li.trust-ship {
  flex: 1 0 100%;
  color: var(--gold-strong);
  border-color: rgba(232, 208, 150, 0.45);
}

.toast {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 70;
  background: #1a1408;
  color: var(--gold-strong);
  border: 1px solid var(--gold);
  border-radius: 12px;
  padding: 12px 16px;
  max-width: min(420px, calc(100% - 32px));
  box-shadow: var(--shadow);
}

.toast[hidden] {
  display: none;
}

button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.provenance {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
  margin: 16px 0 8px;
}

.provenance div {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.bid-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.timer.urgent {
  color: var(--danger);
  animation: pulse-urgent 1s ease-in-out infinite;
}

@keyframes pulse-urgent {
  50% {
    opacity: 0.7;
  }
}

.preview-row img[hidden] {
  display: none;
}

.view {
  display: none;
  padding-bottom: 48px;
}

.view.is-visible {
  display: block;
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
}

.brand-logo {
  width: 84px;
  height: 84px;
  flex: 0 0 auto;
  border-radius: 50%;
  object-fit: cover;
}

.brand-kicker,
.panel-kicker {
  margin: 0;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 11px;
  color: var(--gold);
}

h1,
h2,
h3 {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  margin: 0;
}

h1 {
  font-size: 28px;
}

.brand h1 {
  font-size: clamp(13px, 1.15vw, 18px);
  letter-spacing: 0.03em;
  line-height: 1.25;
  max-width: 18rem;
}

.rule-pill {
  margin: 0;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
}

.layout {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  gap: 18px;
  padding-bottom: 48px;
}

.lot-card,
.panel,
.side,
.lot-rail {
  min-width: 0;
}

.lot-card,
.panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.lot-visual {
  padding: 28px 28px 8px;
}

.lot-badge {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(232, 208, 150, 0.12);
  color: var(--gold-strong);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lot-badge.live {
  background: rgba(143, 215, 168, 0.16);
  color: var(--ok);
}

.lot-badge.ended {
  background: rgba(255, 141, 123, 0.14);
  color: var(--danger);
}

.lot-number {
  margin: 22px 0 6px;
  color: var(--muted);
}

.lot-copy {
  color: var(--muted);
  line-height: 1.55;
  max-width: 52ch;
}

.timer-panel {
  margin: 18px;
  padding: 24px;
  border-radius: 18px;
  background: var(--bg-soft);
  text-align: center;
}

.timer-label {
  margin: 0 0 8px;
  color: var(--gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 12px;
}

.timer {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(36px, 7vw, 64px);
  letter-spacing: 0.04em;
  transition: color 0.2s ease, transform 0.2s ease;
}

.timer.extended {
  color: var(--ok);
  transform: scale(1.04);
}

.timer-units {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  color: var(--muted);
  font-size: 12px;
  margin-top: 4px;
}

.timer-hint {
  min-height: 1.4em;
  color: var(--gold);
  font-size: 14px;
}

.schedule {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 18px 0 0;
  text-align: left;
}

.schedule div {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
}

dt {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

dd {
  margin: 6px 0 0;
}

.side {
  display: grid;
  gap: 18px;
}

.panel {
  padding: 22px;
}

.price {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 48px;
  margin: 4px 0 0;
}

.leader {
  margin: 0 0 18px;
  color: var(--muted);
}

form {
  display: grid;
  gap: 12px;
}

label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
}

input,
select {
  width: 100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #0d1320;
  color: var(--ink);
  font: inherit;
}

button {
  border: 0;
  border-radius: 12px;
  padding: 13px 16px;
  min-height: 44px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  background: var(--gold);
  color: #1a1408;
}

input[type="file"] {
  min-height: 44px;
  padding: 10px;
}

button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

button.secondary {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--line);
}

.form-error {
  margin: 0;
  color: var(--danger);
  font-size: 13px;
}

.form-ok {
  margin: 0;
  color: var(--ok);
  font-size: 13px;
}

.help {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.history {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
  max-height: 220px;
  overflow: auto;
}

.history li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.history .empty,
.history .meta {
  color: var(--muted);
}

.sala-layout {
  grid-template-columns: 0.72fr 1.25fr 0.9fr;
}

.two-col,
.admin-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.span-2 {
  grid-column: 1 / -1;
}

.lot-rail {
  padding: 18px;
  max-height: calc(100vh - 120px);
  overflow: auto;
}

.auction-switch {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.rail-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
}

.lot-list,
.simple-list,
.people {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.lot-item {
  width: 100%;
  text-align: left;
  background: #0d1320;
  color: var(--ink);
  border: 1px solid var(--line);
  display: grid;
  gap: 2px;
  padding: 12px;
  font-weight: 400;
}

.lot-item.is-active {
  border-color: var(--gold);
}

.lot-item small,
.lot-item em {
  color: var(--muted);
  font-style: normal;
  font-size: 12px;
}

.gallery {
  margin: 0 18px;
}

.lot-clip {
  display: grid;
  gap: 8px;
}

.lot-card > .lot-clip {
  margin: 12px 18px 0;
}

.lot-clip[hidden] {
  display: none !important;
}

.lot-clip-player {
  width: 100%;
  max-height: 360px;
  background: #05070c;
  border-radius: 16px;
  border: 1px solid var(--line);
}

.gallery-main {
  position: relative;
  width: 100%;
  min-height: 240px;
  border-radius: 16px;
  overflow: hidden;
  background: #0d1320;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  padding: 0;
}

.gallery-main img {
  width: 100%;
  height: min(42vh, 360px);
  object-fit: contain;
  background: #05070c;
  display: block;
}

.gallery-main img[hidden],
.live-photo img[hidden] {
  display: none;
}

.gallery-empty {
  color: var(--muted);
}

.magnifier-btn {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: rgba(12, 16, 24, 0.8);
  color: var(--gold);
  display: grid;
  place-items: center;
  font-size: 20px;
}

.thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.thumb {
  width: 64px;
  height: 64px;
  padding: 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0d1320;
}

.thumb.is-active {
  border-color: var(--gold);
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #05070c;
  display: block;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(6, 8, 12, 0.88);
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 24px;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  background: transparent;
  color: var(--gold);
  font-size: 32px;
}

.zoom-stage {
  position: relative;
  width: min(900px, 92vw);
  height: min(70vh, 620px);
  overflow: hidden;
  border-radius: 16px;
  cursor: none;
}

.zoom-stage img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.08s linear;
}

.lens {
  position: absolute;
  width: 140px;
  height: 140px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  pointer-events: none;
  box-shadow: 0 0 0 999px rgba(0, 0, 0, 0.18);
}

.zoom-hint {
  color: var(--muted);
}

textarea {
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #0d1320;
  color: var(--ink);
  font: inherit;
  resize: vertical;
}

.split {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 24px 0;
}

.preview-row img,
.person img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  background: #05070c;
  border-radius: 12px;
  border: 1px solid var(--line);
}

.person {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}

.person small {
  display: block;
  color: var(--muted);
}

.report-bar {
  display: flex;
  gap: 12px;
  align-items: end;
  flex-wrap: wrap;
}

.table-wrap {
  overflow: auto;
  margin-top: 12px;
}

.report-table {
  width: max-content;
  min-width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.report-table th,
.report-table td {
  border-bottom: 1px solid var(--line);
  padding: 10px 8px;
  text-align: left;
  white-space: nowrap;
  vertical-align: top;
}

button.compact {
  padding: 8px 10px;
  font-size: 13px;
}

.ticket-modal {
  position: fixed;
  inset: 0;
  background: rgba(6, 8, 12, 0.86);
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 24px;
}

.ticket-modal[hidden] {
  display: none;
}

.ticket-sheet {
  width: min(640px, 100%);
  background: #f7f1e4;
  color: #1a1408;
  border-radius: 16px;
  padding: 28px;
}

.ticket-logo {
  display: block;
  width: 56px;
  height: 56px;
  margin: 0 0 10px;
  border-radius: 50%;
  object-fit: cover;
}

.ticket-sheet h1 {
  color: #1a1408;
}

.ticket-sheet table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
}

.ticket-sheet th,
.ticket-sheet td {
  border-bottom: 1px solid rgba(26, 20, 8, 0.2);
  text-align: left;
  padding: 8px 0;
}

.ticket-sheet .muted {
  color: #5c5346;
}

.ticket-total {
  font-size: 18px;
}

.ticket-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.pay-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}

.pay-terms {
  margin-top: 12px;
}

.pay-offline {
  display: grid;
  gap: 8px;
  margin: 0 0 12px;
}

.pay-offline-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.pay-contact {
  display: grid;
  gap: 4px;
  white-space: pre-wrap;
}

.pay-contact p {
  margin: 0;
}

.collection-form {
  margin: 4px 0 18px;
  max-width: 520px;
}

.ticket-sheet .form-ok {
  color: #1d6b3a;
}

.ticket-sheet button.secondary {
  color: #1a1408;
  border-color: rgba(26, 20, 8, 0.35);
}

.ticket-sheet .pay-contact {
  color: #1a1408;
}

.text-link {
  display: inline;
  width: auto;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--gold);
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}

.legal-modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(6, 8, 12, 0.86);
}

.legal-modal[hidden] {
  display: none;
}

.legal-sheet {
  width: min(640px, 100%);
  max-height: min(82vh, 720px);
  overflow: auto;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg-soft);
  color: var(--ink);
}

.legal-sheet h3 {
  margin-bottom: 0;
}

.legal-sheet article + article {
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.mp-status {
  margin: 0 0 12px;
  font-size: 14px;
}

.mp-status.is-approved {
  color: var(--ok);
}

.mp-status.is-pending,
.mp-status.is-started {
  color: var(--gold);
}

.mp-status.is-rejected {
  color: var(--danger);
}

.ticket-sheet .form-error,
.ticket-sheet .mp-status.is-rejected {
  color: #9d2b1b;
}

.ticket-sheet .mp-status.is-approved {
  color: #1d6b3a;
}

.ticket-sheet .mp-status.is-pending,
.ticket-sheet .mp-status.is-started {
  color: #8a6420;
}

.ticket-sheet .help {
  color: #5c5346;
}

.live-layout {
  grid-template-columns: 1.4fr 0.9fr;
}

.live-stage {
  padding: 22px 22px 28px;
}

.live-number {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(48px, 8vw, 88px);
  margin: 8px 0 0;
  letter-spacing: 0.04em;
}

.live-copy {
  font-size: 16px;
  max-width: 70ch;
}

.live-photo {
  min-height: 360px;
  margin-top: 8px;
}

.live-photo img {
  height: min(52vh, 480px);
  object-fit: contain;
  background: #05070c;
}

.live-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}

.stream-player {
  width: 100%;
  min-height: 200px;
  border-radius: 14px;
  background: #05070c;
  border: 1px solid var(--line);
  margin: 8px 0 12px;
}

.sponsor-image,
.sponsor-video,
.sponsor-preview img,
.sponsor-preview video {
  width: 100%;
  object-fit: contain;
  background: #05070c;
  border-radius: 16px;
  display: block;
}

.sponsor-image,
.sponsor-video {
  max-height: min(78vh, 920px);
}

.sponsor-preview {
  margin: 12px 0;
}

.sponsor-preview img,
.sponsor-preview video {
  max-height: 420px;
}

.sponsor-image[hidden],
.sponsor-video[hidden],
.sponsor-preview[hidden],
.sponsor-preview [hidden] {
  display: none !important;
}

.bid-boxes {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 8px;
  margin: 10px 0 14px;
}

.bid-box {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px;
  background: #0d1320;
  display: grid;
  gap: 4px;
}

.bid-box strong {
  color: var(--gold);
  font-size: 18px;
}

.bid-box small {
  color: var(--muted);
}

.check {
  display: flex;
  align-items: center;
  gap: 8px;
}

.check input {
  width: auto;
}

.check.terms {
  align-items: flex-start;
  line-height: 1.45;
}

.check.terms span {
  flex: 1;
}

.terms-box {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  background: #0d1320;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.terms-box p {
  margin: 0;
}

.doc-thumb {
  width: 120px;
  height: 80px;
  object-fit: contain;
  background: #05070c;
  border-radius: 12px;
  border: 1px solid var(--line);
}

.verify-block {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.verify-block[hidden] {
  display: none;
}

.identity-list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.identity-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  display: grid;
  gap: 10px;
  background: #0d1320;
  overflow-wrap: anywhere;
}

.identity-head {
  display: flex;
  gap: 12px;
  align-items: center;
}

.identity-head img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #05070c;
}

.flag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.flag {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  color: var(--muted);
}

.flag.is-ok {
  color: var(--ok);
  border-color: rgba(143, 215, 168, 0.45);
}

.flag.is-bad {
  color: var(--danger);
  border-color: rgba(255, 141, 123, 0.45);
}

.flag.is-wait {
  color: var(--gold);
}

.doc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.doc-slot {
  display: grid;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
}

.doc-slot img {
  width: 100%;
  height: 140px;
  object-fit: contain;
  background: #05070c;
  border-radius: 12px;
  border: 1px solid var(--line);
}

.identity-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.face-video {
  width: 100%;
  max-height: 320px;
  background: #05070c;
  border-radius: 12px;
  border: 1px solid var(--line);
  object-fit: cover;
}

.chat-log {
  display: grid;
  gap: 8px;
  max-height: 240px;
  overflow: auto;
  margin: 0 0 10px;
}

.chat-line {
  margin: 0;
  padding: 8px 10px;
  border-radius: 12px;
  background: #10151e;
  white-space: pre-wrap;
}

.chat-line.is-user {
  background: #1b2433;
}

@media (max-width: 720px) {
  .doc-grid {
    grid-template-columns: 1fr;
  }

  .brand {
    flex: 1 1 100%;
  }

  .brand-logo {
    width: 56px;
    height: 56px;
  }

  .brand h1 {
    font-size: 12px;
    max-width: calc(100vw - 96px);
  }

  .lot-visual,
  .panel,
  .live-stage {
    padding: 16px;
  }

  .price {
    font-size: 36px;
  }

  .live-number {
    font-size: 40px;
  }

  .bid-steps button {
    flex: 1 1 30%;
  }
}

.stream-gate {
  grid-column: 1 / -1;
}

.closed-layout {
  grid-template-columns: 1fr;
}

.inner-live {
  width: 100%;
  margin: 16px 0 0;
  padding-bottom: 0;
}

.result-card {
  grid-template-columns: auto 1fr;
  align-items: start;
}

.result-card p {
  margin: 4px 0;
  color: var(--muted);
  font-size: 14px;
}

.result-card .result-price,
.result-card .result-buyer {
  display: block;
}

.result-photo {
  width: 84px;
  height: 84px;
  object-fit: contain;
  background: #efe6d4;
  border-radius: 12px;
}

.nav-btn {
  white-space: nowrap;
}

@media print {
  body * {
    visibility: hidden;
  }

  .ticket-modal,
  .ticket-modal * {
    visibility: visible;
  }

  .ticket-modal {
    position: static;
    background: white;
    padding: 0;
  }

  .no-print {
    display: none !important;
  }
}

@media (max-width: 1100px) {
  .sala-layout,
  .two-col,
  .admin-layout,
  .live-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .layout,
  .topbar,
  .trust-row,
  .loss-reminder {
    width: min(100% - 16px, 1480px);
  }

  .topbar {
    position: static;
  }

  .schedule {
    display: grid;
    grid-template-columns: 1fr;
  }
}
