/* macfit.css (Nov 23 2026, Zachary: "Anything on Mac should be resized to fit the Mac"): every screen outside the Shop, Inventory, Rank,
   Geodes, Online and multiplayer uses the whole window on a computer, in columns. Nothing here touches phones (1000px and wider only). */
@media (min-width:1000px){
html body{--mfw:min(1360px,calc(100vw - 64px))}
/* Home: the emote button sits under the bar whatever its height */
body #ui:has(.homebar) .homeemo{top:var(--hbtop,112px)!important}body #ui:has(.homebar) .homeemos{top:calc(var(--hbtop,112px) + 52px)!important}
/* Play More */
body .crms .crmsh{padding:16px 24px 0}body .crms .crmsh h2{font-size:32px}body .crms .crmstabs{max-width:640px}body .crms .crmstabs button{padding:14px 6px;font-size:16px}
body .crms .crmsb{max-width:var(--mfw);padding:20px 8px 40px}body .crms .crmg,body .crms .crmg.th{grid-template-columns:repeat(auto-fill,minmax(268px,1fr))!important;gap:18px}body .crms .crmsb h3{font-size:17px;margin-top:24px}body .crms .crmsn{font-size:17px}
/* Streak road */
body .modal.stkm .stkp{width:min(1160px,calc(100vw - 64px));padding:28px 32px 22px}body .modal.stkm .stkp.cbp{width:min(720px,100%)}
body .stkm .stk-hero{justify-content:center;gap:24px}body .stkm .stk-big{flex-basis:104px;height:118px}body .stkm .stk-big .stk-fl{width:104px;height:118px}body .stkm .stk-big b{font-size:32px;margin-top:30px}
body .stkm .stk-h{font-size:34px}body .stkm .stk-sub,body .stkm .stk-next{font-size:17px}body .stkm .stk-stage{font-size:15px}
body .stkm .stk-bonus{max-width:820px;margin:14px auto 6px;padding:14px 20px}body .stkm .stk-bonus .bt b{font-size:17px}body .stkm .stk-bonus .bt small{font-size:15px}
body .stkm .stk-all{max-width:820px;margin:10px auto;padding:18px;font-size:17px}body .stkm .stk-rule{text-align:center;font-size:14px}
body .stkm .stk-ovl{max-width:none;grid-template-columns:1fr 1fr}
/* profile: the banner across the top, the sections in two columns */
body .modal.profm .profp{width:min(1240px,calc(100vw - 64px))!important;max-width:none!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-content:start;align-items:start;column-gap:18px}
body .modal.profm .profp>:is(.tutx,.pfban,.pfacct,.pfguest,.pfgo){grid-column:1/-1}body .modal.profm .profp>.tutx{justify-self:end}
body .profm .pfban{padding:24px 28px;gap:24px;justify-content:flex-start}body .profm .pfban .pfwho{max-width:640px}body .profm .pfban h2{font-size:34px}body .profm .pfsec:has(.pfstats){grid-column:1/-1}body .profm .pfstats{grid-template-columns:repeat(5,minmax(0,1fr))}body .profm .stkfire.pf{--w:118px;--H:104px}body .profm .pfav{width:128px;height:128px}body .profm .pfav canvas{width:128px!important;height:128px!important;max-width:100%;max-height:100%}
body .profm .pfsec{height:100%;box-sizing:border-box;margin-left:0;margin-right:0}body .profm .profp{padding-left:18px!important;padding-right:18px!important}body .profm .pfban{margin-left:-18px;margin-right:-18px}body .profm .pfacct,body .profm .pfgo{margin-left:0;margin-right:0}
/* Me */
body .mz.ezme .mzp{width:min(1180px,calc(100vw - 64px))!important;max-width:none!important}body .ezme .megrid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px}body .ezme .megrid .bk.wide{grid-column:span 2!important}body .ezme .megrid .bk{min-height:74px;font-size:17px}body .ezme .mesec{font-size:16px}
/* the ☰ menu */
body.mob .mbmore .mbsheet{max-width:min(1100px,calc(100vw - 64px))!important;grid-template-columns:repeat(4,1fr)!important;padding-left:24px;padding-right:24px}body.mob .mbmore .mbsheet .mbt{min-height:104px;font-size:18px}
/* Stats, Top 25, Badges, Moleseum, Skits, Archive (the Inventory's other tabs) */
body .mesheet .inner:not(:has(.panel.locker)):not(:has(.rkp)){max-width:var(--mfw)!important;width:100%!important}
body .mesheet #btab:has(>#stRank){columns:2;column-gap:16px}body .mesheet #btab:has(>#stRank)>*{break-inside:avoid;margin:0 0 16px!important}
body .mesheet .lbpanel{font-size:17px}
body .mesheet #btab .badges{grid-template-columns:repeat(auto-fill,minmax(176px,1fr))!important}body .mesheet #btab .toongrid{grid-template-columns:repeat(auto-fill,minmax(158px,1fr))!important}
body .mesheet #btab .alist{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:12px;margin:0}body .mesheet #btab .alist li{margin:0}
body .mesheet #btab .dexgrid{grid-template-columns:repeat(auto-fill,minmax(230px,1fr))!important}
/* Dig Pass: two columns of tiers */
body.mob .crov.crpassS .crovp{max-width:var(--mfw)!important;width:var(--mfw)!important}
body .crpassS .passp .phead>div:first-child{flex:1}body .crpassS .passp .ptrack{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;column-gap:26px}body .crpassS .passp .ptrack{grid-auto-flow:column;grid-template-rows:auto repeat(15,auto);grid-auto-columns:minmax(0,1fr)}body .crpassS .passp #prow16{grid-row:2}
/* this week's board */
body.mob .crov.crwkS .crovp{max-width:min(1160px,calc(100vw - 64px))!important;width:100%}body .crwkS .crwkl{display:grid;grid-template-columns:1fr 1fr;grid-auto-flow:row;gap:8px 16px}body .crwkS .crwkl li{margin:0;min-height:44px;box-sizing:border-box}body .crwkS .crpod{max-width:860px;margin-left:auto;margin-right:auto}
/* settings */
body .modal.settings .setp{width:min(1160px,calc(100vw - 64px))!important;max-width:none!important}body .modal.settings .panel.setp>.tutx{right:max(16px,calc(50% - 570px))}body .settings .scats{grid-template-columns:repeat(6,minmax(0,1fr))!important}
body .settings .setp .tstbar{display:inline-flex;width:calc(50% - 8px)!important;box-sizing:border-box;vertical-align:top}body .settings .setp #setTester{margin-right:12px}body .settings .srow{font-size:17px}body .settings .srow input[type=range]{width:min(420px,40vw)}
/* friends drawer */
body .frdrawer.dgfr{width:min(580px,46vw)!important}body .frdrawer.dgfr .frp{width:auto!important;max-width:none!important}
/* pop-ups */
body .modal.pnote>.panel{width:min(1040px,calc(100vw - 64px));max-width:none}body .modal.pnote>.panel{height:auto;max-height:min(820px,90vh)}body .pnote .pnbody>ul{grid-template-columns:1fr 1fr;column-gap:26px}body .pnote .pnbody{font-size:17px}body .pnote .pnfbk{display:grid;grid-template-columns:1fr 1fr;gap:12px;align-items:stretch}body .pnote .pnfbk>*{margin:0!important}
body .modal.ideam>.panel.ideap{width:min(1100px,calc(100vw - 64px));max-width:none}body .ideam .pwall{grid-template-columns:1fr 1fr;gap:12px}
body .modal.votem>.panel.votep{width:min(1280px,calc(100vw - 64px));max-width:none}body .votem .pnpoll{grid-template-columns:repeat(3,1fr)}body .votem .bvpasses{grid-template-columns:repeat(3,minmax(0,1fr));align-items:start}body .votem .bvmodes{grid-template-columns:repeat(4,minmax(0,1fr))}
body .modal>.panel.legal{width:min(980px,calc(100vw - 64px));max-width:none;font-size:17px}
body .modal.chmodal>.panel{width:min(1080px,calc(100vw - 64px));max-width:none}body .chmodal .chlist{grid-template-columns:1fr 1fr}body .chmodal .ladder{grid-template-columns:repeat(4,1fr)}
body .modal>.panel:has(>#closeHow){width:min(820px,calc(100vw - 64px));max-width:none;font-size:18px}body .modal>.panel:has(>#closeHow) .tiers li{font-size:18px}
body .mz.enpop .mzp{width:min(900px,calc(100vw - 64px))!important;max-width:none!important}body .mz.enpop .mzp>.mzbtn{display:inline-flex;width:calc(50% - 16px)!important;min-height:92px;margin:6px!important;vertical-align:top}body .mz.enpop .mzp{text-align:center}
/* Diggle Club: the big card beside the slides */
body .cpm .cpw{max-width:min(1300px,calc(100vw - 180px))!important;width:100%;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:22px;align-items:start}body .cpm .cpw>*{grid-column:1/-1}body .cpm .cpw>.cph{grid-column:1}body .cpm .cpw>.cpcar{grid-column:2}
body .mesheet .lbpanel .lb{grid-template-columns:1fr 1fr;gap:8px 18px}body .mesheet .lbpanel .lb li{min-height:44px}
/* after a dig (not a party's standings): two columns */
body #ui>.sheet>.inner:has(>.panel .bigdeep):not(:has(>#pstandPanel)){display:block!important;max-width:var(--mfw)!important;columns:2;column-gap:18px}body #ui>.sheet>.inner:has(>.panel .bigdeep):not(:has(>#pstandPanel))>*{break-inside:avoid;margin:0 0 16px!important}
}
@media (min-width:1000px) and (min-height:700px){
body .profm .pfsec,body .mesheet #btab{font-size:17px}
}
@media (min-width:1000px) and (min-height:860px){body .xmcal>*{zoom:1.22}}
