/* V2Y Resources Pro v3.4: mobile-first surfaces, respects existing theme variables. */
.v34-filters{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,185px),1fr));gap:12px;align-items:end}
.v34-filters>div,.v34-filters>button,.v34-stack>*{min-width:0}
.v34-filters label,.v34-stack label{display:flex;flex-direction:column;gap:7px;font-size:.88rem;font-weight:600}
.v34-filters input,.v34-filters select,.v34-stack input,.v34-stack select,.v34-stack textarea{width:100%;max-width:100%;min-width:0;box-sizing:border-box}
.v34-pro-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:16px}
.v34-pro-grid>.panel{min-width:0;overflow-wrap:anywhere;margin:0}
.v34-pro-grid h2{font-size:1.05rem;margin:0 0 12px}
.v34-title{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between}
.v34-version,.v34-review{padding:13px 0;border-top:1px solid var(--line,rgba(128,128,128,.22));overflow-wrap:anywhere}
.v34-version:first-of-type,.v34-review:first-of-type{border-top:0}
.v34-version>div{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.v34-version p,.v34-review p{font-size:.91rem;line-height:1.5;white-space:normal}
.v34-version small,.v34-review small{color:var(--muted,#9aa6ad);font-size:.78rem;display:inline-block}
.v34-stack{display:grid;gap:12px;margin-top:14px}
.v34-stack textarea{min-height:100px;resize:vertical}
.v34-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,170px),1fr));gap:10px}
.v34-gallery figure{margin:0;min-width:0}
.v34-gallery img{width:100%;max-width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:10px;border:1px solid var(--line,rgba(128,128,128,.2));display:block}
.v34-gallery figcaption{font-size:.75rem;color:var(--muted,#9aa6ad)}
.v34-rating{font-size:1.2rem;font-weight:700}
.v34-details{display:grid;grid-template-columns:minmax(85px,1fr) minmax(0,2fr);gap:10px 12px;overflow-wrap:anywhere}
.v34-details dt{color:var(--muted,#9aa6ad)}
.v34-details dd{margin:0}
.v34-moderation{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:14px;margin:12px 0;overflow-wrap:anywhere}
.v34-moderation>div{flex:1 1 230px;min-width:0}
.v34-moderation form{display:flex;gap:8px;flex-wrap:wrap}
.v34-review-image{max-width:min(100%,260px);height:auto;max-height:180px;object-fit:contain;border-radius:8px}
@media(max-width:850px){.v34-pro-grid{grid-template-columns:minmax(0,1fr)}.v34-moderation form{width:100%}}
@media(max-width:430px){.v34-filters{grid-template-columns:minmax(0,1fr)}.v34-title a{width:100%;text-align:center}.v34-pro-grid{gap:10px}.v34-details{grid-template-columns:1fr}.v34-moderation button{flex:1}}

.v39-resource-actions {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:6px 14px;
  margin-block:0 16px;
}
.v39-resource-actions .v33-head-actions {width:auto;}
.v39-resource-actions .v33-head-actions form {margin:0;}
.v39-resource-actions details[open] {flex-basis:100%;}
.v39-resource-actions details[open] summary {margin-block-end:8px;}
.v38-one-ui :is(.v34-moderation,.v39-resource-actions) button {min-height:44px;}
.v38-one-ui .v352-advanced-filters > .v34-stack {margin-block:4px 14px;}
.v38-one-ui :is(#versions,#reviews,#details,#gallery,#resource-collection) {scroll-margin-top:82px;}
@media(max-width:620px){
  .v39-resource-actions .v33-head-actions {width:100%;flex-direction:row;align-items:stretch;}
  .v39-resource-actions .v33-head-actions :is(form, a) {width:auto;flex:1 1 auto;}
  .v39-resource-actions .v33-head-actions button {width:100%;}
}
