/* Stage 7R30: consolidated mobile, cards, and photo framing */
@media(max-width:720px){
 html.asm-menu-ready body .topbar .toprow,html.asm-menu-ready body .link-head{display:flex!important;flex-wrap:wrap!important;align-items:flex-start!important;position:relative!important}
 html.asm-menu-ready body .asm-primary-nav.asm-menu-expanded{position:static!important;inset:auto!important;order:10!important;flex:0 0 100%!important;float:none!important;transform:none!important;max-height:none!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important;margin:15px 0 0!important}
 html.asm-menu-ready body .asm-primary-nav.asm-menu-expanded a{min-height:36px!important;padding:9px 7px!important}
 html.asm-menu-ready body .asm-menu-toggle{right:14px!important;min-height:39px!important;padding:8px 11px!important}
}
.asm-collection-tools[hidden]{display:none!important}
.r30-profile-card{width:min(100%,430px);margin:0 auto 28px}.r30-profile-card .asm-card{width:100%;margin:0 auto}
.r30-photo-guidance{padding:14px 16px;border:1px solid #477e70;border-radius:12px;background:#102520;color:#d9f5e9;line-height:1.5}.r30-photo-guidance strong{display:block;color:#aaffd7;margin-bottom:6px}
.category-name[readonly]{opacity:.85;cursor:default;background:#172322!important}
#crop-zoom{min-height:34px;touch-action:pan-x}

/* Candidate refinement: compact empty crop editor, real card frame and thumb-friendly zoom */
.card-crop-editor:not(.has-photo) .crop-viewport{height:96px!important;min-height:96px!important;max-height:96px!important;background:#0d1918!important;border:1px dashed #426b5f!important}
.card-crop-editor:not(.has-photo) .crop-viewport .crop-hint{display:block!important;opacity:.8}
.card-crop-editor.has-photo .crop-viewport{border:7px solid #82cdb7!important;box-shadow:0 0 0 2px #ae95d6,0 12px 28px #0008!important;border-radius:13px!important}
.card-crop-editor #crop-zoom{width:100%;min-height:46px;accent-color:#a9f5d5}
.card-crop-editor #crop-zoom-value{display:inline-block;min-width:50px;text-align:right;font-weight:800;color:#adffde}
@media(max-width:600px){.vehicle-card .card-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.vehicle-card .card-actions>*{min-width:0;white-space:normal}.garage-stage .tabs{gap:8px}.garage-stage .tabs .tab{min-width:0}}

/* R30 live collectible cover preview */
.r30-live-card{max-width:340px;margin:14px auto;padding:12px;border:2px solid #c7a5ef;border-radius:19px;background:linear-gradient(120deg,#9be9e7,#ac8fea 26%,#27243e 47%,#e8b5ed 75%,#89e7dc);box-shadow:0 8px 28px #0005;color:white}.r30-card-top,.r30-card-bottom{display:flex;justify-content:space-between;gap:8px;align-items:center;font-size:10px;font-weight:800;letter-spacing:.09em;padding:6px 3px;text-shadow:0 1px 3px #000}.r30-card-photo{height:230px;overflow:hidden;border-radius:9px;background:#15131e;display:flex;align-items:center;justify-content:center}.r30-card-photo img{width:100%;height:100%;object-fit:cover}.r30-card-bottom strong{font-size:9px}.gallery-actions{display:flex;flex-wrap:wrap;gap:4px}.gallery-actions button{font-size:10px;min-height:30px}.gallery-chip{height:auto!important;min-height:100px}.gallery-chip img{max-height:110px;object-fit:cover}
