/* [mob-d] phone fixes, group d: every game and dialog fits a sideways phone. Loaded after mob-c.css. */

/* the touch pad trek games without on-canvas buttons get (trekgames.js); only a touch screen ever shows it */
.tg-pad{display:flex;flex-wrap:wrap;gap:6px;justify-content:center;user-select:none;-webkit-user-select:none}
.tg-pad[hidden]{display:none}
.tg-pad .tg-pk{min-width:52px;min-height:48px;padding:6px 10px;border-radius:12px;border:1.5px solid rgba(255,255,255,.45);background:rgba(10,16,12,.6);color:#fff;font:700 16px var(--body,system-ui);touch-action:none;cursor:pointer}
.tg-pad .tg-pk.on{background:rgba(255,255,255,.34)}
.tg-pad .tg-pk.k-SP{min-width:96px}
/* the touch-only extras some screens carry (a Smash button at badminton, a Close on Beat the Bot's result and leaderboard): never on a mouse */
.m-touch{display:none!important}
@media (pointer:coarse){.m-touch{display:inline-flex!important}.m-touch.bb-row{display:flex!important}}
/* a touch screen bigger than a phone (a tablet): the trek pad is an arrow cross under the title, beside the game */
@media (pointer:coarse){
  #mwrap.tgdock .tg-pad{display:grid;grid-template-columns:repeat(3,52px);gap:5px;justify-content:start}
  #mwrap.tgdock .tg-pad[hidden]{display:none}
  #mwrap.tgdock .tg-pad .tg-pk{min-width:0;min-height:46px;padding:4px}
  #mwrap.tgdock .tg-pad .tg-pk.k-L{grid-column:1;grid-row:2}#mwrap.tgdock .tg-pad .tg-pk.k-U{grid-column:2;grid-row:1}
  #mwrap.tgdock .tg-pad .tg-pk.k-D{grid-column:2;grid-row:2}#mwrap.tgdock .tg-pad .tg-pk.k-R{grid-column:3;grid-row:2}
  #mwrap.tgdock .tg-pad .tg-pk:not(.k-L):not(.k-U):not(.k-D):not(.k-R):not(.k-SP){grid-row:3;font-size:12px}
  #mwrap.tgdock .tg-pad .tg-pk.k-SP{grid-row:4;grid-column:1/-1}
}
@media (pointer:coarse) and (min-width:1001px){
  #mwrap.tgdock>.card.tg:has(.tg-pad:not([hidden])){grid-template-rows:auto auto 1fr}
  #mwrap.tgdock>.card.tg:has(.tg-pad:not([hidden])) .tg-cv{grid-row:1/4}
  #mwrap.tgdock .tg-pad{grid-column:1;grid-row:2}
  #mwrap.tgdock>.card.tg:has(.tg-pad:not([hidden])) .tg-ft{grid-row:3}
}

@media (pointer:coarse) and (orientation:landscape) and (max-height:500px){
  /* ================= table games (foosball, table tennis, pool, light bikes, carrom, air hockey, badminton, bowling) =================
     the whole screen: the court on the left as tall as the screen allows, the score, the how-to, the chat and Leave in a column on the right */
  html #mwrap[data-kind=match]{padding:max(4px,env(safe-area-inset-top,0px)) max(8px,env(safe-area-inset-right,0px)) max(4px,env(safe-area-inset-bottom,0px)) max(8px,env(safe-area-inset-left,0px))}
  html #mwrap[data-kind=match]>.card.match{width:100%;max-width:none;height:100%;max-height:100%;overflow:hidden;padding:8px 10px;display:grid;
    grid-template-columns:minmax(0,auto) minmax(190px,1fr);grid-template-rows:auto auto minmax(0,1fr) auto auto;gap:6px 12px;align-content:stretch}
  html #mwrap[data-kind=match] .mhead{grid-column:2;grid-row:1;flex-direction:column;align-items:flex-start;gap:2px}
  html #mwrap[data-kind=match] .mhead h2{font-size:15px;line-height:1.2;margin:0}
  html #mwrap[data-kind=match] .mscore{font-size:18px}
  html #mwrap[data-kind=match]>.card>.sub{grid-column:2;grid-row:2;margin:0;font-size:12px;line-height:1.35;max-height:30dvh;overflow:auto}
  html #mwrap[data-kind=match] .marea{display:contents}
  html #mwrap[data-kind=match] .marea>canvas{grid-column:1;grid-row:1/-1;align-self:center;justify-self:center;
    width:auto!important;height:auto!important;max-height:calc(100dvh - 24px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px))!important;max-width:calc(100vw - 240px - env(safe-area-inset-left,0px) - env(safe-area-inset-right,0px))!important;margin:0!important}
  html #mwrap[data-kind=match] .marea>.big{grid-column:1;grid-row:1/-1;align-self:center}
  html #mwrap[data-kind=match] .marea>.pad4{grid-column:2;grid-row:3;align-self:end;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-areas:". u ." "l d r"}
  html #mwrap[data-kind=match] .marea>.pad4>button{min-height:52px;margin:0;font-size:22px;padding:0}
  html #mwrap[data-kind=match] .marea>.pad4>button:nth-child(1){grid-area:l}html #mwrap[data-kind=match] .marea>.pad4>button:nth-child(2){grid-area:u}
  html #mwrap[data-kind=match] .marea>.pad4>button:nth-child(3){grid-area:d}html #mwrap[data-kind=match] .marea>.pad4>button:nth-child(4){grid-area:r}
  html #mwrap[data-kind=match] .marea>.m-smash{grid-column:2;grid-row:3;align-self:end;justify-content:center;align-items:center;min-height:52px}
  html #mwrap[data-kind=match] .card.match>label.fld{grid-column:2;grid-row:4;margin:0;font-size:12px}
  html #mwrap[data-kind=match] .mlog{grid-column:2;grid-row:3;max-height:none;min-height:0;font-size:12px}
  html #mwrap[data-kind=match] .card.match:has(.marea>.pad4) .mlog,html #mwrap[data-kind=match] .card.match:has(.marea>.m-smash) .mlog{display:none}
  html #mwrap[data-kind=match] .mrow{grid-column:2;grid-row:5;flex-direction:column;align-items:stretch;gap:6px}
  html #mwrap[data-kind=match] .mrow input{min-height:40px;font-size:16px;flex:none}
  html #mwrap[data-kind=match] .mrow .hb{min-height:44px}

  /* ================= the arcade (claw, shooting gallery, hoops, whack-a-mole): the machine on the left at full height, the score,
     the touch pad and Walk away on the right ================= */
  html #mwrap[data-kind=arcade]{padding:max(4px,env(safe-area-inset-top,0px)) max(8px,env(safe-area-inset-right,0px)) max(4px,env(safe-area-inset-bottom,0px)) max(8px,env(safe-area-inset-left,0px))}
  html #mwrap[data-kind=arcade]>.card.arc{width:100%;max-width:none;height:100%;max-height:100%;overflow:hidden;padding:8px 10px;display:grid;
    grid-template-columns:minmax(0,auto) minmax(180px,1fr);grid-template-rows:auto minmax(0,1fr) auto auto;gap:6px 12px}
  html #mwrap[data-kind=arcade] .arc-head{grid-column:2;grid-row:1;flex-direction:column;align-items:flex-start;gap:6px}
  html #mwrap[data-kind=arcade] .card.arc h2{font-size:18px;margin:0}
  html #mwrap[data-kind=arcade] .arc-hud span{font-size:13px}
  html #mwrap[data-kind=arcade] .arc-stage{grid-column:1;grid-row:1/-1;align-self:center;justify-self:center}
  html #mwrap[data-kind=arcade] .arc-stage canvas{width:auto;height:auto;min-height:0;max-height:calc(100dvh - 24px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));max-width:calc(100vw - 230px - env(safe-area-inset-left,0px) - env(safe-area-inset-right,0px))}
  html #mwrap[data-kind=arcade] .arc-over{padding:8px;gap:6px}html #mwrap[data-kind=arcade] .arc-big{font-size:34px}html #mwrap[data-kind=arcade] .arc-over p{font-size:13px;margin:0}
  html #mwrap[data-kind=arcade] .arc-over button{min-height:44px}
  html #mwrap[data-kind=arcade] .card.arc>.sub{grid-column:2;grid-row:2;margin:0;font-size:12px;overflow:auto;min-height:0}
  html #mwrap[data-kind=arcade] .arc-pad{grid-column:2;grid-row:3;display:grid;grid-template-columns:repeat(auto-fit,minmax(44px,1fr));gap:6px}
  html #mwrap[data-kind=arcade] .arc-pad:empty{display:none}
  html #mwrap[data-kind=arcade] .arc-pad button{min-width:0;min-height:48px;padding:6px 4px}
  html #mwrap[data-kind=arcade] .arc-pad button.drop{grid-column:1/-1;min-width:0}
  html #mwrap[data-kind=arcade] .card.arc>.ghost:last-child{grid-column:2;grid-row:4;position:static;margin:0;padding:0 12px;min-height:44px;display:flex;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:10px;box-shadow:none;background:#1b2240;color:var(--fg);text-decoration:none;font-weight:700}

  /* ================= the cooking game (your food cart or restaurant): the stove at full height, the four scores and the hint beside it ================= */
  html #mwrap[data-kind=bz-cook]{padding:max(4px,env(safe-area-inset-top,0px)) max(8px,env(safe-area-inset-right,0px)) max(4px,env(safe-area-inset-bottom,0px)) max(8px,env(safe-area-inset-left,0px))}
  html #mwrap[data-kind=bz-cook]>.card.bz-cook{width:100%;max-width:none;height:100%;max-height:100%;overflow:hidden;padding:8px 10px;display:grid;
    grid-template-columns:minmax(0,auto) minmax(170px,1fr);grid-template-rows:auto auto minmax(0,1fr);gap:8px 12px}
  html #mwrap[data-kind=bz-cook] .bz-cook>h2{grid-column:2;grid-row:1;font-size:17px;margin:0}
  html #mwrap[data-kind=bz-cook] .bz-cook>canvas{grid-column:1;grid-row:1/-1;align-self:center;justify-self:center;width:auto;height:auto;max-height:calc(100dvh - 24px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));max-width:calc(100vw - 220px - env(safe-area-inset-left,0px) - env(safe-area-inset-right,0px))}
  html #mwrap[data-kind=bz-cook] .bz-cook .bz-parts{grid-column:2;grid-row:2;justify-content:flex-start}
  html #mwrap[data-kind=bz-cook] .bz-cook .bz-parts span{font-size:12px}
  html #mwrap[data-kind=bz-cook] .bz-cook>.hint{grid-column:2;grid-row:3;margin:0;font-size:13px;overflow:auto}

  /* ================= trek mini-games: still docked over the climb, but beside it rather than under it: the title, the touch pad and
     Give up on the left, the game as tall as the screen allows on the right ================= */
  html #mwrap.tgdock{padding:max(4px,env(safe-area-inset-top,0px)) max(8px,env(safe-area-inset-right,0px)) max(4px,env(safe-area-inset-bottom,0px)) max(8px,env(safe-area-inset-left,0px));align-items:center}
  html #mwrap.tgdock>.card.tg{grid-template-columns:minmax(160px,1fr) auto;grid-template-rows:minmax(0,1fr) auto auto;width:auto;max-width:100%;max-height:100%;padding:6px 8px;column-gap:10px;background:rgba(14,22,18,.92)}
  html #mwrap.tgdock .tg-hd{grid-column:1;grid-row:1;min-height:0;overflow:auto;overscroll-behavior:contain}
  html #mwrap.tgdock .tg-hd .sub{display:block;font-size:12px}
  html #mwrap.tgdock .tg-cv{grid-column:2;grid-row:1/4;width:auto;height:min(calc(100dvh - 20px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px)),calc((100vw - 200px - env(safe-area-inset-left,0px) - env(safe-area-inset-right,0px)) * .5625))}
  html #mwrap.tgdock .tg-pad{grid-column:1;grid-row:2;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}
  html #mwrap.tgdock .tg-pad[hidden]{display:none}
  html #mwrap.tgdock .tg-pad .tg-pk{min-width:0;min-height:46px;padding:4px;font-size:15px}
  html #mwrap.tgdock .tg-pad .tg-pk.k-L{grid-column:1;grid-row:2}html #mwrap.tgdock .tg-pad .tg-pk.k-U{grid-column:2;grid-row:1}
  html #mwrap.tgdock .tg-pad .tg-pk.k-D{grid-column:2;grid-row:2}html #mwrap.tgdock .tg-pad .tg-pk.k-R{grid-column:3;grid-row:2}
  html #mwrap.tgdock .tg-pad .tg-pk:not(.k-L):not(.k-U):not(.k-D):not(.k-R):not(.k-SP){grid-row:3;font-size:12px;line-height:1.1}
  html #mwrap.tgdock .tg-pad .tg-pk.k-SP{grid-row:4;grid-column:1/-1;font-size:14px}
  html #mwrap.tgdock .tg-ft{grid-column:1;grid-row:3;flex-direction:row}
  html #mwrap.tgdock .tg-ft>span{display:none}
  html #mwrap.tgdock .tg-ft .ghost{min-height:44px;padding:0 14px;display:flex;align-items:center;justify-content:center;width:100%;margin:0;border:1px solid rgba(255,255,255,.3);border-radius:10px}

  /* ================= KR Market stalls: Buy buttons big enough to tap, the recipe lab and Done pinned at the bottom ================= */
  html #mwrap[data-kind=kr-stall] .kr-buy button{min-height:40px;font-size:13px}
  html #mwrap[data-kind=kr-stall] .kr-foot{position:sticky;bottom:-12px;z-index:4;margin:0 -16px -12px;padding:8px 16px 10px;background:inherit;background-color:#2b1d10;box-shadow:0 -10px 14px -8px rgba(0,0,0,.5)}
  html #mwrap[data-kind=kr-stall] .kr-foot>button{min-height:44px}
  html #mwrap[data-kind=kr-stall] .kr-foot .ghost{padding:0 16px;border:1px solid rgba(217,195,160,.5);border-radius:10px}

  /* ================= the arcade prize counter: Close pinned ================= */
  html #mwrap[data-kind=arcade-shop] .card.arc{width:min(820px,100%)}
  html #mwrap[data-kind=arcade-shop] .arc-shop{grid-template-columns:repeat(auto-fill,minmax(140px,1fr))}
  html #mwrap[data-kind=arcade-shop] .arc-prize small{font-size:12px}

  /* ================= Beat the Bot: the result scrolls (it was clipped with no way out), Rematch / Change / Leaderboard / Close pinned;
     the leaderboard scrolls and has a Close; the route map is drawn for the phone's shape (bots.js) and not shrunk ================= */
  html #mwrap[data-kind=bots]>.card.bb-card:has(>.bb-resg){overflow-y:auto;overscroll-behavior:contain;padding-bottom:0}
  html #mwrap[data-kind=bots] .bb-card>.bb-resg{flex:none;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);align-items:start;gap:10px}
  html #mwrap[data-kind=bots] .bb-card>.bb-more{flex:none;padding-bottom:10px}
  html #mwrap[data-kind=bots] .bb-res .bb-stage{padding:8px 8px 10px;gap:6px}
  html #mwrap[data-kind=bots] .bb-res .bb-stage .bb-av{width:120px;height:136px}
  html #mwrap[data-kind=bots] .bb-res .big{font-size:22px}
  html #mwrap[data-kind=bots] .bb-col>.bb-row>*{min-height:44px}
  html #mwrap[data-kind=bots] .bb-again{position:sticky;bottom:0;z-index:5;margin:0 -2px;padding:8px 2px 10px;background:var(--surface,#FBF5EA);box-shadow:0 -10px 12px -8px rgba(42,28,18,.3)}
  html #mwrap[data-kind=bots] .bb-again>*{flex:1 1 30%;min-height:44px}
  html #mwrap[data-kind=bots] .bb-card>.bb-lb{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain}
  html #mwrap[data-kind=bots] .bb-card>.bb-lbclose{flex:none;padding:6px 0 8px;margin:0}
  html #mwrap[data-kind=bots] .bb-card>.bb-lbclose>*{min-height:44px}
  html #mwrap[data-kind=bots] .bb-lbbar button,html #mwrap[data-kind=bots] .bb-seg button{min-height:40px}
  html #mwrap[data-kind=bots] .bb-svgwrap svg{max-height:none}

  /* ================= the printer errand: the request, the display and the guide on the left, the trays on the right in a fixed grid
     (opening a door or a late change of plan no longer moves the buttons under your finger), the settings and PRINT below; Give up is a button ================= */
  html #mwrap[data-kind=mini] .prn{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);column-gap:10px;padding:8px;align-items:start}
  html #mwrap[data-kind=mini] .prn>.prn-chat{grid-column:1;grid-row:1;height:92px;overflow:auto;overscroll-behavior:contain;margin:0 0 6px;display:flex;flex-direction:column;font-size:12.5px;line-height:1.4}
  html #mwrap[data-kind=mini] .prn>.prn-chat p.late{order:-1}
  html #mwrap[data-kind=mini] .prn>.prn-lcd{grid-column:1;grid-row:2;margin:0 0 4px;padding:7px 8px;font-size:13px}
  html #mwrap[data-kind=mini] .prn>.prn-guide{grid-column:1;grid-row:3/5;margin:0}
  html #mwrap[data-kind=mini] .prn-guide summary{min-height:40px;display:flex;align-items:center;gap:6px;font-size:13px;font-weight:700;color:#0b4a73}
  html #mwrap[data-kind=mini] .prn-guide p{font-size:12px;color:#1d2530}
  html #mwrap[data-kind=mini] .prn>.prn-trays{grid-column:2;grid-row:1/3;grid-template-rows:repeat(3,44px);gap:6px;margin:0}
  html #mwrap[data-kind=mini] .prn-tray{padding:2px 4px;line-height:1.15;font-size:12.5px;min-height:0}
  html #mwrap[data-kind=mini] .prn>.prn-ctl{grid-column:2;grid-row:3/5;margin:6px 0;gap:6px;justify-content:flex-start}
  html #mwrap[data-kind=mini]>.card.station:has(.prn)>.sub{display:none}
  html #mwrap[data-kind=mini] .prn-n button{min-width:44px;min-height:44px;font-size:18px;padding:0}
  html #mwrap[data-kind=mini] .prn-tog{min-height:44px}
  html #mwrap[data-kind=mini] .prn>.opt.go{grid-column:1/-1;grid-row:5;position:sticky;bottom:-10px;z-index:5;min-height:46px;margin:0;box-shadow:0 -8px 12px -6px rgba(42,28,18,.3)}
  html #mwrap[data-kind=mini] .prn>.opt.go:disabled{opacity:1;background:#d9a08a;border-color:#d9a08a;color:#fff;position:static;box-shadow:none}
  html #mwrap[data-kind=mini]>.card>.stn-giveup{position:static;margin:4px 0 0;padding:0 14px;min-height:44px;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:10px;box-shadow:none}

  /* ================= Kitaab (the book): pages use their height for the text and the answers; the "scroll for more" pill (it took the
     answers' room) gives way to the fade already on the page, the page numbers go, Close no longer sits on the right page's heading ================= */
  html .rdb .rdb-page{padding:12px 18px 10px}
  html .rdb .rdb-head{margin-bottom:6px;padding-bottom:4px;font-size:12px}
  html .rdb .rdb-page.right{padding-left:32px}
  html .rdb .rdb-page.right .rdb-head{margin-right:96px;margin-left:12px;text-align:left}
  html .rdb .rdb-foot{display:none}
  html .rdb .rd-more{display:none}
  html .rdb .rd-turn{min-height:40px}
  html .rdb .rdb-title{font-size:20px}html .rdb .rdb-by{margin-bottom:6px}
  html .rdb .rdb-text{font-size:15px;line-height:1.5}
  html .rdb .ws-q{margin-bottom:8px}html .rdb .ws-q>b{font-size:14.5px;margin-bottom:2px}
  html .rdb .ws-o{font-size:14px;line-height:1.3;padding-top:4px;padding-bottom:4px}
  html .rdb .rdb-end{padding-top:6px;gap:8px;flex-wrap:nowrap}
  html .rdb .rdb-end small{font-size:12px;line-height:1.3}
  html .rdb .rd-stamp{padding:8px 12px 7px;font-size:13px;min-height:44px;flex:none}
  html .rdb>.rd-xclose{top:4px;right:16px}

  /* ================= Seatwala's seat map: its legend scrolls instead of hiding under Date night,
     and the hall fades at the edge where more seats are a swipe away ================= */
  html body.phone-on #mwrap .pk:has(.sw-hall) .sw-leg{min-height:0;overflow:auto;overscroll-behavior:contain;row-gap:4px}
  html body.phone-on #mwrap .pk:has(.sw-hall) .sw-head{flex:none}
  html body.phone-on #mwrap .pk:has(.sw-hall) .sw-hall.sw-more-r{-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 36px),rgba(0,0,0,.25));mask-image:linear-gradient(90deg,#000 calc(100% - 36px),rgba(0,0,0,.25))}

  /* ================= the car card's tenure chips, the wardrobe's tabs in one row, the office designer's top row without its title so Delete floor fits ================= */
  html #mwrap:is([data-kind=carcard],[data-kind=carbrowse]) .cb-chip{min-height:40px;display:inline-flex;align-items:center}
  html #mwrap:is([data-kind=profile],[data-kind=shop]) .looked .lookrows>.kindrow{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr)}
  html #edTop h2{display:none}
  html #edName{width:120px}
  html #edTop{scroll-snap-type:x proximity}

  /* ================= the summit card: the view on the left at full height, the way down right under the title, the rest scrolling ================= */
  html #mwrap[data-kind=summit]>.card.trk-summit{width:min(820px,100%);max-width:none;display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);column-gap:14px;row-gap:6px;align-content:start;text-align:left}
  html #mwrap[data-kind=summit]>.card.trk-summit>*{grid-column:2;margin-top:0;margin-bottom:0}
  html #mwrap[data-kind=summit]>.card.trk-summit>.trk-sun{grid-column:1;grid-row:1/span 40;order:-3;position:sticky;top:0;height:calc(100dvh - 40px);margin:0}
  html #mwrap[data-kind=summit]>.card.trk-summit>h2{order:-2}
  html #mwrap[data-kind=summit]>.card.trk-summit>.trk-row:nth-last-child(2),html #mwrap[data-kind=summit]>.card.trk-summit>p.sub:nth-last-child(3){order:-1}
  html #mwrap[data-kind=summit]>.card.trk-summit>.ghost:last-child{grid-column:1/-1;order:9}
  html #mwrap[data-kind=summit] .trk-row{display:flex;gap:8px;flex-wrap:wrap}html #mwrap[data-kind=summit] .trk-row>button{flex:1 1 auto;min-height:44px}
  html #mwrap[data-kind=summit] .trk-summit ul{margin:4px 0;gap:4px}html #mwrap[data-kind=summit] .trk-summit li{padding:4px 10px}

  /* ================= picture cards (a selfie, the red-carpet photo): the picture on the left at the screen's height, the words and buttons beside it ================= */
  html #mwrap:is([data-kind=selfie],[data-kind=cinphoto])>.card{width:min(780px,100%);max-width:none;display:grid;grid-template-columns:auto minmax(220px,1fr);column-gap:16px;row-gap:8px;align-content:start;overflow:hidden}
  html #mwrap:is([data-kind=selfie],[data-kind=cinphoto])>.card>*{grid-column:2;margin:0}
  html #mwrap:is([data-kind=selfie],[data-kind=cinphoto])>.card>img{grid-column:1;grid-row:1/span 6;width:auto!important;max-width:min(52vw,480px);max-height:calc(100dvh - 60px);align-self:center;justify-self:center}
  html #mwrap:is([data-kind=selfie],[data-kind=cinphoto])>.card>.ghost,html #mwrap:is([data-kind=selfie],[data-kind=cinphoto])>.card>.opt.go{position:static;margin:0;min-height:44px;display:flex;align-items:center;justify-content:center;box-shadow:none}
  html #mwrap[data-kind=selfie]>.card>div:last-child{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
  html #mwrap[data-kind=selfie]>.card>div:last-child>*{margin:0!important;min-height:44px;display:inline-flex;align-items:center;justify-content:center;padding:0 16px}
  html #mwrap[data-kind=selfie]>.card>div:last-child>.ghost{border:1px solid var(--line);border-radius:10px}
  /* a date: the topics four to a row so Talk shows without scrolling */
  html #mwrap[data-kind=date]>.card{width:min(720px,100%)}
  html #mwrap[data-kind=date] .people{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
  html #mwrap[data-kind=date] .people>.opt{min-height:44px;margin:0;padding:6px 8px}
  /* the heist's router panel: the panel no taller than the screen leaves, so its timer bar shows */
  html #mwrap[data-kind=hx-cables]>.card.hx-game canvas{width:auto;max-width:100%;max-height:calc(100dvh - 150px);display:block;margin:0 auto}
  html #mwrap:is([data-kind=hx-cables],[data-kind=hx-steady])>.card.hx-game{padding-top:8px;padding-bottom:10px}
}
