/* v35: consistent cards and restrained motion, without moving fixed overlays. */
:root{--viewer-accent35:var(--accent,var(--tp-p800))}
.sp33-listing .sp32-card,.pv28-related-grid .sp32-card{border:1px solid var(--viewer-accent35)!important;border-radius:0!important;box-shadow:none!important;display:flex;flex-direction:column;height:100%;margin:0!important}
.sp33-listing .sp32-grid,.pv28-related-grid{grid-auto-rows:1fr;gap:1px!important;align-items:stretch}
.sp33-listing .sp32-body,.pv28-related-grid .sp32-body{display:flex;flex-direction:column;flex:1;min-height:255px}
.sp33-listing .sp32-cover,.pv28-related-grid .sp32-cover{flex:none;aspect-ratio:4/3}
.sp33-listing .sp32-title,.pv28-related-grid .sp32-title{min-height:3.4em;max-height:3.4em}
.sp33-listing .sp32-body>p,.pv28-related-grid .sp32-body>p{min-height:3.7em;max-height:3.7em;margin-bottom:8px}
.sp35-stats{display:flex;flex-wrap:wrap;gap:4px 7px;font-size:11px;line-height:1.9;margin-top:auto;padding-top:9px;color:var(--ink);font-variant-numeric:tabular-nums}
.sp35-stats span{white-space:nowrap}.sp35-stats b{font-weight:600}.sp35-stats span:not(:last-child)::after{content:'،';margin-inline-start:1px}
.sp32-card-actions{flex:none}.sp32-card .sp32-badges{max-height:24px;overflow:hidden}
body.post-detail34 .topbar{position:fixed!important;top:0!important;left:0!important;right:var(--sidebar-width,0px)!important;width:auto!important;transform:none!important;visibility:visible!important;opacity:1!important;z-index:90!important}
body.post-detail34 #main{padding-top:calc(var(--top-height15,var(--header-height,66px)) + 10px)!important;padding-inline:0!important}
body.post-detail34 .pv28{padding-inline:1px!important;max-width:1280px}
.pv28-header-end{flex-direction:row-reverse}
.pv28-related{margin-inline:0!important}.pv28-related>header{padding-inline:12px}
.pv28-related-grid{width:100%;margin:0!important;padding:0!important}
.pv28-related-grid .sp32-cover{height:auto!important}
#exportCard .identity-controls13 :is(button,a),#exportCard .identity-controls13 #identityComments13,#exportCard .identity-open19,#exportCard .identity-feature19,.athar-tile13 [data-card-comments13],#openCardComments11{background:color-mix(in srgb,var(--viewer-accent35) 16%,#fff)!important;color:var(--viewer-accent35)!important;border:1px solid color-mix(in srgb,var(--viewer-accent35) 35%,transparent)!important}
.pv28-fit.pv35-document{--pv28-fit-color:#fff;background:#fff!important}
.pv28-fit.pv35-document .pv28-fit-body,.pv28-fit.pv35-document .pv28-gallery,.pv28-fit.pv35-document .pv28-stage-area{width:100%!important;height:100dvh!important;max-height:none!important;min-height:0!important;padding:0!important;margin:0!important;touch-action:auto;cursor:auto;user-select:auto}
.pv28-fit.pv35-document .pv28-frame{transform:none!important}
.pv28-fit.pv35-document .pv28-base{overflow:auto}
.pv28-fit.pv35-document .pv28-layers{display:none!important}
.pv28-fit.pv35-document>header{pointer-events:none;background:transparent!important;backdrop-filter:none!important;padding:6px!important}
.pv28-fit.pv35-document>header>div{display:none}.pv28-fit.pv35-document>header .pv28-button{pointer-events:auto;margin-inline-start:auto;background:#fff!important;color:var(--accent)!important;box-shadow:0 1px 8px #0002}
button,a,input,select,textarea,.sp32-card,.profile-post9,.notice6{transition:color .18s ease,background-color .18s ease,border-color .18s ease,box-shadow .18s ease,opacity .18s ease}
#modal[open]{animation:arrive35 .18s ease-out}.bubble{animation:arrive35 .15s ease-out}
@keyframes arrive35{from{opacity:.6}to{opacity:1}}
@media(max-width:600px){.sp35-stats{font-size:10px;gap:2px 5px}.sp33-listing .sp32-body,.pv28-related-grid .sp32-body{min-height:250px}.pv28-related-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pv28-related-grid .sp32-body{padding:10px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
