/* sq-touch.css — the new look (js/sq/, css/sq.css) on a phone and a tablet (html.mob: js/mobile.js), the owner of 17 Nov 2026:
   "เเก้ไข uxui สำหรับมือถือ เเละ tablet ทุกหน้าจอ responsive ให้ใช้ uxui ใหม่".
   One HUD, in the kit's look (square frames; the thumb's buttons round, the owner's pick; a 2 px ink line #1d2b55 with a white inner line, navy fills, the yellow
   primary #ffc93c, Baloo 2 / Noto Sans Thai):
     from the new HUD (js/sq/hud.js)   the hero top left, the menu's pictures, the map, the place and the day's work top
                                       right, the chat (moved under the hero, the thumbs own the bottom), the EXP line, AUTO
     from the touch HUD (js/mobile.js) the joystick under the left thumb and, under the right, attack, four skills a page,
                                       the page button, the two bottles and the action button (a tree, a vein, Uncle Coco):
                                       made for a finger's hold, so they stay, drawn here in the kit's look
   What the PC's new HUD has for a mouse (eight skill squares, the bottles, rest / dash / attack in a row) and the old
   frame's own pieces (its hero frame, its map, zoom and clock, its quest strip; the touch HUD's chat, menu and EXP) are
   put out of sight. The windows themselves: js/sq/core.js (a touch scale, kept on the screen). */

/* ---- the old pieces the new HUD stands in for ---- */
html.mob.sq-on #hud > .cframe,
html.mob.sq-on #hud > .lstrack,
html.mob.sq-on #hud > .ol-hud,
html.mob.sq-on #mb-chat,
html.mob.sq-on #mb-chatline,
html.mob.sq-on #mb-menu,
html.mob.sq-on #mb-pop,
html.mob.sq-on #mb-exp,
html.mob.sq-on #mb-items .af { display: none !important; }
/* (the old map, zoom and clock: out of sight but drawing, the new HUD's map copies its picture) */
html.mob.sq-on #hud > .tr { visibility: hidden !important; pointer-events: none !important; }
/* (the lessons' strip: its words are the new HUD's line of the day's work, which presses its buttons; out of sight as on a PC) */
html.mob.sq-on #hud > #lstrack { visibility: hidden !important; pointer-events: none !important; }

/* ---- the PC's mouse row of the new HUD ---- */
html.mob.sq-on #sq .hud [data-a="slot"],
html.mob.sq-on #sq .hud [data-a="pot1"],
html.mob.sq-on #sq .hud [data-a="pot2"],
html.mob.sq-on #sq .hud [data-a="art0"],
html.mob.sq-on #sq .hud [data-a="art1"],
html.mob.sq-on #sq .hud [data-a="barpg"],
html.mob.sq-on #sq .hud [data-a="rest"],
html.mob.sq-on #sq .hud [data-a="dash"],
html.mob.sq-on #sq .hud [data-a="attack"] { display: none !important; }

/* ---- the joystick ---- */
html.mob.sq-on #mb .mb-stick { background: rgba(18, 28, 70, 0.42) !important; border: 2px solid #183c54 !important;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.5) !important; }
html.mob.sq-on #mb .mb-stick .a { opacity: 0.7; }
html.mob.sq-on #mb .mb-knob { background: #10283b !important; border: 2px solid #183c54 !important; box-shadow: inset 0 0 0 2px #416e87, 0 3px 0 rgba(13, 22, 48, 0.35) !important; }

/* ---- attack, the skills, the bottles, the page, dash, the Lore Book's slots, AUTO: round, a mobile game's buttons in the
   kit's colours (navy fill, the 2 px ink line, a white inner line; the action button a yellow pill). The owner's pick of
   17 Nov, "A ปุ่มกลม", after "เเถบสกิลมันรกไปไหม จัดวาง เเบบเกมมือถือได้ไหม" (they were the kit's squares that morning) ---- */
html.mob.sq-on #mb .mb-attack,
html.mob.sq-on #mb #mb-skills .hslot,
html.mob.sq-on #mb #mb-items .hslot.item,
html.mob.sq-on #mb .mb-page,
html.mob.sq-on #hs-dash.hslot,
html.mob.sq-on .hslot.blart {
  border-radius: 50% !important; background: rgba(18, 28, 70, 0.78) !important; border: 2px solid #183c54 !important;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.55), 0 3px 0 rgba(13, 22, 48, 0.35) !important;
}
html.mob.sq-on #mb #mb-skills .hslot img,
html.mob.sq-on #hs-dash.hslot img,
html.mob.sq-on .hslot.blart img { left: 6% !important; top: 6% !important; width: 88% !important; height: 88% !important; object-fit: cover; border-radius: 50% !important; }
html.mob.sq-on #mb #mb-skills .hslot .cd,
html.mob.sq-on #hs-dash.hslot .cd,
html.mob.sq-on .hslot.blart .cd,
html.mob.sq-on #mb #mb-items .hslot.item .cd { border-radius: 50% !important; }
html.mob.sq-on #mb .mb-attack b,
html.mob.sq-on #mb .mb-act b,
html.mob.sq-on #mb .mb-page { font-family: 'Noto Sans Thai', 'Baloo 2', sans-serif !important; font-weight: 700 !important;
  -webkit-text-stroke: 0 !important; text-shadow: 0 1px 2px rgba(6, 8, 28, 0.95) !important; color: #e8f7ff !important; }
html.mob.sq-on #mb .mb-page { font-family: 'Baloo 2', sans-serif !important; }
html.mob.sq-on #mb .mb-attack.life { background: #ffc93c !important; }
html.mob.sq-on #mb .mb-attack.life b { color: #e8f7ff !important; text-shadow: none !important; }
/* (the SP a skill costs: a small tag under its circle) */
html.mob.sq-on #mb #mb-skills .hslot .spc { border-radius: 7px !important; background: #185776 !important; border: 1px solid #183c54 !important; font-family: 'Baloo 2', sans-serif !important;
  font-size: calc(10 * var(--tu)) !important; line-height: calc(13 * var(--tu)) !important; padding: 0 calc(4 * var(--tu)) !important; bottom: calc(-6 * var(--tu)) !important; }
html.mob.sq-on #mb #mb-items .hslot.item .count { font-family: 'Baloo 2', sans-serif !important; -webkit-text-stroke: 0 !important;
  text-shadow: 0 1px 2px rgba(6, 8, 28, 0.95), 0 0 3px rgba(6, 8, 28, 0.9) !important; color: #e8f7ff !important; }
html.mob.sq-on #mb .mb-act { border-radius: calc(23 * var(--tu)) !important; background: #ffc93c !important; border: 2px solid #183c54 !important;
  box-shadow: 0 3px 0 rgba(13, 22, 48, 0.35) !important; }
html.mob.sq-on #mb .mb-act b { color: #e8f7ff !important; text-shadow: none !important; }
html.mob.sq-on #mb #mb-skills .hslot.ult { box-shadow: inset 0 0 0 2px #ffc93c, 0 3px 0 rgba(13, 22, 48, 0.35) !important; }
/* (nothing empty is shown: a skill slot with no skill, a Lore Book slot with no art; a skill goes on the bar in the skill
   window, ใส่แถบสกิล, which has its own slots) */
html.mob.sq-on #mb #mb-skills .hslot.empty,
html.mob.sq-on .hslot.blart.empty { visibility: hidden !important; }
/* (AUTO a round button of the cluster too: its picture over its word; its state line beside it) */
html.mob.sq-on #sq .hud [data-a="autoT"] { width: calc(48 * var(--tu) / var(--sqk)) !important; height: calc(48 * var(--tu) / var(--sqk)) !important; min-width: 0 !important;
  border-radius: 50% !important; flex-direction: column !important; justify-content: center !important; gap: 0 !important; padding: 0 !important;
  font-size: calc(10 * var(--tu) / var(--sqk)) !important; line-height: 1 !important; }
html.mob.sq-on #sq .hud [data-a="autoT"] img { width: calc(22 * var(--tu) / var(--sqk)) !important; height: calc(22 * var(--tu) / var(--sqk)) !important; margin: 0 !important; }
/* (the EXP words over the bar's left end: beside its right end they lay under the skills) */
html.mob.sq-on #sq .hud [data-p="bc"] > .sh:has([data-f="xp"]) { left: -228px !important; top: -34px !important; }

/* ---- the windows: a title bar takes a finger's drag (js/sq/core.js) ---- */
html.mob.sq-on #sq > .win > .tb { touch-action: none; }
html.mob.sq-on #sq > .win { -webkit-tap-highlight-color: transparent; }

/* ======== the layout: the owner's picks of 17 Nov 2026, by button among in-game pictures: "A โค้งรอบปุ่มโจมตี" (a phone),
   "A สองวงรอบปุ่มโจมตี" (an iPad), then "A ปุ่มกลม" (round buttons hugging attack, nothing empty shown, AUTO in the ring, the
   bottles and the Lore Book's slots in a row at the bottom). Every button sized for a finger, in screen pixels: --tu is 1 px on
   a phone and 1.1 on a tablet (a tablet's pixel is already a little bigger; before, js/mobile.js grew the thumb controls x1.7
   on a tablet while the HUD's top stayed as it was). Attack 88, a skill 56, dash 52, AUTO and a bottle 48, the Lore Book's
   slots 46, the page 44, the action button 46 high, the joystick 120: none under the 44 a finger needs. The places are worked
   out on rings round attack's centre (60, 60 from the corner): the inner ring 106 out, the outer 174, a tablet's third 240 ======== */
html.mob.sq-on { --tu: 1px; }
@media (min-width: 600px) and (min-height: 600px) { html.mob.sq-on { --tu: 1.1px; } }
html.mob.sq-on #mb .mb-zone { position: fixed !important; left: 0 !important; bottom: 0 !important; width: 45vw !important; height: 70vh !important; }
html.mob.sq-on #mb .mb-stick { position: fixed !important; left: calc(26 * var(--tu)) !important; bottom: calc(22 * var(--tu)) !important; right: auto !important; top: auto !important; width: calc(120 * var(--tu)) !important; height: calc(120 * var(--tu)) !important; margin: 0 !important; transform: none !important; }
html.mob.sq-on #mb .mb-knob { width: calc(50 * var(--tu)) !important; height: calc(50 * var(--tu)) !important; margin: calc(-25 * var(--tu)) 0 0 calc(-25 * var(--tu)) !important; }
html.mob.sq-on #mb .mb-attack { position: fixed !important; transform: none !important; margin: 0 !important; left: auto !important; top: auto !important; width: calc(88 * var(--tu)) !important; height: calc(88 * var(--tu)) !important; right: calc(16 * var(--tu)) !important; bottom: calc(16 * var(--tu)) !important; }
html.mob.sq-on #mb .mb-attack img { width: calc(44 * var(--tu)) !important; height: calc(44 * var(--tu)) !important; }
html.mob.sq-on #mb .mb-attack b { font-size: calc(14 * var(--tu)) !important; }
html.mob.sq-on #mb #mb-skills .hslot { position: fixed !important; transform: none !important; margin: 0 !important; left: auto !important; top: auto !important; width: calc(56 * var(--tu)) !important; height: calc(56 * var(--tu)) !important; }
html.mob.sq-on #mb #mb-skills .hslot .cdt { font-size: calc(18 * var(--tu)) !important; }
html.mob.sq-on #mb .mb-page { position: fixed !important; transform: none !important; margin: 0 !important; left: auto !important; top: auto !important; width: calc(44 * var(--tu)) !important; height: calc(44 * var(--tu)) !important; font-size: calc(12 * var(--tu)) !important; display: flex !important; align-items: center; justify-content: center; }
html.mob.sq-on #mb .mb-page[hidden] { display: none !important; }
html.mob.sq-on .hslot.item { position: fixed !important; transform: none !important; margin: 0 !important; left: auto !important; top: auto !important; width: calc(48 * var(--tu)) !important; height: calc(48 * var(--tu)) !important; }
html.mob.sq-on #hs-dash.hslot, html.mob.sq-on .hslot.blart { position: fixed !important; transform: none !important; margin: 0 !important; left: auto !important; top: auto !important; }
html.mob.sq-on #hs-dash.hslot { width: calc(52 * var(--tu)) !important; height: calc(52 * var(--tu)) !important; }
html.mob.sq-on .hslot.blart { width: calc(46 * var(--tu)) !important; height: calc(46 * var(--tu)) !important; }
html.mob.sq-on #mb .mb-act { position: fixed !important; transform: none !important; margin: 0 !important; left: auto !important; top: auto !important; height: calc(46 * var(--tu)) !important; min-width: calc(96 * var(--tu)) !important; width: auto !important; padding: 0 calc(12 * var(--tu)) !important; }
html.mob.sq-on #mb .mb-act img { width: calc(28 * var(--tu)) !important; height: calc(28 * var(--tu)) !important; }
html.mob.sq-on #mb .mb-act b { font-size: calc(15 * var(--tu)) !important; }

/* ---- a phone: four skills on the inner ring round attack (a group of four; the page button for the next group that holds a skill, of the bar's two pages), dash, AUTO
   and the page button on the outer ring, the bottles and the Lore Book's two in a row at the bottom with the action button
   over them. The top kept for reading: the day's work and the chat under the hero (the right is the thumb's), the map's
   place line; the clock and the server's line go (no room on a phone's height) ---- */
html.mob.sq-on #mb #mb-skills .hslot:nth-child(4n+1) { right: calc(138 * var(--tu)) !important; bottom: calc(23 * var(--tu)) !important; }
html.mob.sq-on #mb #mb-skills .hslot:nth-child(4n+2) { right: calc(125 * var(--tu)) !important; bottom: calc(82 * var(--tu)) !important; }
html.mob.sq-on #mb #mb-skills .hslot:nth-child(4n+3) { right: calc(82 * var(--tu)) !important; bottom: calc(125 * var(--tu)) !important; }
html.mob.sq-on #mb #mb-skills .hslot:nth-child(4n+4) { right: calc(23 * var(--tu)) !important; bottom: calc(138 * var(--tu)) !important; }
html.mob.sq-on #hs-dash.hslot { right: calc(52 * var(--tu)) !important; bottom: calc(207 * var(--tu)) !important; }
html.mob.sq-on #mb .mb-page { right: calc(186 * var(--tu)) !important; bottom: calc(130 * var(--tu)) !important; }
html.mob.sq-on #sq .hud [data-a="autoT"] { right: calc(128 * var(--tu) / var(--sqk)) !important; top: calc(-232 * var(--tu) / var(--sqk)) !important; }
html.mob.sq-on #sq .hud [data-f="afs"] { right: calc(184 * var(--tu) / var(--sqk)) !important; top: calc(-216 * var(--tu) / var(--sqk)) !important; }
html.mob.sq-on #mb-items > .hslot.item:nth-child(2) { right: calc(210 * var(--tu)) !important; bottom: calc(14 * var(--tu)) !important; }
html.mob.sq-on #mb-items > .hslot.item:nth-child(1) { right: calc(264 * var(--tu)) !important; bottom: calc(14 * var(--tu)) !important; }
html.mob.sq-on #hs-blart0.hslot { right: calc(318 * var(--tu)) !important; bottom: calc(15 * var(--tu)) !important; }
html.mob.sq-on #hs-blart1.hslot { right: calc(370 * var(--tu)) !important; bottom: calc(15 * var(--tu)) !important; }
html.mob.sq-on #mb .mb-act { right: calc(264 * var(--tu)) !important; bottom: calc(74 * var(--tu)) !important; }
html.mob.sq-on #sq .hud [data-f="clock"],
html.mob.sq-on #sq .hud [data-f="srv"] { display: none !important; }
html.mob.sq-on #sq .hud [data-f="wk"] { position: fixed !important; right: auto !important; left: 12px !important; top: 84px !important; }
html.mob.sq-on #sq .hud [data-p="bl"] { top: 134px !important; } /* (under the day's work of two lines) */
html.mob.sq-on #sq .hud [data-a="chat"] { top: 0 !important; width: 54px !important; height: 54px !important; }
html.mob.sq-on #sq .hud [data-a="mail"] { top: 62px !important; width: 54px !important; height: 54px !important; } /* (mail under the chat on touch: over it is the day's work) */
html.mob.sq-on #sq .hud [data-a="bell"] { top: 124px !important; width: 54px !important; height: 54px !important; } /* (the announcements' bell under the mail: docs/team/ingame-announcements-20261123.md 2.6) */
html.mob.sq-on #sq .hud [data-f="chatwrap"] { top: 0 !important; bottom: auto !important; left: 74px !important; width: 330px !important; max-height: 168px; overflow: hidden; }
/* (a phone on its side: under the mail the bell would stand on the joystick, so it takes the free cell right of the mail and the
   chat's lines move one cell right; measured on the real HUD at 844 x 390 by tests/browser/announce-layout-20261123.spec.mjs; every rule
   here stands under html.mob.sq-on, tests/sq-touch-20261117.test.mjs: the side is the media query's) */
@media (max-height: 599px) and (orientation: landscape) {
  html.mob.sq-on #sq .hud [data-a="bell"] { left: 74px !important; top: 62px !important; }
  html.mob.sq-on #sq .hud [data-f="chatwrap"] { left: 136px !important; }
}

/* ---- a tablet (600 px or more both ways): all eight skills, four on the inner ring and four on the outer with dash at its
   top end (the page button turns the bar's page 1 / page 2 once page 2 holds a skill), AUTO over dash, the same bottom row. The top as a PC's: the menu with its words, the map with
   its place, clock and server lines, the day's work under it; the chat under the hero ---- */
@media (min-width: 600px) and (min-height: 600px) {
  html.mob.sq-on #mb #mb-skills .hslot { display: block !important; }
  /* (the page button: the bar's page 2, on the third ring between the outer ring's last skill and AUTO; hidden while
     page 2 holds nothing, js/mobile.js pageButton) */
  html.mob.sq-on #mb .mb-page { right: calc(151 * var(--tu)) !important; bottom: calc(250 * var(--tu)) !important; }
  html.mob.sq-on #mb #mb-skills .hslot:nth-child(1) { right: calc(138 * var(--tu)) !important; bottom: calc(23 * var(--tu)) !important; }
  html.mob.sq-on #mb #mb-skills .hslot:nth-child(2) { right: calc(125 * var(--tu)) !important; bottom: calc(82 * var(--tu)) !important; }
  html.mob.sq-on #mb #mb-skills .hslot:nth-child(3) { right: calc(82 * var(--tu)) !important; bottom: calc(125 * var(--tu)) !important; }
  html.mob.sq-on #mb #mb-skills .hslot:nth-child(4) { right: calc(23 * var(--tu)) !important; bottom: calc(138 * var(--tu)) !important; }
  html.mob.sq-on #mb #mb-skills .hslot:nth-child(5) { right: calc(205 * var(--tu)) !important; bottom: calc(17 * var(--tu)) !important; }
  html.mob.sq-on #mb #mb-skills .hslot:nth-child(6) { right: calc(198 * var(--tu)) !important; bottom: calc(84 * var(--tu)) !important; }
  html.mob.sq-on #mb #mb-skills .hslot:nth-child(7) { right: calc(165 * var(--tu)) !important; bottom: calc(144 * var(--tu)) !important; }
  html.mob.sq-on #mb #mb-skills .hslot:nth-child(8) { right: calc(112 * var(--tu)) !important; bottom: calc(186 * var(--tu)) !important; }
  html.mob.sq-on #hs-dash.hslot { right: calc(49 * var(--tu)) !important; bottom: calc(207 * var(--tu)) !important; }
  html.mob.sq-on #sq .hud [data-a="autoT"] { right: calc(78 * var(--tu) / var(--sqk)) !important; top: calc(-320 * var(--tu) / var(--sqk)) !important; }
  html.mob.sq-on #sq .hud [data-f="afs"] { right: calc(134 * var(--tu) / var(--sqk)) !important; top: calc(-304 * var(--tu) / var(--sqk)) !important; }
  html.mob.sq-on #mb-items > .hslot.item:nth-child(2) { right: calc(292 * var(--tu)) !important; bottom: calc(14 * var(--tu)) !important; }
  html.mob.sq-on #mb-items > .hslot.item:nth-child(1) { right: calc(348 * var(--tu)) !important; bottom: calc(14 * var(--tu)) !important; }
  html.mob.sq-on #hs-blart0.hslot { right: calc(404 * var(--tu)) !important; bottom: calc(15 * var(--tu)) !important; }
  html.mob.sq-on #hs-blart1.hslot { right: calc(456 * var(--tu)) !important; bottom: calc(15 * var(--tu)) !important; }
  html.mob.sq-on #mb .mb-act { right: calc(292 * var(--tu)) !important; bottom: calc(76 * var(--tu)) !important; }
  html.mob.sq-on #sq .hud [data-f="clock"],
  html.mob.sq-on #sq .hud [data-f="srv"] { display: block !important; }
  html.mob.sq-on #sq .hud [data-f="wk"] { position: absolute !important; left: auto !important; right: 12px !important; top: 196px !important; }
  html.mob.sq-on #sq .hud [data-p="bl"] { top: 84px !important; }
}

/* ---- Portrait phone: HUD coordinates are board pixels inside scaled #sq.
   Keep the menu below the hero and beside, never underneath, the minimap. ---- */
/* Reserve the map/sky group's 222 board pixels plus an 8px gap. Real grid cells wrap
   within the available width instead of inheriting the desktop negative offsets.
   The quest/chat plates reserve two menu rows below the hero. */
html.mob-port.sq-on #sq .hud [data-p="tr"] [data-f="grid"] {
  position: fixed; left: 8px; top: 90px; width: calc(100% - 238px);
  display: grid; grid-template-columns: repeat(auto-fit, 50px); gap: 4px;
}
html.mob-port.sq-on #sq .hud [data-f="grid"] > .mi.mt { position: relative; inset: auto !important; }
html.mob-port.sq-on #sq .hud [data-f="grid"] > [data-f="pop"] { left: 0 !important; top: calc(100% + 6px) !important; }
html.mob-port.sq-on #sq .hud [data-f="wk"] { top: 210px !important; }
html.mob-port.sq-on #sq .hud [data-p="bl"] { top: 260px !important; }
html.mob-port.sq-on #sq .hud:has([data-f="pop"]:not([hidden])) [data-f="wk"] { top: 410px !important; }
html.mob-port.sq-on #sq .hud:has([data-f="pop"]:not([hidden])) [data-p="bl"] { top: 460px !important; }
/* (the EXP words: no room between the joystick and the ring on a phone's width; the two bars stay) */
@media (max-width: 599px) { html.mob-port.sq-on #sq .hud [data-p="bc"] > .sh:has([data-f="xp"]) { display: none !important; } }
html.mob-port.sq-on #mb-items > .hslot.item:nth-child(1) { right: auto !important; left: calc(26 * var(--tu)) !important; bottom: calc(160 * var(--tu)) !important; }
html.mob-port.sq-on #mb-items > .hslot.item:nth-child(2) { right: auto !important; left: calc(82 * var(--tu)) !important; bottom: calc(160 * var(--tu)) !important; }
html.mob-port.sq-on #hs-blart0.hslot { right: auto !important; left: calc(27 * var(--tu)) !important; bottom: calc(216 * var(--tu)) !important; }
html.mob-port.sq-on #hs-blart1.hslot { right: auto !important; left: calc(83 * var(--tu)) !important; bottom: calc(216 * var(--tu)) !important; }
html.mob-port.sq-on #mb .mb-act { right: auto !important; left: calc(26 * var(--tu)) !important; bottom: calc(272 * var(--tu)) !important; }

/* the item card's whole look (js/sq/wcard.js cardfull, 716 wide in two columns) upright: one column 360 wide, the piece's
   numbers first and its rows under them, the buttons wrapping */
html.mob-port.sq-on #sq .win[data-sq="cardfull"] { width: 360px !important; }
html.mob-port.sq-on #sq .win[data-sq="cardfull"] > div[style*="gap: 14px"] { flex-direction: column; max-height: none !important; }
html.mob-port.sq-on #sq .win[data-sq="cardfull"] > div[style*="gap: 14px"] > div[style*="width: 322px"] { width: auto !important; }
html.mob-port.sq-on #sq .win[data-sq="cardfull"] > div[style*="gap: 14px"] > div[style*="width: 1px"] { display: none; }
html.mob-port.sq-on #sq .win[data-sq="cardfull"] [data-keep="cardr"] { overflow: visible !important; }
html.mob-port.sq-on #sq .win[data-sq="cardfull"] > .ft { flex-wrap: wrap; row-gap: 6px; padding-top: 6px; padding-bottom: 6px; }

/* ---- what only a keyboard and a mouse mean: the keys' small chips (I, C, ESC, Space ...) and the select screen's
   "double click · Enter · arrows" line. A finger has none of them ---- */
html.mob.sq-on #sq .kb,
html.mob.sq-on #sq .hud .mi > i,
html.mob.sq-on #sq .hud .mp > .tb > span,
html.mob.sq-on .cs-hint { display: none !important; }

/* ---- the screens before the game (js/sq/pregame.js): the language bar beside the Discord button at the bottom left, where it
   covers nothing (at the bottom right it lay over the server panel's เข้าเกม on a phone held sideways); the panels are kept on
   the screen by keepIn ---- */
html.mob.sq-on #sq .pg [data-p="lang"] { right: auto !important; left: 186px !important; }

/* ---- a phone held upright and a window too small to read (js/sq/core.js turnCheck): a card asks for the phone to be turned
   (the owner's pick of 17 Nov 2026, "ให้หมุนจอเป็นแนวนอน"); it closes those windows on its button ---- */
html.mob.sq-on #sq > .sq-turn { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(10, 16, 34, 0.62); pointer-events: auto; }
html.mob.sq-on #sq > .sq-turn[hidden] { display: none; }
html.mob.sq-on #sq > .sq-turn > .tc { width: 320px; background: #10283b; border: 2px solid #183c54; box-shadow: 0 3px 0 rgba(13, 22, 48, 0.28); }
html.mob.sq-on #sq > .sq-turn > .tc > .tx { padding: 14px 14px 12px; font-weight: 600; font-size: 14px; line-height: 1.5; color: #e8f7ff; text-align: center; }

/* ---- the fashion show switches (js/sq/equip.js แฟชั่นที่ใส่, js/sq/wardrobe.js; the owner, 22 Nov 2026): a finger's size ---- */
html.mob.sq-on #sq [data-sq="equip"] [data-show],
html.mob.sq-on #sq [data-sq="wardrobe"] [data-w="show"] { min-height: 30px !important; padding: 0 12px !important; font-size: 11.5px !important; }
html.mob.sq-on #sq [data-sq="equip"] [data-f="fash"] { gap: 7px !important; padding: 5px 9px !important; }
