/* Fit the original cloud artwork to readable groups, not to the whole HUD. */
@media (not (forced-colors: active)){
 html #ar-shepherds-sheep#ar-shepherds-sheep#ar-shepherds-sheep.ss-phone-landscape .ss-stage>.ss-hud:not([hidden]){
  gap:8px!important;min-height:36px;padding:0!important;
  background:none!important;filter:none;color:#293c34!important;
 }
 html #ar-shepherds-sheep#ar-shepherds-sheep#ar-shepherds-sheep.ss-phone-landscape .ss-stage>.ss-hud>div{
  position:relative!important;isolation:isolate;justify-content:center!important;
  gap:4px!important;min-width:50px!important;min-height:37px!important;box-sizing:border-box;
  padding:2px 11px 0!important;background:none!important;
 }
 html #ar-shepherds-sheep#ar-shepherds-sheep#ar-shepherds-sheep.ss-phone-landscape .ss-stage>.ss-hud>div::after{
  display:block!important;content:''!important;position:absolute!important;inset:0!important;z-index:-1;
  width:auto!important;height:auto!important;transform:none!important;pointer-events:none;
  background:url("cloud-play.webp") center / 100% 100% no-repeat!important;
  filter:drop-shadow(0 1px 1px #263c5270);
 }
 html #ar-shepherds-sheep#ar-shepherds-sheep#ar-shepherds-sheep.ss-phone-landscape .ss-stage>.ss-hud>div::before{
  background:#375a51!important;width:12px!important;height:12px!important;flex:0 0 12px;
 }
 html #ar-shepherds-sheep#ar-shepherds-sheep#ar-shepherds-sheep.ss-phone-landscape .ss-stage>.ss-hud :is(.ss-friend-label,.ss-time,.ss-score){
  font:750 13px/1.08 system-ui,sans-serif!important;letter-spacing:0!important;text-shadow:none!important;
 }
 html #ar-shepherds-sheep#ar-shepherds-sheep#ar-shepherds-sheep.ss-phone-landscape .ss-main-menu>.ss-menu-primary-row{
  width:auto;display:flex;gap:20px;flex-wrap:wrap;transform:none;justify-content:center;
 }
 html #ar-shepherds-sheep#ar-shepherds-sheep#ar-shepherds-sheep.ss-phone-landscape .ss-main-menu>.ss-menu-primary-row>button,
 html #ar-shepherds-sheep#ar-shepherds-sheep#ar-shepherds-sheep.ss-phone-landscape .ss-phone-menu46 .ss-phone-continue46,
 html #ar-shepherds-sheep#ar-shepherds-sheep#ar-shepherds-sheep.ss-phone-landscape.ss-cinematic-ending .ss-cinema .ss-ending>.ss-start{
  position:relative;isolation:isolate;width:auto!important;height:auto!important;min-height:52px!important;
  padding:4px 23px 0!important;background:none!important;gap:6px!important;
  color:#2d493d!important;font:750 14px/1.15 system-ui,sans-serif!important;
 }
 html #ar-shepherds-sheep#ar-shepherds-sheep#ar-shepherds-sheep.ss-phone-landscape .ss-main-menu>.ss-menu-primary-row>button::after,
 html #ar-shepherds-sheep#ar-shepherds-sheep#ar-shepherds-sheep.ss-phone-landscape .ss-phone-menu46 .ss-phone-continue46::after,
 html #ar-shepherds-sheep#ar-shepherds-sheep#ar-shepherds-sheep.ss-phone-landscape.ss-cinematic-ending .ss-cinema .ss-ending>.ss-start::after{
  display:block!important;content:''!important;position:absolute!important;z-index:-1;pointer-events:none;
  inset:0 -3px!important;width:auto!important;height:auto!important;transform:none!important;
  background:url("cloud-play.webp") center / 100% 100% no-repeat!important;
  filter:drop-shadow(0 2px 1px #2b435270);
 }
 html #ar-shepherds-sheep#ar-shepherds-sheep#ar-shepherds-sheep.ss-phone-landscape .ss-main-menu .ss-menu-play .ss-menu-sheep-art{
  display:block!important;width:26px!important;height:23px!important;object-fit:contain;flex:none;
 }
 html #ar-shepherds-sheep#ar-shepherds-sheep#ar-shepherds-sheep.ss-phone-landscape .ss-main-menu>.ss-menu-primary-row>.ss-menu-play::before{
  display:none!important;
 }
 html #ar-shepherds-sheep#ar-shepherds-sheep#ar-shepherds-sheep.ss-phone-landscape .ss-main-menu .ss-menu-kicker,
 html #ar-shepherds-sheep#ar-shepherds-sheep#ar-shepherds-sheep.ss-phone-landscape .ss-main-menu>p{
  color:#fff4d5!important;text-shadow:0 1px 2px #16261f,0 0 8px #14211d;
 }
 html #ar-shepherds-sheep#ar-shepherds-sheep#ar-shepherds-sheep.ss-phone-landscape .ss-phone-menu46 .ss-phone-continue46{
  width:max-content!important;max-width:100%;justify-self:center;
  border-bottom:0!important;margin-bottom:4px!important;
 }
}
@media (not (forced-colors: active)){
 html #ar-shepherds-sheep#ar-shepherds-sheep#ar-shepherds-sheep.ss-phone-landscape {
  --sheep-cloud-hud-shift: 3px;
  --sheep-cloud-action-shift: 7px;
 }
 html #ar-shepherds-sheep#ar-shepherds-sheep#ar-shepherds-sheep.ss-phone-landscape .ss-stage>.ss-hud>div::after{
  inset-inline:-3px!important;
  transform:translateX(var(--sheep-cloud-hud-shift))!important;
 }
 html #ar-shepherds-sheep#ar-shepherds-sheep#ar-shepherds-sheep.ss-phone-landscape :is(.ss-main-menu>.ss-menu-primary-row>button,.ss-phone-menu46 .ss-phone-continue46)::after,
 html #ar-shepherds-sheep#ar-shepherds-sheep#ar-shepherds-sheep.ss-phone-landscape.ss-cinematic-ending .ss-cinema .ss-ending>.ss-start::after{
  inset-inline:-10px!important;
  transform:translateX(var(--sheep-cloud-action-shift))!important;
 }
 html #ar-shepherds-sheep#ar-shepherds-sheep#ar-shepherds-sheep.ss-phone-landscape .ss-phone-menu46[open]{
  /* The opening overlook is the game's own landscape. Its unaltered art
     peeks through the upper-right; the quiet lower half keeps text legible. */
  background:
    linear-gradient(180deg,#17272104 0%,#1e3225b8 44%,#182920 72%,#14251e 100%),
    linear-gradient(90deg,#172a23 3%,#1a2d25e6 28%,#1a2d2544 75%),
    url("sheep-v46/intro-overlook.webp") 50% top / 100% auto no-repeat,
    #172a23!important;
  border:1px solid #acc29c70!important;border-radius:18px!important;
  box-shadow:inset 0 0 0 3px #1528229e,0 12px 35px #090f0bbb!important;
  padding-inline:28px;color:#f9f0da;
 }
 html #ar-shepherds-sheep#ar-shepherds-sheep#ar-shepherds-sheep.ss-phone-landscape .ss-phone-menu46::backdrop{
  background:radial-gradient(ellipse at 50% 40%,#14201742 29%,#121a167b 100%);
 }
 html #ar-shepherds-sheep#ar-shepherds-sheep#ar-shepherds-sheep.ss-phone-landscape .ss-phone-menu-head46 h3{
  color:#fff4d9;text-shadow:0 1px 3px #142019,0 0 8px #142019;
 }
 html #ar-shepherds-sheep#ar-shepherds-sheep#ar-shepherds-sheep.ss-phone-landscape :is(.ss-phone-menu-head46 span,.ss-phone-menu-help46){
  color:#f2e4bf;text-shadow:0 1px 3px #142019,0 0 7px #142019;
 }
 html #ar-shepherds-sheep#ar-shepherds-sheep#ar-shepherds-sheep.ss-phone-landscape .ss-phone-menu46 button:not(.ss-phone-continue46){
  color:#fff0d3!important;text-shadow:0 1px 3px #121b12!important;
 }
 html #ar-shepherds-sheep#ar-shepherds-sheep#ar-shepherds-sheep.ss-phone-landscape .ss-phone-menu46 .ss-phone-menu-head46 button{
  background:#172921cc!important;border-radius:50%!important;transform:none;
 }
 html #ar-shepherds-sheep#ar-shepherds-sheep#ar-shepherds-sheep.ss-phone-landscape .ss-phone-menu-actions46 button:not(.ss-phone-continue46):not([data-phone-action=exit]){
  border-bottom:1px solid #cdcf9e52!important;
 }
 html #ar-shepherds-sheep#ar-shepherds-sheep#ar-shepherds-sheep.ss-phone-landscape .ss-phone-menu46 [data-phone-action=exit]{
  color:#f5c6a7!important;border-bottom:0!important;
 }
}
/* Bring the painted cloud shoulders past the ends of the Resume label. */
@media (not (forced-colors: active)){
 html #ar-shepherds-sheep#ar-shepherds-sheep#ar-shepherds-sheep.ss-phone-landscape .ss-phone-menu46 .ss-phone-continue46::after{
  inset:-3px -17px!important;
 }
}
/* Shrink only the ink: keep V58's measured cloud silhouettes and tap targets. */
@media (not (forced-colors: active)){
 html #ar-shepherds-sheep#ar-shepherds-sheep#ar-shepherds-sheep.ss-phone-landscape .ss-stage>.ss-hud :is(.ss-friend-label,.ss-time,.ss-score){
  display:inline-block!important;
  transform:scale(.923077);
 }
 html #ar-shepherds-sheep#ar-shepherds-sheep#ar-shepherds-sheep.ss-phone-landscape :is(.ss-main-menu>.ss-menu-primary-row>button,.ss-phone-menu46 .ss-phone-continue46,.ss-cinema .ss-ending>.ss-start)>span:not(:has(img)){
  display:inline-block;
  transform:scale(.928571);
 }
}
