#mobileinfo,#lookhint{display:none}body{overscroll-behavior:none}button,a{-webkit-tap-highlight-color:transparent}#scene,header,footer,#mobilepad{-webkit-user-select:none;user-select:none}dialog{-webkit-overflow-scrolling:touch;overscroll-behavior:contain}input,select{font-size:16px}#joystick{touch-action:none;position:relative;width:116px;height:116px;border:1px solid #fff4d9b3;border-radius:50%;background:#fff3d938;box-shadow:inset 0 0 0 13px #fff5df19;display:flex;align-items:center;justify-content:center}.stick-ring{position:absolute;width:72px;height:72px;border:1px solid #e1cba172;border-radius:50%}#sticknub{position:relative;display:block;width:46px;height:46px;border-radius:50%;background:#f9e9c5dc;border:1px solid #fff5df;box-shadow:0 4px 12px #80644020;pointer-events:none;will-change:transform}#mobilepad>small{display:block;color:#9c8359;font-size:9px;text-align:center;margin-top:7px;letter-spacing:2px}
@media(max-width:700px),(pointer:coarse) and (max-width:1200px),(max-height:500px) and (max-width:1000px){
 body{height:100dvh;overflow:hidden}header{left:max(12px,env(safe-area-inset-left));right:max(12px,env(safe-area-inset-right));top:max(10px,env(safe-area-inset-top));width:auto;padding:6px 8px;gap:7px;flex-wrap:nowrap;justify-content:flex-start;border-radius:16px;max-width:450px}.brand{flex-basis:auto;flex-shrink:0;gap:0}.brand>div{display:none}.brand .mark{font-size:27px;line-height:1}.menu-back,#growth{min-height:38px;margin:0;padding:8px 10px;font-size:11px}.round{min-width:38px;height:38px;font-size:19px;margin-left:auto}#mobileinfo{display:block;min-width:38px;height:38px;border-radius:50%;border:1px solid #ddc8a2;background:#fff7e1;color:#a68a60;font-size:20px}#growth span{font-size:10px}.wallet{left:max(12px,env(safe-area-inset-left));right:auto;top:calc(max(10px,env(safe-area-inset-top)) + 65px);width:calc(100vw - 142px - env(safe-area-inset-left) - env(safe-area-inset-right));max-width:290px;padding:10px 12px;display:grid;grid-template-columns:1fr 1fr;gap:5px 10px;border-radius:13px}.wallet>div:first-child{display:flex;flex-direction:row;align-items:center;gap:6px}.wallet b{font-size:20px}.wallet .level{font-size:10px;align-items:flex-end;justify-content:center;gap:2px;margin:0;min-width:0}.wallet .level span{white-space:nowrap}.wallet .level small{font-size:8px;white-space:nowrap}.wallet>.progress{grid-column:1 / -1}.wallet #shop{display:none}.info-open .wallet #shop{display:block;font-size:9px;margin:0}.minimap{right:max(12px,env(safe-area-inset-right));top:calc(max(10px,env(safe-area-inset-top)) + 65px);width:106px;padding:7px;border-radius:13px}.maptitle{font-size:9px}.maptitle .help{width:26px;height:26px;min-width:26px}.maplegend{font-size:6px;letter-spacing:-.3px;white-space:nowrap}#mapdistance{font-size:6px;line-height:1.7;white-space:normal}.task{left:max(12px,env(safe-area-inset-left));top:calc(max(10px,env(safe-area-inset-top)) + 141px);width:calc(100vw - 142px - env(safe-area-inset-left) - env(safe-area-inset-right));max-width:290px;padding:9px 12px;border-radius:13px}.task .eyebrow,.task .job,.task>.progress,.task-meta,#companionstatus{display:none}.task #courtstatus{font-size:10px;margin:0;line-height:1.6}.info-open .task{top:calc(max(10px,env(safe-area-inset-top)) + 163px)}.info-open .task .eyebrow{display:flex;letter-spacing:1px;font-size:10px}.info-open .task .job{display:flex}.info-open .task>.progress{display:block}.info-open #companionstatus{display:block;font-size:9px;line-height:1.9}.info-open .task-meta{display:flex;gap:6px;font-size:8px}.task .help{width:28px;height:28px;min-width:28px}.help{position:relative}.help:after{content:'';position:absolute;inset:-7px}footer{left:max(12px,env(safe-area-inset-left));right:max(12px,env(safe-area-inset-right));bottom:calc(max(12px,env(safe-area-inset-bottom)) + 3px);align-items:flex-end;gap:10px}.tool{min-width:0;width:auto;max-width:calc(100vw - 156px);padding:9px 36px 9px 10px;gap:8px;border-radius:13px}.tool b{font-size:23px;line-height:1.1}.tool .dim{font-size:11px}.tool small{font-size:8px;max-width:145px;display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.tool-symbol{display:none}.tool .tool-help{position:absolute;width:26px;height:26px;min-width:26px;right:5px;top:5px}#pour{min-height:48px;max-width:144px;padding:13px 14px;font-size:11px;border-radius:14px;line-height:1.5;touch-action:manipulation}#pour span{display:none}.controls{display:none}#mobilepad{display:block;left:max(20px,env(safe-area-inset-left));bottom:calc(max(12px,env(safe-area-inset-bottom)) + 104px);z-index:3;touch-action:none}#lookhint{display:block;position:absolute;right:max(20px,env(safe-area-inset-right));bottom:calc(max(12px,env(safe-area-inset-bottom)) + 119px);font-size:9px;letter-spacing:1px;color:#a58c67;background:#fff5de82;padding:8px 10px;border-radius:20px;pointer-events:none}#toast{bottom:calc(max(12px,env(safe-area-inset-bottom)) + 80px);width:max-content;max-width:calc(100vw - 24px);font-size:10px;padding:9px 13px;line-height:1.7;white-space:normal;z-index:4}#entry{padding:max(22px,env(safe-area-inset-top)) max(22px,env(safe-area-inset-right)) max(22px,env(safe-area-inset-bottom)) max(22px,env(safe-area-inset-left));height:100dvh}.entry-top>span{font-size:12px}.entry-top>small{display:none}.entry-layout{min-height:0;flex-direction:column;gap:24px;align-items:stretch}.entry-kicker{margin-top:32px;font-size:9px}.entry-copy h1{font-size:48px;letter-spacing:4px;margin:16px 0}.entry-copy h1 span{font-size:10px;letter-spacing:6px}.entry-copy>p{font-size:12px;margin:17px 0 24px}.entry-actions{max-width:none}.entry-actions button{min-height:48px;font-size:12px}.entry-card{width:100%;padding:18px;transform:none}.entry-card h2{font-size:21px;margin:12px 0}.entry-court{height:104px;margin-bottom:12px}.entry-card>p{margin:8px 0 12px}.entry-card button{min-height:44px;padding-top:13px}.entry-bottom{font-size:8px;line-height:1.8}.entry-bottom span{display:none}#modelstatus{position:static;transform:none;text-align:center;padding-top:12px}#settingsdialog,#helpdialog,#equipmentdialog,#treedialog{width:calc(100vw - 24px);max-width:620px;max-height:calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom));padding:22px 18px;border-radius:18px}.dialog-x,#helpclose{width:38px;height:38px;right:10px;top:10px;z-index:6}.primary,#helpgotit,#settingsdone,#equipmentbuy{min-height:48px;font-size:12px}#equipmentdone{min-height:44px}.skin-grid{gap:7px}.skin-option{min-height:94px}.skin-option b{font-size:11px}.skin-option small{font-size:8px}.setting-row{font-size:12px;min-height:38px}.setting-row input[type=range]{height:38px}.setting-row select{font-size:14px;max-width:190px}#clubname{font-size:16px;min-height:46px}.tree-summary{align-items:flex-start;flex-direction:column;gap:5px}.tree-summary small{font-size:9px}.skill-tree-board{min-width:540px}.skill-tree-legend{font-size:8px;line-height:1.8}.skill-detail{flex-direction:column;align-items:stretch;padding:12px;gap:9px}.skill-detail button{min-height:44px;width:100%;font-size:12px}.skill-detail h3{font-size:13px}.skill-detail p{font-size:11px}.skill-detail small{font-size:10px}#treeplay{max-width:none;min-height:44px}.skill-bud{min-height:76px;touch-action:manipulation}.bud-icon{min-width:44px;min-height:44px}.skill-tree-scroll{touch-action:pan-x pan-y}.at-menu #lookhint,.at-menu #mobilepad{display:none}
}
@media(max-width:359px){header{gap:4px;padding:5px 7px}.brand .mark{font-size:24px}.menu-back,#growth{padding:8px;font-size:10px}.round,#mobileinfo{min-width:34px;width:34px}.wallet,.task{width:calc(100vw - 128px)}.minimap{width:96px}.wallet .level{font-size:8px}.wallet b{font-size:18px}.entry-copy h1{font-size:42px}.tool small{max-width:120px}#pour{max-width:120px;font-size:10px}}
@media(orientation:landscape) and (max-height:500px) and (max-width:1200px){header{max-width:310px;top:max(8px,env(safe-area-inset-top))}.wallet{top:max(8px,env(safe-area-inset-top));left:auto;right:calc(max(12px,env(safe-area-inset-right)) + 117px);width:190px;padding:9px 12px}.minimap{top:max(8px,env(safe-area-inset-top));width:100px}.task{top:calc(max(8px,env(safe-area-inset-top)) + 64px);width:210px}.info-open .task{top:calc(max(8px,env(safe-area-inset-top)) + 64px)}.info-open .wallet #shop{display:none}#mobilepad{left:max(24px,env(safe-area-inset-left));bottom:calc(max(8px,env(safe-area-inset-bottom)) + 61px)}#joystick{width:92px;height:92px}#sticknub{width:40px;height:40px}#mobilepad>small{display:none}#lookhint{right:max(24px,env(safe-area-inset-right));bottom:calc(max(8px,env(safe-area-inset-bottom)) + 74px)}footer{bottom:max(8px,env(safe-area-inset-bottom))}.tool{padding:7px 33px 7px 10px}.tool b{font-size:21px}#pour{min-height:44px;padding:10px 16px}#toast{bottom:62px}.entry-layout{flex-direction:row;align-items:center;gap:28px}.entry-copy{min-width:0}.entry-copy h1{font-size:40px}.entry-kicker{margin-top:20px}.entry-copy>p{margin:12px 0 16px}.entry-card{width:235px;flex-shrink:0}.entry-court{height:74px}.entry-card h2{font-size:17px}.entry-copy>small{font-size:8px}.entry-bottom{margin-top:20px}#entry{padding:18px 28px}.entry-top>span{font-size:11px}.entry-actions button{min-height:44px;padding:10px;font-size:10px}.entry-card button{font-size:10px}.entry-card>p{font-size:9px}#startgame{font-size:13px;padding:12px 16px}.tree-summary small{display:none}.tree-summary{padding:8px 12px}.skill-detail{flex-direction:row;align-items:center}.skill-detail button{width:auto;min-width:126px}.skill-tree-scroll{max-height:46dvh;overflow:auto}#treetitle{font-size:20px}.tree-note{font-size:8px}}
@media(max-width:700px),(pointer:coarse) and (max-width:1200px),(max-height:500px) and (max-width:1000px){.maplegend{font-size:0}.maplegend span{display:none}.maplegend:after{content:'▲ 你　▣ 筐／店';font-size:8px;letter-spacing:0}#mapdistance{font-size:8px;line-height:1.6}.skill-tree-legend:after{content:'↔ 左右滑動查看其他分枝';display:block;color:#af8d58;font-size:10px;padding:3px 0}.task #courtstatus{overflow-wrap:anywhere}}
