/* Web anasayfası (/) ve işletme sayfası (/isletme/{slug}). Ortak tema (yazı tipleri, renkler, düğmeler) site.css'te; burada yalnız sayfaya özgü düzen.
   Satır içi stil yok (CSP style-src 'self'). */
body { background: var(--paper); }

/* Üst şerit */
.promo { background: var(--green); text-align: center; }
.promo-link { display: inline-flex; align-items: center; min-height: 38px; color: var(--lime); font-weight: 600; font-size: 0.875rem; text-decoration: none; }
.promo-link:hover { text-decoration: underline; }

/* Başlık */
.top { background: #fff; border-bottom: 1px solid var(--line); }
.top-row { display: flex; align-items: center; gap: 1rem; min-height: 64px; }
.top-address { display: none; align-items: center; gap: 0.4rem; margin: 0 auto; color: var(--ink); font-weight: 600; font-size: 0.95rem; text-decoration: none; min-height: 44px; }
.top-address:hover { text-decoration: underline; }
.top-actions { display: flex; gap: 0.5rem; margin-left: auto; }
.top-signup { display: none; }

.tabs-row { display: flex; flex-direction: column; gap: 0.5rem; padding-bottom: 0.75rem; }
.tabs { display: flex; gap: 0.25rem; overflow-x: auto; scrollbar-width: none; }
.tab { display: inline-flex; align-items: center; gap: 0.45rem; min-height: 48px; padding: 0 0.85rem; border-bottom: 2px solid transparent; color: var(--ink-2); font-weight: 600; font-size: 0.95rem; text-decoration: none; white-space: nowrap; }
.tab img { width: 18px; height: 18px; opacity: 0.6; }
.tab:hover { color: var(--green); }
.tab.is-active { color: var(--green); border-bottom-color: var(--green); }
.tab.is-active img { opacity: 1; }
.search input { width: 100%; min-height: 42px; padding: 0 1rem 0 2.5rem; border: 1px solid var(--line); border-radius: 999px; background: var(--soft) url("../img/search.svg") no-repeat 0.95rem center / 17px; font: inherit; font-size: 0.95rem; color: var(--ink); }
.search input:focus { background-color: #fff; border-color: var(--green); }

/* Düzen */
.layout { display: grid; gap: 1.5rem; padding-top: 1.25rem; padding-bottom: 3rem; }
.side { display: flex; flex-direction: column; gap: 1rem; }
.app-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.1rem 1.2rem; }
.app-title { font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; }
.app-sub { color: var(--ink-3); font-size: 0.9rem; margin: 0.2rem 0 0.9rem; }
.stores { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.store { display: inline-flex; align-items: center; min-height: 40px; padding: 0 0.85rem; border-radius: 0.5rem; background: var(--green); color: #fff; font-weight: 600; font-size: 0.875rem; text-decoration: none; }

.filters { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 1.1rem; }
.filters-desktop { display: none; }
.filters summary, .filters-title { font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; min-height: 54px; display: flex; align-items: center; justify-content: space-between; }
.filters summary { list-style: none; cursor: pointer; }
.filters summary::-webkit-details-marker { display: none; }
.filters summary::after { content: "+"; font-size: 1.3rem; font-weight: 400; }
.filters[open] summary::after { content: "–"; }
.filters form { padding-bottom: 1.1rem; }
.filters fieldset { border: 0; margin: 0 0 0.9rem; padding: 0; }
.filters legend { font-weight: 700; font-size: 0.85rem; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 0.25rem; padding: 0; }
.opt { display: flex; align-items: center; gap: 0.6rem; min-height: 38px; font-size: 0.95rem; cursor: pointer; }
.opt input { width: 17px; height: 17px; accent-color: var(--green); margin: 0; }
.opt-count { margin-left: auto; color: var(--ink-3); font-size: 0.85rem; }
.filter-actions { display: flex; align-items: center; gap: 1rem; }
.clear { font-weight: 600; }

/* Ana alan */
.main { min-width: 0; }
.hero { display: block; margin-bottom: 1.75rem; border-radius: var(--radius); overflow: hidden; background: var(--green); }
.hero img { width: 100%; height: auto; aspect-ratio: 3 / 1; }

.row-section { margin-bottom: 2rem; }
.row-section h2 { font-size: 1.35rem; margin-bottom: 0.9rem; display: flex; align-items: baseline; gap: 0.5rem; }
.count { font-family: var(--font); font-size: 0.9rem; font-weight: 600; color: var(--ink-3); }
.rail { list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(14rem, 17rem); gap: 1rem; margin: 0; padding: 0 0 0.5rem; overflow-x: auto; scroll-snap-type: x mandatory; }
.rail li { scroll-snap-align: start; }
.grid { list-style: none; display: grid; gap: 1.25rem 1rem; margin: 0; padding: 0; }
.empty { background: #fff; border: 1px dashed var(--line); border-radius: var(--radius); padding: 1.75rem 1.5rem; display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; color: var(--ink-2); }
.pager { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 2rem; }
.pager-info { color: var(--ink-3); font-weight: 600; }

/* Kart */
.card { display: block; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--ink); text-decoration: none; transition: box-shadow 0.2s; }
.card:hover { box-shadow: 0 6px 18px rgba(19, 67, 60, 0.1); }
.cover { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 9; overflow: hidden; }
.cover img { width: 100%; height: 100%; object-fit: cover; }
.cover-initial { display: grid; place-items: center; width: 3.5rem; height: 3.5rem; border-radius: 50%; background: #fff; color: var(--green); font-family: var(--font-head); font-size: 1.4rem; font-weight: 600; }
.cover-closed { position: absolute; left: 0.6rem; top: 0.6rem; background: rgba(29, 36, 34, 0.85); color: #fff; font-size: 0.75rem; font-weight: 700; padding: 0.2rem 0.55rem; border-radius: 0.35rem; }
.is-closed .cover img, .is-closed .cover-initial { filter: grayscale(1); opacity: 0.6; }
.card-line { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 0.7rem 0.85rem 0; }
.card-title { font-weight: 700; font-size: 1rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card-sub { display: block; padding: 0.15rem 0.85rem 0.8rem; color: var(--ink-3); font-size: 0.85rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.score { flex: none; font-size: 0.85rem; font-weight: 700; }
.score-star { color: #e0a100; }
.score-count { color: var(--ink-3); font-weight: 400; }
.score-new { font-size: 0.75rem; padding: 0.1rem 0.45rem; border-radius: 0.35rem; background: var(--lime-mid); color: var(--green); }

.tone-0 { background: #efe6d8; }
.tone-1 { background: #e6ece4; }
.tone-2 { background: #f1e7e1; }
.tone-3 { background: #e9ecef; }
.tone-4 { background: #eee9dc; }
.tone-5 { background: #e3ebe8; }

/* Alt bilgi */
.foot { background: var(--green); color: #cfe0db; padding: 2.5rem 0 1.5rem; font-size: 0.95rem; }
.foot-grid { display: grid; gap: 1.75rem; }
.foot nav { display: flex; flex-direction: column; }
.foot nav a { display: inline-flex; align-items: center; min-height: 38px; color: #cfe0db; text-decoration: none; }
.foot nav a:hover { color: #fff; }
.foot-tag { margin-top: 0.5rem; }
.foot-title { color: #fff; font-weight: 700; margin-bottom: 0.25rem; }
.foot-bottom { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid #2c6157; font-size: 0.85rem; color: #a9c2bc; }

/* İşletme sayfası (/isletme/{slug}) */
.biz { padding-top: 1rem; padding-bottom: 3rem; }
.biz-back { display: inline-flex; align-items: center; gap: 0.35rem; min-height: 44px; font-weight: 700; text-decoration: none; }
.biz-back:hover { text-decoration: underline; }
.biz-head { display: grid; gap: 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 1.5rem; }
.biz-cover { aspect-ratio: 16 / 9; }
.biz-info { padding: 0 1.1rem 1.2rem; display: flex; flex-direction: column; gap: 0.45rem; }
.biz-name { font-size: 1.6rem; }
.biz-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; color: var(--ink-2); font-size: 0.95rem; }
.biz-state { font-weight: 700; color: var(--ink-3); }
.biz-state.is-open { color: var(--green); }
.vitrin-note { margin-top: 0.35rem; padding: 0.6rem 0.8rem; border-radius: 0.5rem; background: var(--lime-mid); color: var(--green); font-size: 0.9rem; font-weight: 600; }
.biz-layout { display: grid; gap: 1.5rem; }
.biz-side { display: flex; flex-direction: column; gap: 1rem; min-width: 0; }
.menu-nav { display: flex; gap: 0.5rem; overflow-x: auto; scrollbar-width: none; padding-bottom: 0.25rem; }
.menu-nav a { flex: none; display: inline-flex; align-items: center; min-height: 40px; padding: 0 0.9rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink-2); font-weight: 600; font-size: 0.9rem; text-decoration: none; white-space: nowrap; }
.menu-nav a:hover { border-color: var(--green); color: var(--green); }
.menu { min-width: 0; }
.menu-section { margin-bottom: 1.75rem; scroll-margin-top: 1rem; }
.menu-title { font-size: 1.3rem; margin-bottom: 0.75rem; }
.items { list-style: none; display: grid; gap: 0.75rem; margin: 0; padding: 0; }
.item { display: flex; gap: 0.9rem; justify-content: space-between; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0.9rem; }
.item-text { min-width: 0; display: flex; flex-direction: column; gap: 0.25rem; }
.item-name { font-family: var(--font); font-size: 1rem; font-weight: 700; }
.item-desc { color: var(--ink-3); font-size: 0.9rem; overflow-wrap: anywhere; }
.item-price { margin-top: auto; padding-top: 0.25rem; font-weight: 700; color: var(--green); }
.item-img { flex: none; width: 6rem; height: 6rem; border-radius: 0.6rem; object-fit: cover; background: var(--soft); }
.is-soldout .item-name, .is-soldout .item-price { color: var(--ink-3); }
.is-soldout .item-img { filter: grayscale(1); opacity: 0.6; }
.badge-soldout { display: inline-block; margin-left: 0.4rem; padding: 0.1rem 0.45rem; border-radius: 0.35rem; background: var(--danger-soft); color: var(--danger); font-size: 0.75rem; font-weight: 700; vertical-align: middle; }
.menu-more { color: var(--ink-2); font-weight: 600; }

/* Ürün kartı → ürün penceresi (public/js/isletme.js). Betiksiz: ürün adı uygulama menüsüne bağlantı. Betik pencereyi kurunca
   (.has-product-dialog) adı düğmeye çevirir ve düğmenin ::after'ı kartın tamamını kaplar. */
.item { position: relative; }
a.item-open { color: inherit; text-decoration: none; overflow-wrap: anywhere; }
a.item-open:hover { text-decoration: underline; }
button.item-open { margin: 0; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; overflow-wrap: anywhere; cursor: pointer; }
.has-product-dialog .item-open::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.has-product-dialog .item:hover { border-color: var(--green); box-shadow: 0 6px 18px rgba(19, 67, 60, 0.1); }
.has-product-dialog .item-open:hover { text-decoration: underline; }
.has-product-dialog .item-open:focus-visible { outline: none; }
.has-product-dialog .item-open:focus-visible::after { outline: 3px solid var(--lime); outline-offset: 2px; }
html:has(.pd[open]) { overflow: hidden; }

.pd { width: 100%; max-width: 100%; max-height: 92vh; margin: auto auto 0; padding: 0; border: 0; border-radius: 1.1rem 1.1rem 0 0; background: #fff; color: var(--ink); box-shadow: 0 -8px 32px rgba(19, 67, 60, 0.18); overflow: auto; overscroll-behavior: contain; }
.pd::backdrop { background: rgba(14, 23, 21, 0.55); }
.pd-frame { position: relative; }
/* Kapat düğmesi yapışkan şeritte: uzun içerik kaydırılınca da görünür. */
.pd-bar { position: sticky; top: 0; z-index: 3; height: 0; display: flex; justify-content: flex-end; }
.pd-close { margin: 0.75rem 0.75rem 0 0; display: grid; place-items: center; flex: none; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(19, 67, 60, 0.18); cursor: pointer; }
.pd-close:hover { background: var(--soft); }
.pd-img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; background: var(--soft); }
.pd-content { display: flex; flex-direction: column; gap: 0.5rem; padding: 1.25rem 1.25rem 0; }
.pd-name { font-size: 1.4rem; padding-right: 3rem; }
.pd-img + .pd-content .pd-name { padding-right: 0; }
.pd-desc { color: var(--ink-2); overflow-wrap: anywhere; }
.pd-price { font-size: 1.15rem; font-weight: 700; color: var(--green); }
.pd-form { display: flex; flex-direction: column; }
.pd-group { margin: 0.75rem 0 0; padding: 0.9rem 0 0; border: 0; border-top: 1px solid var(--line); min-width: 0; }
.pd-group-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.35rem 0.75rem; width: 100%; margin-bottom: 0.35rem; padding: 0; }
.pd-group-name { font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; }
.pd-rule { padding: 0.15rem 0.55rem; border-radius: 999px; background: var(--soft); color: var(--ink-2); font-size: 0.8rem; font-weight: 700; }
.pd-rule.is-required { background: var(--lime-mid); color: var(--green); }
.pd-group.has-error .pd-rule { background: var(--danger-soft); color: var(--danger); }
.pd-opts { list-style: none; margin: 0; padding: 0; }
.pd-opt { border-bottom: 1px dashed var(--line); }
.pd-opt:last-child { border-bottom: 0; }
.pd-opt label { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 0.75rem; min-height: 48px; padding: 0.4rem 0; cursor: pointer; }
.pd-opt input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--green); cursor: pointer; }
.pd-opt input:disabled { cursor: not-allowed; }
.pd-opt input:disabled ~ .pd-opt-name, .pd-opt input:disabled ~ .pd-opt-price { color: var(--ink-3); }
.pd-opt-name { flex: 1 1 8rem; min-width: 0; overflow-wrap: anywhere; }
.pd-opt-price { color: var(--ink-2); font-weight: 700; white-space: nowrap; }
.pd-opt.is-soldout label { cursor: not-allowed; }
.pd-opt.is-soldout .pd-opt-name, .pd-opt.is-soldout .pd-opt-price { text-decoration: line-through; }
.pd-opt .badge-soldout { margin-left: 0; }
.pd-error { margin: 0.25rem 0 0; color: var(--danger); font-size: 0.9rem; font-weight: 700; }
/* Adet + "Sepete ekle" yapışkan altlık: uzun seçenek listesinde de görünür. */
.pd-foot { position: sticky; bottom: 0; z-index: 2; margin: 1rem -1.25rem 0; padding: 0.85rem 1.25rem calc(0.85rem + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 16px rgba(19, 67, 60, 0.06); }
.pd-actions { display: flex; align-items: center; gap: 0.75rem; }
.pd-qty { display: inline-flex; align-items: center; gap: 0.25rem; flex: none; border: 1px solid var(--line); border-radius: 999px; padding: 0.15rem; }
.pd-qty-btn { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: var(--soft); color: var(--green); font: inherit; font-size: 1.3rem; font-weight: 700; line-height: 1; cursor: pointer; }
.pd-qty-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.pd-qty-value { min-width: 1.75rem; text-align: center; font-weight: 700; }
.pd-add { flex: 1 1 auto; min-width: 0; white-space: normal; text-align: center; }
.pd-add:disabled { opacity: 0.5; cursor: not-allowed; }
.pd-blocked { margin-bottom: 0.6rem; padding: 0.5rem 0.75rem; border-radius: 0.5rem; background: var(--soft); color: var(--ink-2); font-size: 0.9rem; font-weight: 700; }
.pd-form-error { margin-top: 0.5rem; color: var(--danger); font-size: 0.9rem; font-weight: 700; }
.pd-confirm { margin-top: 0.75rem; padding: 0.75rem; border-radius: 0.6rem; background: var(--lime-soft); border: 1px solid var(--lime-mid); }
.pd-confirm-text { font-weight: 600; }
.pd-confirm-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.6rem; }
.pd-confirm-actions .btn { flex: 1 1 8rem; }
.pd-app-link { align-self: center; display: inline-flex; align-items: center; min-height: 44px; margin: 0.25rem 0 0.75rem; font-weight: 700; font-size: 0.9rem; }
.pd-note { margin-top: 0.75rem; color: var(--ink-3); font-size: 0.9rem; }
.pd-cta { margin: 0.25rem 0 1.5rem; }

/* Web sepeti (isletme.js; boşken gizli). Geniş ekranda yan sütunun başında kart; telefonda alt gezinme çubuğunun üstünde sabit şerit
   (satırlar uygulamanın sepetinde düzenlenir). */
.web-cart { display: flex; flex-direction: column; gap: 0.6rem; background: #fff; border: 1.5px solid var(--green); border-radius: var(--radius); padding: 1rem 1.1rem 1.1rem; }
.web-cart[hidden] { display: none; }
.web-cart-head { display: flex; align-items: baseline; justify-content: space-between; gap: 0.5rem; }
.web-cart-title { font-size: 1.1rem; }
.web-cart-count { color: var(--ink-3); font-weight: 700; font-size: 0.9rem; }
.web-cart-from { padding: 0.4rem 0.6rem; border-radius: 0.5rem; background: var(--lime-soft); color: var(--green); font-size: 0.85rem; font-weight: 700; }
.web-cart-lines { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; max-height: 16rem; overflow: auto; }
.web-cart-line { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.1rem 0.75rem; padding-bottom: 0.5rem; border-bottom: 1px dashed var(--line); font-size: 0.9rem; }
.web-cart-line-info { display: flex; flex-direction: column; min-width: 0; }
.web-cart-line-name { font-weight: 700; overflow-wrap: anywhere; }
.web-cart-line-opts { color: var(--ink-3); overflow-wrap: anywhere; }
.web-cart-line-price { font-weight: 700; white-space: nowrap; }
.web-cart-remove, .web-cart-clear { justify-self: start; min-height: 32px; padding: 0; border: 0; background: none; color: var(--danger); font: inherit; font-size: 0.85rem; font-weight: 700; cursor: pointer; }
.web-cart-remove:hover, .web-cart-clear:hover { text-decoration: underline; }
.web-cart-clear { align-self: center; min-height: 40px; }
.web-cart-sum { display: flex; justify-content: space-between; align-items: baseline; gap: 0.5rem; font-weight: 600; }
.web-cart-sum strong { white-space: nowrap; }
.web-cart-note { color: var(--ink-3); font-size: 0.8rem; }
@media (max-width: 767.98px) {
    :root { --web-cart-h: 72px; }
    .web-cart {
        position: fixed; left: 0; right: 0; z-index: 45; bottom: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom));
        display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 0 0.75rem; min-height: var(--web-cart-h);
        padding: 0.6rem max(1rem, env(safe-area-inset-right)) 0.6rem max(1rem, env(safe-area-inset-left));
        border: 0; border-top: 1px solid var(--line); border-radius: 0; box-shadow: 0 -4px 16px rgba(19, 67, 60, 0.1);
    }
    .web-cart-head { grid-column: 1; gap: 0.4rem; justify-content: flex-start; }
    .web-cart-title { font-size: 1rem; }
    .web-cart-sum { grid-column: 1; grid-row: 2; justify-content: flex-start; font-size: 0.9rem; }
    .web-cart-sum span { display: none; }
    .web-cart-go { grid-column: 2; grid-row: 1 / span 2; width: auto; }
    .web-cart-from { grid-column: 1 / -1; grid-row: 3; margin-top: 0.4rem; }
    .web-cart-lines, .web-cart-note, .web-cart-clear { display: none; }
    .has-web-cart .bottom-nav-spacer { height: calc(var(--bottom-nav-h) + var(--web-cart-h) + env(safe-area-inset-bottom)); }
}
.site-foot-links { display: inline-flex; flex-wrap: wrap; gap: 1.25rem; }
.biz-missing { max-width: 34rem; margin: 2rem auto; }
.biz-missing h1 { font-size: 1.5rem; }

@media (min-width: 600px) {
    .grid { grid-template-columns: repeat(2, 1fr); }
    /* Kapak sütunu doldurur; 16:9 oranı yükseklikten genişlik türetip metnin üstüne taşmasın diye burada kapalı. */
    .biz-head { grid-template-columns: minmax(0, 18rem) minmax(0, 1fr); }
    .biz-cover { aspect-ratio: auto; min-height: 10rem; }
    .biz-cover img { position: absolute; inset: 0; }
    .biz-info { align-self: center; padding: 1.1rem 1.1rem 1.2rem 0; }
    .top-signup { display: inline-flex; }
}
@media (min-width: 900px) {
    .top-address { display: inline-flex; }
    .tabs-row { flex-direction: row; align-items: center; justify-content: space-between; padding-bottom: 0; }
    .search { width: 22rem; padding: 0.4rem 0; }
    .layout { grid-template-columns: 15.5rem minmax(0, 1fr); gap: 2rem; padding-top: 1.75rem; }
    .side { position: sticky; top: 1rem; align-self: start; }
    .filters-mobile { display: none; }
    .filters-desktop { display: block; }
    .foot-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
    .biz-layout { grid-template-columns: 15.5rem minmax(0, 1fr); gap: 2rem; }
    .biz-side { position: sticky; top: 1rem; align-self: start; }
    .menu-nav { flex-direction: column; overflow: auto; max-height: calc(100vh - 17rem); }
    .menu-nav a { white-space: normal; border-radius: 0.6rem; }
    .items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 600px) {
    .pd { width: min(34rem, calc(100% - 2rem)); max-height: min(88vh, 52rem); margin: auto; border-radius: 1.1rem; box-shadow: 0 16px 48px rgba(19, 67, 60, 0.25); }
    .pd-foot { padding-bottom: 0.85rem; }
}
@media (min-width: 1200px) {
    .grid { grid-template-columns: repeat(3, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
    .card { transition: none; }
}
@media (prefers-reduced-motion: no-preference) {
    .pd[open] { animation: pd-in 0.2s ease-out; }
    @keyframes pd-in { from { opacity: 0; transform: translateY(1rem); } }
}
