.home-media-section[data-v114-mounted="1"] .home-media-admin-grid>div>.home-media-active-list,.home-media-section[data-v114-mounted="1"]>.home-media-library-grid{display:none!important}.hm114-block{margin-top:14px;border:1px solid #e2e6e8;border-radius:16px;background:#fff;padding:14px}.hm114-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:12px}.hm114-head h4{margin:0;font-size:14px;color:#20282f}.hm114-head p{margin:4px 0 0;font-size:10px;line-height:1.5;color:#7a858e}.hm114-count{flex:0 0 auto;padding:6px 9px;border-radius:999px;background:#eef3f7;color:#4f6576;font-size:9px;font-weight:800}.hm114-active{display:grid;gap:8px}.hm114-active-card{display:grid;grid-template-columns:28px 78px minmax(0,1fr) auto;gap:10px;align-items:center;padding:9px;border:1px solid #e2e6e8;border-radius:13px;background:#fff;cursor:grab;transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}.hm114-active-card:active{cursor:grabbing}.hm114-active-card.is-dragging{opacity:.45}.hm114-active-card.is-over{border-color:#9c7a43;box-shadow:0 0 0 2px rgba(156,122,67,.12)}.hm114-grip{font-size:16px;color:#8b959d;text-align:center;user-select:none}.hm114-order{position:absolute;left:5px;top:5px;min-width:22px;height:22px;padding:0 5px;border-radius:7px;background:#111b24;color:#fff;display:grid;place-items:center;font-size:9px;font-weight:900;z-index:2}.hm114-thumb{position:relative;width:78px;aspect-ratio:16/9;border-radius:9px;overflow:hidden;background:#101820}.hm114-thumb img,.hm114-thumb video{width:100%;height:100%;object-fit:cover;display:block;background:#0d151b}.hm114-kind{position:absolute;right:5px;bottom:5px;padding:3px 5px;border-radius:999px;background:rgba(12,21,28,.82);color:#fff;font-size:7px;font-weight:800;letter-spacing:.04em}.hm114-copy{min-width:0}.hm114-copy b{display:block;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#20282f}.hm114-copy small{display:block;margin-top:3px;font-size:8px;color:#88929a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hm114-meta{display:flex;gap:6px;flex-wrap:wrap;margin-top:6px}.hm114-meta span{padding:4px 6px;border-radius:999px;background:#f5f7f8;color:#66727a;font-size:7.5px}.hm114-actions{display:flex;gap:5px;justify-content:flex-end;flex-wrap:wrap}.hm114-actions button{min-height:30px}.hm114-save-state{min-height:18px;margin-top:8px;font-size:9px;color:#6f7b83}.hm114-upload-guide{margin-top:10px;padding:10px 11px;border-radius:11px;background:#f7f5f0;border:1px solid #ece5d9;font-size:9px;line-height:1.6;color:#766c5d}.hm114-upload-queue{display:grid;gap:6px;margin-top:10px}.hm114-upload-row{display:grid;grid-template-columns:minmax(0,1fr) 90px;gap:8px;align-items:center;padding:8px 9px;border:1px solid #e3e7e9;border-radius:10px;background:#fff}.hm114-upload-file{min-width:0}.hm114-upload-file b{display:block;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hm114-upload-file small{display:block;margin-top:2px;font-size:7.5px;color:#8a949b}.hm114-upload-status{text-align:right;font-size:8px;font-weight:800;color:#60717d}.hm114-upload-row.is-ok .hm114-upload-status{color:#23734c}.hm114-upload-row.is-error .hm114-upload-status{color:#a1483e}.hm114-tools{display:grid;grid-template-columns:minmax(180px,1fr) 150px 150px;gap:8px;margin-bottom:12px}.hm114-tools input,.hm114-tools select{width:100%;box-sizing:border-box;border:1px solid #dce2e5;border-radius:10px;background:#fff;padding:10px 11px;font:inherit;font-size:10px;color:#303941}.hm114-library{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.hm114-library-card{display:grid;grid-template-rows:auto 1fr auto;border:1px solid #e2e6e8;border-radius:13px;background:#fff;overflow:hidden}.hm114-library-card.is-archived{background:#f7f7f6;opacity:.78}.hm114-library-thumb{position:relative;aspect-ratio:16/9;background:#101820}.hm114-library-thumb img,.hm114-library-thumb video{width:100%;height:100%;object-fit:cover;display:block}.hm114-library-body{padding:9px}.hm114-library-body input{width:100%;box-sizing:border-box;border:1px solid #dfe4e6;border-radius:8px;padding:8px 9px;font-size:10px}.hm114-library-body small{display:block;margin-top:5px;color:#8a939a;font-size:7.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hm114-library-actions{display:flex;gap:5px;flex-wrap:wrap;padding:0 9px 9px}.hm114-library-actions .btn{flex:1 1 auto}.hm114-empty{padding:24px;border:1px dashed #d7dde0;border-radius:12px;text-align:center;color:#879199;font-size:11px;grid-column:1/-1}@media(max-width:1200px){.hm114-library{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:900px){.hm114-tools{grid-template-columns:1fr 1fr}.hm114-tools input{grid-column:1/-1}.hm114-active-card{grid-template-columns:28px 72px minmax(0,1fr)}.hm114-actions{grid-column:2/-1;justify-content:flex-start}.hm114-thumb{width:72px}}@media(max-width:620px){.hm114-library{grid-template-columns:1fr}.hm114-tools{grid-template-columns:1fr}.hm114-tools input{grid-column:auto}.hm114-active-card{grid-template-columns:24px 62px minmax(0,1fr);gap:8px}.hm114-thumb{width:62px}.hm114-actions{grid-column:1/-1}.hm114-upload-row{grid-template-columns:1fr}.hm114-upload-status{text-align:left}}

/* v160 - keep four per-item media actions visible without changing action behavior */
.home-detail-standalone-v135 .hm114-library-card .hm114-library-actions{display:grid!important;grid-template-columns:repeat(2,112px)!important;gap:5px!important;min-width:229px!important}
.home-detail-standalone-v135 .hm114-library-card .hm114-library-actions .btn{width:112px!important;min-height:28px!important;flex:none!important}
@media(max-width:900px){.home-detail-standalone-v135 .hm114-library-card .hm114-library-actions{display:flex!important;grid-template-columns:none!important;min-width:0!important;flex-direction:row!important;flex-wrap:wrap!important}.home-detail-standalone-v135 .hm114-library-card .hm114-library-actions .btn{width:auto!important;min-width:88px!important}}
@media(max-width:620px){.home-detail-standalone-v135 .hm114-library-card .hm114-library-actions .btn{flex:1!important;min-width:80px!important}}
