/* V48 selector layout correction. Must load LAST to override legacy 4-column rules. */
.sidebar.right .fantasy-picker{
  display:block!important;position:relative!important;box-sizing:border-box!important;
  width:100%!important;min-width:0!important;max-width:none!important;
  height:auto!important;min-height:0!important;max-height:none!important;
  overflow:visible!important;opacity:1!important;
  margin:12px 0 16px!important;padding:13px 11px 14px!important;
  border:1px solid rgba(245,212,157,.48)!important;border-radius:14px!important;
  background:linear-gradient(160deg,#1c3155,#0c1a38)!important;
}
.sidebar.right .fantasy-picker h3{
  display:block!important;position:static!important;clear:both!important;
  color:#ffe2a9!important;font-size:14px!important;line-height:1.35!important;
  margin:0 0 11px!important;padding:0!important;text-align:center!important;
}
.sidebar.right .fantasy-picker .piece-style-options{
  display:grid!important;position:static!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  grid-auto-rows:auto!important;gap:9px!important;
  width:100%!important;min-width:0!important;height:auto!important;
  align-items:stretch!important;overflow:visible!important;
}
.sidebar.right .fantasy-picker .piece-style-options .piece-style{
  display:flex!important;flex-direction:column!important;flex-wrap:nowrap!important;
  align-items:center!important;justify-content:center!important;
  position:relative!important;min-width:0!important;width:100%!important;
  height:auto!important;min-height:106px!important;max-height:none!important;
  aspect-ratio:auto!important;margin:0!important;padding:7px 4px 6px!important;
  overflow:hidden!important;border-radius:11px!important;
  border:2px solid #7d97b8!important;background:#27395b!important;
  box-sizing:border-box!important;
}
.sidebar.right .fantasy-picker .piece-style-options .piece-style[data-piece-style=royal]{background:#193d72!important}
.sidebar.right .fantasy-picker .piece-style-options .piece-style[data-piece-style=lava]{background:#512d35!important}
.sidebar.right .fantasy-picker .piece-style-options .piece-style[data-piece-style=forest]{background:#265545!important}
.sidebar.right .fantasy-picker .piece-style-options .piece-style[data-piece-style=ice]{background:#275776!important}
.sidebar.right .fantasy-picker .piece-style-options .piece-style[data-piece-style=emerald]{background:#1d554b!important}
.sidebar.right .fantasy-picker .piece-style-options .piece-style[data-piece-style=shadow]{background:#43375e!important}
.sidebar.right .fantasy-picker .piece-style-options .piece-style[data-piece-style=sunfire]{background:#633b2b!important}
.sidebar.right .fantasy-picker .piece-style-options .piece-style[data-piece-style=rose]{background:#68425c!important}
.sidebar.right .fantasy-picker .piece-style-options .piece-style[aria-pressed=true]{
  border-color:#ffe19c!important;outline:2px solid #f4cb7a!important;
  outline-offset:-2px!important;box-shadow:0 0 0 2px #13294f,0 0 12px #f4d48d66!important;
}
.sidebar.right .fantasy-picker .piece-style-options .piece-style img{
  display:block!important;position:static!important;flex:0 0 auto!important;
  width:100%!important;max-width:54px!important;min-width:0!important;
  height:67px!important;max-height:67px!important;min-height:0!important;
  padding:0!important;margin:0 auto!important;object-fit:contain!important;
  object-position:center center!important;vertical-align:middle!important;
  filter:drop-shadow(0 2px 2px #0007)!important;opacity:1!important;
}
.sidebar.right .fantasy-picker .piece-style-options .piece-style .picker-theme-name{
  display:block!important;position:static!important;width:100%!important;
  color:#fff1d3!important;font:700 10px/1.2 system-ui,Arial,sans-serif!important;
  text-align:center!important;margin:4px 0 0!important;padding:0!important;
  white-space:normal!important;overflow-wrap:break-word!important;
}
.sidebar.right .fantasy-picker .v5-color-explainer{
  display:block!important;position:static!important;clear:both!important;
  float:none!important;box-sizing:border-box!important;
  width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;
  margin:12px 0 0!important;padding:10px!important;
  font:600 11px/1.5 system-ui,Arial,sans-serif!important;
  color:#eaf3ff!important;background:#0f2443!important;
  border:1px solid #6687a7!important;border-radius:10px!important;
  overflow-wrap:break-word!important;overflow:visible!important;
}
@media(max-width:480px){
  .sidebar.right .fantasy-picker .piece-style-options .piece-style{min-height:104px!important}
  .sidebar.right .fantasy-picker .piece-style-options .piece-style img{height:65px!important;max-height:65px!important}
}
