/* v36: gerçek hava (yağmur, kar, fırtına, sis), yeni özel günler, mektup kutusu, satıcı kolisi, son baktığınız kitap */
.hero-scene[data-wx="yagmur"] .hs-sun, .hero-scene[data-wx="firtina"] .hs-sun, .hero-scene[data-wx="sis"] .hs-sun,
.hero-scene[data-wx="yagmur"] .hs-gull, .hero-scene[data-wx="firtina"] .hs-gull { display: none; }
.hs-flash, .hs-bolt { opacity: 0; pointer-events: none; }
.hs-rd, .hs-gd, .hm-rd, .hm-fl, .hs-mst { transform-box: fill-box; }
.hs-mailbox, .hs-sellbox, .hs-last { cursor: pointer; }
.hs-env, .hs-mflag, .hs-stag, .hs-lastag { transform-box: fill-box; }
.hs-mflag { transform-origin: 0 100%; }
.hs-mailbox:hover .hs-env, .hs-mailbox:focus-visible .hs-env { translate: 0 -5px; }
.hs-sellbox:hover .hs-stag, .hs-sellbox:focus-visible .hs-stag, .hs-last:hover .hs-lastag { translate: 0 -2px; }
.hs-last:hover image, .hs-sellbox:hover rect:first-of-type { filter: brightness(1.08); }
@media (prefers-reduced-motion: no-preference) {
  .hs-rd { animation: v85Rain .8s linear infinite; }
  .hs-gd { animation: v85Drip 6s ease-in infinite; }
  .hs-flash { animation: v85Flash 11s linear infinite; }
  .hs-bolt { animation: v85Bolt 11s linear infinite; }
  .hs-mst { animation: v85Mist 9s ease-in-out infinite alternate; } .hs-mst.m2 { animation-duration: 12s; animation-direction: alternate-reverse; }
  .hs-env { animation: v85Env 3.4s ease-in-out infinite alternate; }
  .hs-mflag { animation: v85Flag 4s ease-in-out infinite; }
  .hs-stag { animation: v85Tag 2.8s ease-in-out infinite alternate; }
  .hm-rd { animation: v85Rain .9s linear infinite; }
  .hm-fl { animation: v85Snow 6s linear infinite; }
}
@keyframes v85Rain { 0% { translate: 0 0; opacity: 0; } 12% { opacity: .85; } 100% { translate: -6px 110px; opacity: 0; } }
@keyframes v85Drip { 0% { translate: 0 0; opacity: 0; } 12% { opacity: .8; } 88% { opacity: .6; } 100% { translate: 0 92px; opacity: 0; } }
@keyframes v85Flash { 0%, 91% { opacity: 0; } 92% { opacity: .7; } 93% { opacity: .08; } 94.500% { opacity: .55; } 97%, 100% { opacity: 0; } }
@keyframes v85Bolt { 0%, 91% { opacity: 0; } 92%, 95% { opacity: 1; } 96%, 100% { opacity: 0; } }
@keyframes v85Mist { from { translate: -10px 0; } to { translate: 10px 0; } }
@keyframes v85Env { from { translate: 0 0; } to { translate: 0 -3px; } }
@keyframes v85Flag { 0%, 70%, 100% { rotate: 0deg; } 76% { rotate: -12deg; } 82% { rotate: 6deg; } 88% { rotate: -6deg; } }
@keyframes v85Tag { from { rotate: -2deg; } to { rotate: 2deg; } }
@keyframes v85Snow { 0% { translate: 0 0; opacity: 0; } 10% { opacity: .95; } 100% { translate: 8px 200px; opacity: 0; } }
/* mini sahne kısayolları */
.hm-chip { display: inline-flex; align-items: center; gap: 4px; padding: 5px 11px; border-radius: 999px; background: #fff6df; color: #2b1d16; border: 1.5px solid #c9a24a; font-weight: 700; font-size: .8rem; text-decoration: none; }
.hm-chip.sell { background: #a8241a; color: #fff; border-color: #fff6df; }

/* v37: tezgâhta retro monitör (yeni ilan akışı) ve çevrimiçi sahaf tabelası */
.hs-retro, .hs-onsign { cursor: pointer; }
.hs-retro:hover rect:nth-of-type(3), .hs-retro:focus-visible rect:nth-of-type(3) { filter: brightness(1.12); }
.hs-onsign:hover rect, .hs-onsign:focus-visible rect { filter: brightness(1.15); }
.hs-rtl, .hs-rtcur { transform-box: fill-box; transform-origin: 0 50%; }
@media (prefers-reduced-motion: no-preference) {
  .hs-rtl { animation: v86Type 6s ease-out infinite; }
  .hs-rtcur { animation: v86Cur 1s steps(1) infinite; }
  .hs-rtled { animation: v86Cur 2.4s steps(1) infinite; }
  .hs-lamp { animation: v86Lamp 2.6s ease-in-out infinite; }
  .hs-tx li { animation: v86Row .35s both; animation-delay: calc(var(--i) * .1s); }
}
@keyframes v86Type { 0% { transform: scaleX(0); } 14% { transform: scaleX(1); } 100% { transform: scaleX(1); } }
@keyframes v86Cur { 50% { opacity: 0; } }
@keyframes v86Lamp { 0%, 100% { opacity: .75; } 50% { opacity: 1; } }
@keyframes v86Row { from { opacity: 0; translate: -8px 0; } to { opacity: 1; translate: 0 0; } }
.hs-qcard.hs-tx { display: block; width: 310px; background: #0b1a10; color: #7CFF9E; border-color: #3f9a5a; font-family: "DejaVu Sans Mono", ui-monospace, Menlo, Consolas, monospace; }
.hs-qcard.hs-tx[hidden] { display: none; }
.hs-txh { display: flex; justify-content: space-between; gap: 8px; font: 700 12px/1.3 inherit; color: #ffd98a; margin-bottom: 6px; }
.hs-txh span { color: #7CFF9E; font-weight: 400; }
.hs-tx ul { list-style: none; margin: 0; padding: 0; }
.hs-tx li a { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px; padding: 4px 2px; border-top: 1px dashed #1f5a33; color: #bfffd0; text-decoration: none; font-size: 12px; }
.hs-tx li a:hover, .hs-tx li a:focus-visible { background: #12301c; color: #fff; outline: none; }
.hs-tx time { color: #6fbf88; font-size: 11px; white-space: nowrap; }
.hs-tx b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hs-tx li span { color: #ffd98a; white-space: nowrap; }
.hs-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #ffd98a; box-shadow: 0 0 6px #ffd98a; }

/* v38: canlı telefon (satıcıda mesaj/iade bekleyince çalar) + kurye saati koli yığını */
.hs-phlive, .hs-shipstack { cursor: pointer; outline: none; }
.hs-phlive:focus-visible circle, .hs-shipstack:focus-visible rect:last-child { stroke: #ffd98a; stroke-width: 2; }
.hs-phone.hs-live .hs-phring { opacity: 1; }
.hs-phone.hs-live .hs-handset { transform-box: fill-box; transform-origin: 50% 100%; }
.hs-shipstack > g { transform-box: fill-box; }
@media (prefers-reduced-motion: no-preference) {
  .hs-phone.hs-live .hs-handset { animation: v88Shake 3.4s ease-in-out infinite; }
  .hs-phone.hs-live .hs-phring { animation: v88Ring 3.4s ease-in-out infinite; }
  .hs-phlive circle { transform-box: fill-box; transform-origin: 50% 50%; animation: v88Pulse 1.7s ease-in-out infinite; }
  .hs-shipstack > g { animation: v88Drop .5s cubic-bezier(.3,1.5,.5,1) both; animation-delay: calc(var(--i) * .12s); }
}
@keyframes v88Shake { 0%, 40%, 100% { rotate: 0deg; } 4% { rotate: 6deg; } 8% { rotate: -6deg; } 12% { rotate: 6deg; } 16% { rotate: -6deg; } 20% { rotate: 6deg; } 24% { rotate: -6deg; } 28% { rotate: 5deg; } 32% { rotate: -4deg; } 36% { rotate: 0deg; } }
@keyframes v88Ring { 0%, 40%, 100% { opacity: 0; } 2%, 10%, 18%, 26% { opacity: 1; } 6%, 14%, 22%, 30% { opacity: .2; } 34% { opacity: 0; } }
@keyframes v88Pulse { 0%, 100% { scale: 1; } 50% { scale: 1.18; } }
@keyframes v88Drop { from { translate: 0 -30px; opacity: 0; } to { translate: 0 0; opacity: 1; } }
/* v38: terminal başlığı kartın içinde kalır; uzunsa not alt satıra iner */
.hs-qcard.hs-tx { box-sizing: border-box; max-width: calc(100% - 16px); overflow: hidden; }
.hs-txh { flex-wrap: wrap; align-items: baseline; row-gap: 2px; overflow-wrap: anywhere; }
.hs-txh span { font-size: .85em; }
.hs-tx li a { grid-template-columns: auto minmax(0, 1fr) auto; }

/* v40: raf plaketi, rekor fanusu, eski radyo, kargo haritası, okur rozeti, kurye mopedi */
.hs-plaque, .hs-radio, .hs-map, .hs-badge, .hs-record { cursor: pointer; outline: none; }
.hs-plaque:focus-visible rect, .hs-map:focus-visible > rect:first-child, .hs-badge:focus-visible circle, .hs-radio:focus-visible rect:first-of-type { stroke: #fff1bd; stroke-width: 2; }
.hs-record:hover path, .hs-record:focus-visible path { stroke: #fff1bd; }
.hs-tx li:not(:has(> a)) { display: flex; justify-content: space-between; gap: 8px; padding: 4px 2px; border-top: 1px dashed #1f5a33; color: #bfffd0; font-size: 12px; }
.hs-tx li:not(:has(> a)) b { min-width: 0; }
.hs-wave, .hs-rspark { opacity: 0; }
.hs-wk.w8 { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .hs-wave { animation: v90Wave 2.4s ease-in-out infinite; }
  .hs-rspark { transform-box: fill-box; transform-origin: 50% 50%; animation: v90Spark 3.2s ease-in-out infinite; }
  .hs-rdtxt { animation: v90Scroll 12s linear infinite; }
  .hs-mdot { transform-box: fill-box; transform-origin: 50% 50%; animation: v90Dot 2s ease-in-out infinite; }
  .hs-wk.w8 { display: inline; animation: v90Moped 52s linear 14s infinite; }
}
@media (prefers-reduced-motion: reduce) { .hs-wave { opacity: .8; } .hs-rspark { opacity: 1; } .hs-mdot { opacity: .6; } }
@keyframes v90Wave { 0%, 100% { opacity: 0; } 50% { opacity: 1; } }
@keyframes v90Spark { 0%, 70%, 100% { opacity: 0; scale: .4; } 80% { opacity: 1; scale: 1.1; } 90% { opacity: .6; scale: .8; } }
@keyframes v90Scroll { from { translate: 0 0; } to { translate: -150px 0; } }
@keyframes v90Dot { 0%, 100% { opacity: .35; scale: .7; } 50% { opacity: 1; scale: 1.15; } }
@keyframes v90Moped { 0%, .100% { translate: -30px 0; opacity: 0; } .200% { translate: -30px 0; opacity: 1; } 22% { translate: 130px 0; opacity: 1; } 22.100%, 100% { translate: 130px 0; opacity: 0; } }

/* v40: sahne masaüstünde sayfa açılır açılmaz TAMAMEN görünür (üstteki menü + boşluklar düşülerek ekran yüksekliğine sığar), en çok 640 px.
   Ekran alçaksa sahne küçülür; kullanıcı sahneyi görmek için aşağı kaydırmak zorunda kalmaz. 520/440 = sahnenin en/boy oranı. */
@media (min-width: 1100px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 28px; padding-top: 22px; padding-bottom: 22px; }
  .hero-scene { align-self: start; width: min(100%, 640px, max(380px, calc((100vh - 240px) * 1.1818))); }
  @supports (height: 100svh) { .hero-scene { width: min(100%, 640px, max(380px, calc((100svh - 240px) * 1.1818))); } }
}

/* v43: koleksiyoncu nitelikleri, durum çubuğu, rozetler */
.badge.seal { background: #7a1f3d; color: #fff; }
.badge.ownphoto { background: #2f8f83; color: #fff; }
.cond-parts-view { margin: 18px 0; padding: 16px 18px; border: 1px solid var(--line, #e6dccb); border-radius: 14px; background: var(--card, #fffaf0); }
.cond-parts-view h3 { margin: 0 0 10px; font-size: 1.05rem; }
.cp-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.cp-bars li { display: grid; grid-template-columns: 110px 1fr 90px; align-items: center; gap: 10px; font-size: .95rem; }
.cp-b { display: flex; gap: 4px; }
.cp-b i { flex: 1; height: 10px; border-radius: 5px; background: rgba(120, 100, 140, .2); }
.cp-b i.on { background: #2f8f83; } .cp-b i.on.g4 { background: #6fae4b; } .cp-b i.on.g3 { background: #e0a82e; } .cp-b i.on.g2 { background: #e07a2e; } .cp-b i.on.g1 { background: #c0392b; }
.cp-g { font-size: .85rem; color: var(--muted, #6b5b7a); }
.cp-note { margin: 10px 0 0; }
.cp-feat { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; padding: 0; }
.cp-feat li { padding: 5px 12px; border-radius: 999px; background: rgba(107, 63, 160, .12); font-size: .85rem; }
@media (max-width: 480px) { .cp-bars li { grid-template-columns: 84px 1fr 70px; } }

/* v43: sahaf koleksiyonları (mağaza sayfası kayan kapak sıraları) */
.shop-collections { margin: 22px 0; }
.sc-row { margin-bottom: 22px; }
.sc-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.sc-head h2 { margin: 0 0 4px; font-size: 1.25rem; }
.sc-head a { font-size: .9rem; }
.sc-scroll { display: flex; gap: 14px; overflow-x: auto; padding: 8px 2px 14px; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
.sc-book { flex: 0 0 110px; scroll-snap-align: start; text-decoration: none; color: inherit; }
.sc-book img { width: 110px; height: 154px; object-fit: cover; border-radius: 4px 6px 6px 4px; box-shadow: 3px 5px 12px rgba(0, 0, 0, .28); display: block; }
.sc-book span { display: block; margin-top: 6px; font-size: .8rem; line-height: 1.25; max-height: 2.5em; overflow: hidden; }
.sc-book:hover img, .sc-book:focus-visible img { transform: translateY(-3px); transition: transform .15s; }

/* v45b: ücretsiz kargo rozeti olmayan mağazalarda da aynı yükseklik ayrılır; fiyat satırı kartlar arasında hizalı kalır */
.card-ship-slot { min-height: 20px; }
.card-ship-slot .fs-chip.short { margin-top: 4px; }
