/* Shared V54 controls. Component layout differs deliberately between desktop and phone. */
:is(#siteRoot,.auto48-dialog) details:not(.jbin-panel-v52)>summary{display:flex;align-items:center;gap:12px;list-style:none;cursor:pointer}
:is(#siteRoot,.auto48-dialog) details:not(.jbin-panel-v52)>summary::-webkit-details-marker{display:none}
:is(#siteRoot,.auto48-dialog) details:not(.jbin-panel-v52)>summary::marker{content:''}
:is(#siteRoot,.auto48-dialog) details:not(.jbin-panel-v52)>summary::after{content:'';display:block;position:static;flex:0 0 8px;width:8px;height:8px;box-sizing:border-box;border:0;border-right:1.7px solid currentColor;border-bottom:1.7px solid currentColor;margin:0 5px 4px auto;color:#5d6d79;transform:rotate(45deg);transition:transform .16s}
:is(#siteRoot,.auto48-dialog) details:not(.jbin-panel-v52)[open]>summary::after{content:'';transform:rotate(225deg);margin-bottom:-3px}
:is(#siteRoot,.auto48-dialog) details>summary:focus-visible{outline:3px solid #9aaff5;outline-offset:3px}
#guide-import .vg-import-platform-tabs>button[aria-selected="true"],#guide-import .vg-import-connection-tabs>button[aria-selected="true"]{background:#384f8f;border-color:#384f8f;color:#fff;box-shadow:0 3px 9px #26395a18;font-weight:650}
#guide-import .vg-import-platform-tabs>button[aria-selected="false"]:hover,#guide-import .vg-import-connection-tabs>button[aria-selected="false"]:hover{background:#e8edf7}
#guide-import .vg-transfer-behavior{align-items:center;gap:24px;max-width:860px;box-sizing:border-box}
#guide-import .vg-transfer-manual-visible>h4{font-size:15px}
#guide-import .vg-transfer-manual-visible>div{flex-direction:row;justify-content:flex-start}
#guide-import .vg-transfer-manual-visible .vg-phone-transfer-art{width:112px;flex:none}
#guide-import .vg-transfer-manual-visible p{font-size:15px;text-align:left}
.resource-game-download-meta-v52{justify-content:flex-start;align-items:center;gap:14px;flex-wrap:wrap}
.resource-game-download-meta-v52 .resource-folder{flex:0 1 auto;display:grid;grid-template-columns:auto minmax(0,auto) auto;grid-template-rows:auto;gap:8px 14px;width:fit-content;max-width:100%;padding:11px 14px}
.resource-game-download-meta-v52 .resource-folder-heading{grid-column:1;grid-row:1}
.resource-game-download-meta-v52 .resource-folder code{grid-column:2;grid-row:1;font-size:15px}
.resource-game-download-meta-v52 .resource-folder button{grid-column:3;grid-row:1;min-height:36px;padding:6px 10px;background:#fff;border:1px solid #d4deec;border-radius:7px}
.resource-game-download-meta-v52>.inline-link{padding:9px 0}
.game-auto-hint p{flex:0 1 auto;min-width:0}
.game-auto-hint .auto48-trigger{margin-left:0;background:#fff;border:1px solid #dce6df;padding:6px 10px}
.auto48-panel .faq44-auto{max-width:880px}
.jbin-panel-v52.jbin-direct-v54{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:14px 18px;width:fit-content;max-width:100%;min-width:min(100%,560px);padding:16px 18px;background:#f8faff}
.jbin-direct-copy-v54{display:flex;flex-direction:column;gap:4px;min-width:0}
.jbin-direct-copy-v54>strong{font-size:16px;line-height:1.5;color:#23344d}
.jbin-direct-copy-v54>span{font-size:13px;color:#65718a;line-height:1.5}
.jbin-direct-copy-v54>p{font-size:12px;color:#65718a;line-height:1.5;margin:0}
.jbin-direct-v54 .jbin-submit-v52{min-width:136px}
.game-overview-heading-v54{display:flex;align-items:center;flex-wrap:wrap;gap:10px 16px}
.game-overview-heading-v54 h2{margin:0;font-size:18px;line-height:1.5}
.game-shared-features-v54{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 24px;margin-top:16px;padding-top:16px;border-top:1px solid #e4eae5}
.game-shared-features-v54>section:only-child{grid-column:1/-1}
.game-shared-features-v54 h3{font-size:15px;line-height:1.5;margin:0 0 6px}
.game-shared-features-v54 p{font-size:14px;line-height:1.7;margin:6px 0 0;white-space:pre-line}
.game-character-hint-v54{margin:14px 0 0;font-size:14px;color:#617066;line-height:1.6}
.game-amiibo-scope-v54{padding:12px 14px;margin-top:14px;background:#f2f6fa;border-radius:9px}
.game-amiibo-scope-v54 strong{font-size:14px;color:#355779}
.game-amiibo-scope-v54 p{margin:4px 0 0;font-size:14px;line-height:1.6;color:#536572}
.theme-entry-grid-v54{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:28px 0 36px}
.theme-entry-v54{display:grid;grid-template-columns:44px minmax(0,1fr) 18px;align-items:center;gap:14px;padding:22px;border:1px solid #dce3e9;border-radius:14px;background:#fff;color:inherit;text-decoration:none}
.theme-entry-v54:hover{border-color:#8b9cc2;background:#f8faff}
.theme-entry-symbol-v54{display:grid;place-items:center;width:44px;height:44px;background:#edf1fc;color:#41598d;border-radius:12px;font-size:28px}
.theme-entry-v54 h2{font-size:19px;line-height:1.4;margin:0 0 6px}
.theme-entry-v54 p{font-size:14px;line-height:1.6;color:#617083;margin:0}
.theme-entry-v54>span:last-child{font-size:28px;color:#708095}
.theme-download-section-v54,.theme-customize-section-v54{scroll-margin-top:110px;margin:0 0 32px}
.theme-download-section-v54>h2,.theme-customize-section-v54 h2{font-size:23px;line-height:1.4;margin:0 0 16px}
.theme-empty-v54{border:1px dashed #cbd6e1;border-radius:14px;padding:28px;background:#f8fafc;text-align:center}
.theme-empty-v54>span{font-size:30px;color:#607795}
.theme-empty-v54 h3{font-size:17px;margin:8px 0;line-height:1.5}
.theme-empty-v54 p{font-size:14px;color:#647383;line-height:1.6;margin:0}
.theme-directory-v54{padding:12px 15px;background:#f1f5f0;border-radius:9px;font-size:14px;color:#42614a;line-height:1.7}
.theme-directory-v54 code{font:inherit;font-weight:650}
.theme-customize-section-v54{display:flex;align-items:center;justify-content:space-between;gap:24px;border:1px solid #e0e4e7;border-radius:14px;padding:24px;background:#fff}
.theme-customize-section-v54>.btn{flex:none}.theme-customize-section-v54 p{font-size:15px;line-height:1.8;color:#617083;margin:0;max-width:700px}
.theme-soon-v54{display:inline-block;font-size:12px;color:#7a6742;background:#f5efdf;border-radius:5px;padding:4px 8px;margin-bottom:10px}
.theme-library-grid-v54{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.theme-library-card-v54{border:1px solid #dce3e9;border-radius:12px;overflow:hidden;background:#fff}
.theme-library-preview-v54{height:240px;display:flex;align-items:center;justify-content:center;padding:16px;background:#f4f6f5}
.theme-library-preview-v54 img{width:100%;height:100%;object-fit:contain}
.theme-library-card-v54>div:last-child{padding:16px}
.theme-library-card-v54 h3{font-size:18px;margin:0 0 10px}
.theme-library-card-v54 p{font-size:13px;line-height:1.5;color:#617083}
.resource-amiibo-v28 .breadcrumb>a.resource-source-return::before{content:none}
@container site (min-width:761px){
 .resource-game-hero{grid-template-columns:minmax(240px,340px) minmax(0,1fr);gap:32px;align-items:center}
 .resource-game-hero h1{font-size:clamp(28px,3vw,40px);line-height:1.25}
 .resource-game-download-v52{display:flex;align-items:center;gap:24px;flex-wrap:wrap}
 .resource-game-download-meta-v52{flex:0 1 auto;max-width:100%;margin:0}
 .resource-game-download-v52>.jbin-direct-v54{flex:0 1 auto;min-width:0;margin:0}
}
@container site (max-width:760px){
 #guide-import .vg-transfer-behavior{display:block;padding:16px}
 #guide-import .vg-transfer-manual-visible{margin-top:15px;padding-top:13px;border-top:1px solid #dce4e7}
 #guide-import .vg-transfer-manual-visible .vg-phone-transfer-art{width:100px}
 .resource-game-download-meta-v52{display:flex;align-items:flex-start;gap:4px 14px}
 .resource-game-download-meta-v52 .resource-folder{width:100%;grid-template-columns:minmax(0,1fr) auto;gap:5px 10px;padding:10px 12px}
 .resource-game-download-meta-v52 .resource-folder-heading{grid-column:1;grid-row:1}
 .resource-game-download-meta-v52 .resource-folder button{grid-column:2;grid-row:1}
 .resource-game-download-meta-v52 .resource-folder code{grid-column:1/-1;grid-row:2;font-size:14px;line-height:1.7}
 .resource-game-download-meta-v52>.inline-link{margin-left:0;padding:8px 0}
 .game-auto-hint p{flex:1 1 calc(100% - 135px)}
 .game-auto-hint .auto48-trigger{margin-left:0}
 .jbin-panel-v52.jbin-direct-v54{width:100%;grid-template-columns:36px minmax(0,1fr);gap:12px;padding:15px}
 .jbin-direct-v54 .jbin-panel-icon-v52{width:36px;height:36px}
 .jbin-direct-v54 .jbin-submit-v52{grid-column:1/-1;width:100%;min-height:46px}
 .game-shared-features-v54{grid-template-columns:1fr;gap:17px}
 .game-overview-heading-v54{gap:9px}
 .theme-entry-grid-v54{grid-template-columns:1fr;gap:12px;margin:22px 0 28px}
 .theme-entry-v54{padding:18px;gap:12px}
 .theme-entry-v54 h2{font-size:18px}
 .theme-customize-section-v54{padding:20px;align-items:flex-start;flex-direction:column;gap:16px}
 .theme-library-grid-v54{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .theme-library-preview-v54{height:190px;padding:12px}
 .theme-library-card-v54>div:last-child{padding:12px}
 .theme-library-card-v54 h3{font-size:16px}
}
@container site (max-width:420px){.theme-library-grid-v54{grid-template-columns:1fr}.theme-library-preview-v54{height:240px}}
@media(prefers-reduced-motion:reduce){:is(#siteRoot,.auto48-dialog) details:not(.jbin-panel-v52)>summary::after{transition:none}}
