


.hud-moved { display: none !important; }
.hud-bar .r3-title, .hud-bar .a3-title { display: none !important; }
.hud-bar .lv-who { display: none !important; }
.hud-sp { flex: 1 1 auto; min-width: 4px; }


html:not(.pay-on) .pay-only { display: none !important; }


.hud-cnt { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; flex: 0 1 auto; min-width: 0; overflow: hidden; }
.hud-cnt span { white-space: nowrap; }
.hud-cnt b { font-weight: 800; margin-left: 2px; }
.hud-cnt .hud-c2::before { content: '·'; margin-right: 6px; opacity: .6; }
.hud-bar.r3-bar .hud-cnt, .hud-bar.a3-bar .hud-cnt { font-size: 12.5px; }
.hud-bar .hud-cnt b { color: inherit; }


.hud-bag, .hud-menu { display: inline-flex; align-items: center; justify-content: center; gap: 5px; }
.hud-bag svg, .hud-menu svg { width: 17px; height: 17px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
#topbar .hud-bag, #topbar .hud-menu { min-width: 40px; padding: 4px 10px; }
#topbar .hud-cnt { min-height: 36px; padding: 4px 11px; font-size: 12.5px; }


#topbar { justify-content: flex-start; }
#topbar #btnMap { order: -1; flex: none; }
body.in-game #topbar .me { display: none; }


@media (max-width: 560px) {
  .hud-bag span, .hud-menu span { display: none; }
  .hud-bar .hud-bag, .hud-bar .hud-menu { min-width: 40px; padding-left: 0; padding-right: 0; }
  .hud-cnt { flex-direction: column; align-items: flex-start; gap: 0; line-height: 1.15; }
  .hud-cnt .hud-c2::before { display: none; }
  .hud-bar .hud-cnt, #topbar .hud-cnt { font-size: 11px; padding-top: 2px; padding-bottom: 2px; }
  #topbar .me .tier { display: none; }
  #meName { max-width: 24vw; }
}
@media (orientation: landscape) and (max-height: 520px) {
  .hud-bag span, .hud-menu span { display: none; }
  #topbar .hud-cnt { min-height: 32px; }
  
  .hud-bar .hud-cnt { flex-direction: column; align-items: flex-start; gap: 0; line-height: 1.15; font-size: 11px; padding-top: 2px; padding-bottom: 2px; }
  .hud-bar .hud-cnt .hud-c2::before { display: none; }
  
  .hud-bar ~ .r3-times { left: 50%; right: auto; transform: translateX(-50%); }
}

@media (max-height: 260px) { .w3-mini { display: none; } }

@media (max-height: 260px) { .r3 > .ab { display: none; } }

@media (min-width: 1700px) and (min-height: 900px) { .w3-mini { top: calc(max(8px, env(safe-area-inset-top)) + 82px); } }


.hud-dim { opacity: 0 !important; pointer-events: none !important; transition: opacity .45s ease !important; }


.hud-mn { position: fixed; inset: 0; z-index: 94; }
.hud-mn.hidden { display: none; }
.hud-mback { position: absolute; inset: 0; background: rgba(10, 14, 28, .35); }
.hud-mbox {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(360px, 100%); overflow-y: auto; -webkit-overflow-scrolling: touch;
  background: #fffdf6; color: #2c2510; box-shadow: -8px 0 28px rgba(0, 0, 0, .25);
  padding: max(10px, env(safe-area-inset-top)) max(14px, env(safe-area-inset-right)) max(14px, env(safe-area-inset-bottom)) 14px;
  font-family: var(--hn-sans, system-ui, sans-serif);
}
.hud-mhead { position: sticky; top: calc(-1 * max(10px, env(safe-area-inset-top))); display: flex; align-items: center; gap: 8px; padding: 6px 0 10px; background: #fffdf6; border-bottom: 1px solid rgba(160, 130, 60, .25); z-index: 1; }
.hud-mhead b { font-size: 17px; }
.hud-mplace { flex: 1; min-width: 0; font-size: 12.5px; color: #7a6a40; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hud-mx { width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; font-size: 24px; line-height: 1; color: #5a4a20; cursor: pointer; }
.hud-g { padding: 10px 0 4px; }
.hud-g h4 { margin: 0 0 6px; font-size: 12px; font-weight: 700; color: #9a8650; letter-spacing: .06em; }
.hud-it {
  display: flex; align-items: center; gap: 8px; width: 100%; min-height: 44px; margin: 0 0 6px; padding: 8px 12px; text-align: left;
  border: 1px solid rgba(160, 130, 60, .28); border-radius: 12px; background: linear-gradient(180deg, #ffffff, #faf5e6); color: inherit; font: 600 14.5px/1.3 inherit; cursor: pointer;
  word-break: keep-all; overflow-wrap: anywhere;
}
.hud-it span { flex: 1; min-width: 0; }
.hud-it small { flex: none; font-size: 11.5px; font-weight: 600; color: #8a7a4a; }
.hud-it.mem small { color: #3d8a4f; }
.hud-it.off { opacity: .55; }
.hud-tg { flex: none; position: relative; width: 38px; height: 22px; border-radius: 11px; background: #d9d2bd; transition: background .2s; }
.hud-tg::after { content: ''; position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .2s; }
.hud-tg.on { background: #6cbf7f; }
.hud-tg.on::after { transform: translateX(16px); }
.hud-info { margin: 0 0 6px; padding: 2px 4px; font-size: 12.5px; color: #6e6040; word-break: keep-all; overflow-wrap: anywhere; }

@media (max-width: 560px) and (orientation: portrait) {
  .hud-mbox { top: auto; left: 0; width: 100%; max-height: 78vh; border-radius: 18px 18px 0 0; box-shadow: 0 -8px 28px rgba(0, 0, 0, .25); }
  .hud-mhead { top: 0; }
}
@media (prefers-reduced-motion: no-preference) {
  .hud-mn:not(.hidden) .hud-mbox { animation: hudIn .2s ease-out; }
}
@keyframes hudIn { from { transform: translateX(24px); opacity: 0; } to { transform: none; opacity: 1; } }


.hud-join { position: fixed; inset: 0; z-index: 96; display: grid; place-items: center; padding: 16px; background: rgba(10, 14, 28, .45); }
.hud-join.hidden { display: none; }
.hud-jbox { width: min(360px, 100%); padding: 18px 18px 14px; border-radius: 16px; background: #fffdf6; color: #2c2510; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); }
.hud-jt { margin: 0 0 8px; font-weight: 700; font-size: 15.5px; line-height: 1.45; word-break: keep-all; overflow-wrap: anywhere; }
.hud-jg { margin: 0 0 14px; padding-left: 18px; font-size: 13.5px; color: #5a4c26; line-height: 1.6; word-break: keep-all; }
.hud-jrow { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }
.hud-jrow .hn-btn { min-height: 44px; padding: 0 16px; }


.a3 .b3-acts { z-index: 4; }
.a3.seated .b3-acts, .a3.picking .b3-acts { display: none; }


.hu-tip.hu-fold .hu-tx { display: none; }
.hu-tip.hu-fold { opacity: .82; }


#modalCharge { z-index: 92; }
