/* Footballer Wedding-equivalent layout — override only, keep native charatore assets/parts. */
:root{--ac-w-pink:#e84d87;--ac-w-rose:#f3b2cb;--ac-w-dark:#111216;--ac-w-stage:#17181d;--ac-w-panel:#25262c;--ac-w-button:#33343c;--ac-w-line:#464850;}
.ac-visually-hidden{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important}
@media(min-width:781px){
 html,body{margin:0!important;width:100%!important;height:100%!important;overflow:hidden!important;background:var(--ac-w-dark)!important;color:#f3f4f6!important}
 body.ac-wedding-layout #container{width:100%!important;max-width:none!important;height:100vh!important;min-height:0!important;margin:0!important;padding:0!important;background:var(--ac-w-dark)!important}
 body.ac-wedding-layout #contents,body.ac-wedding-layout #contents>#leftArea,body.ac-wedding-layout #contents>#leftArea2{display:block!important;width:100%!important;max-width:none!important;min-height:0!important;height:auto!important;padding:0!important;margin:0!important;float:none!important;border:0!important;background:transparent!important}
 body.ac-wedding-layout .ac-editor-topbar{display:grid!important;position:fixed!important;top:0!important;left:0!important;right:0!important;width:100%!important;height:64px!important;min-height:64px!important;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)!important;align-items:center!important;padding:8px 28px!important;gap:12px!important;margin:0!important;border:0!important;border-bottom:1px solid #e56a98!important;border-radius:0!important;z-index:3000!important;background:var(--ac-w-pink)!important}
 body.ac-wedding-layout .ac-editor-topbar .ac-brand{grid-column:2!important;justify-self:center!important;color:#fff!important;font-size:23px!important;font-weight:800!important;letter-spacing:.035em!important}
 body.ac-wedding-layout .ac-editor-topbar .ac-go-home{grid-column:1!important;justify-self:start!important;color:#fff!important;font-size:13px!important}
 body.ac-wedding-layout .ac-editor-topbar .ac-top-save{grid-column:3!important;justify-self:end!important;background:#fff!important;color:#9d2552!important;min-width:118px!important;min-height:40px!important;border-radius:99px!important;padding:10px 22px!important;text-align:center!important;box-sizing:border-box!important;font-weight:700!important}
 body.ac-wedding-layout #mixArea{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;position:fixed!important;inset:64px auto 0 0!important;top:64px!important;left:0!important;bottom:0!important;right:auto!important;width:48%!important;max-width:none!important;height:auto!important;min-height:0!important;overflow:hidden!important;margin:0!important;padding:18px 18px 64px!important;border:0!important;border-right:1px solid #383940!important;border-radius:0!important;background:var(--ac-w-stage)!important;box-shadow:none!important;z-index:30!important}
 body.ac-wedding-layout #mixBlock,body.ac-wedding-layout #mixBlock_zoom{position:relative!important;top:auto!important;left:auto!important;width:240px!important;height:320px!important;min-height:320px!important;max-height:320px!important;flex:0 0 320px!important;padding:0!important;margin:0 auto!important;border-radius:10px!important;background:#f1f2f5!important;transform:scale(var(--ac-w-preview-scale,1.15))!important;transform-origin:center center!important;overflow:hidden!important;box-shadow:0 12px 36px #0004!important}
 body.ac-wedding-layout #footballer-canvas-preview{width:240px!important;height:320px!important;}
 body.ac-wedding-layout .ac-person-tabs{position:relative!important;order:2!important;display:flex!important;justify-content:center!important;gap:12px!important;margin:calc(24px + (var(--ac-w-preview-scale,1.15) - 1)*200px) auto 0!important;padding:0!important;flex:none!important}
 body.ac-wedding-layout .ac-person-tabs button{background:#303139!important;color:#fff!important;border:1px solid #69515e!important;padding:10px 25px!important;border-radius:99px!important;font-size:13px!important;font-weight:700!important}
 body.ac-wedding-layout .ac-person-tabs button[aria-pressed=true]{background:#a63e69!important;border-color:#ef9ebe!important;color:#fff!important}
 body.ac-wedding-layout .ac-preview-actions,body.ac-wedding-layout .ac-preview-status{display:none!important}
 body.ac-wedding-layout #selectArea,body.ac-wedding-layout #selectArea2{display:flex!important;flex-direction:column!important;position:fixed!important;inset:64px 0 0 48%!important;top:64px!important;left:48%!important;right:0!important;bottom:0!important;width:52%!important;max-width:none!important;height:auto!important;min-height:0!important;max-height:none!important;padding:0 26px 42px!important;margin:0!important;float:none!important;overflow-x:hidden!important;overflow-y:auto!important;scrollbar-gutter:stable!important;overscroll-behavior:contain!important;background:var(--ac-w-panel)!important;color:#f3f4f6!important;box-sizing:border-box!important;z-index:25!important;border:0!important;border-radius:0!important}
 body.ac-wedding-layout #selectArea>.ac-main-navigation,body.ac-wedding-layout #selectArea2>.ac-main-navigation{order:-3!important;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important;position:sticky!important;top:0!important;width:100%!important;margin:0!important;padding:12px 0!important;background:var(--ac-w-panel)!important;border-bottom:1px solid var(--ac-w-line)!important;z-index:60!important}
 body.ac-wedding-layout .ac-main-navigation>li{list-style:none!important;float:none!important;width:100%!important;margin:0!important;padding:0!important;border:1px solid #4b4c54!important;border-radius:10px!important;background:var(--ac-w-button)!important;overflow:hidden!important}
 body.ac-wedding-layout .ac-main-navigation>li.btn_on{background:#704056!important;border-color:var(--ac-w-rose)!important}
 body.ac-wedding-layout .ac-main-navigation>li>a{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:center!important;gap:8px!important;min-height:54px!important;padding:8px 3px!important;color:#f6f6f8!important;text-decoration:none!important}
 body.ac-wedding-layout .ac-main-navigation .txt{display:block!important;color:#f6f6f8!important;font-size:13px!important;font-weight:700!important;white-space:nowrap!important}
 body.ac-wedding-layout .ac-main-navigation img{width:27px!important;height:27px!important;max-width:27px!important;object-fit:contain!important}
 body.ac-wedding-layout #menuSelectBlock{order:-2!important;flex:none!important;display:block!important;position:sticky!important;top:78px!important;width:100%!important;max-width:none!important;margin:0 0 14px!important;padding:12px 0 14px!important;background:var(--ac-w-panel)!important;border-bottom:1px solid var(--ac-w-line)!important;z-index:55!important}
 body.ac-wedding-layout #menuSelectBlock ul.mainMenu{display:none!important}
 body.ac-wedding-layout #menuSelectBlock ul.subMenu{display:flex!important;flex-wrap:wrap!important;gap:8px!important;justify-content:flex-start!important;width:100%!important;margin:0!important;padding:0!important;border:0!important;overflow:visible!important;background:none!important}
 body.ac-wedding-layout #menuSelectBlock ul.subMenu>li{display:flex!important;align-items:center!important;justify-content:center!important;flex-direction:column!important;flex:1 1 74px!important;min-width:66px!important;max-width:130px!important;min-height:70px!important;margin:0!important;padding:6px 3px!important;border:1px solid #50515c!important;background:#34353e!important;border-radius:9px!important;color:#f4f4f6!important}
 body.ac-wedding-layout #menuSelectBlock ul.subMenu>li.now{background:#78435b!important;border-color:#f5a7c4!important}
 body.ac-wedding-layout #menuSelectBlock ul.subMenu img{max-height:30px!important;height:28px!important;max-width:36px!important;object-fit:contain!important}
 body.ac-wedding-layout #menuSelectBlock ul.subMenu .txt{color:#f4f4f6!important;font-size:12px!important}
 body.ac-wedding-layout #partsReloadArea,body.ac-wedding-layout #fashionReloadArea,body.ac-wedding-layout #itemReloadArea{order:0!important;display:block!important;width:100%!important;max-width:none!important;height:auto!important;max-height:none!important;overflow:visible!important;background:transparent!important;color:#f4f4f6!important;margin:0!important;padding:0 0 26px!important}
 body.ac-wedding-layout ul.partsBox{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:10px!important;padding:12px!important;margin:10px 0 20px!important;background:#fff!important;border:1px solid #e5e5e9!important;border-radius:12px!important;width:100%!important;box-sizing:border-box!important}
 body.ac-wedding-layout ul.partsBox>li{display:flex!important;aspect-ratio:1!important;min-height:76px!important;padding:5px!important;margin:0!important;border:1px solid #eaeaec!important;background:#f9f9fa!important;border-radius:10px!important;align-items:center!important;justify-content:center!important}
 body.ac-wedding-layout ul.partsBox>li.ac-part-selected{border-color:var(--ac-w-pink)!important;background:#ffedf4!important;box-shadow:inset 0 0 0 1px var(--ac-w-pink)!important}
 body.ac-wedding-layout ul.partsBox img{display:block!important;max-width:100%!important;max-height:95%!important;width:auto!important;height:auto!important;object-fit:contain!important}
 body.ac-wedding-layout .ac-panel-heading{display:none!important}
 body.ac-wedding-layout #system_description,body.ac-wedding-layout #rightArea,body.ac-wedding-layout #headerArea{display:none!important}
 body.ac-wedding-layout #start_sexBlock{z-index:50!important}
}
@media (min-width:781px) and (max-width:1100px){body.ac-wedding-layout #mixArea{width:43%!important}body.ac-wedding-layout #selectArea,body.ac-wedding-layout #selectArea2{left:43%!important;width:57%!important}body.ac-wedding-layout ul.partsBox{grid-template-columns:repeat(5,minmax(0,1fr))!important}}
@media(min-width:781px) and (max-height:730px){body.ac-wedding-layout #mixBlock,body.ac-wedding-layout #mixBlock_zoom{transform:scale(.8)!important}body.ac-wedding-layout .ac-person-tabs{margin-top:0!important}}
@media(max-width:780px){
 body.ac-wedding-layout .ac-editor-topbar{background:var(--ac-w-pink)!important;border-bottom:1px solid #de5486!important}
 body.ac-wedding-layout #mixArea{background:#17181d!important}
 body.ac-wedding-layout .ac-bottom-dock{background:#25262c!important;border-top-color:#484950!important}
 body.ac-wedding-layout .ac-bottom-dock ul.mainMenu>li>a{color:#f3f4f6!important}
 body.ac-wedding-layout .ac-bottom-dock ul.mainMenu>li.btn_on>a{background:#80425e!important;color:#fff!important}
 body.ac-wedding-layout #selectArea,body.ac-wedding-layout #selectArea2{background:#25262c!important;color:#f2f2f5!important}
 body.ac-wedding-layout #menuSelectBlock ul.subMenu>li{background:#373840!important;border-color:#51525c!important}
 body.ac-wedding-layout #menuSelectBlock ul.subMenu>li.now{background:#754259!important;border-color:#f1abc9!important}
 body.ac-wedding-layout #menuSelectBlock ul.subMenu .txt{color:#fff!important}
 body.ac-wedding-layout ul.partsBox{padding:8px!important;background:#fff!important;border-radius:12px!important}
 body.ac-wedding-layout .ac-person-tabs button[aria-pressed=true]{background:#a83c69!important;border-color:#f1b0cf!important}
}


/* Wedding parity: header logo, true gallery sizing, gender-dependent selection. */
body.ac-wedding-layout{--ac-current:#e84d87;--ac-current-light:#fff0f5;--ac-current-dark:#78435b;--ac-current-border:#f0a7c7}
body.ac-wedding-layout.ac-sex-men{--ac-current:#57b3e4;--ac-current-light:#e9f5fd;--ac-current-dark:#405d70;--ac-current-border:#9bd5f2}
body.ac-wedding-layout .ac-editor-topbar .ac-brand{display:flex!important;align-items:center!important;justify-content:center!important;min-width:0!important;padding:0!important;line-height:0!important}
body.ac-wedding-layout .ac-editor-topbar .ac-brand img{display:block!important;position:static!important;width:auto!important;max-width:min(240px,38vw)!important;height:auto!important;max-height:43px!important;object-fit:contain!important;filter:none!important;margin:0 auto!important}
/* The original PHP divides the screen into menus, legacy blue category headers and galleries.
   Make them use one Wedding-style dark panel, while retaining their controls. */
body.ac-wedding-layout #selectPartsArea{clear:both!important;width:100%!important;max-width:none!important;margin:0 0 16px!important;padding:0!important;float:none!important;overflow:visible!important;background:transparent!important}
body.ac-wedding-layout #selectPartsArea div.boxTitleBlock,
body.ac-wedding-layout #selectPartsArea div.boxTitleBlock.men,
body.ac-wedding-layout #selectPartsArea div.boxTitleBlock.girl,
body.ac-wedding-layout #selectPartsArea div.boxTitleBlock.item{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;overflow:visible!important;width:100%!important;height:auto!important;min-height:56px!important;box-sizing:border-box!important;border:0!important;border-radius:0!important;margin:0!important;padding:14px 0 10px!important;background:transparent!important;color:#f5f6f8!important}
body.ac-wedding-layout #selectPartsArea div.boxTitleBlock h3{float:none!important;margin:0!important;padding:0!important;border:0!important;color:#f5f6f8!important;font-size:18px!important;font-weight:750!important;line-height:1.4!important}
body.ac-wedding-layout #selectPartsArea div.boxTitleBlock h3 a{color:inherit!important}
body.ac-wedding-layout #selectPartsArea div.boxTitleBlock>img{float:none!important;display:block!important;position:static!important;width:24px!important;max-width:24px!important;height:24px!important;object-fit:contain!important;opacity:.7!important;margin:0!important;cursor:pointer!important}
body.ac-wedding-layout #selectPartsArea div.selectBlock,
body.ac-wedding-layout #selectPartsArea div.selectBlock.men,
body.ac-wedding-layout #selectPartsArea div.selectBlock.girl,
body.ac-wedding-layout #selectPartsArea div.selectBlock.item{display:block!important;float:none!important;clear:both!important;width:100%!important;box-sizing:border-box!important;border:0!important;border-radius:0!important;margin:0!important;padding:0 0 12px!important;overflow:visible!important;background:transparent!important}
body.ac-wedding-layout #selectPartsArea div.selectBlock ul.colorSelectBox{display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:9px!important;width:100%!important;min-height:30px!important;overflow:visible!important;box-sizing:border-box!important;border:0!important;border-radius:0!important;margin:0 0 12px!important;padding:0!important;background:transparent!important}
body.ac-wedding-layout #selectPartsArea div.selectBlock ul.colorSelectBox li,
body.ac-wedding-layout #selectPartsArea div.selectBlock ul.colorSelectBox li.coltxt{display:inline-flex!important;align-items:center!important;float:none!important;width:auto!important;min-width:0!important;max-width:none!important;list-style:none!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important}
body.ac-wedding-layout #selectPartsArea div.selectBlock ul.colorSelectBox li.coltxt{margin-right:3px!important;color:#f5f6f8!important;font-weight:600!important;font-size:12px!important;line-height:26px!important;opacity:1!important}
body.ac-wedding-layout #selectPartsArea div.selectBlock ul.colorSelectBox li img{position:static!important;display:block!important;width:23px!important;height:23px!important;max-width:23px!important;max-height:23px!important;object-fit:cover!important;border:1px solid #a4a6af!important;border-radius:2px!important;box-sizing:border-box!important;margin:0!important;padding:0!important}
/* The legacy left/width offsets on eye/nose/mouth/brow must not leak into cards. */
body.ac-wedding-layout #selectPartsArea .selectBlock ul.partsBox{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:9px!important;width:100%!important;margin:0 0 12px!important;padding:16px!important;box-sizing:border-box!important;list-style:none!important;overflow:visible!important;border:1px solid #e5e6eb!important;border-radius:12px!important;background:#fff!important}
body.ac-wedding-layout #selectPartsArea .selectBlock ul.partsBox>li,
body.ac-wedding-layout #selectPartsArea .selectBlock ul.partsBox>li.hair,
body.ac-wedding-layout #selectPartsArea .selectBlock ul.partsBox>li.icon,
body.ac-wedding-layout #selectPartsArea .item ul.partsBox>li{display:block!important;position:relative!important;float:none!important;clear:none!important;width:100%!important;max-width:none!important;min-width:0!important;min-height:0!important;height:auto!important;aspect-ratio:1/1!important;margin:0!important;padding:0!important;box-sizing:border-box!important;list-style:none!important;border:1px solid #e9e9ed!important;border-radius:10px!important;background:#f9fafb!important;overflow:hidden!important;cursor:pointer!important}
body.ac-wedding-layout #selectPartsArea .selectBlock ul.partsBox>li img{position:absolute!important;display:block!important;left:50%!important;top:50%!important;margin:0!important;padding:0!important;float:none!important;max-width:none!important;max-height:none!important;width:100%!important;height:auto!important;min-width:0!important;object-fit:contain!important;transform:translate(-50%,-50%)!important;cursor:pointer!important;border:0!important;box-shadow:none!important}
body.ac-wedding-layout #selectPartsArea .selectBlock ul.partsBox>li img.face{width:100%!important}
body.ac-wedding-layout #selectPartsArea .selectBlock ul.partsBox>li img.eye,
body.ac-wedding-layout #selectPartsArea .selectBlock ul.partsBox>li img.brow{width:145%!important}
body.ac-wedding-layout #selectPartsArea .selectBlock ul.partsBox>li img.nose,
body.ac-wedding-layout #selectPartsArea .selectBlock ul.partsBox>li img.mouth{width:160%!important}
body.ac-wedding-layout #selectPartsArea .selectBlock ul.partsBox>li img.hair{width:112%!important;top:37%!important}
body.ac-wedding-layout #selectPartsArea .selectBlock ul.partsBox>li img.icon{width:70%!important}
body.ac-wedding-layout ul.partsBox>li.ac-part-selected,
body.ac-wedding-layout #selectPartsArea ul.partsBox>li.ac-part-selected{border-color:var(--ac-current)!important;background:var(--ac-current-light)!important;box-shadow:inset 0 0 0 1px var(--ac-current)!important}
/* Match the Wedding galleries for outfits as well, without changing the PHP products. */
body.ac-wedding-layout ul.fashion_list{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:10px!important;clear:both!important;overflow:visible!important;float:none!important;width:100%!important;box-sizing:border-box!important;list-style:none!important;border:1px solid #e5e6eb!important;border-radius:12px!important;background:#fff!important;margin:12px 0 20px!important;padding:16px!important}
body.ac-wedding-layout ul.fashion_list>li{display:flex!important;flex-direction:column!important;justify-content:space-between!important;align-items:stretch!important;gap:4px!important;float:none!important;clear:none!important;width:100%!important;min-width:0!important;max-width:none!important;height:auto!important;min-height:150px!important;list-style:none!important;margin:0!important;padding:6px!important;box-sizing:border-box!important;border:1px solid #e9e9ed!important;border-radius:10px!important;background:#f9fafb!important;overflow:hidden!important;color:#30313a!important}
body.ac-wedding-layout ul.fashion_list>li.ac-part-selected{border-color:var(--ac-current)!important;background:var(--ac-current-light)!important;box-shadow:inset 0 0 0 1px var(--ac-current)!important}
body.ac-wedding-layout ul.fashion_list>li h3{display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;height:auto!important;min-height:26px!important;max-height:29px!important;width:100%!important;margin:0!important;padding:0!important;border:0!important;background:none!important;color:#252631!important;text-align:center!important;font-size:11px!important;line-height:1.25!important;font-weight:600!important;word-break:break-word!important}
body.ac-wedding-layout ul.fashion_list>li p{position:relative!important;display:flex!important;justify-content:center!important;align-items:center!important;width:100%!important;flex:1 1 auto!important;min-height:75px!important;line-height:normal!important;margin:0!important;padding:0!important;overflow:hidden!important}
body.ac-wedding-layout ul.fashion_list>li p img{position:static!important;display:block!important;float:none!important;width:auto!important;height:auto!important;max-width:100%!important;max-height:100px!important;object-fit:contain!important;transform:none!important;margin:auto!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;cursor:pointer!important}
body.ac-wedding-layout ul.fashion_list>li dl{display:block!important;flex:0 0 auto!important;width:100%!important;margin:2px 0 0!important;padding:0!important;overflow:hidden!important}
body.ac-wedding-layout ul.fashion_list>li dl dt{display:none!important}
body.ac-wedding-layout ul.fashion_list>li dl dd.color{display:flex!important;justify-content:center!important;align-items:center!important;flex-wrap:wrap!important;gap:4px!important;width:100%!important;margin:0!important;padding:0!important}
body.ac-wedding-layout ul.fashion_list>li dl dd.color img{display:block!important;float:none!important;width:18px!important;height:18px!important;max-width:none!important;object-fit:cover!important;border:1px solid #bbb!important;border-radius:3px!important;margin:0!important;padding:0!important;box-sizing:border-box!important;cursor:pointer!important}
body.ac-wedding-layout ul.fashion_list>li dl dd.color img.ac-color-selected{outline:2px solid var(--ac-current)!important;outline-offset:1px!important}
/* Background tiles and standalone items also share the same white-card language. */
body.ac-wedding-layout ul.wallpaper_list{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:10px!important;clear:both!important;width:100%!important;max-width:none!important;overflow:visible!important;box-sizing:border-box!important;list-style:none!important;background:#fff!important;border:1px solid #e5e6eb!important;border-radius:12px!important;margin:12px 0!important;padding:16px!important}
body.ac-wedding-layout ul.wallpaper_list>li{float:none!important;clear:none!important;width:100%!important;height:auto!important;aspect-ratio:1!important;max-width:none!important;min-width:0!important;margin:0!important;padding:4px!important;box-sizing:border-box!important;border:1px solid #e9e9ed!important;border-radius:10px!important;background:#fafafa!important;overflow:hidden!important}
body.ac-wedding-layout ul.wallpaper_list img{width:100%!important;height:100%!important;object-fit:cover!important;max-width:none!important;margin:0!important}
/* The same semantic selected color for every editor navigation and gender switch. */
body.ac-wedding-layout .ac-person-tabs button[aria-pressed="true"]{background:var(--ac-current-dark)!important;border-color:var(--ac-current-border)!important;color:#fff!important}
body.ac-wedding-layout .ac-main-navigation>li.btn_on,
body.ac-wedding-layout #menuSelectBlock ul.mainMenu>li.btn_on{background:var(--ac-current-dark)!important;border-color:var(--ac-current-border)!important}
body.ac-wedding-layout #menuSelectBlock ul.subMenu>li.now{background:var(--ac-current-dark)!important;border-color:var(--ac-current-border)!important}
@media (min-width:781px) and (max-width:1100px){body.ac-wedding-layout #selectPartsArea ul.partsBox,body.ac-wedding-layout ul.fashion_list,body.ac-wedding-layout ul.wallpaper_list{grid-template-columns:repeat(5,minmax(0,1fr))!important}}
@media (max-width:780px){
 body.ac-wedding-layout .ac-editor-topbar .ac-brand img{max-width:min(170px,43vw)!important;max-height:32px!important}
 body.ac-wedding-layout #selectPartsArea .selectBlock ul.partsBox,body.ac-wedding-layout ul.fashion_list,body.ac-wedding-layout ul.wallpaper_list{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:7px!important;padding:8px!important}
 body.ac-wedding-layout ul.fashion_list>li{padding:4px!important;min-height:126px!important}
 body.ac-wedding-layout ul.fashion_list>li p{min-height:64px!important}
 body.ac-wedding-layout ul.fashion_list>li p img{max-height:76px!important}
 body.ac-wedding-layout #menuSelectBlock ul.subMenu>li.now{background:var(--ac-current-dark)!important;border-color:var(--ac-current-border)!important}
 body.ac-wedding-layout .ac-bottom-dock ul.mainMenu>li.btn_on>a{background:var(--ac-current-dark)!important;color:#fff!important}
 body.ac-wedding-layout .ac-person-tabs button[aria-pressed="true"]{background:var(--ac-current-dark)!important;border-color:var(--ac-current-border)!important}
}
/* Preserve computed Canvas zoom on short desktop viewports; old height-based .8
   fallback used to make the character far smaller than the Wedding preview. */
@media (min-width:781px){
 body.ac-wedding-layout #mixBlock,body.ac-wedding-layout #mixBlock_zoom{
  transform:scale(var(--ac-w-preview-scale,1.15))!important;
 }
 body.ac-wedding-layout .ac-person-tabs{
  margin-top:calc(24px + (var(--ac-w-preview-scale,1.15) - 1)*200px)!important;
 }
}

/* Batch parity: Wedding-like selection headers and clear actions */
body.ac-wedding-layout #selectPartsArea .boxTitleBlock,
body.ac-wedding-layout #fashionReloadArea .ac-fashion-category-title{
 position:relative!important;display:flex!important;align-items:center!important;justify-content:space-between!important;
 gap:12px!important;min-height:42px!important;margin:12px 0 6px!important;padding:0!important;
 background:transparent!important;border:0!important;border-radius:0!important;color:#f7f7f9!important;
}
body.ac-wedding-layout #selectPartsArea .boxTitleBlock h3,
body.ac-wedding-layout #fashionReloadArea .ac-fashion-category-title strong{font-size:19px!important;line-height:1.4!important;font-weight:700!important;color:#f7f7f9!important;flex:1!important}
body.ac-wedding-layout #selectPartsArea .boxTitleBlock span.partsReload{display:none!important}
body.ac-wedding-layout #selectPartsArea .boxTitleBlock>img,
body.ac-wedding-layout .ac-fashion-clear{display:block!important;position:static!important;flex:none!important;width:27px!important;height:27px!important;margin:0!important;padding:2px!important;border:0!important;background:transparent!important;object-fit:contain!important;opacity:.78!important;cursor:pointer!important}
body.ac-wedding-layout #fashionReloadArea>h2,body.ac-wedding-layout #fashionReloadArea .ac-fashion-legacy-title{display:none!important}
body.ac-wedding-layout .ac-fashion-category-title{width:100%!important}
body.ac-wedding-layout ul.fashion_list>li h3{font-size:10px!important;line-height:1.25!important;color:#858995!important;font-weight:500!important;min-height:24px!important;max-height:26px!important}
body.ac-wedding-layout #selectPartsArea .selectBlock ul.partsBox>li img.hair{top:calc(50% + 20px)!important}
/* Supplementary item shortcuts (Glass / Goods / Pets / Icon). */
body.ac-wedding-layout .ac-item-shortcuts{display:flex!important;align-items:center!important;gap:7px!important;width:100%!important;margin:4px 0 14px!important;padding:0 0 12px!important;border-bottom:1px solid #484950!important;background:transparent!important}
body.ac-wedding-layout .ac-item-shortcuts button{appearance:none!important;border:1px solid #50515c!important;border-radius:9px!important;background:#34353c!important;color:#f7f7f9!important;padding:9px 13px!important;font-size:12px!important;font-weight:600!important;cursor:pointer!important}
body.ac-wedding-layout .ac-item-shortcuts button:focus-visible{outline:2px solid var(--ac-current)!important}
body.ac-wedding-layout #menuSelectBlock .subMenu.ac-empty-submenu{display:none!important}
/* Mobile panel toggle: identical messages and intent to Wedding's drawer. */
body.ac-wedding-layout .ac-drawer-toggle{display:none!important}
@media(max-width:780px){
 body.ac-wedding-layout .ac-drawer-toggle{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;
 width:100%!important;min-height:48px!important;border:0!important;border-radius:0!important;
 padding:0 16px!important;background:#303139!important;color:white!important;font-size:13px!important;font-weight:700!important;cursor:pointer!important;flex:none!important}
 body.ac-wedding-layout #selectArea,body.ac-wedding-layout #selectArea2{padding-top:0!important}
 body.ac-wedding-layout.ac-panel-collapsed #mixArea{flex-basis:calc(100dvh - var(--ac-m-dock) - 54px)!important;height:calc(100dvh - var(--ac-m-dock) - 54px)!important;max-height:calc(100dvh - var(--ac-m-dock) - 54px)!important}
 body.ac-wedding-layout.ac-panel-collapsed #selectArea,body.ac-wedding-layout.ac-panel-collapsed #selectArea2{flex:0 0 54px!important;min-height:54px!important;max-height:54px!important;overflow:hidden!important;padding:0!important}
 body.ac-wedding-layout.ac-panel-collapsed #selectArea>*:not(.ac-drawer-toggle),body.ac-wedding-layout.ac-panel-collapsed #selectArea2>*:not(.ac-drawer-toggle){display:none!important}
 body.ac-wedding-layout.ac-panel-collapsed #selectArea .ac-drawer-toggle,body.ac-wedding-layout.ac-panel-collapsed #selectArea2 .ac-drawer-toggle{display:flex!important}
 body.ac-wedding-layout .ac-item-shortcuts{overflow-x:auto!important;white-space:nowrap!important;gap:5px!important;padding:0 8px 8px!important}
 body.ac-wedding-layout .ac-item-shortcuts button{padding:8px 9px!important;font-size:11px!important}
 body.ac-wedding-layout #selectPartsArea .boxTitleBlock h3{font-size:17px!important}
}

/* 2026-10-26: requested parity adjustments; applied AFTER all legacy overrides. */
body.ac-wedding-layout #selectPartsArea .selectBlock ul.partsBox>li img.hair{
  top:calc(50% - 10px)!important; /* 10px ABOVE tile centre, rather than +20px */
}
body.ac-wedding-layout ul.fashion_list>li h3{font-size:8px!important;line-height:1.3!important;font-weight:500!important}
body.ac-wedding-layout #fashionReloadArea .ac-fashion-category-title strong{font-size:18px!important;color:#fff!important}
/* One image-creation entry only: the top-right header. */
body.ac-wedding-layout #selectArea .center_block,
body.ac-wedding-layout #selectArea2 .center_block,
body.ac-wedding-layout #selectArea .ac-preview-actions,
body.ac-wedding-layout #selectArea2 .ac-preview-actions,
body.ac-wedding-layout .ac-preview-actions{display:none!important}
/* Wallpaper has no secondary categories. A blank sticky block must not consume space. */
body.ac-wedding-layout.ac-page-wallpaper #menuSelectBlock{display:none!important}
/* The user should see the shortcuts directly under the main nav on the Items tab. */
body.ac-wedding-layout.ac-page-item #menuSelectBlock{padding-top:6px!important;padding-bottom:8px!important}
body.ac-wedding-layout .ac-item-shortcuts{margin:0!important;padding:5px 0!important;border-bottom:0!important}
body.ac-wedding-layout .ac-item-shortcuts button{font-size:11px!important;padding:6px 10px!important;min-height:32px!important}
@media(max-width:780px){
 body.ac-wedding-layout .ac-drawer-toggle{justify-content:flex-end!important;text-align:right!important;padding-right:20px!important}
 body.ac-wedding-layout .ac-item-shortcuts{gap:5px!important}
 body.ac-wedding-layout .ac-item-shortcuts button{font-size:10px!important;padding:5px 8px!important;min-height:29px!important}
}

/* Distinguish desktop home link from mobile close link. */
body.ac-wedding-layout .ac-header-mobile{display:none!important}
@media(max-width:780px){
 body.ac-wedding-layout .ac-header-desktop{display:none!important}
 body.ac-wedding-layout .ac-header-mobile{display:inline!important}
}

/* v39: Mobile release polish. No changes to selected items or generated image. */
@media (max-width:780px){
 body.ac-wedding-layout .ac-editor-topbar .ac-top-save{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  justify-self:end!important;white-space:nowrap!important;
  min-width:94px!important;min-height:36px!important;
  padding:8px 13px!important;margin-right:4px!important;
  border:1px solid rgba(255,255,255,.88)!important;border-radius:999px!important;
  background:#fff!important;color:#a52f60!important;
  box-shadow:0 2px 6px rgba(73,13,42,.17)!important;
  font-size:13px!important;font-weight:800!important;text-decoration:none!important;
  box-sizing:border-box!important;
 }
 /* Open editor: face is primary, lower body can be cropped by the stage viewport.
    Preserve the 240x400 drawing coordinates and all original layer positions. */
 body.ac-wedding-layout.ac-panel-open #mixArea{
  justify-content:flex-start!important;overflow:hidden!important;
 }
 body.ac-wedding-layout.ac-panel-open #mixBlock,
 body.ac-wedding-layout.ac-panel-open #mixBlock_zoom{
  flex:none!important;transform:scale(1.0)!important;
  transform-origin:top center!important;margin:0 auto!important;
 }
 /* Gender switching is deliberately out of the visible open-panel area, not removed. */
 body.ac-wedding-layout.ac-panel-open .ac-person-tabs{
  margin-top:18px!important;flex-shrink:0!important;
 }
 /* Expanded preview returns the gender switch; do not alter its controls. */
}

/* Footballer original cyan/green accent, without Anichara pink */
:root{--ac-w-pink:#0099cc;--ac-w-rose:#8bcad9;}
body.ac-wedding-layout .ac-editor-topbar{border-bottom-color:#007eaa!important;}
body.ac-wedding-layout .ac-main-navigation>li.btn_on{background:#15576d!important;}
body.ac-wedding-layout .ac-person-tabs button[aria-pressed=true]{background:#007c9c!important;border-color:#8bcad9!important;}
body.ac-wedding-layout .ac-editor-topbar .ac-top-save{color:#006a87!important;}

/* Footballer brand refinement: #6a8 */
:root{--ac-w-pink:#6a8;--ac-w-rose:#b8d8c8;}
body.ac-wedding-layout{--ac-current:#6a8;--ac-current-light:#eef8f2;--ac-current-dark:#376b52;--ac-current-border:#8fc0a6;}
body.ac-wedding-layout .ac-editor-topbar{background:#6a8!important;border-bottom-color:#528b70!important;}
body.ac-wedding-layout .ac-main-navigation>li.btn_on{background:#376b52!important;border-color:#6a8!important;}
body.ac-wedding-layout .ac-person-tabs button[aria-pressed=true]{background:#6a8!important;border-color:#b8d8c8!important;}
body.ac-wedding-layout .ac-editor-topbar .ac-top-save{color:#376b52!important;}
body.ac-wedding-layout #menuSelectBlock ul.subMenu>li.now{background:#eef8f2!important;border-color:#6a8!important;}
body.ac-wedding-layout .ac-save-action{background:#6a8!important;}
@media(max-width:780px){body.ac-wedding-layout .ac-editor-topbar .ac-top-save{background:#fff!important;color:#376b52!important;} }

/* v43: readable active submenu on desktop and mobile */
body.ac-wedding-layout #menuSelectBlock ul.subMenu > li.now {
  background:#376b52!important;
  border-color:#6a8!important;
  box-shadow:inset 0 0 0 1px #6a8!important;
}
body.ac-wedding-layout #menuSelectBlock ul.subMenu > li.now .txt,
body.ac-wedding-layout #menuSelectBlock ul.subMenu > li.now a {color:#fff!important;}
body.ac-wedding-layout #menuSelectBlock ul.subMenu > li.now img {opacity:1!important;filter:none!important;}

/* v44: Footballer women theme. The header is intentionally always #6a8. */
body.ac-wedding-layout.ac-sex-girl{--ac-current:#d96897;--ac-current-light:#fff0f6;--ac-current-dark:#a83c69;--ac-current-border:#efa8c6;--ac-w-rose:#efa8c6;}
body.ac-wedding-layout.ac-sex-girl .ac-main-navigation>li.btn_on,
body.ac-wedding-layout.ac-sex-girl #menuSelectBlock ul.mainMenu>li.btn_on,
body.ac-wedding-layout.ac-sex-girl #menuSelectBlock ul.subMenu>li.now{background:#a83c69!important;border-color:#d96897!important;}
body.ac-wedding-layout.ac-sex-girl #menuSelectBlock ul.subMenu>li.now .txt,
body.ac-wedding-layout.ac-sex-girl #menuSelectBlock ul.subMenu>li.now a{color:#fff!important;}
body.ac-wedding-layout.ac-sex-girl .ac-person-tabs button[aria-pressed=true]{background:#a83c69!important;border-color:#efa8c6!important;}
body.ac-wedding-layout.ac-sex-girl .ac-bottom-dock ul.mainMenu>li.btn_on>a,
body.ac-wedding-layout.ac-sex-girl .ac-save-action{background:#a83c69!important;}
body.ac-wedding-layout.ac-sex-girl .ac-editor-topbar{background:#6a8!important;border-bottom-color:#528b70!important;}

/* Footballer: black brand header and gender-specific selection colors */
:root{--ac-w-pink:#000;--ac-w-rose:#000;}
body.ac-wedding-layout .ac-editor-topbar,body.ac-wedding-layout.ac-sex-girl .ac-editor-topbar{background:#000!important;border-bottom-color:#333!important;}
body.ac-wedding-layout{--ac-current:#287bbb;--ac-current-dark:#246a9d;--ac-current-light:#edf6ff;}
body.ac-wedding-layout.ac-sex-girl{--ac-current:#be658f;--ac-current-dark:#a34776;--ac-current-light:#fff0f6;}
body.ac-wedding-layout #menuSelectBlock ul.subMenu>li.now,body.ac-wedding-layout .ac-main-navigation>li.btn_on{background:var(--ac-current-dark)!important;border-color:var(--ac-current)!important;color:white!important;}
body.ac-wedding-layout .ac-person-tabs button[aria-pressed=true]{background:var(--ac-current-dark)!important;color:#fff!important;}
.ng-position-controls{display:flex;flex-wrap:wrap;gap:6px;justify-content:center;align-items:center;padding:10px 8px;background:#202127;color:white;}
.ng-position-pair{display:flex;align-items:center;gap:3px;font-size:12px;}
.ng-position-pair button{border:1px solid #6c6c6c;background:#35363b;border-radius:5px;padding:3px;cursor:pointer;}
.ng-position-pair img{width:25px;height:25px;object-fit:contain;display:block;}
.ng-position-reset{background:#eee;color:#222;padding:8px;border:0;border-radius:5px;cursor:pointer;}

/* Footballer v2: compact vertical position adjustment dock under the Canvas. */
body.ac-wedding-layout .ng-position-controls{position:relative!important;inset:auto!important;z-index:2;display:flex!important;flex-direction:column;align-items:stretch;gap:9px;width:min(100%,530px);margin:12px auto 8px;padding:12px;border:1px solid #444750;border-radius:12px;background:#24262d;box-sizing:border-box;clear:both;overflow:visible;}
body.ac-wedding-layout .ng-position-heading{font-size:13px;font-weight:700;text-align:left;color:#f2f2f5;}
body.ac-wedding-layout .ng-position-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;width:100%;}
body.ac-wedding-layout .ng-position-pair{display:flex;flex-direction:column;align-items:stretch;gap:5px;min-width:0;padding:7px 5px;background:#30323a;border-radius:9px;}
body.ac-wedding-layout .ng-position-name{font-size:13px;font-weight:700;color:white;text-align:center;}
body.ac-wedding-layout .ng-position-pair button{width:100%;height:37px;display:grid;place-items:center;padding:0;background:#424751;color:white;border:1px solid #666c77;border-radius:7px;font-size:21px;line-height:1;cursor:pointer;touch-action:manipulation;}
body.ac-wedding-layout .ng-position-pair button:hover{background:#246a9d;border-color:#75b9ec;}
body.ac-wedding-layout .ng-position-pair button:focus-visible{outline:3px solid #ff1680;outline-offset:2px;}
body.ac-wedding-layout .ng-position-reset{align-self:flex-end;padding:7px 12px;border-radius:7px;background:#444750;color:white;font-size:12px;}
body.ac-wedding-layout .ac-outfit-removers{display:flex!important;flex-wrap:wrap;gap:8px;align-items:center;list-style:none;margin:8px 0 12px;padding:0;}
body.ac-wedding-layout .ac-outfit-removers li{display:inline-flex;align-items:center;background:#343640;border-radius:7px;padding:4px;}
body.ac-wedding-layout .ac-outfit-removers img{max-height:30px;width:auto;cursor:pointer;}
@media(max-width:780px){body.ac-wedding-layout .ng-position-controls{margin:8px auto;padding:8px 7px;border-radius:9px;}body.ac-wedding-layout .ng-position-grid{gap:4px;}body.ac-wedding-layout .ng-position-pair{padding:5px 3px;}body.ac-wedding-layout .ng-position-pair button{height:35px;font-size:20px;}body.ac-wedding-layout .ng-position-name{font-size:12px;}}

/* Footballer v3: shorter position controls; reset stays on the title row. */
body.ac-wedding-layout .ng-position-controls{gap:5px;margin:6px auto 4px;padding:7px 9px;border-radius:9px;}
body.ac-wedding-layout .ng-position-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:24px;font-size:12px;line-height:1.2;}
body.ac-wedding-layout .ng-position-reset{align-self:auto;flex-shrink:0;margin:0;padding:5px 9px;font-size:11px;line-height:1.1;border-radius:5px;}
body.ac-wedding-layout .ng-position-grid{gap:5px;}
body.ac-wedding-layout .ng-position-pair{gap:3px;padding:4px 4px;border-radius:6px;}
body.ac-wedding-layout .ng-position-name{font-size:11px;line-height:15px;}
body.ac-wedding-layout .ng-position-pair button{height:25px;font-size:16px;border-radius:5px;}
@media(max-width:780px){body.ac-wedding-layout .ng-position-controls{margin:4px auto 3px;padding:5px 6px;gap:4px;}body.ac-wedding-layout .ng-position-grid{gap:3px;}body.ac-wedding-layout .ng-position-pair{gap:2px;padding:3px 2px;}body.ac-wedding-layout .ng-position-pair button{height:25px;font-size:16px;}body.ac-wedding-layout .ng-position-name{font-size:11px;}}

/* Footballer v4: face-only overlay and fixed-header-safe PC preview. */
body.ac-wedding-layout .ng-position-controls{position:absolute!important;left:5px!important;right:5px!important;bottom:5px!important;top:auto!important;width:auto!important;margin:0!important;z-index:15!important;background:rgba(28,29,35,.92)!important;border-color:rgba(255,255,255,.15)!important;padding:6px 7px!important;gap:4px!important;box-shadow:0 2px 8px #0004!important;}
body.ac-wedding-layout.ac-page-fashion .ng-position-controls,body.ac-wedding-layout.ac-page-item .ng-position-controls,body.ac-wedding-layout.ac-page-wallpaper .ng-position-controls{display:none!important;}
@media(min-width:781px){body.ac-wedding-layout #mixBlock_zoom,body.ac-wedding-layout #mixBlock{transform-origin:top center!important;}body.ac-wedding-layout .ac-person-tabs{margin-top:calc(16px + (var(--ac-w-preview-scale,1) - 1)*320px)!important;}body.ac-wedding-layout #mixArea{padding-top:14px!important;padding-bottom:14px!important;}}
@media(max-width:780px){body.ac-wedding-layout .ng-position-controls{left:3px!important;right:3px!important;bottom:3px!important;padding:4px!important;}body.ac-wedding-layout .ng-position-pair button{height:23px!important;}}

/* Footballer v5: reliably paint face adjustment controls in front of Canvas. */
body.ac-wedding-layout #mixBlock_zoom,body.ac-wedding-layout #mixBlock{isolation:isolate!important;}
body.ac-wedding-layout #footballer-canvas-preview{position:relative!important;z-index:1!important;}
body.ac-wedding-layout #mixBlock_zoom>.ng-position-controls,body.ac-wedding-layout #mixBlock>.ng-position-controls{position:absolute!important;z-index:30!important;pointer-events:auto!important;display:flex!important;}

/* v6: preserve the original Canvas stacking (z=100), overlay controls above it. */
body.ac-wedding-layout #footballer-canvas-preview{
 display:block!important;position:absolute!important;inset:0!important;
 z-index:100!important;visibility:visible!important;opacity:1!important;
}
body.ac-wedding-layout #mixBlock_zoom>.ng-position-controls,
body.ac-wedding-layout #mixBlock>.ng-position-controls{
 z-index:150!important;pointer-events:auto!important;
}
body.ac-wedding-layout .ng-position-pair{display:flex!important;flex-direction:column!important;gap:3px!important}
body.ac-wedding-layout .ng-position-pair button{min-height:34px!important;height:34px!important;font-size:20px!important}
body.ac-wedding-layout .ng-position-name{order:0;line-height:17px!important;font-size:12px!important;text-align:center}
@media(max-width:780px){
 body.ac-wedding-layout .ng-position-pair button{min-height:38px!important;height:38px!important;font-size:22px!important}
 body.ac-wedding-layout .ng-position-controls{padding:5px!important}
}

/* Footballer: yellow header and light-blue/pink gender controls */
:root{--ac-w-pink:#009685;--ac-w-rose:#009685;}
body.ac-wedding-layout .ac-editor-topbar,body.ac-wedding-layout.ac-sex-girl .ac-editor-topbar{background:#009685!important;border-bottom-color:#007b70!important}
body.ac-wedding-layout.ac-sex-men{--ac-current:#3ba9d8;--ac-current-light:#e6f8ff}
body.ac-wedding-layout.ac-sex-girl{--ac-current:#ca6292;--ac-current-light:#ffeaf2}
body.ac-wedding-layout .ac-main-navigation>li.btn_on,body.ac-wedding-layout #menuSelectBlock ul.subMenu>li.now,body.ac-wedding-layout .ac-person-tabs button[aria-pressed=true]{background:#3ba9d8!important;color:white!important}
body.ac-wedding-layout.ac-sex-girl .ac-main-navigation>li.btn_on,body.ac-wedding-layout.ac-sex-girl #menuSelectBlock ul.subMenu>li.now,body.ac-wedding-layout.ac-sex-girl .ac-person-tabs button[aria-pressed=true]{background:#ca6292!important}
.ct-body-list{list-style:none;padding:12px;margin:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.ct-body-choice{background:white;border:2px solid transparent;border-radius:8px;padding:3px;display:block;width:100%;cursor:pointer;min-height:80px}
.ct-body-choice img{display:block;width:100%;height:auto;object-fit:contain}
.ct-body-choice.is-selected,.ct-body-choice:focus-visible{border-color:#009685;outline:2px solid #009685}
.ct-fashion-title{font-size:16px;margin:15px 12px 4px}.ct-fashion-lead{font-size:12px;margin:0 12px;color:#777}
@media(max-width:780px){.ct-body-list{gap:4px;padding:6px}.ct-body-choice{min-height:54px}}

/* v4: compact PC-only vertical adjustment controls while retaining touch targets. */
@media(min-width:781px){
 body.ac-wedding-layout .ng-position-controls{padding:3px 7px!important;gap:2px!important;}
 body.ac-wedding-layout .ng-position-heading{min-height:18px!important;margin:0!important;}
 body.ac-wedding-layout .ng-position-pair{gap:1px!important;padding:2px 3px!important;}
 body.ac-wedding-layout .ng-position-pair button{height:23px!important;min-height:23px!important;font-size:15px!important;padding:0!important;border-radius:4px!important;}
 body.ac-wedding-layout .ng-position-name{font-size:10px!important;line-height:12px!important;}
}
