/* Interior pages share the cover's charcoal panel, peach highlights and serif labels. */
.lightbox .library[data-shelf="prices"],
.lightbox .library[data-shelf="garage"] {padding-top:7px}
.lightbox .library[data-shelf="prices"] .section-head,
.lightbox .library[data-shelf="garage"] .section-head {margin:5px 0 16px}
.lightbox .library[data-shelf="prices"] h1,
.lightbox .library[data-shelf="garage"] h1 {font-size:29px;letter-spacing:-1.1px}
.lightbox .page-showcase {margin:0 0 15px}
#rankGroups {display:flex;align-items:center;margin-top:6px;border-bottom:1px solid var(--line)}
#rankGroups button {position:relative;min-width:60px;min-height:44px;padding:0 10px;color:var(--muted);font-size:15px}
#rankGroups button[aria-pressed="true"] {color:#fce0df;font-weight:650}
#rankGroups button[aria-pressed="true"]::after {position:absolute;bottom:-1px;left:14px;right:14px;height:2px;background:#f1bcc9;content:""}
.lightbox .library[data-shelf="prices"] .filters {display:flex;flex-wrap:wrap;margin:2px 0;padding:0}
.lightbox .library[data-shelf="prices"] .filters button {min-width:44px;min-height:44px;margin:0 3px 0 0;padding:3px 0}
.lightbox .library[data-shelf="prices"] .filters button span {padding:0 10px}
.lightbox .library[data-shelf="prices"] .rank-toolbar {display:flex;align-items:center;justify-content:space-between}
.lightbox .library[data-shelf="prices"] .subnote {margin:0;font-size:11px;color:#bbaab8}
#rankDirection {flex:none;min-width:54px;min-height:44px;margin-left:8px;padding:0;color:#f2cbd4;font-size:12px}
#rankDirection span {display:inline-block;padding:3px 9px;border:1px solid #664b5b;border-radius:14px;background:#2d222c;line-height:1.4}
.rank-feed .list-row {min-height:85px;padding:9px 0;border-bottom:1px solid #38313e}
.rank-photo {position:relative;display:flex;align-items:center;justify-content:center;flex:none;width:96px;height:64px;margin-right:11px;overflow:hidden;border-radius:7px;background:#302733}
.rank-photo img {display:block;width:100%;height:100%;object-fit:cover}
.rank-photo>.icon {width:55%;height:55%;color:#e5b9c8;stroke-width:1.5}
.rank-photo .rankno {position:absolute;bottom:0;left:0;width:auto;min-width:23px;padding:2px 5px;border-radius:0 5px 0 0;background:#2a202cea;color:#f4e9ef;font:600 10px/1.2 Arial,sans-serif;font-variant-numeric:tabular-nums}
.rank-feed .list-row:first-child .rankno {background:#eac1c9;color:#31212d}
.rank-feed .info b {color:#f6f2f5;font-size:14px;overflow-wrap:break-word}
.rank-feed .latin,.rank-reference,.rank-feed .row-end small {display:block;margin-top:3px;color:#b9a9b8;font-size:11px;line-height:1.35}
.rank-reference {font-size:10px}
.rank-feed .row-end {max-width:40%;text-align:right;color:#fbd3d4}
.rank-feed .row-end b {font:650 16px/1.25 "Helvetica Neue",Arial,sans-serif;letter-spacing:-.3px;font-variant-numeric:tabular-nums;overflow-wrap:break-word}
.rank-feed .row-end small {overflow-wrap:anywhere}
.rank-photo .image-unavailable {padding:0;color:#d9cad5;background:transparent;font-size:10px}
.lightbox .garage-ledger {position:relative;overflow:hidden;text-align:left;color:#fff7f6;border:1px solid #665064;border-radius:9px;background:#251c2d}
.lightbox .garage-ledger {display:grid;grid-template-columns:1fr 1fr;background:linear-gradient(122deg,#251d2b 22%,#362a3a)}
.lightbox .garage-counter {position:relative;min-height:90px;text-align:left;padding:13px 18px 16px;color:#afa1b2}
.lightbox .garage-counter+.garage-counter {border-left:1px solid #584657}
.lightbox .garage-counter[aria-pressed="true"] {background:linear-gradient(130deg,#503247,#342435);color:#ffdad4}
.lightbox .garage-counter[aria-pressed="true"]::after {content:"";height:3px;position:absolute;bottom:0;left:17px;right:17px;background:#edb9c5;border-radius:1px}
.lightbox .garage-counter>span {display:block;font:600 12px/1.4 -apple-system,BlinkMacSystemFont,"PingFang SC",sans-serif}
.lightbox .garage-counter strong {display:block;font:italic 38px/1.03 Georgia,serif;margin-top:4px}
.lightbox .garage-counter small {font:400 10px/1.2 -apple-system,sans-serif;margin-left:5px}
.lightbox .library[data-shelf="garage"] .filters {display:none}
.lightbox .library[data-shelf="garage"] .searchbox {margin-bottom:14px}
.lightbox .library[data-shelf="garage"] .subnote {font-size:11px;margin-bottom:12px}
.lightbox .library[data-shelf="garage"] .empty {margin:26px auto 10px;max-width:360px;border:1px dashed #514254;border-radius:9px;padding:29px 14px 24px;background:linear-gradient(160deg,#1d1721,#17141b)}
.lightbox .library[data-shelf="garage"] .empty>.icon {width:31px;height:31px;color:#e3b2c5}
.lightbox .library[data-shelf="garage"] .empty>b {font-size:17px;margin:10px 0 5px}
.lightbox .library[data-shelf="garage"] .empty p {font-size:12px;color:#b2a4b5}
.lightbox .library[data-shelf="garage"] .empty button {min-height:42px;border-radius:22px;background:#f1c5c9;color:#331e2e}
.lightbox .library[data-shelf="garage"] .tile-status {color:#efc0cf}
.lightbox .detail-top {padding:9px 17px;border-bottom:1px solid #352d37}
.lightbox .detail-top .identity b {color:#ecd2dc}
.lightbox .detail-content {padding:20px 18px}
.lightbox .detail-title {padding:0 0 17px;border-bottom:1px solid #514251}
.lightbox .detail-title h1 {margin:6px 0 2px;font-size:29px;letter-spacing:-.8px}
.lightbox .detail-title strong {font:italic 21px/1.18 Georgia,serif;color:#efcad6;overflow-wrap:break-word}
.lightbox .detail-title .micro {color:#af9eb0}
.lightbox .detail-content .block {padding:17px 0 15px;border-bottom-color:#403441}
.lightbox .detail-content .block h2 {font-size:16px;line-height:1.35;letter-spacing:.2px;color:#f3e3eb;margin:0 0 9px}
.lightbox .detail-content .block p {font-size:14px;color:#eae2eb}
.lightbox .detail-content .numbers {padding:12px 9px 13px;background:#231d28;border:1px solid #453749;border-radius:7px}
.lightbox .detail-content .numbers>div {padding:0 6px}
.lightbox .detail-content .numbers>div+div {border-color:#4b3c50;padding-left:11px}
.lightbox .detail-content .numbers .micro {color:#baadbf}
.lightbox .detail-content .numbers .num {color:#f6cdda;font:600 18px/1.2 "Helvetica Neue",Arial,sans-serif;letter-spacing:-.4px}
.lightbox .detail-content .numbers .unknown-value {color:#a79ba9;font:400 13px/1.6 -apple-system,BlinkMacSystemFont,"PingFang SC",sans-serif}
.lightbox .detail-content>.small-note {font-size:10px;color:#a79aaa;line-height:1.6}
.lightbox .dock-inner {padding:10px 16px}
.lightbox .dock button.selected {border-color:#f6dae8;color:#271c27}
.lightbox .dock button[aria-pressed="false"]:first-child {color:#ebd5e3}
@media(max-width:350px) {
  .rank-photo {width:73px;height:55px;margin-right:8px}
  .rank-feed .row-end b {font-size:14px}
}

.lightbox .detail-content .guide-place{display:flex;align-items:center;color:#f2c7d6;font-weight:600}
.guide-place .icon{width:16px;height:16px;margin-right:7px}
.location-preview{display:block;width:100%;margin-top:13px;border:1px solid #614954;border-radius:9px;overflow:hidden;background:#2a202b;text-align:left}
.location-window{display:block;position:relative;width:100%;max-height:160px;overflow:hidden;background:#1c2931}
.location-window::before{content:"";display:block;padding-top:44.444444%}
.location-tile{position:absolute;left:50%;top:50%;overflow:hidden}
.location-tile::before{content:"";display:block;padding-top:146.428571%}
.location-window i{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:block;width:15px;height:15px;border:3px solid #ffedf3;border-radius:50%;background:#a53971;box-shadow:0 0 0 6px #79244f78,0 1px 8px #302031aa}
.location-caption{display:flex;align-items:center;color:#ffdae6;padding:10px 13px;font-size:14px;min-height:43px}
.location-caption .icon{width:18px;height:18px;margin-right:8px}.location-caption .icon:last-child{margin:0 0 0 auto}
.lightbox .detail-content>.detail-photo{margin-top:13px;border-radius:7px;max-height:210px;object-fit:contain}
.player-notes {
  margin:14px 0 0;
  padding:13px 15px;
  border:1px solid #5c4359;
  border-radius:9px;
  background:#29202b;
}
.player-notes h2 {display:flex;align-items:center;margin:0 0 9px;color:#f5ccd8;font-size:16px}
.player-notes h2 .icon {width:17px;height:17px;margin-right:7px}
.player-notes figure {margin:0}
.player-notes figure+figure {margin-top:10px;padding-top:10px;border-top:1px solid #493745}
.player-notes blockquote {margin:0;color:#f3edf2;font-size:14px;line-height:1.55;overflow-wrap:anywhere}
.player-notes figcaption {margin-top:4px;color:#ccb5c5;font-size:12px;line-height:1.4}
.car-records{margin:12px 0;color:var(--muted);border-bottom:1px solid var(--line);padding:0 0 8px}
.car-records h2{font-size:16px;font-weight:650;color:#f3e3eb;margin:0;padding:11px 0}
.garage-actions{display:flex}.garage-actions button{flex:1;min-height:44px;border:1px solid #685564;border-radius:8px;color:#e8dce4}
.garage-actions button+button{margin-left:8px}.garage-actions .icon{width:16px;height:16px;margin-right:5px}
.garage-actions .selected{background:#f0cbd4;color:#2d202a}
.lightbox .vehicle-stats .numbers {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:14px 0}
.vehicle-stats h3 {margin:12px 0 6px;color:#cebaca;font-size:12px;font-weight:600}
.lightbox .detail-content .vehicle-stats p.small-note {margin:8px 0 0;color:var(--muted);font-size:12px}
.lightbox .vehicle-stats .numbers>div {padding:0 8px;border:0}
.lightbox .vehicle-stats .numbers>div:nth-child(even) {border-left:1px solid #4b3c50}

#detail h1:focus {outline:0}
#pageReturn {
  position:sticky;top:calc(var(--top,0px) + var(--return-guard,0px) + 16px);z-index:3;
  display:flex;align-items:center;gap:6px;width:max-content;height:44px;padding:0 14px;
  margin:calc(16px + var(--return-guard,0px)) 0 0 24px;
  margin-left:max(24px,env(safe-area-inset-left,0px));
  border-radius:22px;background:#ff96b8;color:#351322;font-size:14px;font-weight:700;
  box-shadow:0 2px 8px rgba(20,8,16,.32);touch-action:manipulation;
}
#pageReturn:active {background:#f580a6}
#pageReturn .icon {width:17px;height:17px;transform:rotate(180deg)}
#pageReturn:not([hidden]) ~ #mapView .vm-mast {display:none}
