/* Slate Navy Profundo — cards da grade e da lista de anúncios. */
.collection-card {
  --listing-surface: #18202b;
  --listing-stage: #101722;
  --listing-edge: #243042;
  --listing-text: #f8fafc;
  --listing-muted: #a3b2c7;
  --listing-icon: #cbd5e1;
  --listing-gold: #fbbf24;
  --listing-glow: rgb(90 155 225 / 12%);
  --listing-highlight: #7dd3fc;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--listing-edge);
  border-radius: 16px;
  background: var(--listing-surface);
  color: var(--listing-text);
  box-shadow: 0 8px 24px rgb(0 0 0 / 35%);
}

.collection-card[data-kind=mvp] {
  --listing-glow: rgb(212 163 72 / 12%);
  --listing-highlight: #fcd386;
}

.collection-card[data-owner-status] {
  border-color: rgb(245 158 11 / 30%);
  box-shadow: 0 8px 24px rgb(69 26 3 / 20%);
}
.collection-card[data-owner-status="expired"] { --listing-surface: #141b24; }
[data-owner-status="closed"] .collection-image { opacity: .75; filter: grayscale(30%); }
.owner-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
  position: relative;
  overflow: hidden;
  padding: 10px 14px;
  background: linear-gradient(90deg, rgb(245 158 11 / 20%), rgb(245 158 11 / 5%), transparent);
  border-bottom: 1px solid rgb(245 158 11 / 30%);
  border-radius: 15px 15px 0 0;
}
.owner-card-label {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #fcd34d;
  font: bold 11px ui-monospace, monospace;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.owner-card-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 8px;
  border: 1px solid #475569;
  border-radius: 999px;
  background: #1e293b;
  color: #cbd5e1;
  font-size: 11px;
  font-weight: 600;
}
[data-owner-status="active"] .owner-card-status {
  background: rgb(2 44 34 / 60%);
  border-color: rgb(16 185 129 / 40%);
  color: #34d399;
  font-size: 10px;
  font-weight: 700;
}
[data-owner-status="expired"] .owner-card-status { background: #382c1a; border-color: #735420; color: #fcd34d; }
[data-owner-status="active"] .owner-card-marker { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
@media (prefers-reduced-motion: no-preference) {
  .collection-card[data-owner-status] { transition: border-color 160ms ease; }
  [data-owner-status="active"] .owner-card-marker { animation: owner-card-pulse 2s infinite; }
}
@keyframes owner-card-pulse { 50% { opacity: .42; } }
.owner-card-ribbon {
  position: absolute;
  inset: auto auto 10px 10px;
  padding: 3px 7px;
  border-radius: 5px;
  background: rgb(15 23 42 / 85%);
  color: #e2e8f0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .05em;
}
.owner-card-note { margin: 0; padding: 8px 12px; color: var(--listing-muted); font-size: 12px; }
[data-owner-status="expired"] .owner-card-note {
  margin: 0 12px 8px;
  padding: 8px;
  border-radius: 8px;
  background: rgb(245 158 11 / 5%);
  color: #f5d994;
}
.collection-card[data-owner-status] .card-management button:focus-visible { outline: 2px solid #7dd3fc; outline-offset: 2px; }

.collection-card::before,
.collection-card::after,
.collection-card .collection-stage::before,
.collection-card .collection-stage::after { display: none; }

.collection-card:is(:hover, :focus-within) {
  border-color: var(--listing-highlight);
  box-shadow: 0 12px 28px rgb(0 0 0 / 48%);
  transform: translateY(-3px);
}
.collection-card[data-owner-status]:is(:hover, :focus-within) {
  border-color: rgb(251 191 36 / 60%);
  box-shadow: 0 8px 24px rgb(69 26 3 / 20%);
}
.collection-card[data-owner-status] .collection-stage { border-radius: 0; }

.collection-card .collection-stage {
  position: relative;
  flex: 0 0 auto;
  height: 250px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--listing-edge);
  border-radius: 15px 15px 0 0;
  background: radial-gradient(ellipse at 50% 55%, var(--listing-glow), transparent 68%), var(--listing-stage);
}

.collection-image {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 0;
  padding: 25px 24px 20px;
}

.collection-image > .game-card {
  height: 100%;
  width: auto;
  max-width: 95%;
  filter: drop-shadow(0 9px 8px rgb(0 0 0 / 45%));
}

.collection-card .collection-image > .catalog-image {
  width: 128px;
  height: 128px;
  max-width: 85%;
  max-height: 85%;
  object-fit: contain;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.collection-card .skin-visual { padding: 8px; }
.collection-card .skin-visual > img { width: 128px; height: 128px; max-width: 100%; max-height: 100%; object-fit: contain; }
.collection-card .skin-parts-visual > img { width: 100%; height: 100%; }
.collection-card .account-class-portrait { padding: 0; object-fit: contain; }
.collection-card .account-class-visual { position: static; }
.collection-card .account-class-badge {
  inset: auto 21% 12% auto;
  transform: none;
  padding: 0;
  border: 0;
  background: none;
}
.collection-card .account-class-badge img { width: 72px; height: 72px; }
.collection-card .account-class-badge span,
.collection-card .account-class-portrait.icon-only + .account-class-badge { display: none; }

.collection-art-header {
  position: absolute;
  inset: 12px 12px auto;
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 8px;
  z-index: 10;
}

.collection-category,
.collection-tag {
  --badge-tone: 56 189 248;
  --badge-text: #bae6fd;
  display: inline-flex;
  align-items: center;
  padding: 5px 8px;
  border: 1px solid rgb(var(--badge-tone) / 30%);
  border-radius: 7px;
  background: linear-gradient(rgb(var(--badge-tone) / 15%), rgb(var(--badge-tone) / 15%)), var(--listing-stage);
  color: var(--badge-text);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.25;
}

.collection-category { gap: 5px; font-weight: 750; }
.collection-category .icon { width: 14px; height: 14px; }
.collection-card[data-kind=mvp] .collection-category,
.collection-intent:is([data-intent=trade], [data-intent=sell-trade]),
.collection-offers {
  --badge-tone: 245 158 11;
  --badge-text: #fde68a;
}
.collection-server { --badge-tone: 148 163 184; --badge-text: var(--listing-icon); }

.collection-listing-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.collection-art-tools { position: absolute; left: 11px; bottom: 12px; z-index: 3; }
.collection-art-tools .example-tag {
  position: static;
  border-radius: 5px;
  background: var(--listing-stage);
  color: var(--listing-icon);
  font-size: 11px;
}

.collection-card .collection-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 11px;
  min-width: 0;
  padding: 18px 18px 16px;
  color: var(--listing-text);
}

.collection-card .card-title {
  min-height: 47px;
  margin: 0;
  padding: 0;
  color: var(--listing-text);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  white-space: normal;
  overflow-wrap: anywhere;
  text-shadow: none;
}
.collection-card .card-title:hover { color: var(--listing-highlight); }

.collection-secondary-tags { display: flex; flex-wrap: wrap; align-items: start; gap: 6px; }
.collection-card .collection-secondary-tags .collection-tag {
  max-width: 100%;
  min-height: 0;
  margin: 0;
  padding: 5px 7px;
  border: 1px solid var(--listing-edge);
  border-radius: 5px;
  background: rgb(255 255 255 / 5%);
  color: var(--listing-icon);
  font-weight: 500;
  box-shadow: none;
}
.collection-card .collection-secondary-tags .card-image-count:hover { background: rgb(255 255 255 / 10%); }

.collection-card .card-trade { margin: 0; color: var(--listing-muted); }
.collection-card .collection-price { display: block; padding-top: 5px; border: 0; }
.collection-price-label { display: block; margin-bottom: 4px; font-size: 12px; color: var(--listing-muted); }
.collection-card .collection-price .currency-flag { margin-inline-end: 6px; vertical-align: .09em; }
.collection-card .collection-price strong {
  color: var(--listing-gold);
  font-size: 23px;
  line-height: 1.2;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.025em;
  text-shadow: none;
  overflow-wrap: anywhere;
}

.collection-footer { padding: 0 18px 17px; }
.collection-card .card-author {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0;
  padding: 11px 0;
  border: 0;
  border-top: 1px solid var(--listing-edge);
  border-radius: 0;
  background: transparent;
  color: var(--listing-muted);
  font-size: 12px;
}
.collection-author-identity { display: flex; align-items: center; gap: 6px; min-width: 0; flex: 1; }
.collection-author-identity .icon { width: 17px; height: 17px; color: var(--listing-icon); }
.collection-card .author-name,
.collection-card .card-age { color: var(--listing-muted); font-size: 12px; }
.collection-card .author-name { min-width: 0; font-weight: 500; }
.collection-card .card-age { white-space: nowrap; flex-shrink: 0; }

.collection-actions { display: flex; align-items: center; gap: 8px; width: 100%; margin-top: auto; }
:is(.collection-card, .listing-detail) .collection-action {
  display: block;
  width: 100%;
  flex: 1;
  min-width: 0;
  min-height: 44px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
  padding: 10px 12px;
  border: 1px solid #fbbf24;
  border-radius: 12px;
  background: linear-gradient(105deg, #fbbf24, #e5850b);
  color: #020617;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.3;
  text-shadow: none;
  transition: transform 200ms, box-shadow 200ms;
}
:is(.collection-card, .listing-detail) .collection-action:enabled:hover {
  background: linear-gradient(105deg, #fcd34d, #f59e0b);
  box-shadow: 0 4px 10px rgb(0 0 0 / 35%);
  transform: translateY(-2px);
}

.collection-card .collection-art-header .favorite,
.collection-card .collection-actions .card-share {
  display: grid;
  place-items: center;
  margin: 0;
  padding: 0;
  border: 1px solid rgb(255 255 255 / 10%);
  background: linear-gradient(rgb(255 255 255 / 5%), rgb(255 255 255 / 5%)), var(--listing-stage);
  color: var(--listing-icon);
  box-shadow: none;
}
.collection-card .collection-art-header .favorite {
  position: static;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 50%;
}
:is(.collection-card, .listing-detail) .collection-actions .card-share { display: flex; align-items: center; justify-content: center; flex: 0 0 44px; width: 44px; height: 44px; min-height: 44px; padding: 0; border-radius: 12px; }
.collection-actions .card-share .icon { width: 19px; height: 19px; }
.collection-card .collection-art-header .favorite:hover,
.collection-card .collection-actions .card-share:hover {
  background: linear-gradient(rgb(255 255 255 / 10%), rgb(255 255 255 / 10%)), var(--listing-stage);
}
.collection-card .collection-art-header .favorite[aria-pressed=true] { color: var(--listing-gold); }
.collection-card .favorite[aria-pressed=true] .icon { fill: currentColor; }

.collection-card .card-validity { margin: 0; padding: 8px 18px; color: var(--listing-muted); font-size: 12px; }
.collection-card .card-closure { background: var(--listing-stage); color: var(--listing-muted); }
.collection-card .card-management { border-color: var(--listing-edge); border-radius: 0 0 15px 15px; background: var(--listing-stage); }
.collection-card .card-management button { background: var(--listing-surface); color: var(--listing-text); }
.collection-card .card-management button.danger { color: var(--danger); }
.collection-card[data-owner-status] .card-management {
  gap: 5px;
  padding: 10px 12px 12px;
  border-top: 0;
  background: transparent;
}
.collection-card[data-owner-status] .card-management button {
  display: inline-flex;
  flex: 1 1 0;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 44px;
  padding: 5px 7px;
  border: 1px solid transparent;
  border-radius: 4px;
  background: #222b38;
  color: #e2e8f0;
  line-height: 1.2;
  overflow-wrap: anywhere;
}
.collection-card[data-owner-status] .card-management button:hover { border-color: #526076; background: #2a3545; }
.collection-card[data-owner-status] .card-management .icon { width: 16px; height: 16px; flex: 0 0 16px; color: #f5c657; }
.collection-card[data-owner-status] .card-management .owner-card-icon { flex: 0 0 44px; padding: 0; }
.collection-card[data-owner-status] .card-management .owner-card-renew {
  flex: 1 0 100%;
  background: linear-gradient(90deg, #fbbf24, #d97706);
  border-color: transparent;
  border-radius: 8px;
  color: #020617;
  box-shadow: 0 4px 12px rgb(245 158 11 / 20%);
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.collection-card[data-owner-status] .card-management .owner-card-renew:hover { background: linear-gradient(90deg, #fcd34d, #f59e0b); border-color: transparent; }
.collection-card[data-owner-status] .card-management .owner-card-delete { background: #512a35; color: #fecdd3; }
.collection-card[data-owner-status] .card-management .owner-card-delete .icon { color: inherit; }
.collection-card[data-owner-status] .card-management .owner-card-delete:hover { background: #663442; border-color: #a65d6e; }

.list-view .collection-card { display: grid; grid-template-columns: 200px minmax(0, 1fr) 245px; align-items: stretch; }
.list-view .collection-card .collection-stage {
  grid-column: 1;
  grid-row: 1 / 3;
  height: 100%;
  min-height: 265px;
  border-bottom: 0;
  border-right: 1px solid var(--listing-edge);
  border-radius: 15px 0 0 15px;
}
.list-view .collection-card .collection-image { padding: 35px 8px 20px; }
.list-view .collection-card .collection-body { grid-column: 2; grid-row: 1 / 3; padding: 18px; }
.list-view .collection-card .collection-footer {
  grid-column: 3;
  grid-row: 1 / 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-width: 0;
  padding: 18px;
}
.list-view .collection-card .card-author { flex-wrap: nowrap; }
.list-view .collection-card :is(.card-management, .card-validity, .card-closure) { grid-column: 1 / -1; }
.list-view .collection-card .owner-card-header { grid-area: 1 / 1 / 2 / -1; }
.list-view .collection-card[data-owner-status] :is(.collection-stage, .collection-body, .collection-footer) { grid-row: 2 / 4; }
.list-view .collection-card .owner-card-management { grid-area: 4 / 1 / 5 / -1; }
@media (max-width: 1150px) {
  .list-view .collection-card[data-owner-status] .collection-body { grid-row: 2; }
  .list-view .collection-card[data-owner-status] .collection-footer { grid-row: 3; }
}

@media (max-width: 1150px) {
  .collection-card .card-author { gap: 7px; }
  .list-view .collection-card { grid-template-columns: 180px minmax(0, 1fr); }
  .list-view .collection-card .collection-body { grid-row: 1; }
  .list-view .collection-card .collection-footer { grid-column: 2; grid-row: 2; padding: 0 18px 16px; }
}

@media (max-width: 680px) {
  .collection-card .collection-stage { height: 220px; }
  .collection-image { padding: 25px 10px 20px; }
  .collection-art-header { gap: 6px; }
  .collection-category, .collection-tag { padding-inline: 6px; }
  .collection-category .icon { width: 12px; height: 12px; }
  .collection-card .collection-art-header .favorite { width: 34px; height: 34px; flex-basis: 34px; }
  .collection-art-tools { left: 9px; bottom: 10px; }
  .collection-card .collection-body { padding: 14px 12px 12px; gap: 9px; }
  .collection-card .card-title { font-size: 16px; min-height: 63px; }
  .collection-card .collection-price strong { font-size: 20px; }
  .collection-footer { padding: 0 12px 13px; }
  .collection-card .card-author { flex-wrap: wrap; align-items: start; gap: 4px 8px; }
  .collection-author-identity { flex: 1 1 100%; }
  .list-view .collection-card { grid-template-columns: 42% minmax(0, 1fr); }
  .list-view .collection-card .collection-stage { min-height: 290px; }
  .list-view .collection-card .collection-body { padding: 14px 10px 8px; }
  .list-view .collection-card .collection-footer { padding: 0 10px 12px; }
  .list-view .collection-card .card-author { flex-wrap: wrap; }
  .list-view .collection-card .collection-tag { font-size: 11px; }
  .list-view .collection-card .collection-category { font-size: 10px; }
}

@media (max-width: 380px) {
  .collection-card .collection-stage { height: 260px; }
  .collection-card .card-title { min-height: 45px; font-size: 17px; }
  .collection-card .card-author { flex-wrap: nowrap; align-items: center; }
  .collection-author-identity { flex: 1 1 auto; }
  .list-view .collection-author-identity { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .collection-card,
  .collection-card button { transition: none; }
  .collection-card:is(:hover, :focus-within),
  :is(.collection-card, .listing-detail) .collection-action:enabled:hover { transform: none; }
}

/* Detalhes do anúncio */
#modal:has(.listing-detail) {
  width: min(672px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: clamp(16px, 4vw, 28px);
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid #ffffff1a;
  border-radius: 16px;
  background: #131c27;
  color: #e2e8f0;
  box-shadow: 0 24px 60px #000c;
}
#modal:has(.listing-detail)::backdrop { background: #0c141ed9; backdrop-filter: blur(12px); }
.listing-detail { display: flex; flex-direction: column; }
.listing-detail button:focus-visible { outline: 2px solid #fbbf24; outline-offset: 2px; }
.detail-header { padding-right: 48px; }
.detail-labels, .detail-labels span, .detail-identity { display: flex; align-items: center; gap: 6px; }
.detail-labels { flex-wrap: wrap; gap: 6px; color: #94a3b8; font-size: 12px; }
.detail-labels .icon, .detail-identity .icon { width: 15px; height: 15px; flex: none; }
.detail-labels .detail-tag { padding: 4px 10px; border-radius: 8px; font-weight: 600; }
.detail-category { background: #0ea5e926; color: #7dd3fc; }
.detail-server { background: #ffffff0d; color: #cbd5e1; }
.detail-intent { background: #f59e0b1a; color: #fcd58a; }
.detail-intent:is([data-intent="trade"], [data-intent="sell-trade"]) { background: #a78bfa26; color: #ddd6fe; }
.listing-detail .modal-title {
  margin: 10px 0 16px;
  font: 700 clamp(20px, 4vw, 24px)/1.25 var(--serif);
  letter-spacing: normal;
  text-transform: uppercase;
  text-shadow: none;
  overflow-wrap: anywhere;
  color: #fcd34d;
  background: linear-gradient(90deg, #fef3c7, #fcd34d, #f59e0b) text;
  -webkit-text-fill-color: transparent;
}
.detail-media {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 260px;
  padding: 16px;
  border: 1px solid #ffffff0d;
  border-radius: 16px;
  background: #0f1722;
}
.detail-visual { display: grid; place-items: center; width: 100%; min-width: 0; }
.detail-visual .art-icon { width: 74px; height: 74px; color: #64748b; }
.detail-visual .catalog-image { width: 136px; height: 136px; max-width: 100%; object-fit: contain; }
.detail-visual .game-card { width: min(100%, 188px); height: auto; max-height: 260px; filter: drop-shadow(0 0 25px #d9770659); }
.detail-visual .account-class-visual { width: 100%; height: 228px; }
.detail-visual .skin-visual { padding: 0; }
.detail-visual .user-image {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 340px;
  border-radius: 12px;
  object-fit: contain;
  box-shadow: 0 6px 16px #0006;
}
.detail-visual .carousel-stage { position: relative; display: grid; place-items: center; min-height: 228px; }
.detail-visual .carousel-slide:not([hidden]) { position: static; grid-area: 1 / 1; width: 100%; }
.detail-visual .carousel-arrow { background: #0008; border-color: #ffffff1a; border-radius: 12px; color: white; }
.detail-visual .carousel-arrow:hover { background: #000c; color: white; }
.detail-visual .carousel-dots { position: static; transform: none; width: max-content; margin: 8px auto 0; background: #ffffff0d; }
.detail-visual .carousel-dots button[aria-pressed=true]::before { background: #fbbf24; }
.carousel-thumbnails { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 12px 0 0; }
.carousel-thumbnails button { width: 56px; height: 40px; padding: 0; overflow: hidden; border: 2px solid #ffffff1a; border-radius: 8px; background: #18202b; opacity: .6; }
.carousel-thumbnails button:hover, .carousel-thumbnails button[aria-pressed=true] { opacity: 1; }
.carousel-thumbnails button[aria-pressed=true] { border-color: #f59e0b; }
.carousel-thumbnails img { display: block; width: 100%; height: 100%; object-fit: cover; }
.detail-media-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 0; padding: 0; list-style: none; }
.detail-media-tags li { padding: 4px 8px; border-radius: 8px; background: #18202b; color: #cbd5e1; font-size: 12px; overflow-wrap: anywhere; }
.detail-attributes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 16px 0 0; }
.detail-attributes > div { padding: 12px; border-radius: 4px; background: #18202b; text-align: left; }
.detail-attributes dt { color: #b4a38b; font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.detail-seller-label, .detail-seller-description h3 { font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: #94a3b8; }
.detail-attributes dd { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin: 4px 0 0; color: #f1f5f9; font-size: 16px; font-weight: 700; }
.detail-attributes :is([data-attribute="nivel"], [data-attribute="power"], [data-attribute="sockets"]) dd { color: #ffb54a; }
.detail-seller-description { margin-top: 12px; padding: 14px; border: 1px solid #ffffff0d; border-radius: 12px; background: #16202c99; color: #cbd5e1; font-size: clamp(12px, 2.5vw, 14px); line-height: 1.6; }
.detail-seller-description h3 { margin: 0 0 4px; color: #fbbf24; }
.detail-seller-description p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.detail-attributes:not([data-category="contas"]) dd { white-space: normal; overflow-wrap: anywhere; }
.detail-attributes[data-category="itens"] .detail-attribute-effects { grid-column: 1 / -1; }
.detail-attribute-effects dd ul { display: grid; gap: 4px; margin: 0; padding-left: 16px; font-size: 13px; font-weight: 500; line-height: 1.5; }
@media (max-width: 480px) {
  .detail-attributes .detail-attribute-effects { grid-column: 1 / -1; }
}
.detail-trade { margin: 12px 0 0; color: #cbd5e1; font-size: 13px; overflow-wrap: anywhere; }
.detail-price { display: flex; align-items: center; gap: 8px; margin: 16px 0 0; color: #fcd34d; font: 700 clamp(24px, 5vw, 30px)/1.2 var(--serif); overflow-wrap: anywhere; }
.detail-server-note { display: flex; align-items: center; gap: 9px; margin: 12px 0 0; padding: 12px 14px; border-radius: 4px; background: #212935; color: #e2cfab; font-size: 12px; line-height: 1.5; }
.detail-server-note .icon { width: 15px; height: 15px; flex: none; color: #b4a38b; }
.detail-safety { margin-top: 18px; padding: 18px; border-radius: 8px; background: #0a131d; color: #e2cfab; font-size: 12px; line-height: 1.55; }
.detail-safety h3 { display: flex; align-items: center; gap: 6px; margin: 0; color: #ffb54a; font-size: 16px; line-height: 1.3; }
.detail-safety .icon { width: 18px; height: 18px; flex: none; }
.detail-safety p { margin: 5px 0 0; }
.detail-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin-top: 22px; }
.listing-detail .detail-actions .collection-action { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; border: 0; border-radius: 4px; background: linear-gradient(105deg, #efbd62, #d4a145); color: #302207; box-shadow: 0 3px 10px #efbd6240; letter-spacing: .04em; }
.listing-detail .detail-actions .collection-action:enabled:hover { background: linear-gradient(105deg, #f8ce7d, #e3b258); }
.listing-detail .detail-actions .collection-action:disabled { background: #372e23; color: #e2cfab; box-shadow: none; cursor: not-allowed; }
.detail-action-icon { display: grid; place-items: center; flex: 0 0 48px; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 4px; background: #18202b; color: #e2cfab; cursor: pointer; }
.detail-action-icon .icon { width: 19px; height: 19px; }
.detail-action-icon:hover { background: #263344; color: #fff0d2; }
.detail-action-icon[aria-pressed=true] { color: #ffb54a; }
.detail-action-icon[aria-pressed=true] .icon { fill: currentColor; }
.detail-seller { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; margin-top: 14px; padding: 10px 12px; border: 1px solid #ffffff0d; border-radius: 12px; background: #18202b; }
.detail-seller strong { display: block; font-size: 14px; overflow-wrap: anywhere; }
.detail-identity { font-size: 11px; color: #bae6fd; }
.detail-chat { margin-left: auto; padding: 8px 10px; border-radius: 8px; background: #ffffff0d; color: #e2e8f0; font-size: 12px; }
.detail-chat:hover { background: #ffffff1a; }

@media (min-width: 640px) {
  .detail-attributes[data-category="contas"] { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.detail-price .currency-flag { width: 22px; height: 15px; flex: none; }
@media (prefers-reduced-motion: no-preference) {
  .listing-detail .collection-action:enabled:active { transform: scale(.95); }
}

/* Botão de fechar compartilhado pelos modais. */
dialog .modal-dismiss {
  display: grid;
  place-items: center;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: #212935;
  color: #d4c4b0;
  box-shadow: none;
  cursor: pointer;
  transition: background-color 150ms, color 150ms;
}
dialog > .modal-dismiss { z-index: 3; }
dialog .modal-dismiss .icon { width: 18px; height: 18px; stroke-width: 2; }
dialog .modal-dismiss:hover { background: #2b3645; color: #f0e0cc; }
dialog .modal-dismiss:focus-visible { outline: 2px solid #d4c4b0; outline-offset: 2px; }

.print-review-status { margin: .4rem 0; overflow-wrap: anywhere; }
.account-image-preview .print-review-status { color: #263850; font-size: .8rem; text-align: center; }
.print-review-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: .75rem 0; }
.print-review-actions a { text-decoration: none; }

.collection-image > picture.catalog-image > img { display: block; width: 100%; height: 100%; object-fit: contain; }
