#shipyard-mobile .sy-token-actions { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:8px; }
#shipyard-mobile #sy-token-btn { grid-area:1/1; }
#shipyard-mobile #sy-universal-token-btn { grid-area:2/1; }
#shipyard-mobile #sy-batch-tier { grid-area:1/2; }
#shipyard-mobile #sy-batch-universal { grid-area:2/2; }
#shipyard-mobile :is(#sy-batch-tier,#sy-batch-universal) {
    color:#fff0c4; border:1px solid #eebe59;
    background:linear-gradient(180deg,#99713a 0%,#604019 48%,#34230f 100%);
    box-shadow:inset 0 1px 0 #ffe3a775,inset 0 0 14px #f5b93816,0 0 10px #eab34328;
    font-weight:700; text-shadow:0 1px 2px #0009;
}
#shipyard-mobile :is(#sy-batch-tier,#sy-batch-universal):hover:not(:disabled) {
    border-color:#ffdf8b; background:linear-gradient(180deg,#b18a48,#735022 48%,#453014);
    box-shadow:inset 0 1px 0 #fff0b99c,0 0 14px #eab34345;
}
#shipyard-mobile :is(#sy-batch-tier,#sy-batch-universal):disabled {
    color:#9b927d; border-color:#62573d; background:linear-gradient(#28251e,#171713);
    box-shadow:none; text-shadow:none;
}
#shipyard-mobile #sy-batch-result { width:min(1100px,96vw); height:min(560px,92vh); height:min(560px,92dvh); }
.sy-batch-layout { height:100%; padding:24px; display:grid; grid-template-rows:auto auto minmax(0,1fr) auto auto; gap:14px; }
.sy-batch-layout header { display:flex; align-items:center; justify-content:space-between; gap:16px; border-bottom:1px solid #36596b; padding-bottom:12px; }
.sy-batch-layout header h2 { margin:6px 0 0; }
.sy-batch-layout header>span { font-size:13px; text-transform:capitalize; }
#shipyard-mobile .sy-batch-status { margin:0; font-size:13px; }
.sy-batch-viewport { min-height:0; overflow:hidden; }
.sy-batch-lineup { height:100%; display:grid; grid-auto-flow:column; grid-auto-columns:var(--sy-batch-card-width,160px); gap:12px; transition:transform .3s ease; }
.sy-batch-card { position:relative; height:100%; min-height:0; overflow:hidden; padding:10px; display:flex; flex-direction:column; align-items:center; background:radial-gradient(ellipse at center,color-mix(in srgb,var(--sy-rarity-color) 22%,transparent),#02090fe8); border:1px solid var(--sy-rarity-color); border-radius:3px; color:#edf6fc; font-family:inherit; cursor:pointer; }
#shipyard-mobile .sy-batch-card:disabled { opacity:1; cursor:default; }
.sy-batch-card img { width:100%; height:0; min-height:0; flex:1 1 0; object-fit:contain; }
.sy-batch-fallback { flex:1; display:grid; place-items:center; min-height:0; font-size:40px; }
.sy-batch-card strong { font-size:13px; margin:8px 0 4px; text-align:center; }
.sy-batch-card small { font-size:11px; text-transform:uppercase; }
.sy-batch-slot { align-self:flex-start; font-size:10px; color:#b1c5d0; }
.sy-batch-stars { color:var(--sy-rarity-color); margin:8px 0; font-size:18px; }
.sy-batch-orb { width:80px; max-width:70%; aspect-ratio:1; border-radius:50%; border:1px solid var(--sy-rarity-color); box-shadow:0 0 35px var(--sy-rarity-color),inset 0 0 25px var(--sy-rarity-color); margin:auto; animation:sy-signal-arrive 1.4s ease-out both; }
.sy-batch-await { margin:auto; font-size:12px; color:#aec4d0; }
.sy-batch-ribbon { position:absolute; left:-25%; width:150%; top:42%; padding:10px 0; transform:rotate(-28deg); color:white; background:#c32335; font-size:20px; font-weight:700; letter-spacing:.15em; text-align:center; box-shadow:0 3px 10px #0008; }
.sy-batch-sold img { opacity:.4; filter:grayscale(.8); }
.sy-batch-selected { box-shadow:inset 0 0 0 2px #ffcf70; }
.sy-batch-nav { display:none; gap:6px; justify-content:center; }
.sy-batch-single { display:none; min-height:0; }
.sy-batch-layout>.sy-result-actions { margin:0; }
@media(max-height:520px),(max-width:700px) {
    #shipyard-mobile #sy-batch-result { width:96vw; height:96vh; height:96dvh; }
    .sy-batch-layout { padding:12px 16px; gap:8px; }
    .sy-batch-layout header { padding-bottom:6px; }
    #shipyard-mobile .sy-batch-layout h2 { font-size:18px; margin:3px 0 0; }
    .sy-batch-layout .sy-result-kicker { font-size:10px; }
    .sy-batch-nav { display:flex; }
    #shipyard-mobile .sy-batch-nav .btn { min-height:32px; padding:4px 7px; font-size:11px; }
    .sy-batch-revealing .sy-batch-viewport,.sy-batch-revealing .sy-batch-nav { display:none; }
    .sy-batch-revealing .sy-batch-single { display:flex; justify-content:center; grid-row:3/5; }
    .sy-batch-single .sy-batch-card { width:200px; }
    .sy-batch-card { padding:6px; }
    .sy-batch-stars { font-size:14px; margin:3px 0; }
    .sy-batch-card strong { margin:3px 0; font-size:12px; }
    .sy-batch-layout .sy-result-actions .btn { font-size:11px; padding:8px; }
}
@media(prefers-reduced-motion:reduce) {
    .sy-batch-lineup { transition:none; }
    .sy-batch-orb { animation:none; }
}
