/* Detail cards use the same material palette as Browse Plates. */
.plate-info-page .page-main { width: min(1090px, calc(100% - 56px)); padding: 48px 0 80px; }
.plate-details-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.plate-details-heading p { margin: 0 0 12px; color: #bfae79; font-size: 10px; font-weight: 550; line-height: 1.5; letter-spacing: .15em; text-transform: uppercase; }
.plate-details-heading h1 { margin: 0; color: #eef0ec; font-size: clamp(30px, 3.2vw, 40px); font-weight: 500; line-height: 1.1; letter-spacing: -.04em; }
.plate-details-heading a { display: inline-flex; align-items: center; gap: 24px; min-height: 44px; color: #cdbb82; font-size: 12px; text-decoration: none; }
.plate-details-heading a > span { font-size: 21px; }
.plate-details-heading a:hover { color: #f2d993; }
.plate-results { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); align-items: stretch; gap: 20px; }
.plate-info-page .plate-result-card { position: relative; display: flex; flex-direction: column; min-width: 0; min-height: 410px; padding: 28px; gap: 0; border: 1px solid var(--showroom-border); border-radius: 24px; color: var(--showroom-ink); box-shadow: none; backdrop-filter: none; transition: border-color .2s, box-shadow .2s; }
.plate-result-card[hidden], .plate-result-card [hidden] { display: none !important; }
.plate-result-context { margin: 0 0 20px; color: var(--showroom-muted); font-size: 9px; line-height: 1.5; letter-spacing: .12em; text-transform: uppercase; }
.plate-result-card .card-header { position: relative; z-index: 3; display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; min-height: 44px; margin: 0; padding: 0; }
.plate-collection-label { color: var(--showroom-accent); font-size: 11px; font-weight: 600; line-height: 1.5; letter-spacing: .12em; text-transform: uppercase; }
.plate-result-card .card-header > .badge { display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: transparent; color: var(--showroom-muted); font-size: 10px; font-weight: 500; line-height: 1.5; letter-spacing: .04em; }
.plate-result-card .card-header > .badge::before { content: ""; flex-shrink: 0; width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.plate-result-card .card-header > .badge-taken { color: #e1b5a9; }
.plate-result-stage { position: relative; z-index: 0; display: flex; flex: 1; flex-direction: column; align-items: center; justify-content: center; min-height: 240px; padding: 35px 8px 30px; }
.plate-result-stage::before { content: ""; position: absolute; left: 12%; right: 12%; top: 51%; height: 26px; border-radius: 50%; background: #0005; filter: blur(13px); transform: scaleY(.45); pointer-events: none; }
.plate-result-card license-plate { z-index: 1; width: min(100%, 420px); min-width: 0; max-width: 100%; height: auto; aspect-ratio: 5.17; flex-shrink: 0; border-width: 2px; border-radius: 8px; box-shadow: 0 3px 0 #181818, 0 14px 22px #0004; transform: perspective(800px) rotateX(7deg) rotateZ(-3deg); transition: transform .35s, opacity .2s; container-type: inline-size; }
.plate-result-card license-plate .plate { border-radius: 0 5px 5px 0; }
.plate-result-card license-plate .band { border-radius: 5px 0 0 5px; padding: 5px; font-size: clamp(9px, 4.5cqi, 19px); }
.plate-result-card license-plate .mirror { padding-left: .1em; font-size: clamp(23px, 14.5cqi, 62px); letter-spacing: .1em; text-shadow: 0 1px 0 #ffffff45, 0 2px 1px #0003; -webkit-text-stroke: .5px #0005; }
.plate-result-pattern { position: relative; margin: 28px 0 0; color: var(--showroom-muted); font-size: 11px; line-height: 1.5; letter-spacing: .04em; }
.plate-result-bottom { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 18px; margin-top: auto; padding-top: 20px; border-top: 1px solid var(--showroom-line); }
.plate-result-card .price-tag { display: flex; flex-direction: column; gap: 8px; min-width: 0; background: none; color: var(--showroom-ink); -webkit-text-fill-color: currentColor; text-align: left; line-height: 1.15; }
.plate-result-price-label { color: var(--showroom-muted); font-size: 11px; font-weight: 450; letter-spacing: .025em; }
.plate-result-card .price-amount { color: var(--showroom-ink); font-size: clamp(24px, 2.7vw, 31px); font-weight: 550; line-height: 1.2; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.plate-result-card .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; margin: 0; padding: 0 21px; float: none; border: 1px solid var(--showroom-border); border-radius: 999px; background: var(--showroom-button); color: var(--showroom-button-ink); font-size: 12px; font-weight: 550; line-height: 1.5; text-decoration: none; white-space: nowrap; box-shadow: none; transition: background .2s, border-color .2s; }
.plate-result-card .btn:hover { background: var(--showroom-button-hover); border-color: var(--showroom-border-hover); transform: none; box-shadow: none; }
.plate-result-card .btn:disabled { cursor: wait; }
.plate-result-card.is-loading license-plate { opacity: .42; }
.plate-result-card.is-loading .price-amount { min-width: 132px; min-height: 32px; border-radius: 8px; color: transparent; background: linear-gradient(110deg, #ffffff06 8%, #ffffff16 18%, #ffffff06 33%), #ffffff05; background-size: 220% 100%; animation: suggestedShimmer 1.15s linear infinite; }
.plate-result-card.is-loading .btn { opacity: .48; pointer-events: none; }
.plate-share { position: relative; display: inline-flex; margin-left: auto; }
.plate-share-button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 38px; padding: 0 12px; border: 1px solid var(--showroom-line); border-radius: 999px; background: #ffffff04; color: var(--showroom-ink); font: inherit; font-size: 10px; font-weight: 500; cursor: pointer; transition: background .2s, border-color .2s; }
.plate-share-button svg { width: 14px; height: 14px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.plate-share-button:hover { border-color: var(--showroom-border-hover); background: #ffffff0a; }
.plate-share-menu { position: absolute; top: calc(100% + 8px); right: 0; z-index: 60; display: grid; gap: 4px; width: 230px; max-width: calc(100vw - 60px); padding: 8px; border: 1px solid #53595e; border-radius: 15px; background: #1b1e21; color: #e8ebee; box-shadow: 0 18px 40px #0006; }
.plate-share-option { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px; padding: 10px 12px; border: 0; border-radius: 8px; background: transparent; color: #d0d8dd; font: inherit; font-size: 12px; font-weight: 500; line-height: 1.5; text-align: left; text-decoration: none; cursor: pointer; }
.plate-share-option svg { flex-shrink: 0; width: 17px; height: 17px; }
.plate-share-option:hover { background: #ffffff09; color: #eed79c; }
#plate-suggestions-separator, #suggestions { display: none !important; }
#recent-searches[hidden], #recent-searches-separator[hidden] { display: none !important; }
.plate-info-page #recent-searches-separator { margin: 40px 0 20px; color: #acb4ba; font-size: 11px; font-weight: 500; letter-spacing: .1em; }
.plate-info-page #recent-searches { border: 1px solid #343b40; border-radius: 20px; background: #1b1e20; box-shadow: none; backdrop-filter: none; }
.recent-search-time { min-height: 18px; color: #aab3b9; font-size: 11px; font-weight: 450; }
.plate-info-page :is(a, button):focus-visible { outline: 2px solid #cfbb7c; outline-offset: 4px; }
@media (hover: hover) {
    .plate-info-page .plate-result-card:hover { border-color: var(--showroom-border-hover); box-shadow: inset 0 0 0 1px var(--showroom-line); }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .plate-result-card:hover license-plate { transform: perspective(800px) rotateX(0) rotateZ(0) translateY(-4px); }
}
@media (max-width: 1000px) {
    .plate-info-page .plate-result-card { padding: 25px; }
}
@media (max-width: 834px) {
    .plate-info-page .page-main { width: calc(100% - 40px); padding-top: 36px; }
    .plate-results { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .plate-result-stage { min-height: 230px; }
    .plate-share-button { min-height: 44px; }
}
@media (max-width: 540px) {
    .plate-info-page .page-main { width: calc(100% - 36px); padding-top: 28px; padding-bottom: 56px; }
    .plate-details-heading { align-items: flex-start; flex-direction: column; gap: 12px; margin-bottom: 22px; }
    .plate-details-heading h1 { font-size: 32px; }
    .plate-info-page .plate-result-card { min-height: 360px; padding: 22px; border-radius: 21px; }
    .plate-result-context { margin-bottom: 12px; }
    .plate-result-card .card-header { gap: 8px 10px; }
    .plate-collection-label { font-size: 10px; letter-spacing: .07em; }
    .plate-result-card .card-header > .badge { font-size: 9px; }
    .plate-result-stage { min-height: 205px; padding: 28px 2px; }
    .plate-result-pattern { margin-top: 25px; font-size: 10px; }
    .plate-result-bottom { gap: 14px; padding-top: 18px; }
    .plate-result-card .btn { padding: 0 17px; font-size: 11px; }
    .plate-result-card .price-amount { font-size: 26px; }
}
@media (max-width: 360px) {
    .plate-info-page .plate-result-card { padding: 19px; }
    .plate-result-card .plate-share { width: 100%; margin-left: 0; }
    .plate-share-menu { right: auto; left: 0; }
    .plate-result-bottom { align-items: stretch; flex-direction: column; }
    .plate-result-bottom > a, .plate-result-card .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .plate-result-card *, .plate-result-card, .plate-result-card *::before { animation: none !important; transition: none !important; }
    .plate-result-card license-plate { transform: none; }
}
