.mobile-view-all{display:none}
@media(max-width:760px){
 html body.ui2[data-mode=hunt][data-place=town]:not(.gm-open) .app{position:relative}
 html body.ui2[data-mode=hunt][data-place=town]:not(.gm-open) .app::after{
  content:'';position:absolute;inset:65% 0 0;z-index:0;pointer-events:none;
  background:linear-gradient(transparent,#fff8ee55 42%,#fff8ee88);
 }
 html body.ui2[data-mode=hunt][data-place=town] #main{
  position:relative;z-index:1;grid-template-rows:52px minmax(0,1fr) auto!important;
 }
 html body.ui2[data-mode=hunt][data-place=town] .town-goal{padding:7px 12px!important;gap:8px;min-height:48px}
 html body.ui2[data-mode=hunt][data-place=town] .goal-meter{display:flex;flex-direction:column;gap:6px;min-width:0}
 html body.ui2[data-mode=hunt][data-place=town] .goal-text{font-size:13px!important;line-height:1.2;white-space:normal}
 html body.ui2[data-mode=hunt][data-place=town] .town-goal progress{height:8px;min-height:8px;flex:none}
 html body.ui2[data-mode=hunt][data-place=town] .hunter-shop{grid-template-rows:minmax(0,1fr) 28px 44px!important;row-gap:9px!important}
 html body.ui2[data-mode=hunt][data-place=town] .hunter-shop strong{
  height:28px;font-size:17px;background:#fff8e9cc;box-shadow:none;border-color:#fff9ee;
 }
 html body.ui2[data-mode=hunt][data-place=town] .hunter-shop:not(.locked) .town-enter-label{
  min-height:44px;background:#247f75!important;color:#fffdf4!important;
  border:1px solid #ddfff3!important;box-shadow:0 3px 7px #226c6040!important;
 }
 html body.ui2[data-mode=hunt][data-place=town] .street-arrow{
  width:44px;height:44px;min-height:44px;border:2px solid #fffdf5;
  background:#fff4dc;box-shadow:0 2px 5px #74563426;color:#705486;opacity:1!important;
 }
 html body.ui2[data-mode=hunt][data-place=town] .street-arrow:disabled{color:#b8abc1;box-shadow:none;cursor:default}
 html body.ui2[data-mode=hunt][data-place=town] .town-collection{
  height:auto!important;min-height:0!important;margin:0 8px 2px!important;padding:6px 10px 8px!important;
  gap:5px;border:1px solid #fffdf5!important;border-radius:22px!important;container-type:inline-size;
  box-shadow:0 3px 12px #66513d14!important;background:#fffaf0ed!important;
 }
 html body.ui2[data-mode=hunt][data-place=town] .town-collection::after{display:none}
 html body.ui2[data-mode=hunt][data-place=town] .town-collection-title{height:34px;min-height:34px!important;justify-content:space-between;gap:4px}
 html body.ui2[data-mode=hunt][data-place=town] .town-collection-title>span{display:none}
 html body.ui2[data-mode=hunt][data-place=town] .town-collection h2{font-size:16px;line-height:20px}
 html body.ui2[data-mode=hunt][data-place=town] .town-collection-title button{
  position:static;display:flex;align-items:center;justify-content:flex-end;
  width:auto;min-width:88px;height:44px;min-height:44px;padding:0 2px 0 8px;background:none;
  font-family:ui-rounded,system-ui,sans-serif;font-size:12px;font-weight:650;white-space:nowrap;color:#82658f;
 }
 html body.ui2[data-mode=hunt][data-place=town] .town-collection-title button svg{display:none}
 html body.ui2[data-mode=hunt][data-place=town] .mobile-view-all{display:inline}
 html body.ui2[data-mode=hunt][data-place=town] .town-toy-rail{flex:none;height:calc((100cqw - 28px)/4 + 8px)!important;min-height:0;padding:2px 2px 6px;gap:8px;align-items:stretch}
 html body.ui2[data-mode=hunt][data-place=town] .town-owned,
 html body.ui2[data-mode=hunt][data-place=town] .town-toy-rail>.tr-waiting{
  flex:0 0 calc((100% - 24px)/4);height:100%!important;min-width:0!important;min-height:0!important;aspect-ratio:1;
  border:2px solid #fffdf8;border-radius:17px;background:#fff6e5;box-shadow:0 2px 4px #7e65571c;
 }
 html body.ui2[data-mode=hunt][data-place=town] .town-owned:nth-child(4n+2){background:#fff3dc}
 html body.ui2[data-mode=hunt][data-place=town] .town-owned:nth-child(4n+3){background:#eff8f1}
 html body.ui2[data-mode=hunt][data-place=town] .town-owned:nth-child(4n+4){background:#f5effa}
 html body.ui2[data-mode=hunt][data-place=town] .town-owned>.toy{width:92%!important;height:92%!important}
}
