@font-face {
  font-family: "Pretendard Variable";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src:
    url("../fonts/pretendard/woff2/Pretendard-Regular.woff2") format("woff2"),
    url("../fonts/pretendard/woff/Pretendard-Regular.woff") format("woff");
}
@font-face {
  font-family: "Pretendard Variable";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src:
    url("../fonts/pretendard/woff2/Pretendard-SemiBold.woff2") format("woff2"),
    url("../fonts/pretendard/woff/Pretendard-SemiBold.woff") format("woff");
}
@font-face {
  font-family: "Pretendard Variable";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src:
    url("../fonts/pretendard/woff2/Pretendard-Bold.woff2") format("woff2"),
    url("../fonts/pretendard/woff/Pretendard-Bold.woff") format("woff");
}
@font-face {
  font-family: "Pretendard Variable";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src:
    url("../fonts/pretendard/woff2/Pretendard-ExtraBold.woff2") format("woff2"),
    url("../fonts/pretendard/woff/Pretendard-ExtraBold.woff") format("woff");
}
@font-face {
  font-family: "Pretendard Variable";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src:
    url("../fonts/pretendard/woff2/Pretendard-Black.woff2") format("woff2"),
    url("../fonts/pretendard/woff/Pretendard-Black.woff") format("woff");
}

:root {
  --design-w: 1920;
  --design-h: 1080;
}

html,
body {
  margin: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #050505;
  font-family: "Pretendard Variable", Pretendard, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

#appShell {
  position: fixed;
  inset: 0;
  background: #000000;
  overflow: hidden;
}

#appFrame {
  position: absolute;
  left: 50%;
  top: 50%;
  width: calc(var(--design-w) * 1px);
  height: calc(var(--design-h) * 1px);
  transform: translate(-50%, -50%) scale(1);
  transform-origin: center center;
}

#app {
  position: relative;
  width: 1920px;
  height: 1080px;
}

#app canvas {
  display: block;
  width: 1920px !important;
  height: 1080px !important;
}

/* Login + partner-code + register popups: HTML inputs over Pixi */
#loginDomHost .login-field-input,
#partnerCodeDomHost .login-field-input,
#registerDomHost .login-field-input {
  position: fixed;
  box-sizing: border-box;
  border: none;
  outline: none;
  background: transparent;
  color: #ffffff;
  font-family: "Pretendard Variable", Pretendard, Arial, sans-serif;
  font-size: 18px;
  font-weight: 500;
  padding: 0 24px;
  margin: 0;
  pointer-events: auto;
  -webkit-appearance: none;
  appearance: none;
}

/* Autofill: WebKit applies a light background that overrides `background: transparent` and hides the Pixi input plate. */
#loginDomHost .login-field-input:-webkit-autofill,
#loginDomHost .login-field-input:-webkit-autofill:hover,
#loginDomHost .login-field-input:-webkit-autofill:focus,
#loginDomHost .login-field-input:-webkit-autofill:active,
#partnerCodeDomHost .login-field-input:-webkit-autofill,
#partnerCodeDomHost .login-field-input:-webkit-autofill:hover,
#partnerCodeDomHost .login-field-input:-webkit-autofill:focus,
#partnerCodeDomHost .login-field-input:-webkit-autofill:active,
#registerDomHost .login-field-input:-webkit-autofill,
#registerDomHost .login-field-input:-webkit-autofill:hover,
#registerDomHost .login-field-input:-webkit-autofill:focus,
#registerDomHost .login-field-input:-webkit-autofill:active {
  -webkit-text-fill-color: #ffffff;
  caret-color: #ffffff;
  border-radius: 8px;
  transition: background-color 50000s ease-in-out 0s;
  box-shadow: 0 0 0 1000px #151515 inset;
}

#loginDomHost .login-field-input::placeholder,
#partnerCodeDomHost .login-field-input::placeholder,
#registerDomHost .login-field-input::placeholder {
  color: #999999;
  opacity: 1;
}

#partnerCodeDomHost .partner-code-field-label {
  position: fixed;
  z-index: 11;
  display: block;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  pointer-events: none;
  font-family: Paperlogy, "Pretendard Variable", Pretendard, Arial, sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #8e5151;
}

#loginDomHost .login-field-input--with-reveal,
#partnerCodeDomHost .login-field-input--with-reveal,
#registerDomHost .login-field-input--with-reveal,
#withdrawDomHost .login-field-input--with-reveal {
  padding-right: 52px;
}

/* Read-only referral: match normal field padding, stack above any stray password-eye (`.pw-visibility-toggle` z 151). */
#registerDomHost .login-field-input--referral-code {
  z-index: 156;
  cursor: default;
  text-align: left;
}
#registerDomHost .login-field-input--referral-code::placeholder {
  text-align: left;
}

#loginDomHost .pw-visibility-toggle,
#registerDomHost .pw-visibility-toggle,
#withdrawDomHost .pw-visibility-toggle {
  position: fixed;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  pointer-events: auto;
  z-index: 151;
  display: flex;
  align-items: center;
  justify-content: center;
}

#loginDomHost .pw-visibility-toggle img,
#registerDomHost .pw-visibility-toggle img,
#withdrawDomHost .pw-visibility-toggle img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}

/* Withdraw: eye sits inside `.lobby-deposit-skin__amount-input-wrap` (avoids misalignment when the shell uses scale/transform). */
#withdrawDomHost
  .lobby-deposit-skin__amount-input-wrap
  .pw-visibility-toggle--inset {
  position: absolute;
  left: auto;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
}

#registerDomHost .register-field-select {
  cursor: pointer;
  background-color: rgba(0, 0, 0, 0.22);
  background-image: url(../images/resource/arrow_down.png);
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 16px 16px;
  border-radius: 8px;
}

/* Custom combobox (`js/features/auth/ui/registerCustomSelect.js`): same look, scrollable list instead of native panel. */
#registerDomHost .register-custom-select {
  position: relative;
  box-sizing: border-box;
  flex: 1 1 0;
  min-width: 0;
  width: 100%;
  height: 40px;
}
#registerDomHost .register-custom-select__native {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
#registerDomHost .register-custom-select__trigger {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #ffffff;
  border: none;
  box-sizing: border-box;
  font: inherit;
  /* Override global `#registerDomHost .login-field-input { position: fixed }` — trigger is nested, not row direct child. */
  position: relative;
  left: auto;
  top: auto;
  padding: 0;
}
#registerDomHost .register-custom-select__panel {
  position: fixed;
  z-index: 200;
  box-sizing: border-box;
  background: #1e1e1e;
  border: 1px solid #3a3a3a;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  pointer-events: auto;
}
#registerDomHost .register-custom-select__list {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
#registerDomHost .register-custom-select__option {
  padding: 10px 12px;
  font-size: 16px;
  font-weight: 500;
  color: #e8e8e8;
  cursor: default;
  font-family: "Pretendard Variable", Pretendard, Arial, sans-serif;
}
#registerDomHost .register-custom-select__option:hover,
#registerDomHost .register-custom-select__option[aria-selected="true"] {
  background: rgba(255, 255, 255, 0.08);
}
#registerDomHost
  .register-custom-select--birth
  .register-custom-select__option {
  font-size: 15px;
  padding: 8px 6px;
}

/* Bank: CloudFront + `bank.svg` fallback; icon + label in closed field and in list. */
#registerDomHost
  .register-custom-select--with-icons
  .register-custom-select__trigger {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  white-space: normal;
}
#registerDomHost
  .register-custom-select--with-icons
  .register-custom-select__opt-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex-shrink: 0;
}
#registerDomHost
  .register-custom-select--with-icons
  .register-custom-select__opt-text {
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#registerDomHost .register-custom-select__option--with-icon {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
}
#registerDomHost
  .register-custom-select__option--with-icon
  .register-custom-select__opt-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex-shrink: 0;
}
#registerDomHost
  .register-custom-select__option--with-icon
  .register-custom-select__opt-text {
  min-width: 0;
  flex: 1 1 auto;
  font: inherit;
  color: inherit;
}

/* Register shell: full-width pills (deposit-style; hint under title in left column) */
#registerDomHost .register-pill-row {
  box-sizing: border-box;
  width: 100%;
}

#registerDomHost .register-field-pill {
  --register-pill-pad-y: 6px;
  --register-pill-pad-x: 16px;
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 54px;
  padding: var(--register-pill-pad-y) var(--register-pill-pad-x);
  background: #190301;
  border-radius: 16px;
  border: 1px solid transparent;
}

#registerDomHost .register-field-pill__head {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 0;
  max-width: 42%;
  gap: 4px;
}

#registerDomHost .register-field-pill__title.register-field-label {
  white-space: normal;
}

#registerDomHost .register-field-pill__title {
  font-family: Paperlogy, "Pretendard Variable", Pretendard, Arial, sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #8e5151;
  line-height: 1;
}

#registerDomHost .register-field-pill__hint,
#registerDomHost .register-field-pill__head .register-field-hint {
  display: block;
  margin: 0;
  padding: 0;
  font-family: "Pretendard Variable", Pretendard, Arial, sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  color: #8a8a8a;
  text-align: left;
  white-space: normal;
  max-width: 100%;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

#registerDomHost .register-field-pill__control {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
}

#registerDomHost .register-field-pill__control > .login-field-input {
  box-sizing: border-box;
  position: relative;
  left: auto;
  top: auto;
  width: 100%;
  min-width: 0;
  height: 40px;
  padding: 0 12px;
  font-size: 18px;
  font-family: inherit;
  outline: none;
  appearance: none;
  background: transparent;
}

#registerDomHost
  .register-field-pill__control
  > .login-field-input::placeholder {
  color: #999999;
  opacity: 1;
}

#registerDomHost
  .register-field-pill__control
  > .login-field-input--with-reveal {
  padding-right: 52px;
}

#registerDomHost .register-field-pill__control > .register-custom-select {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  height: 40px;
}

#registerDomHost
  .register-field-pill__control
  .register-field-select.register-custom-select__trigger {
  padding: 0 32px 0 12px;
}

#registerDomHost .register-field-pill--birth {
  align-items: flex-start;
}

#registerDomHost .register-field-pill--birth .register-field-pill__head {
  margin-top: 4px;
}

#registerDomHost .register-field-pill--birth .register-field-pill__control {
  align-items: stretch;
}

#registerDomHost .register-field-pill--birth .register-birth-slots {
  display: flex;
  flex-direction: row;
  align-items: center;
  min-width: 0;
  flex: 1 1 0;
  width: 100%;
  column-gap: 10px;
}

#registerDomHost
  .register-field-pill--birth
  .register-birth-slots
  > .register-custom-select {
  position: relative;
  left: auto;
  top: auto;
  width: 100%;
  min-width: 0;
  flex: 1 1 0;
  height: 40px;
}

#registerDomHost
  .register-field-pill--birth
  .register-birth-slots
  .register-custom-select--birth
  .register-custom-select__trigger {
  text-align: left;
}

#registerDomHost
  .register-field-pill--birth
  .register-birth-slots
  > .register-custom-select
  .register-field-select.register-custom-select__trigger {
  padding: 0 25px 0 8px;
  background-position: right 6px center;
  background-size: 12px 12px;
  font-size: 15px;
}

/* Bank (300 design px) + Account number on one row */
#registerDomHost .register-pill-row--bank-acct-split {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: calc(100% * 10 / var(--register-span-row-design-w, 1188));
  width: 100%;
  box-sizing: border-box;
}

#registerDomHost .register-field-pill--bank-narrow {
  flex: 0 0 calc(100% * 300 / var(--register-span-row-design-w, 1188));
  max-width: calc(100% * 300 / var(--register-span-row-design-w, 1188));
  min-width: 0;
}

#registerDomHost .register-field-pill--acct-flex {
  flex: 1 1 0;
  min-width: 0;
}

#registerDomHost .register-field-pill--bank-narrow .register-field-pill__head {
  max-width: 48%;
}

#registerDomHost .register-field-pill--bank-narrow .register-field-pill__title {
  font-size: 16px;
}

#registerDomHost
  .register-field-pill--bank-narrow
  .register-field-pill__control
  .register-field-select.register-custom-select__trigger {
  padding: 0 26px 0 6px;
  font-size: 15px;
}

/* Phone + Gender + Date of birth on one row (normal register tab) */
#registerDomHost .register-pill-row--phone-gender-birth {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  /* Match REGISTER_PGB_GAP_DESIGN in registerShellLayout.js (separate plates like bank row) */
  gap: calc(100% * 14 / var(--register-span-row-design-w, 1188));
  width: 100%;
  box-sizing: border-box;
  background: transparent;
}

#registerDomHost .register-field-pill--pgb-phone {
  flex: 0 0 calc(100% * 310 / var(--register-span-row-design-w, 1188));
  max-width: calc(100% * 340 / var(--register-span-row-design-w, 1188));
  min-width: 0;
}

#registerDomHost .register-field-pill--pgb-gender {
  flex: 0 0 calc(100% * 200 / var(--register-span-row-design-w, 1188));
  max-width: calc(100% * 220 / var(--register-span-row-design-w, 1188));
  min-width: 0;
}

#registerDomHost .register-field-pill--pgb-birth {
  flex: 1 1 0;
  min-width: 0;
}

/* PGB row: equal flex when 1 / 2 / 3 pills visible (syncNormal sets --pgb-count-N on the row). */
#registerDomHost
  .register-pill-row--phone-gender-birth.register-pill-row--pgb-count-1
  > .register-field-pill {
  flex: 1 1 auto;
  max-width: none;
  min-width: 0;
}

#registerDomHost
  .register-pill-row--phone-gender-birth.register-pill-row--pgb-count-2
  > .register-field-pill {
  flex: 1 1 0;
  max-width: none;
  min-width: 0;
}

/* PGB count-3: gender fixed 200 design px; phone + date of birth share the rest (matches plate layout). */
#registerDomHost
  .register-pill-row--phone-gender-birth.register-pill-row--pgb-count-3
  > .register-field-pill--pgb-gender {
  flex: 0 0 calc(100% * 200 / var(--register-span-row-design-w, 1188));
  max-width: calc(100% * 220 / var(--register-span-row-design-w, 1188));
  min-width: 0;
}

#registerDomHost
  .register-pill-row--phone-gender-birth.register-pill-row--pgb-count-3
  > .register-field-pill--pgb-phone,
#registerDomHost
  .register-pill-row--phone-gender-birth.register-pill-row--pgb-count-3
  > .register-field-pill--pgb-birth {
  flex: 1 1 0;
  max-width: none;
  min-width: 0;
}

#registerDomHost .register-field-pill--pgb-phone .register-field-pill__head,
#registerDomHost .register-field-pill--pgb-gender .register-field-pill__head {
  max-width: 44%;
}

#registerDomHost .register-field-pill--pgb-birth .register-field-pill__head {
  max-width: 34%;
}

/* Birth in PGB row: same vertical rhythm as phone/gender (override global birth flex-start). */
#registerDomHost .register-field-pill--birth.register-field-pill--pgb-birth {
  align-items: center;
}

#registerDomHost
  .register-field-pill--birth.register-field-pill--pgb-birth
  .register-field-pill__head {
  margin-top: 0;
  align-self: center;
}

#registerDomHost
  .register-field-pill--birth.register-field-pill--pgb-birth
  .register-field-pill__control {
  align-items: center;
}

#registerDomHost .register-field-pill--pgb-phone .register-field-pill__title,
#registerDomHost .register-field-pill--pgb-gender .register-field-pill__title {
  font-size: 15px;
}

#registerDomHost .register-field-pill--pgb-birth .register-field-pill__title {
  font-size: 14px;
}

#registerDomHost .register-field-pill--pgb-birth .register-birth-slots {
  column-gap: 6px;
  align-items: center;
}

#registerDomHost
  .register-field-pill--pgb-birth
  .register-birth-slots
  > .register-custom-select
  .register-field-select.register-custom-select__trigger {
  font-size: 14px;
  padding: 0 22px 0 6px;
}

#registerDomHost .register-field-row {
  --reg-row-design-w: var(--register-field-row-design-w, 570);
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 100%;
  min-height: 48px;
  padding: 6px 0;
  column-gap: calc(100% * 10 / var(--reg-row-design-w));
}

#registerDomHost .register-field-row.register-field-row--span-wide {
  --reg-row-design-w: var(--register-span-row-design-w, 1188);
}

/* ----- Left label ----- */
#registerDomHost .register-field-row > .register-field-label {
  box-sizing: border-box;
  flex: 0 0 calc(100% * 180 / var(--reg-row-design-w));
  min-width: 0;
  font-family: Paperlogy, "Pretendard Variable", Pretendard, Arial, sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #f9f9f9;
  line-height: 1.2;
  white-space: nowrap;
}
#registerDomHost .register-field-row > .register-field-stack {
  box-sizing: border-box;
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
}
/* ID / Password: label aligns to 40px input; hint is a separate row under the field (not inside the input plate) */
#registerDomHost .register-field-row.register-field-row--stack-hint {
  align-items: flex-start;
  overflow: visible;
  padding-top: 0;
  padding-bottom: 0;
}
#registerDomHost
  .register-field-row.register-field-row--stack-hint
  > .register-field-label {
  margin-top: 9px;
  align-self: flex-start;
}
/* Pairs with ID/Password: same row height, top-align (no hint on the right). */
#registerDomHost .register-field-row.register-field-row--tall-pair {
  align-items: flex-start;
  overflow: visible;
  padding-top: 0;
  padding-bottom: 0;
}
#registerDomHost
  .register-field-row.register-field-row--tall-pair
  > .register-field-label {
  margin-top: 9px;
  align-self: flex-start;
}
#registerDomHost .register-field-inputCell {
  box-sizing: border-box;
  flex: 0 0 auto;
  position: relative;
  width: 100%;
  min-width: 0;
  min-height: 40px;
}
#registerDomHost .register-field-hint {
  display: block;
  margin-top: 16px;
  padding-right: 2px;
  font-family: "Pretendard Variable", Pretendard, Arial, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  color: #999;
  text-align: right;
  white-space: normal;
  max-width: 100%;
  overflow-wrap: break-word;
  word-wrap: break-word;
  flex: 0 0 auto;
  min-height: 0;
}
#registerDomHost .register-field-row > .login-field-input {
  box-sizing: border-box;
  position: relative;
  left: auto;
  top: auto;
  flex: 1 1 0;
  min-width: 0;
  height: 40px;
  padding: 0 12px;
  font-size: 18px;
  font-family: inherit;
  outline: none;
  appearance: none;
}

#registerDomHost .register-field-row > .login-field-input::placeholder {
  color: #999999;
  opacity: 1;
}

#registerDomHost
  .register-field-row
  > .register-field-stack
  > .register-field-inputCell
  > .login-field-input {
  box-sizing: border-box;
  position: relative;
  left: auto;
  top: auto;
  flex: 0 0 auto;
  width: 100%;
  min-width: 0;
  height: 40px;
  padding: 0 12px;
  font-size: 18px;
  font-family: inherit;
  outline: none;
  appearance: none;
}
#registerDomHost
  .register-field-row
  > .register-field-stack
  > .register-field-inputCell
  > .login-field-input::placeholder {
  color: #999999;
  opacity: 1;
}
#registerDomHost
  .register-field-row
  > .register-field-stack
  > .register-field-inputCell
  > .login-field-input--with-reveal {
  padding-right: 52px;
}

#registerDomHost .register-field-row > .login-field-input--with-reveal {
  padding-right: 52px;
}

/* Register custom select trigger: chevron space (replaces direct-child `<select>`). */
#registerDomHost
  .register-field-row
  > .register-custom-select
  .register-field-select.register-custom-select__trigger {
  padding: 0 32px 0 12px;
}

#registerDomHost .register-field-row--birth > .register-birth-slots {
  display: flex;
  flex-direction: row;
  align-items: center;
  min-width: 0;
  flex: 1 1 0;
  column-gap: 10px;
}

#registerDomHost
  .register-field-row--birth
  .register-birth-slots
  > .register-custom-select {
  position: relative;
  left: auto;
  top: auto;
  width: 100%;
  min-width: 0;
  flex: 1 1 0;
  height: 40px;
}
#registerDomHost
  .register-field-row--birth
  .register-birth-slots
  .register-custom-select--birth
  .register-custom-select__trigger {
  text-align: left;
}

#registerDomHost
  .register-field-row--birth
  .register-birth-slots
  > .register-custom-select
  .register-field-select.register-custom-select__trigger {
  padding: 0 25px 0 8px;
  background-position: right 6px center;
  background-size: 12px 12px;
  font-size: 15px;
}

.loader {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 100;
  background: #000000;
}

.loading-stage {
  position: relative;
  width: min(100vw, calc(100dvh * 16 / 9));
  height: min(100dvh, calc(100vw * 9 / 16));
  aspect-ratio: 16 / 9;
}

.loading-design {
  position: absolute;
  left: 0;
  top: 0;
  width: 1920px;
  height: 1080px;
  transform-origin: 0 0;
  opacity: 0;
  will-change: transform;
}

.loading-stage.is-ready .loading-design {
  opacity: 1;
}

.loading-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.loading-dim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.48);
}

.loading-center {
  position: absolute;
  left: 50%;
  top: 58%;
  transform: translate(-50%, -50%);
  width: 820px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.loading-title {
  color: #f7d98d;
  font-size: 42px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
}

.bar {
  position: relative;
  width: 770px;
  height: 24px;
}

.bar-bg {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: linear-gradient(
    180deg,
    rgba(24, 8, 5, 0.95) 0%,
    rgba(8, 2, 2, 0.98) 100%
  );
  border: 2px solid rgba(255, 220, 148, 0.38);
  box-shadow:
    inset 0 2px 6px rgba(255, 255, 255, 0.08),
    inset 0 -2px 8px rgba(0, 0, 0, 0.45);
}

.bar-fill {
  position: absolute;
  left: 2px;
  top: 2px;
  bottom: 2px;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    #7b1600 0%,
    #cc4b16 22%,
    #ffcf61 50%,
    #cc4b16 78%,
    #7b1600 100%
  );
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.35),
    0 0 12px rgba(255, 178, 79, 0.35);
}

.loading-percent {
  color: #ffffff;
  font-size: 24px;
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* --- Global API loading (ref-counted; see js/core/http/apiLoading.js) --- */
.lobby-api-loading {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.lobby-api-loading--visible {
  display: flex;
  pointer-events: auto;
}

.lobby-api-loading__dim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

.lobby-api-loading__spinner {
  position: relative;
  z-index: 1;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.22);
  border-top-color: rgba(255, 210, 140, 0.95);
  animation: lobby-api-spin 0.75s linear infinite;
  box-shadow: 0 0 16px rgba(0, 0, 0, 0.35);
}

@keyframes lobby-api-spin {
  to {
    transform: rotate(360deg);
  }
}

/* —— Fiat deposit (DOM overlay, z-index under api-loading) —— */
.lobby-deposit-host {
  position: fixed;
  inset: 0;
  z-index: 170;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  font-family: "Pretendard Variable", Pretendard, Arial, sans-serif;
}

.lobby-deposit-dim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  cursor: pointer;
}

.lobby-deposit-panel {
  position: relative;
  z-index: 1;
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow: auto;
  background: linear-gradient(180deg, #1c1610 0%, #0f0c0a 100%);
  border: 1px solid #3d3019;
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55);
  color: #e8e0d8;
}

.lobby-deposit-panel-inner {
  padding: 16px 20px 20px;
}

.lobby-deposit__shell {
  min-height: 200px;
}

.lobby-deposit__head {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-bottom: 12px;
  min-height: 40px;
}

.lobby-deposit__head-close {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #c4b8a8;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}
.lobby-deposit__head-close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.lobby-deposit__tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
  border-bottom: 1px solid #2a2218;
  padding-bottom: 0;
}

.lobby-deposit__tab {
  flex: 1;
  padding: 10px 12px;
  border: none;
  border-radius: 8px 8px 0 0;
  background: #14100c;
  color: #9a8e80;
  font: inherit;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.lobby-deposit__tab:hover {
  color: #d4c8b8;
}
.lobby-deposit__tab.is-active {
  color: #f5e6d0;
  background: #1c1610;
  border-bottom-color: #8a7348;
}

.lobby-deposit__tab-panels {
  position: relative;
}

.lobby-deposit__panel {
  padding-top: 4px;
}

.lobby-deposit__title {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 800;
  color: #f5e6d0;
}

/* Initial state before /me (same visual as global API loading spinner) */
.lobby-deposit__initial-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140px;
  padding: 20px 0 32px;
  box-sizing: border-box;
}

.lobby-deposit__err,
.lobby-deposit__blocked-text,
.lobby-deposit__note {
  line-height: 1.5;
  margin: 0 0 10px;
}

.lobby-deposit__note {
  font-size: 0.88rem;
  color: #a69b8d;
}

.lobby-deposit__label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #b8a994;
  margin: 8px 0 4px;
}
.lobby-deposit__label:first-of-type {
  margin-top: 0;
}

.lobby-deposit__input,
.lobby-deposit__select {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: #190301;
  color: #fff;
  font: inherit;
  font-size: 1.25rem;
}
.lobby-deposit__input:focus,
.lobby-deposit__select:focus {
  outline: none;
  border-color: #d4a01d;
}

.lobby-deposit__row {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 16px;
}

.lobby-deposit__row--start {
  justify-content: flex-start;
  flex-wrap: wrap;
}

.lobby-deposit__not-linked {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 32rem;
  margin: 0 auto;
  padding: 8px 0 4px;
}

.lobby-deposit__not-linked-msg {
  margin: 16px 0 0;
  color: #e22b27;
  font-size: 16px;
  line-height: 1.45;
}

.lobby-deposit__row--not-linked-cta {
  justify-content: center;
  margin: 0;
  width: 100%;
}

.lobby-deposit__not-linked .lobby-deposit__cs-btn.lobby-deposit__btn--primary {
  background: #e22b27;
  border-color: #e22b27;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 10px 20px;
}

.lobby-deposit__not-linked
  .lobby-deposit__cs-btn.lobby-deposit__btn--primary:hover {
  background: #c92420;
  border-color: #c92420;
  color: #fff;
}

.lobby-deposit__coin-msg {
  font-size: 0.92rem;
  line-height: 1.5;
  color: #c8beb2;
  margin: 0 0 10px;
}
.lobby-deposit__coin-msg--err {
  color: #ffb0b0;
}
.lobby-deposit__coin-addr {
  display: block;
  margin: 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: #0a0806;
  border: 1px solid #2a2218;
  color: #a8d4a0;
  font-size: 0.8rem;
  word-break: break-all;
  white-space: pre-wrap;
}

/* Coin tab: no wallet — method selector (SPONLINK + personal) */
.lobby-deposit__coin-wallet-method {
  max-width: 73.25rem;
  margin: 0 auto;
  padding: 0 2px 8px;
  box-sizing: border-box;
}

.lobby-deposit__coin-method-title {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  line-height: 1;
  text-align: center;
  padding-bottom: 40px;
}

.lobby-deposit__coin-method-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 360px));
  gap: 36px;
  align-items: start;
  justify-content: center;
}

@media (max-width: 640px) {
  .lobby-deposit__coin-method-grid {
    grid-template-columns: minmax(0, 360px);
    justify-content: center;
  }
}

.lobby-deposit__coin-method-grid--single {
  grid-template-columns: minmax(0, 360px);
  max-width: min(360px, 100%);
  margin: 0 auto;
}

.lobby-deposit__method-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  box-sizing: border-box;
  width: min(360px, 100%);
  max-width: 360px;
  aspect-ratio: 1 / 1;
  height: auto;
  margin: 0 auto;
  padding: 0;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: #f8f2ea;
  overflow: hidden;
  background-color: #12100e;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}
.lobby-deposit__method-card:hover {
  transform: translateY(-2px);
}
.lobby-deposit__method-card:focus-visible {
  outline: 2px solid #d4a01d;
  outline-offset: 2px;
}

.lobby-deposit__method-card--sponlink {
  background: #5f2b29;
  border: 4px solid #854d4b;
}
.lobby-deposit__method-card--personal {
  background-color: #501f1d;
  background-image: none;
  border: none;
}

.lobby-deposit__method-card-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 18px 20px 20px;
  height: 100%;
  min-height: 0;
  box-sizing: border-box;
  background: transparent;
}

.lobby-deposit__method-card-sponlink-logo {
  width: 173px;
  height: 111px;
  background: var(--lobby-sponlink-logo, none) center / contain no-repeat;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.45));
}

.lobby-deposit__method-card-icon-wallet {
  width: 76px;
  height: 76px;
  margin: 18px auto;
  flex-shrink: 0;
  opacity: 0.95;
  background: var(--lobby-personal-wallet-icon, none) center / contain no-repeat;
}

.lobby-deposit__method-card-heading {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  color: #fff;
}

.lobby-deposit__method-card-desc {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.45;
  color: #a87472;
  max-width: 280px;
}

/* Personal wallet registration — inline in coin panel (not modal) */
.lobby-deposit__personal-inline {
  max-width: 73.25rem;
  margin: 0 auto;
  padding: 0 2px 12px;
  box-sizing: border-box;
}
.lobby-deposit__personal-inline__back-row {
  margin: 0 0 10px;
}
.lobby-deposit__personal-inline__back {
  padding: 6px 12px;
  font-size: 0.85rem;
  font-weight: 600;
  background: transparent;
  border: 1px solid #4a3d2a;
  color: #c8beb2;
}
.lobby-deposit__personal-inline__back:hover {
  background: #1a1410;
  color: #fff;
}
.lobby-deposit__personal-inline__title {
  margin: 0 0 18px;
  font-size: 24px;
  font-weight: 600;
  color: #fff;
  text-align: center;
}
.lobby-deposit__personal-inline__notes {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  border-radius: 16px;
  background: #461916;
  box-sizing: border-box;
  margin-top: 20px;
}
.lobby-deposit__personal-inline__notes .lobby-deposit__personal-inline__note {
  margin: 0;
}
.lobby-deposit__personal-inline__notes
  .lobby-deposit__personal-inline__note--highlight {
  margin-top: 0;
}
.lobby-deposit__personal-inline__note {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.45;
  text-align: left;
}
.lobby-deposit__personal-inline__note--highlight {
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.45;
  color: #d4a01d;
  font-weight: 500;
}
.lobby-deposit__personal-inline__note--muted {
  color: #999999;
  font-weight: 400;
  font-size: 14px;
  margin-bottom: 0;
}
.lobby-deposit__personal-inline__field-row {
  display: flex;
  flex-direction: column;
  gap: 10px 12px;
  margin: 0 0 0;
}
.lobby-deposit__personal-inline__field-label {
  flex: 0 0 auto;
  font-size: 20px;
  font-weight: 600;
  color: #f9f9f9;
  min-width: 7.5rem;
}
.lobby-deposit__personal-inline__input-wrap {
  display: flex;
  gap: 8px;
  min-width: 0;
}
.lobby-deposit__personal-inline__input {
  flex: 1 1 10rem;
  min-width: 0;
  padding: 10px 24px;
  color: #8e5151;
  font-size: 18px;
  font-weight: 400;
}
.lobby-deposit__personal-inline__request {
  flex: 0 0 auto;
  align-self: stretch;
  white-space: nowrap;
  padding-left: 16px;
  padding-right: 16px;
}
@media (max-width: 520px) {
  .lobby-deposit__personal-inline__field-row {
    flex-direction: column;
    align-items: stretch;
  }
  .lobby-deposit__personal-inline__field-label {
    min-width: 0;
  }
  .lobby-deposit__personal-inline__input-wrap {
    flex-direction: column;
  }
  .lobby-deposit__personal-inline__request {
    width: 100%;
  }
}

.lobby-deposit-coin-modal {
  /* Same interaction contract as .lobby-deposit-verify (host has pointer-events: none) */
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.45);
  pointer-events: auto;
  padding: 12px;
  box-sizing: border-box;
}
.lobby-deposit-coin-modal__panel {
  width: 100%;
  max-width: 400px;
  background: linear-gradient(180deg, #1c1610 0%, #0f0c0a 100%);
  border: 1px solid #3d3019;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  padding: 20px 18px 16px;
  color: #e8e0d8;
  font-size: 0.92rem;
  line-height: 1.45;
}
.lobby-deposit-coin-modal__title {
  margin: 0 0 10px;
  font-size: 1.05rem;
  font-weight: 800;
  color: #f5e6d0;
}
.lobby-deposit-coin-modal__hint {
  margin: 0 0 12px;
  color: #b8a994;
  font-size: 0.88rem;
  line-height: 1.45;
}
.lobby-deposit-coin-modal__err {
  color: #ffb0b0;
  font-size: 0.85rem;
  margin: 0 0 8px;
}

.lobby-deposit__btn {
  padding: 9px 18px;
  border-radius: 8px;
  border: 1px solid #4a3d2a;
  background: #1a1410;
  color: #e0d6cc;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.lobby-deposit__btn:hover {
  background: #252018;
}
.lobby-deposit__btn--primary {
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.5) 0%,
      rgba(255, 255, 255, 0) 40%
    ),
    linear-gradient(180deg, #a04e25 0%, #f3a300 100%);
  color: #fff4e0;
}
.lobby-deposit__btn--primary:hover {
  background: #4a3a20;
}

.lobby-deposit-verify {
  /* Host #depositDomHost dùng pointer-events:none; cần bật lại để ô input/nút nhận tương tác */
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.45);
  padding: 12px;
  pointer-events: auto;
}

.lobby-deposit-verify__panel {
  max-width: 400px;
  width: 100%;
  background: #14100c;
  border: 1px solid #3d3019;
  border-radius: 12px;
  padding: 16px 18px 20px;
}

.lobby-deposit-verify__title {
  margin: 0 0 6px;
  font-size: 1.05rem;
}
.lobby-deposit-verify__hint {
  margin: 0 0 10px;
  font-size: 0.9rem;
  color: #b0a69a;
  line-height: 1.45;
}
.lobby-deposit-verify__msg {
  min-height: 1.2em;
  margin: 8px 0 0;
  font-size: 0.9rem;
}

.lobby-deposit-verify__static {
  margin: 0 0 12px;
  line-height: 1.5;
  color: #d8cec4;
  font-size: 0.95rem;
}

.lobby-deposit-verify__details {
  margin: 8px 0 0;
  padding: 10px 12px;
  max-height: 220px;
  overflow: auto;
  font-size: 0.8rem;
  line-height: 1.4;
  background: #0a0806;
  border: 1px solid #2a2218;
  border-radius: 8px;
  color: #a8d4a0;
  white-space: pre-wrap;
  word-break: break-word;
}

.lobby-deposit-verify__pw-label {
  margin-top: 0;
}

.lobby-deposit-verify__bank-details {
  margin: 8px 0 0;
  padding: 10px 12px;
  background: #0a0806;
  border: 1px solid #2a2218;
  border-radius: 8px;
}

.lobby-deposit-verify__bank-details-heading {
  margin: 0 0 10px;
  padding: 0;
  font-size: 1rem;
  font-weight: 600;
  color: #e8e0d8;
  line-height: 1.35;
}

.lobby-deposit-verify__bank-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 6px 0;
  font-size: 0.9rem;
  line-height: 1.45;
  border-bottom: 1px solid #2a2218;
}

.lobby-deposit-verify__bank-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.lobby-deposit-verify__bank-row:first-child {
  padding-top: 0;
}

.lobby-deposit-verify__bank-label {
  flex: 0 0 4.5em;
  color: #b0a69a;
}

.lobby-deposit-verify__bank-value {
  flex: 1 1 auto;
  color: #e8e0d8;
  word-break: break-word;
}

.lobby-deposit-verify__done-row {
  justify-content: center;
  margin-top: 12px;
}

/* —— Deposit shell (PIXI + #depositDomHost): register-style plate —— */
#depositDomHost.lobby-deposit-host {
  --deposit-amount-control-h: 50px;
  --deposit-amount-text: 18px;
  --deposit-form-section-gap: 8px;
  --withdraw-pill-row-min-h: 54px;
  --withdraw-pill-pad-y: 8px;
  --withdraw-pill-pad-x: 16px;
  --withdraw-pill-input-h: 38px;
  font-family: "Pretendard Variable", Pretendard, Paperlogy, Arial, sans-serif;
}

#depositDomHost .lobby-deposit-skin__flow {
  --deposit-form-design-w: 1000;
  max-height: min(72vh, 560px);
  overflow-x: hidden;
  overflow-y: auto;
  padding: 0 0 8px;
  pointer-events: auto;
  color: #e8e0d8;
}

#depositDomHost .lobby-deposit-skin__field-label {
  display: block;
  font-size: 20px;
  font-weight: 600;
  color: #f9f9f9;
  margin: 10px 0 6px;
}

#depositDomHost .lobby-deposit-skin__form {
  display: flex;
  flex-direction: column;
  gap: var(--deposit-form-section-gap);
  min-width: 0;
}

#depositDomHost .lobby-deposit-skin__readonly {
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #3d3019;
  background: #0a0806;
  color: #d8cfc4;
  font-size: 0.95rem;
  min-height: 1.2em;
}

/* Label (left) + control (right), one row */
#depositDomHost .lobby-deposit-skin__field-row,
#depositDomHost .lobby-deposit-skin__bonus-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  margin: 0;
  min-width: 0;
  width: 100%;
}

#depositDomHost
  .lobby-deposit-skin__field-row
  > .lobby-deposit-skin__field-label,
#depositDomHost
  .lobby-deposit-skin__bonus-row
  > .lobby-deposit-skin__field-label {
  flex: 0 0 auto;
  margin: 0;
  width: 9rem;
  min-width: 9rem;
  align-self: center;
}

#depositDomHost .lobby-deposit-skin__field-row > .lobby-deposit-skin__readonly {
  flex: 1 1 auto;
  min-width: 0;
}

/* Depositor: cùng phong cách với Amount (cao, chữ, căn phải) */
#depositDomHost
  .lobby-deposit-skin__field-row--depositor
  .lobby-deposit-skin__readonly {
  min-height: var(--deposit-amount-control-h);
  height: var(--deposit-amount-control-h);
  padding: 14px 12px;
  box-sizing: border-box;
  font-size: var(--deposit-amount-text);
  line-height: 100%;
  color: #8e5151;
  background: #190301;
  border: 1px solid transparent;
  border-radius: 8px;
}

#depositDomHost .lobby-deposit-skin__field-row__tail {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  align-items: center;
  gap: 12px;
}

/* Cùng logic Depositor: input giãn hết phần còn lại, chip nằm sau, không tạo khoảng trống bên trái */
#depositDomHost
  .lobby-deposit-skin__field-row--amount
  .lobby-deposit-skin__amount-row {
  flex: 1 1 auto;
  min-width: 0;
}

#depositDomHost .lobby-deposit-skin__amount-input-wrap {
  position: relative;
  width: 100%;
}

#depositDomHost .lobby-deposit-skin__field-row--amount .lobby-deposit__input {
  width: 100%;
  height: var(--deposit-amount-control-h);
  min-height: var(--deposit-amount-control-h);
  font-size: var(--deposit-amount-text);
  line-height: 100%;
  padding: 12px 40px 12px 12px;
  box-sizing: border-box;
  text-align: right;
  -moz-appearance: textfield;
  appearance: textfield;
}

#depositDomHost
  .lobby-deposit-skin__field-row--amount
  .lobby-deposit__input::-webkit-outer-spin-button,
#depositDomHost
  .lobby-deposit-skin__field-row--amount
  .lobby-deposit__input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

#depositDomHost .lobby-deposit-skin__amount-clear {
  position: absolute;
  top: 50%;
  right: 10px;
  width: 20px;
  height: 20px;
  margin: 0;
  padding: 0;
  border: none;
  background: url(../images/resource/circle-xmark.svg) no-repeat center / 20px
    20px;
  cursor: pointer;
  transform: translateY(-50%);
  flex-shrink: 0;
}

#depositDomHost .lobby-deposit-skin__amount-clear:hover {
  opacity: 0.9;
  filter: drop-shadow(0 0 2px rgba(212, 160, 29, 0.75));
}

#depositDomHost .lobby-deposit-skin__bonus-row .lobby-deposit-bonus-grid {
  flex: 1 1 auto;
  min-width: 0;
}

#depositDomHost .lobby-deposit-skin__bonus-row--no-label {
  align-items: stretch;
}

/* Deposit bank: pill rows (same pattern as withdraw shell) */
#depositDomHost .lobby-withdraw__pill-row > .lobby-withdraw__field-pill {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}
#depositDomHost .lobby-withdraw__field-pill {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: var(--withdraw-pill-row-min-h);
  padding: var(--withdraw-pill-pad-y) var(--withdraw-pill-pad-x);
  background: #190301;
  border-radius: 16px;
  box-sizing: border-box;
}
#depositDomHost .lobby-withdraw__field-pill--chips-only {
  justify-content: flex-start;
  align-items: stretch;
  min-height: 0;
  padding: 0;
  gap: 0;
  background: transparent;
  border-radius: 0;
}
#depositDomHost
  .lobby-withdraw__field-pill--chips-only
  .lobby-deposit-skin__chips {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  width: 100%;
  flex: 1 1 auto;
  min-width: 0;
  gap: 6px;
  margin: 0;
}
#depositDomHost
  .lobby-withdraw__field-pill--chips-only
  .lobby-deposit-skin__chip {
  flex: 1 1 0;
  min-width: 0;
  width: 0;
  min-height: 48px;
  height: 48px;
  box-sizing: border-box;
}
#depositDomHost
  .lobby-withdraw__field-pill--amount-input
  .lobby-deposit-skin__amount-row {
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
}
#depositDomHost .lobby-withdraw__field-pill .lobby-deposit-skin__readonly {
  background: transparent;
  border: none;
  border-radius: 0;
  min-height: 0;
  height: auto;
  padding: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  text-align: right;
  flex: 1 1 auto;
  min-width: 0;
}
#depositDomHost
  .lobby-withdraw__field-pill
  .lobby-deposit-skin__amount-input-wrap {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
}
#depositDomHost
  .lobby-withdraw__field-pill--amount-input
  .lobby-deposit__input {
  width: 100%;
  height: var(--withdraw-pill-input-h);
  min-height: var(--withdraw-pill-input-h);
  font-size: 18px;
  font-weight: 700;
  line-height: 100%;
  padding: 6px 36px 6px 10px;
  box-sizing: border-box;
  text-align: right;
  color: #fff;
  background: transparent;
  border: none;
  -moz-appearance: textfield;
  appearance: textfield;
}
#depositDomHost
  .lobby-withdraw__field-pill--amount-input
  .lobby-deposit__input::-webkit-outer-spin-button,
#depositDomHost
  .lobby-withdraw__field-pill--amount-input
  .lobby-deposit__input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
#depositDomHost .lobby-withdraw__balance-label {
  margin: 0;
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
  color: #8e5151;
  min-width: 0;
  flex-shrink: 0;
}

/* One row: horizontal tiles, scroll when overflow */
#depositDomHost .lobby-deposit-bonus-grid {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 10px;
  margin-bottom: 0;
  padding-bottom: 4px;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: #5a4a30 #0a0806;
  overscroll-behavior-x: contain;
  overscroll-behavior-y: none;
  cursor: grab;
}

#depositDomHost .lobby-deposit-bonus-grid.lobby-deposit-bonus-grid--grabbing {
  cursor: grabbing;
  scroll-behavior: auto;
  user-select: none;
}

#depositDomHost .lobby-deposit-bonus-grid::-webkit-scrollbar {
  height: 6px;
}

#depositDomHost .lobby-deposit-bonus-grid::-webkit-scrollbar-track {
  background: #0a0806;
  border-radius: 3px;
}

#depositDomHost .lobby-deposit-bonus-grid::-webkit-scrollbar-thumb {
  background: #5a4a30;
  border-radius: 3px;
}

#depositDomHost .lobby-deposit-bonus-card {
  width: 13.125rem;
  height: 12.5rem;
  flex: 0 0 13.125rem;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  border: 1px solid transparent;
  padding: 8px 9px;
  border-radius: 8px;
  text-align: left;
  background: #501f1d;
  color: #fff;
  cursor: pointer;
  font: inherit;
  overflow: hidden;
}

#depositDomHost .lobby-deposit-bonus-card__scroller {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #d4a01d #0a0806;
}

#depositDomHost .lobby-deposit-bonus-card__scroller::-webkit-scrollbar {
  width: 4px;
}

#depositDomHost .lobby-deposit-bonus-card__scroller::-webkit-scrollbar-thumb {
  background: #333333;
  border-radius: 2px;
}

#depositDomHost .lobby-deposit-bonus-card__title {
  padding: 11px;
  text-align: center;
  font-weight: 400;
  font-size: 1.125rem;
  color: #fff;
  margin: 0 0 4px;
  line-height: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  background: #280603;
  border-radius: 8px;
}

#depositDomHost .lobby-deposit-bonus-card__ptypes {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0 0 4px;
  text-transform: uppercase;
}

#depositDomHost .lobby-deposit-bonus-card__ptype {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #cccccc;
}

#depositDomHost .lobby-deposit-bonus-card__ptype-sep {
  flex: 0 0 auto;
  color: #fff;
  font-size: 18px;
  font-weight: 400;
  padding: 0 2px;
  user-select: none;
}

#depositDomHost .lobby-deposit-bonus-card__ptype-text {
  font-size: 18px;
  color: #fff;
}

#depositDomHost .lobby-deposit-bonus-card__lines {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
}

#depositDomHost .lobby-deposit-bonus-card__line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

#depositDomHost .lobby-deposit-bonus-card__line-label {
  color: #a87472;
  font-size: 18px;
  line-height: 100%;
}

#depositDomHost .lobby-deposit-bonus-card__line-value {
  color: #fff;
  font-size: 18px;
  font-weight: 400;
  line-height: 100%;
}

#depositDomHost .lobby-deposit-bonus-card.is-selected {
  background: #7d1805;
  color: #fff4e0;
}

#depositDomHost
  .lobby-deposit-bonus-card.is-selected
  .lobby-deposit-bonus-card__title {
  background: #280603;
  border-radius: 8px;
  color: #fff;
}

#depositDomHost .lobby-deposit-bonus-card--skeleton {
  background: #2a1a18;
  cursor: default;
  pointer-events: none;
  position: relative;
  overflow: hidden;
}

#depositDomHost .lobby-deposit-bonus-card--skeleton::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(255, 255, 255, 0) 30%,
    rgba(255, 255, 255, 0.08) 50%,
    rgba(255, 255, 255, 0) 70%
  );
  background-size: 200% 100%;
  animation: lobby-deposit-bonus-skel-shimmer 1.2s linear infinite;
}

@keyframes lobby-deposit-bonus-skel-shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

#depositDomHost .lobby-deposit-skel,
#withdrawDomHost .lobby-deposit-skel {
  display: block;
  position: relative;
  background: #2a1a18;
  border-radius: 6px;
  overflow: hidden;
}

#depositDomHost .lobby-deposit-skel::after,
#withdrawDomHost .lobby-deposit-skel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(255, 255, 255, 0) 30%,
    rgba(255, 255, 255, 0.08) 50%,
    rgba(255, 255, 255, 0) 70%
  );
  background-size: 200% 100%;
  animation: lobby-deposit-skel-pulse 1.2s linear infinite;
}

#depositDomHost .lobby-deposit-skel--line,
#withdrawDomHost .lobby-deposit-skel--line {
  height: 1.4rem;
  width: 60%;
  border-radius: 4px;
}

#depositDomHost .lobby-deposit-skel--input,
#withdrawDomHost .lobby-deposit-skel--input {
  height: 1.6rem;
  width: 100%;
  border-radius: 16px;
}

#depositDomHost .lobby-deposit-skel--chip,
#withdrawDomHost .lobby-deposit-skel--chip {
  flex: 0 0 auto;
  min-width: 9rem;
  height: var(--deposit-amount-control-h);
  min-height: var(--deposit-amount-control-h);
  border-radius: 16px;
}

#depositDomHost .lobby-deposit-skel--button,
#withdrawDomHost .lobby-deposit-skel--button {
  height: 3rem;
  width: 12rem;
  border-radius: 8px;
  margin: 0 auto;
}

#depositDomHost .lobby-deposit-skel--qr,
#withdrawDomHost .lobby-deposit-skel--qr {
  width: 7rem;
  height: 7rem;
  border-radius: 8px;
}

#depositDomHost .lobby-deposit-skel--token,
#withdrawDomHost .lobby-deposit-skel--token {
  height: 1.5rem;
  width: 4rem;
  border-radius: 4px;
  margin-bottom: 0.5rem;
}

@keyframes lobby-deposit-skel-pulse {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

#depositDomHost .lobby-deposit-skin__chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  align-content: center;
  gap: 6px;
  flex: 0 0 auto;
  min-width: 0;
  margin-top: 0;
}

#depositDomHost .lobby-deposit-skin__chip {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--deposit-amount-control-h);
  height: var(--deposit-amount-control-h);
  padding: 0 10px;
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
  border-radius: 16px;
  border: 1px solid transparent;
  background: #501f1d;
  color: #ffffff;
  cursor: pointer;
}

#depositDomHost .lobby-deposit-skin__chip:hover {
  background: #7d1805;
  color: #ffffff;
}

#depositDomHost .lobby-deposit-skin__actions {
  display: flex;
  justify-content: center;
  margin: 0;
  padding-top: 24px;
}

#depositDomHost .lobby-deposit-skin__request {
  min-width: 220px;
  min-height: 48px;
  padding: 10px 28px;
  border: none;
  font-family: Paperlogy, "Pretendard Variable", Pretendard, Arial, sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.5) 0%,
      rgba(255, 255, 255, 0) 40%
    ),
    linear-gradient(180deg, #a04e25 0%, #f3a300 100%);
  border-radius: 8px;
  cursor: pointer;
}

/* Coin tab: QR + address row (no wallet title label) */
#depositDomHost .lobby-deposit__form--coin .lobby-deposit__coin-dw-row {
  flex-wrap: nowrap;
  align-items: center;
  min-width: 0;
  width: 100%;
  margin: 0;
  box-sizing: border-box;
}
#depositDomHost
  .lobby-deposit__form--coin
  .lobby-deposit__coin-dw-row--no-label {
  align-items: stretch;
}
#depositDomHost
  .lobby-deposit__form--coin
  .lobby-deposit__coin-dw-row
  > .lobby-deposit__coin-dw {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 12px 16px;
  margin: 0;
  box-sizing: border-box;
}
#depositDomHost .lobby-deposit__coin-qr-box {
  flex: 0 0 112px;
  width: 112px;
  height: 112px;
  border-radius: 8px;
  overflow: hidden;
  background: #1a1816;
  border: 1px solid #333;
  box-sizing: border-box;
}
#depositDomHost .lobby-deposit__coin-qr-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
#depositDomHost .lobby-deposit__coin-qr-inner--empty {
  color: #888;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  padding: 8px;
  line-height: 1.35;
}
#depositDomHost .lobby-deposit__coin-qr-canvas {
  display: block;
  width: 112px;
  height: 112px;
  border-radius: 8px;
}
#depositDomHost .lobby-deposit__coin-dw-right {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}
#depositDomHost .lobby-deposit__coin-token-type {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #f9f9f9;
  line-height: 1.2;
}
#depositDomHost .lobby-deposit__coin-readonly-row {
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}
/* Coin: amount pill (label+input) + convert hint inside pill; chips on second pill row */
#depositDomHost
  .lobby-deposit__form--coin
  .lobby-withdraw__field-pill--amount-input.lobby-deposit__coin-amount-pill {
  flex-direction: column;
  align-items: stretch;
  align-self: stretch;
  gap: 6px;
}
#depositDomHost
  .lobby-deposit__form--coin
  .lobby-deposit__coin-amount-pill-top {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
#depositDomHost
  .lobby-deposit__form--coin
  .lobby-deposit__coin-amount-pill-top
  .lobby-deposit__coin-amount-input-cell {
  flex: 1 1 auto;
  min-width: 0;
}
#depositDomHost
  .lobby-deposit__form--coin
  .lobby-deposit__coin-amount-pill
  .lobby-deposit__coin-convert-hint {
  margin: 0;
  padding: 0;
  font-size: 0.8rem;
  line-height: 1.3;
  min-height: 1.2em;
  text-align: right;
  width: 100%;
  box-sizing: border-box;
}
#depositDomHost
  .lobby-deposit__form--coin
  .lobby-deposit__coin-convert-hint[hidden] {
  display: none !important;
}
#depositDomHost
  .lobby-deposit__form--coin
  .lobby-deposit__coin-convert-hint-text {
  display: block;
  color: rgba(255, 255, 255, 0.6);
}
#depositDomHost
  .lobby-deposit__form--coin
  .lobby-deposit__coin-convert-hint-text[hidden] {
  display: none !important;
}
#depositDomHost
  .lobby-deposit__form--coin
  .lobby-deposit__coin-convert-skeleton {
  display: inline-block;
  width: 88px;
  height: 14px;
  margin: 0;
  border-radius: 999px;
  background-color: #252525;
  vertical-align: middle;
  overflow: hidden;
  position: relative;
  box-sizing: border-box;
}
#depositDomHost
  .lobby-deposit__form--coin
  .lobby-deposit__coin-convert-skeleton[hidden] {
  display: none !important;
}
#depositDomHost
  .lobby-deposit__form--coin
  .lobby-deposit__coin-convert-skeleton::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.14) 50%,
    transparent 100%
  );
  transform: translateX(-100%);
  animation: lobby-deposit-coin-skeleton-sweep 1.1s ease-in-out infinite;
}
@keyframes lobby-deposit-coin-skeleton-sweep {
  100% {
    transform: translateX(200%);
  }
}
#depositDomHost .lobby-deposit__form--coin .lobby-deposit__input-copy-wrap {
  position: relative;
  width: 100%;
  min-width: 0;
  flex: 1 1 auto;
  box-sizing: border-box;
}
#depositDomHost
  .lobby-deposit__form--coin
  .lobby-deposit__input-copy-wrap
  .lobby-deposit__input {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding-right: 40px;
}
#depositDomHost .lobby-deposit__coin-pw-input-wrap {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  align-items: center;
}
#depositDomHost
  .lobby-deposit__coin-pw-input-wrap
  .lobby-deposit__input-copy-wrap {
  min-width: 0;
  flex: 1 1 auto;
}
#depositDomHost .lobby-deposit__form--coin .lobby-deposit__copy-icon-btn {
  position: absolute;
  top: 50%;
  right: 6px;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  margin: 0;
  padding: 0;
  border: none;
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 20px 20px;
  cursor: pointer;
  opacity: 0.9;
  flex-shrink: 0;
}
#depositDomHost .lobby-deposit__form--coin .lobby-deposit__copy-icon-btn:hover {
  opacity: 1;
  filter: brightness(1.15);
}
#depositDomHost
  .lobby-deposit__form--coin
  .lobby-deposit__copy-icon-btn:focus-visible {
  outline: 2px solid #2b6af5;
  outline-offset: 1px;
  border-radius: 4px;
}

/* —— Withdraw shell (same skin as deposit) —— */
/* —— (PIXI + #withdrawDomHost): register-style plate —— */
#withdrawDomHost.lobby-deposit-host {
  --deposit-amount-control-h: 50px;
  --deposit-amount-text: 18px;
  --deposit-form-section-gap: 8px;
  --withdraw-pill-row-min-h: 54px;
  --withdraw-pill-pad-y: 8px;
  --withdraw-pill-pad-x: 16px;
  --withdraw-pill-input-h: 38px;
  font-family: "Pretendard Variable", Pretendard, Paperlogy, Arial, sans-serif;
}

#withdrawDomHost .lobby-deposit-skin__flow {
  --deposit-form-design-w: 1000;
  max-height: min(72vh, 560px);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0 0 8px;
  pointer-events: auto;
  color: #e8e0d8;
}

#withdrawDomHost .lobby-deposit-skin__field-label {
  display: block;
  font-size: 20px;
  font-weight: 600;
  color: #f9f9f9;
  margin: 10px 0 6px;
}

#withdrawDomHost .lobby-deposit-skin__form {
  display: flex;
  flex-direction: column;
  gap: var(--deposit-form-section-gap);
  min-width: 0;
}

#withdrawDomHost .lobby-deposit-skin__readonly {
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #3d3019;
  background: #0a0806;
  color: #d8cfc4;
  font-size: 0.95rem;
  min-height: 1.2em;
}

/* Label (left) + control (right), one row */
#withdrawDomHost .lobby-deposit-skin__field-row,
#withdrawDomHost .lobby-deposit-skin__bonus-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  margin: 0;
  min-width: 0;
  width: 100%;
}

#withdrawDomHost
  .lobby-deposit-skin__field-row
  > .lobby-deposit-skin__field-label,
#withdrawDomHost
  .lobby-deposit-skin__bonus-row
  > .lobby-deposit-skin__field-label {
  flex: 0 0 auto;
  margin: 0;
  width: 9rem;
  min-width: 9rem;
  align-self: center;
}

#withdrawDomHost
  .lobby-deposit-skin__field-row
  > .lobby-deposit-skin__readonly {
  flex: 1 1 auto;
  min-width: 0;
}

/* Depositor: cùng phong cách với Amount (cao, chữ, căn phải) */
#withdrawDomHost
  .lobby-deposit-skin__field-row--depositor
  .lobby-deposit-skin__readonly {
  min-height: var(--deposit-amount-control-h);
  height: var(--deposit-amount-control-h);
  padding: 14px 12px;
  box-sizing: border-box;
  font-size: var(--deposit-amount-text);
  line-height: 100%;
  color: #8e5151;
  background: #190301;
  border: 1px solid transparent;
  border-radius: 8px;
}

/* Exchange password: same control height as amount row so the eye aligns with the field. */
#withdrawDomHost
  .lobby-deposit-skin__field-row--depositor
  .lobby-deposit-skin__amount-input-wrap
  > .lobby-deposit__input {
  height: var(--deposit-amount-control-h);
  min-height: var(--deposit-amount-control-h);
  font-size: var(--deposit-amount-text);
  line-height: 100%;
  padding: 12px 52px 12px 12px;
  box-sizing: border-box;
}

#withdrawDomHost .lobby-deposit-skin__field-row__tail {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  align-items: center;
  gap: 12px;
}

#withdrawDomHost .lobby-deposit-skin__amount-input-wrap {
  position: relative;
  width: 100%;
}

#withdrawDomHost .lobby-deposit-skin__amount-clear {
  position: absolute;
  top: 50%;
  right: 10px;
  width: 20px;
  height: 20px;
  margin: 0;
  padding: 0;
  border: none;
  background: url(../images/resource/circle-xmark.svg) no-repeat center / 20px
    20px;
  cursor: pointer;
  transform: translateY(-50%);
  flex-shrink: 0;
}

#withdrawDomHost .lobby-deposit-skin__amount-clear:hover {
  opacity: 0.9;
  filter: drop-shadow(0 0 2px rgba(212, 160, 29, 0.75));
}

#withdrawDomHost .lobby-deposit-skin__bonus-row .lobby-deposit-bonus-grid {
  flex: 1 1 auto;
  min-width: 0;
}

/* One row: horizontal tiles, scroll when overflow */
#withdrawDomHost .lobby-deposit-bonus-grid {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 10px;
  margin-bottom: 0;
  padding-bottom: 4px;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: #5a4a30 #0a0806;
  overscroll-behavior-x: contain;
  overscroll-behavior-y: none;
  cursor: grab;
}

#withdrawDomHost .lobby-deposit-bonus-grid.lobby-deposit-bonus-grid--grabbing {
  cursor: grabbing;
  scroll-behavior: auto;
  user-select: none;
}

#withdrawDomHost .lobby-deposit-bonus-grid::-webkit-scrollbar {
  height: 6px;
}

#withdrawDomHost .lobby-deposit-bonus-grid::-webkit-scrollbar-track {
  background: #0a0806;
  border-radius: 3px;
}

#withdrawDomHost .lobby-deposit-bonus-grid::-webkit-scrollbar-thumb {
  background: #5a4a30;
  border-radius: 3px;
}

#withdrawDomHost .lobby-deposit-bonus-card {
  width: 15rem;
  min-width: 15rem;
  max-width: 15rem;
  height: 11rem;
  min-height: 11rem;
  max-height: 11rem;
  flex: 0 0 15rem;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  border: 1px solid transparent;
  padding: 8px 10px;
  border-radius: 8px;
  text-align: left;
  background: #333333;
  color: #e0d6cc;
  cursor: pointer;
  font: inherit;
  overflow: hidden;
}

#withdrawDomHost .lobby-deposit-bonus-card__scroller {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #d4a01d #0a0806;
}

#withdrawDomHost .lobby-deposit-bonus-card__scroller::-webkit-scrollbar {
  width: 4px;
}

#withdrawDomHost .lobby-deposit-bonus-card__scroller::-webkit-scrollbar-thumb {
  background: #333333;
  border-radius: 2px;
}

#withdrawDomHost .lobby-deposit-bonus-card__title {
  font-weight: 700;
  font-size: 1.125rem;
  color: #f9f9f9;
  margin: 0 0 4px;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

#withdrawDomHost .lobby-deposit-bonus-card__ptypes {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  flex-wrap: wrap;
  margin: 0 0 4px;
  text-transform: uppercase;
}

#withdrawDomHost .lobby-deposit-bonus-card__ptype {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #cccccc;
  padding: 1px 3px;
}

#withdrawDomHost .lobby-deposit-bonus-card__ptype-sep {
  flex: 0 0 auto;
  color: #888888;
  font-size: 12px;
  font-weight: 400;
  padding: 0 2px;
  user-select: none;
}

#withdrawDomHost .lobby-deposit-bonus-card__ptype-text {
  font-size: 12px;
  color: #cccccc;
}

#withdrawDomHost .lobby-deposit-bonus-card__lines {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
}

#withdrawDomHost .lobby-deposit-bonus-card__line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

#withdrawDomHost .lobby-deposit-bonus-card__line-label {
  color: #888888;
  font-size: 14px;
  line-height: 1.2;
}

#withdrawDomHost .lobby-deposit-bonus-card__line-value {
  color: #f9f9f9;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
}

#withdrawDomHost .lobby-deposit-bonus-card.is-selected {
  /* border-color: #d4a01d; */
  background: #501f1d;
  color: #fff;
}

#withdrawDomHost
  .lobby-deposit-bonus-card.is-selected
  .lobby-deposit-bonus-card__title {
  color: #d4a01d;
}

#withdrawDomHost .lobby-deposit-skin__chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  align-content: center;
  gap: 6px;
  flex: 0 0 auto;
  min-width: 0;
  margin-top: 0;
}

#withdrawDomHost .lobby-deposit-skin__chip {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--deposit-amount-control-h);
  height: var(--deposit-amount-control-h);
  padding: 0 10px;
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
  border-radius: 16px;
  border: 1px solid transparent;
  background: #501f1d;
  color: #ffffff;
  cursor: pointer;
}

#withdrawDomHost .lobby-deposit-skin__chip:hover {
  background: #7d1805;
  color: #ffffff;
}

#withdrawDomHost .lobby-deposit-skin__actions {
  display: flex;
  justify-content: center;
  margin: 0;
  padding-top: 24px;
}

#withdrawDomHost .lobby-deposit-skin__request {
  min-width: 220px;
  min-height: 48px;
  padding: 10px 28px;
  border: none;
  font-family: Paperlogy, "Pretendard Variable", Pretendard, Arial, sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.5) 0%,
      rgba(255, 255, 255, 0) 40%
    ),
    linear-gradient(180deg, #a04e25 0%, #f3a300 100%);
  border-radius: 8px;
  cursor: pointer;
}

/* Coin tab: label "Deposit Wallet" + QR/inputs cùng một hàng (field-row) */
#withdrawDomHost .lobby-deposit__form--coin .lobby-deposit__coin-dw-row {
  flex-wrap: nowrap;
  align-items: center;
  min-width: 0;
  width: 100%;
  margin: 0;
  box-sizing: border-box;
}
#withdrawDomHost
  .lobby-deposit__form--coin
  .lobby-deposit__coin-dw-row
  > .lobby-deposit__coin-dw {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 12px 16px;
  margin: 0;
  box-sizing: border-box;
}
#withdrawDomHost .lobby-deposit__coin-qr-box {
  flex: 0 0 112px;
  width: 112px;
  height: 112px;
  border-radius: 8px;
  overflow: hidden;
  background: #1a1816;
  border: 1px solid #333;
  box-sizing: border-box;
}
#withdrawDomHost .lobby-deposit__coin-qr-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
#withdrawDomHost .lobby-deposit__coin-qr-inner--empty {
  color: #888;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  padding: 8px;
  line-height: 1.35;
}
#withdrawDomHost .lobby-deposit__coin-qr-canvas {
  display: block;
  width: 112px;
  height: 112px;
  border-radius: 8px;
}
#withdrawDomHost .lobby-deposit__coin-dw-right {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}
#withdrawDomHost .lobby-deposit__coin-token-type {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #f9f9f9;
  line-height: 1.2;
}
#withdrawDomHost .lobby-deposit__coin-readonly-row {
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}
/* Withdraw USDT coin: amount pill + convert hint; chips on second pill row */
#withdrawDomHost
  .lobby-deposit__form--coin
  .lobby-withdraw__field-pill--amount-input.lobby-deposit__coin-amount-pill {
  flex-direction: column;
  align-items: stretch;
  align-self: stretch;
  gap: 6px;
}
#withdrawDomHost
  .lobby-deposit__form--coin
  .lobby-deposit__coin-amount-pill-top {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
#withdrawDomHost
  .lobby-deposit__form--coin
  .lobby-deposit__coin-amount-pill-top
  .lobby-deposit__coin-amount-input-cell {
  flex: 1 1 auto;
  min-width: 0;
}
#withdrawDomHost
  .lobby-deposit__form--coin
  .lobby-deposit__coin-amount-pill
  .lobby-deposit__coin-convert-hint {
  margin: 0;
  padding: 0;
  font-size: 14px;
  line-height: 1.35;
  min-height: 1.2em;
  text-align: right;
  width: 100%;
  box-sizing: border-box;
}
#withdrawDomHost
  .lobby-deposit__form--coin
  .lobby-withdraw__field-pill
  .lobby-deposit__input-copy-wrap {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}
#withdrawDomHost
  .lobby-deposit__form--coin
  .lobby-deposit__coin-convert-hint[hidden] {
  display: none !important;
}
#withdrawDomHost
  .lobby-deposit__form--coin
  .lobby-deposit__coin-convert-hint-text {
  display: block;
  font-size: 14px;
  font-weight: 400;
  color: #d4a01d;
}
#withdrawDomHost
  .lobby-deposit__form--coin
  .lobby-deposit__coin-convert-hint-text[hidden] {
  display: none !important;
}
#withdrawDomHost
  .lobby-deposit__form--coin
  .lobby-deposit__coin-convert-skeleton {
  display: inline-block;
  width: 88px;
  height: 14px;
  margin: 0;
  border-radius: 999px;
  background-color: #252525;
  vertical-align: middle;
  overflow: hidden;
  position: relative;
  box-sizing: border-box;
}
#withdrawDomHost
  .lobby-deposit__form--coin
  .lobby-deposit__coin-convert-skeleton[hidden] {
  display: none !important;
}
#withdrawDomHost
  .lobby-deposit__form--coin
  .lobby-deposit__coin-convert-skeleton::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.14) 50%,
    transparent 100%
  );
  transform: translateX(-100%);
  animation: lobby-deposit-coin-skeleton-sweep 1.1s ease-in-out infinite;
}
@keyframes lobby-deposit-coin-skeleton-sweep {
  100% {
    transform: translateX(200%);
  }
}
#withdrawDomHost .lobby-deposit__form--coin .lobby-deposit__input-copy-wrap {
  position: relative;
  width: 100%;
  min-width: 0;
  flex: 1 1 auto;
  box-sizing: border-box;
}
#withdrawDomHost
  .lobby-deposit__form--coin
  .lobby-deposit__input-copy-wrap
  .lobby-deposit__input {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding-right: 40px;
  text-align: left;
  word-break: break-all;
}
#withdrawDomHost .lobby-deposit__coin-pw-input-wrap {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  align-items: center;
}
#withdrawDomHost
  .lobby-deposit__coin-pw-input-wrap
  .lobby-deposit__input-copy-wrap {
  min-width: 0;
  flex: 1 1 auto;
}
#withdrawDomHost .lobby-deposit__form--coin .lobby-deposit__copy-icon-btn {
  position: absolute;
  top: 50%;
  right: 6px;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  margin: 0;
  padding: 0;
  border: none;
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 20px 20px;
  cursor: pointer;
  opacity: 0.9;
  flex-shrink: 0;
}
#withdrawDomHost
  .lobby-deposit__form--coin
  .lobby-deposit__copy-icon-btn:hover {
  opacity: 1;
  filter: brightness(1.15);
}
#withdrawDomHost
  .lobby-deposit__form--coin
  .lobby-deposit__copy-icon-btn:focus-visible {
  outline: 2px solid #2b6af5;
  outline-offset: 1px;
  border-radius: 4px;
}

/* —— Bank withdraw: legal notes card (below submit) —— */
#withdrawDomHost .lobby-withdraw__legal {
  margin: 16px 0 0;
  padding: 0;
  box-sizing: border-box;
  width: 100%;
}
#withdrawDomHost .lobby-withdraw__legal-card {
  box-sizing: border-box;
  width: 100%;
  padding: 20px 22px;
  background: #461916;
  border-radius: 16px;
}
#withdrawDomHost .lobby-withdraw__legal-head {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
}
#withdrawDomHost .lobby-withdraw__legal-icon {
  display: block;
  flex-shrink: 0;
  width: 18px;
  height: 22px;
  object-fit: contain;
}
#withdrawDomHost .lobby-withdraw__legal-title {
  margin: 0;
  padding: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  color: #fff;
}
#withdrawDomHost .lobby-withdraw__legal-list {
  margin: 0;
  padding: 0 0 0 1.35em;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: #fff;
  list-style: decimal;
  list-style-position: outside;
}
#withdrawDomHost .lobby-withdraw__legal-list li {
  margin: 0 0 10px;
  padding-left: 0.25em;
}
#withdrawDomHost .lobby-withdraw__legal-list li:last-child {
  margin-bottom: 0;
}

/* Balance + bank form pills (withdraw shell) */
#withdrawDomHost .lobby-withdraw__balance-row > .lobby-withdraw__balance-box,
#withdrawDomHost .lobby-withdraw__pill-row > .lobby-withdraw__field-pill {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}
#withdrawDomHost .lobby-withdraw__balance-box,
#withdrawDomHost .lobby-withdraw__field-pill {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: var(--withdraw-pill-row-min-h);
  padding: var(--withdraw-pill-pad-y) var(--withdraw-pill-pad-x);
  background: #190301;
  border-radius: 16px;
  box-sizing: border-box;
}
#withdrawDomHost .lobby-withdraw__field-pill--chips-only {
  justify-content: flex-start;
  align-items: stretch;
  min-height: 0;
  padding: 0;
  gap: 0;
  background: transparent;
  border-radius: 0;
}
#withdrawDomHost
  .lobby-withdraw__field-pill--chips-only
  .lobby-deposit-skin__chips {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  width: 100%;
  flex: 1 1 auto;
  min-width: 0;
  gap: 6px;
  margin: 0;
}
#withdrawDomHost
  .lobby-withdraw__field-pill--chips-only
  .lobby-deposit-skin__chip {
  flex: 1 1 0;
  min-width: 0;
  width: 0;
  min-height: 48px;
  height: 48px;
  box-sizing: border-box;
}
#withdrawDomHost
  .lobby-withdraw__field-pill--amount-input
  .lobby-deposit-skin__amount-row {
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
}
#withdrawDomHost .lobby-withdraw__field-pill .lobby-deposit-skin__readonly {
  background: transparent;
  border: none;
  border-radius: 0;
  min-height: 0;
  height: auto;
  padding: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  text-align: right;
  flex: 1 1 auto;
  min-width: 0;
}
#withdrawDomHost
  .lobby-withdraw__field-pill
  .lobby-deposit-skin__amount-input-wrap {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
}
#withdrawDomHost
  .lobby-withdraw__field-pill--amount-input
  .lobby-deposit__input {
  width: 100%;
  height: var(--withdraw-pill-input-h);
  min-height: var(--withdraw-pill-input-h);
  font-size: 18px;
  font-weight: 700;
  line-height: 100%;
  padding: 6px 36px 6px 10px;
  box-sizing: border-box;
  text-align: right;
  color: #fff;
  background: transparent;
  border: none;
  -moz-appearance: textfield;
  appearance: textfield;
}
#withdrawDomHost
  .lobby-withdraw__field-pill--amount-input
  .lobby-deposit__input::-webkit-outer-spin-button,
#withdrawDomHost
  .lobby-withdraw__field-pill--amount-input
  .lobby-deposit__input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
#withdrawDomHost
  .lobby-withdraw__field-pill:not(
    .lobby-withdraw__field-pill--amount-input
  ):not(.lobby-withdraw__field-pill--chips-only)
  .lobby-deposit-skin__amount-input-wrap
  > .lobby-deposit__input {
  width: 100%;
  height: var(--withdraw-pill-input-h);
  min-height: var(--withdraw-pill-input-h);
  font-size: 18px;
  font-weight: 700;
  line-height: 100%;
  padding: 6px 52px 6px 10px;
  box-sizing: border-box;
  color: #fff;
  background: transparent;
  border: none;
}
#withdrawDomHost .lobby-withdraw__balance-label {
  margin: 0;
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
  color: #8e5151;
  min-width: 200px;
}
#withdrawDomHost .lobby-withdraw__balance-value {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  text-align: right;
  flex-shrink: 0;
  box-sizing: border-box;
}

/* USDT address: copy control (same pattern as coin deposit) */
#withdrawDomHost
  .lobby-deposit-skin__field-row--depositor
  .lobby-deposit__input-copy-wrap {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}
#withdrawDomHost
  .lobby-deposit-skin__field-row--depositor
  .lobby-deposit__input-copy-wrap
  .lobby-deposit__input {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding-right: 40px;
  text-align: left;
  word-break: break-all;
}
#withdrawDomHost .lobby-deposit__copy-icon-btn {
  position: absolute;
  top: 50%;
  right: 6px;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  margin: 0;
  padding: 0;
  border: none;
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 20px 20px;
  cursor: pointer;
  opacity: 0.9;
  flex-shrink: 0;
}
#withdrawDomHost .lobby-deposit__copy-icon-btn:hover {
  opacity: 1;
  filter: brightness(1.15);
}
#withdrawDomHost .lobby-deposit__copy-icon-btn:focus-visible {
  outline: 2px solid #2b6af5;
  outline-offset: 1px;
  border-radius: 4px;
}

/* —— Lobby info shell (PIXI + #lobbyInfoDomHost): same plate as deposit / register —— */
#lobbyInfoDomHost.lobby-deposit-host {
  --deposit-form-section-gap: 32px;
  font-family: "Pretendard Variable", Pretendard, Paperlogy, Arial, sans-serif;
}

#lobbyInfoDomHost .lobby-info-tab-shell,
#depositDomHost .lobby-info-tab-shell,
#withdrawDomHost .lobby-info-tab-shell,
#registerDomHost .lobby-info-tab-shell {
  pointer-events: auto;
}

#lobbyInfoDomHost .lobby-info-tab-track,
#depositDomHost .lobby-info-tab-track,
#withdrawDomHost .lobby-info-tab-track,
#registerDomHost .lobby-info-tab-track {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  width: 100%;
  height: 60px;
  box-sizing: border-box;
  border-radius: 16px;
  background: #501f1d;
  padding: 4px;
}

#lobbyInfoDomHost .lobby-info-tab-btn,
#depositDomHost .lobby-info-tab-btn,
#withdrawDomHost .lobby-info-tab-btn,
#registerDomHost .lobby-info-tab-btn {
  flex: 1 1 0;
  min-width: 0;
  margin: 0;
  border: none;
  background: transparent;
  color: #ffffff;
  font-family: "Pretendard Variable", Paperlogy, Arial, sans-serif;
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  line-height: 1.2;
  border-radius: 16px;
  padding: 4px;
  word-break: break-word;
  white-space: normal;
}

#lobbyInfoDomHost .lobby-info-tab-btn:hover:not(.is-active),
#depositDomHost .lobby-info-tab-btn:hover:not(.is-active),
#withdrawDomHost .lobby-info-tab-btn:hover:not(.is-active),
#registerDomHost .lobby-info-tab-btn:hover:not(.is-active) {
  background: rgba(212, 160, 29, 0.12);
}

#lobbyInfoDomHost .lobby-info-tab-btn.is-active,
#depositDomHost .lobby-info-tab-btn.is-active,
#withdrawDomHost .lobby-info-tab-btn.is-active,
#registerDomHost .lobby-info-tab-btn.is-active {
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.5) 0%,
      rgba(255, 255, 255, 0) 40%
    ),
    linear-gradient(180deg, #a04e25 0%, #f3a300 100%);
  color: #ffffff;
}

#lobbyInfoDomHost .lobby-info-tab-btn:focus-visible,
#depositDomHost .lobby-info-tab-btn:focus-visible,
#withdrawDomHost .lobby-info-tab-btn:focus-visible,
#registerDomHost .lobby-info-tab-btn:focus-visible {
  outline: 2px solid #d4a01d;
  outline-offset: 1px;
}

/* Deposit / withdraw: dim tab labels while profile is loading (replaces Pixi alpha). */
#depositDomHost .lobby-info-tab-shell.is-profile-loading .lobby-info-tab-btn,
#withdrawDomHost .lobby-info-tab-shell.is-profile-loading .lobby-info-tab-btn {
  opacity: 0.55;
}

#registerDomHost .lobby-info-tab-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* Register Sign Up + login / check-code primary actions (DOM; `placeRowFromTop` sets left/top/width) */
#registerDomHost .register-shell-submit,
#loginDomHost .auth-shell-submit,
#partnerCodeDomHost .auth-shell-submit {
  position: fixed;
  z-index: 11;
  display: block;
  box-sizing: border-box;
  height: 70px;
  min-height: 70px;
  margin: 0;
  padding: 0 16px;
  border: none;
  border-radius: 12px;
  font-family: Paperlogy, "Pretendard Variable", Pretendard, Arial, sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  cursor: pointer;
  pointer-events: auto;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.5) 0%,
      rgba(255, 255, 255, 0) 40%
    ),
    linear-gradient(180deg, #a04e25 0%, #f3a300 100%);
}

#registerDomHost .register-shell-submit:hover,
#loginDomHost .auth-shell-submit:hover:not(:disabled),
#partnerCodeDomHost .auth-shell-submit:hover:not(:disabled) {
  filter: brightness(1.06);
}

#registerDomHost .register-shell-submit:active,
#loginDomHost .auth-shell-submit:active:not(:disabled),
#partnerCodeDomHost .auth-shell-submit:active:not(:disabled) {
  filter: brightness(0.95);
}

#loginDomHost .auth-shell-submit:disabled,
#partnerCodeDomHost .auth-shell-submit:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  filter: none;
}

#lobbyInfoDomHost .lobby-deposit-skin__flow.lobby-info-skin__flow {
  --deposit-form-design-w: 1300;
  max-height: min(72vh, 606px);
  overflow-x: hidden;
  overflow-y: auto;
  pointer-events: auto;
  color: #e8e0d8;
}

/* Coupon tab: fixed scroll viewport + themed scrollbar (no arrow buttons on WebKit) */
#lobbyInfoDomHost
  .lobby-deposit-skin__flow.lobby-info-skin__flow.lobby-info-skin__flow--coupon {
  height: 567px;
  max-height: 567px;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #9a7a55 rgba(255, 255, 255, 0.35);
}
#lobbyInfoDomHost
  .lobby-deposit-skin__flow.lobby-info-skin__flow.lobby-info-skin__flow--coupon::-webkit-scrollbar {
  width: 9px;
}
#lobbyInfoDomHost
  .lobby-deposit-skin__flow.lobby-info-skin__flow.lobby-info-skin__flow--coupon::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}
#lobbyInfoDomHost
  .lobby-deposit-skin__flow.lobby-info-skin__flow.lobby-info-skin__flow--coupon::-webkit-scrollbar-track {
  background: linear-gradient(
    180deg,
    #ffffff 0.51%,
    rgba(255, 255, 255, 0) 100.68%
  );
  background-blend-mode: screen;
}
#lobbyInfoDomHost
  .lobby-deposit-skin__flow.lobby-info-skin__flow.lobby-info-skin__flow--coupon::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #947650 0%, #947650 50%, #af936f 100%);
  border-radius: 6px;
  border: 2px solid transparent;
  background-clip: padding-box;
}
#lobbyInfoDomHost
  .lobby-deposit-skin__flow.lobby-info-skin__flow.lobby-info-skin__flow--coupon::-webkit-scrollbar-corner {
  background: transparent;
}

/* Notice tab: fixed scroll viewport (550px) */
#lobbyInfoDomHost
  .lobby-deposit-skin__flow.lobby-info-skin__flow.lobby-info-skin__flow--notice {
  height: 550px;
  max-height: 550px;
  min-height: 550px;
  overflow-x: hidden;
  overflow-y: auto;
}

/* Message tab: 3-row flex (banner / scrollable table / foot). Inline `display: flex` set in JS. */
#lobbyInfoDomHost
  .lobby-deposit-skin__flow.lobby-info-skin__flow.lobby-info-skin__flow--message {
  flex-direction: column;
  align-items: stretch;
  height: 550px;
  max-height: 550px;
  min-height: 550px;
  overflow-x: hidden;
  overflow-y: hidden;
}
#lobbyInfoDomHost .lobby-info-skin__flow--message .lobby-msg {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
  width: 100%;
  overflow: hidden;
}
#lobbyInfoDomHost .lobby-info-skin__flow--message .lobby-msg__banner {
  flex-shrink: 0;
}
#lobbyInfoDomHost .lobby-info-skin__flow--message .lobby-msg__table-wrap {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: auto;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #9a7a55 rgba(255, 255, 255, 0.35);
}
#lobbyInfoDomHost
  .lobby-info-skin__flow--message
  .lobby-msg__table-wrap::-webkit-scrollbar {
  width: 6px;
}
#lobbyInfoDomHost
  .lobby-info-skin__flow--message
  .lobby-msg__table-wrap::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}
#lobbyInfoDomHost
  .lobby-info-skin__flow--message
  .lobby-msg__table-wrap::-webkit-scrollbar-track {
  background: linear-gradient(
    180deg,
    #ffffff 0.51%,
    rgba(255, 255, 255, 0) 100.68%
  );
  background-blend-mode: screen;
}
#lobbyInfoDomHost
  .lobby-info-skin__flow--message
  .lobby-msg__table-wrap::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #947650 0%, #947650 50%, #af936f 100%);
  border-radius: 4px;
  border: 1px solid transparent;
  background-clip: padding-box;
}
#lobbyInfoDomHost
  .lobby-info-skin__flow--message
  .lobby-msg__table-wrap::-webkit-scrollbar-corner {
  background: transparent;
}

#lobbyInfoDomHost .lobby-info-placeholder {
  margin: 0;
  padding: 32px 16px;
  color: #a89880;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
}

/* —— Lobby info: notice table (API `users/notices` + `users/notice/detail`) —— */
#lobbyInfoDomHost .lobby-notice {
  width: 100%;
  min-height: 200px;
  font-size: 15px;
  line-height: 1.4;
  color: #e8e0d8;
}

#lobbyInfoDomHost .lobby-notice__banner {
  margin-bottom: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
}

#lobbyInfoDomHost .lobby-notice__banner--err {
  background: rgba(180, 40, 40, 0.2);
  color: #f0c8c8;
  border: 1px solid rgba(255, 100, 100, 0.3);
}

#lobbyInfoDomHost .lobby-notice__table-wrap {
  width: 100%;
  overflow: auto;
  border: none;
  border-radius: 0;
  background: transparent;
}

/* Stacked row cards: thead/tbody use display:contents so each tr is a flex sibling */
#lobbyInfoDomHost .lobby-notice__table {
  display: flex;
  flex-direction: column;
  gap: 1px;
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
}

#lobbyInfoDomHost .lobby-notice__table thead,
#lobbyInfoDomHost .lobby-notice__table tbody {
  display: contents;
}

#lobbyInfoDomHost .lobby-notice__table tr {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-sizing: border-box;
}

#lobbyInfoDomHost .lobby-notice__table thead tr {
  background: #190301;
}

#lobbyInfoDomHost .lobby-notice__th {
  box-sizing: border-box;
  padding: 19px 12px;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 500;
  color: #fff;
  background: #190301;
  border: none;
  vertical-align: middle;
}
#lobbyInfoDomHost .lobby-notice__th--no {
  flex: 0 0 7%;
  min-width: 0;
  text-align: center;
}
#lobbyInfoDomHost .lobby-notice__th--cat {
  flex: 0 0 16%;
  min-width: 0;
  text-align: center;
}
#lobbyInfoDomHost .lobby-notice__th--title {
  flex: 1 1 54%;
  min-width: 0;
  text-align: center;
}
#lobbyInfoDomHost .lobby-notice__th--date {
  flex: 0 0 23%;
  min-width: 0;
  text-align: right;
}

#lobbyInfoDomHost .lobby-notice__row {
  cursor: pointer;
  transition:
    filter 0.12s ease,
    box-shadow 0.12s ease;
  background: #501f1d;
}
#lobbyInfoDomHost .lobby-notice__row:hover {
  filter: brightness(1.08);
}
#lobbyInfoDomHost .lobby-notice__row.is-expanded {
  filter: brightness(1.12);
}

#lobbyInfoDomHost .lobby-notice__row--skeleton {
  cursor: default;
  pointer-events: none;
  position: relative;
  overflow: hidden;
  /* Skeleton bars are 14px tall; without a floor the row collapses vs real 18px text rows */
  min-height: 54px;
}
#lobbyInfoDomHost .lobby-notice__row--skeleton:hover {
  filter: none;
}
#lobbyInfoDomHost .lobby-notice__row--skeleton::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(255, 255, 255, 0) 30%,
    rgba(255, 255, 255, 0.07) 50%,
    rgba(255, 255, 255, 0) 70%
  );
  background-size: 200% 100%;
  animation: lobby-coupon-skel-shimmer 1.2s linear infinite;
  pointer-events: none;
}
#lobbyInfoDomHost .lobby-notice__skel-bar {
  display: block;
  height: 14px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  max-width: 100%;
}
#lobbyInfoDomHost .lobby-notice__skel-bar--no {
  width: 28px;
  margin: 0 auto;
}
#lobbyInfoDomHost .lobby-notice__skel-bar--cat {
  width: 72%;
  margin: 0 auto;
}
#lobbyInfoDomHost .lobby-notice__skel-bar--title {
  width: 88%;
}
#lobbyInfoDomHost .lobby-notice__skel-bar--date {
  width: 70%;
  margin-left: auto;
}

#lobbyInfoDomHost .lobby-notice__row--detail {
  cursor: default;
  background: #501f1d;
}
#lobbyInfoDomHost .lobby-notice__row--detail:hover {
  filter: none;
}
#lobbyInfoDomHost .lobby-notice__td {
  flex: 0 0 7%;
  box-sizing: border-box;
  min-width: 0;
  padding: 9px 12px;
  border: none;
  vertical-align: middle;
  font-size: 18px;
  line-height: 1.2;
  color: #e8e0d8;
  background: #501f1d;
}
#lobbyInfoDomHost .lobby-notice__td--detail-cell {
  box-sizing: border-box;
  min-width: 0;
  padding: 19px 12px;
  border: none;
  vertical-align: middle;
  font-size: 18px;
  line-height: 1.2;
  color: #e8e0d8;
  background: #501f1d;
}
#lobbyInfoDomHost .lobby-notice__td--no {
  flex: 0 0 7%;
  text-align: center;
  color: #fff;
  font-weight: 400;
  font-size: 18px;
}
#lobbyInfoDomHost .lobby-notice__td--cat {
  flex: 0 0 16%;
  min-width: 0;
  text-align: center;
}
#lobbyInfoDomHost .lobby-notice__td--title {
  flex: 1 1 54%;
  overflow: hidden;
}
#lobbyInfoDomHost .lobby-notice__td--date {
  flex: 0 0 23%;
  text-align: right;
  color: #fff;
  font-size: 18px;
}
#lobbyInfoDomHost .lobby-notice__td--message,
#lobbyInfoDomHost .lobby-notice__td--detail-cell {
  flex: 1 1 100%;
  width: 100%;
  max-width: 100%;
}
#lobbyInfoDomHost .lobby-notice__td--message {
  text-align: center;
  color: #a89880;
  font-size: 18px;
  line-height: 1.2;
  padding: 19px 12px;
}
#lobbyInfoDomHost .lobby-notice__title-text {
  display: block;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #fff !important;
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
}

#lobbyInfoDomHost .lobby-notice__cat {
  display: inline-block;
  padding: 9px 10px;
  border-radius: 10px;
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
  text-align: center;
  min-width: 3.5rem;
}
#lobbyInfoDomHost .lobby-notice__cat--emergency,
#lobbyInfoDomHost .lobby-notice__cat--question,
#lobbyInfoDomHost .lobby-notice__cat--withdraw,
#lobbyInfoDomHost .lobby-notice__cat--bulletin {
  background: #c92c20;
  color: #fff;
}

#lobbyInfoDomHost .lobby-notice__cat--general {
  background: transparent;
  color: #888;
  font-weight: 500;
  border: 1px dashed #555;
  padding: 2px 8px;
}
#lobbyInfoDomHost .lobby-notice__row--detail .lobby-notice__td--detail-cell {
  padding: 19px 12px;
  background: #501f1d;
  border: none;
}
#lobbyInfoDomHost .lobby-notice__detail {
  margin: 0 10px 10px;
  padding: 14px 16px;
  border-radius: 6px;
  background: #1e1e1e;
  min-height: 2em;
  max-height: 40vh;
  overflow: auto;
}
#lobbyInfoDomHost .lobby-notice__detail-body,
#lobbyInfoDomHost .lobby-notice__detail-body * {
  color: #ddd;
  line-height: 1.5;
  font-size: 14px;
  word-break: break-word;
}
#lobbyInfoDomHost .lobby-notice__detail-body p {
  margin: 0.5em 0 0.75em 0;
}
#lobbyInfoDomHost .lobby-notice__detail-body a {
  color: #6eb3ff;
}
#lobbyInfoDomHost .lobby-notice__detail-err {
  color: #f0a0a0;
  margin: 0;
}
#lobbyInfoDomHost .lobby-notice__detail-loading {
  color: #a89880;
  margin: 0;
}

#lobbyInfoDomHost .lobby-notice__pager {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
  margin-bottom: 4px;
}
#lobbyInfoDomHost .lobby-notice__pg {
  min-width: 36px;
  height: 32px;
  border-radius: 4px;
  border: 1px solid #444;
  background: #222;
  color: #ccc;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  line-height: 1;
}
#lobbyInfoDomHost .lobby-notice__pg:hover:not(:disabled) {
  background: #333;
  color: #fff;
}
#lobbyInfoDomHost .lobby-notice__pg:disabled {
  opacity: 0.3;
  cursor: default;
}
#lobbyInfoDomHost .lobby-notice__pg-nums {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px;
  max-width: 100%;
}
#lobbyInfoDomHost .lobby-notice__pg-num {
  min-width: 32px;
  height: 32px;
  padding: 0 4px;
  border-radius: 4px;
  border: 1px solid #444;
  background: #222;
  color: #ccc;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
#lobbyInfoDomHost .lobby-notice__pg-num.is-active,
#lobbyInfoDomHost .lobby-notice__pg-num:hover {
  background: #f3d404;
  border-color: #c9a503;
  color: #1a1a1a;
}
#lobbyInfoDomHost .lobby-notice__pg-num.is-active {
  font-weight: 800;
}

/* —— Lobby info: coupon grid (`users/coupon-use/select`, `users/coupon-use-v2`) —— */
#lobbyInfoDomHost .lobby-coupon {
  width: 100%;
  max-height: 550px;
  padding-inline: 8px;
  box-sizing: border-box;
}

#lobbyInfoDomHost .lobby-coupon__banner {
  margin-bottom: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
}
#lobbyInfoDomHost .lobby-coupon__banner--err {
  background: rgba(180, 40, 40, 0.2);
  color: #f0c8c8;
  border: 1px solid rgba(255, 100, 100, 0.3);
}

#lobbyInfoDomHost .lobby-coupon__grid {
  display: grid;
  /* Design: 377×204 per card, max 3 per row — minmax(0,…) avoids horizontal clip under overflow-x:hidden */
  grid-template-columns: repeat(3, minmax(0, 420px));
  gap: 20px;
  align-items: start;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
}
@media (max-width: 1200px) {
  #lobbyInfoDomHost .lobby-coupon__grid {
    grid-template-columns: repeat(2, minmax(0, 377px));
  }
}
@media (max-width: 820px) {
  #lobbyInfoDomHost .lobby-coupon__grid {
    grid-template-columns: minmax(0, 377px);
  }
}

#lobbyInfoDomHost .lobby-coupon__card {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  max-width: 420px;
  height: 213px;
  min-height: 213px;
  border-radius: 16px;
  background: #501f1d;
  border: 1px solid transparent;
  overflow: hidden;
  padding: 20px;
  gap: 20px;
}

#lobbyInfoDomHost .lobby-coupon__card--skeleton {
  cursor: default;
  pointer-events: none;
  position: relative;
}
#lobbyInfoDomHost .lobby-coupon__card--skeleton::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(255, 255, 255, 0) 30%,
    rgba(255, 255, 255, 0.07) 50%,
    rgba(255, 255, 255, 0) 70%
  );
  background-size: 200% 100%;
  animation: lobby-coupon-skel-shimmer 1.2s linear infinite;
  pointer-events: none;
}
@keyframes lobby-coupon-skel-shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

#lobbyInfoDomHost .lobby-coupon__skel-head {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  flex-shrink: 0;
}
#lobbyInfoDomHost .lobby-coupon__skel-badge {
  display: block;
  width: 72px;
  height: 30px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}
#lobbyInfoDomHost .lobby-coupon__skel-head-right {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex: 1;
  min-width: 0;
}
#lobbyInfoDomHost .lobby-coupon__skel-body {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex: 1;
  min-height: 0;
}
#lobbyInfoDomHost .lobby-coupon__skel-title {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  flex: 1 1 auto;
  min-width: 0;
  height: 48px;
  box-sizing: border-box;
}
#lobbyInfoDomHost .lobby-coupon__skel-foot {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  flex-shrink: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 12px;
}
#lobbyInfoDomHost .lobby-coupon__skel-bar {
  display: block;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
}
#lobbyInfoDomHost .lobby-coupon__skel-bar--date {
  width: min(100%, 168px);
  height: 14px;
}
#lobbyInfoDomHost .lobby-coupon__skel-bar--pill {
  width: 88px;
  height: 26px;
  border-radius: 8px;
  flex-shrink: 0;
}
#lobbyInfoDomHost .lobby-coupon__skel-bar--title1 {
  width: 40px;
  height: 12px;
}
#lobbyInfoDomHost .lobby-coupon__skel-bar--title2 {
  width: 96px;
  height: 12px;
}
#lobbyInfoDomHost .lobby-coupon__skel-bar--value {
  width: 88px;
  height: 28px;
  border-radius: 8px;
  flex-shrink: 0;
}
#lobbyInfoDomHost .lobby-coupon__skel-bar--qty {
  width: 72px;
  height: 14px;
}
#lobbyInfoDomHost .lobby-coupon__skel-btn {
  display: block;
  width: 100px;
  height: 32px;
  border-radius: 8px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.06);
}

#lobbyInfoDomHost .lobby-coupon__card-head {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

#lobbyInfoDomHost .lobby-coupon__badge {
  display: inline-block;
  padding: 4px 16px;
  border-radius: 8px;
  background: #280603;
  color: #f9f9f9;
  font-size: 16px;
  line-height: 22px;
  font-weight: 600;
  white-space: nowrap;
}

#lobbyInfoDomHost .lobby-coupon__card-head-right {
  display: flex;
  justify-content: end;
  align-items: center;
  gap: 8px;
  flex: 1;
  height: 100%;
}

#lobbyInfoDomHost .lobby-coupon__issue {
  font-size: 14px;
  color: #a87472e5;
  line-height: 1;
  white-space: nowrap;
  height: 100%;
  display: flex;
  align-items: center;
}

#lobbyInfoDomHost .lobby-coupon__countdown {
  min-height: 1.2em;
}
#lobbyInfoDomHost .lobby-coupon__countdown-pill {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 8px;
  background: #280603;
  border: 1px solid transparent;
}
#lobbyInfoDomHost .lobby-coupon__countdown-text {
  font-size: 14px;
  font-weight: 400;
  color: #f9f9f9;
}

#lobbyInfoDomHost .lobby-coupon__card-body {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex: 1;
  min-height: 0;
}
#lobbyInfoDomHost .lobby-coupon__card-title {
  flex: 1 1 auto;
  min-width: 0;
  align-self: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
  height: 48px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.15;
  color: #e9bb92;
  overflow: hidden;
}
#lobbyInfoDomHost .lobby-coupon__card-title-line {
  margin: 0;
  padding: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#lobbyInfoDomHost .lobby-coupon__value {
  flex: 0 0 auto;
  text-align: right;
  font-size: 36px;
  font-weight: 700;
  color: #f9f9f9;
  white-space: nowrap;
}

#lobbyInfoDomHost .lobby-coupon__card-foot {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  gap: 8px;
}
#lobbyInfoDomHost .lobby-coupon__qty {
  font-size: 18px;
  color: #a87472;
  margin-top: 20px;
}
#lobbyInfoDomHost .lobby-coupon__use {
  flex: 0 0 auto;
  min-width: 100px;
  padding: 4px 16px;
  margin-top: 20px;
  border-radius: 8px;
  border: 1px solid transparent;
  background:
    linear-gradient(180deg, #007178 0%, #01cdda 100%),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.5) 0%,
      rgba(255, 255, 255, 0) 40%
    );
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
}
#lobbyInfoDomHost .lobby-coupon__use:hover:not(:disabled) {
  filter: brightness(1.05);
}
#lobbyInfoDomHost .lobby-coupon__use:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  filter: grayscale(0.3);
}

#lobbyInfoDomHost .lobby-coupon__empty {
  margin: 0;
  padding: 32px 12px;
  text-align: center;
  color: #a89880;
  font-size: 16px;
}

/* —— Lobby info: customer service (contact + FAQ) —— */
#lobbyInfoDomHost .lobby-cs {
  width: 100%;
  box-sizing: border-box;
  color: #e8e0d8;
}

#lobbyInfoDomHost .lobby-cs__hero {
  text-align: left;
  align-self: flex-start;
  width: 100%;
  margin-bottom: 20px;
}

#lobbyInfoDomHost .lobby-cs__greeting {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.3;
}

#lobbyInfoDomHost .lobby-cs__sub {
  margin: 0;
  font-size: 15px;
  line-height: 1.4;
  color: #888888;
}

#lobbyInfoDomHost .lobby-cs__actions {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 12px 16px;
  margin-bottom: 24px;
  width: 100%;
}

#lobbyInfoDomHost .lobby-cs__action {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 24px;
  box-sizing: border-box;
  width: 400px;
  height: 50px;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 8px;
  background: #28230a;
  border: 1px solid #d4a01d;
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    border-color 0.15s ease,
    background 0.15s ease;
  flex: 0 0 auto;
}
#lobbyInfoDomHost .lobby-cs__action:hover {
  border-color: #e4c24a;
  background: #222;
}
#lobbyInfoDomHost .lobby-cs__action--disabled {
  cursor: not-allowed;
  opacity: 1;
}
#lobbyInfoDomHost .lobby-cs__action--disabled:hover {
  border-color: #d4af37;
  background: #1a1a1a;
}
#lobbyInfoDomHost .lobby-cs__action-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
}
#lobbyInfoDomHost .lobby-cs__action-label {
  text-align: left;
  color: #ffffff;
  white-space: nowrap;
}

@media (max-width: 1200px) {
  #lobbyInfoDomHost .lobby-cs__action {
    width: min(370px, 100%);
  }
  #lobbyInfoDomHost .lobby-cs__actions {
    justify-content: center;
  }
}

#lobbyInfoDomHost .lobby-cs__faq-title {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 600;
  color: #f9f9f9;
}

#lobbyInfoDomHost .lobby-cs__faq {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

#lobbyInfoDomHost .lobby-cs__faq-item {
  border-radius: 8px;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

#lobbyInfoDomHost .lobby-cs__faq-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 12px 12px 12px 14px;
  background: transparent;
  border: none;
  color: #cccccc;
  font-size: 16px;
  font-weight: 400;
  text-align: left;
  cursor: pointer;
}
#lobbyInfoDomHost .lobby-cs__faq-row:hover {
  background: rgba(255, 255, 255, 0.04);
}
#lobbyInfoDomHost .lobby-cs__faq-q {
  flex: 1 1 auto;
  min-width: 0;
}

#lobbyInfoDomHost .lobby-cs__faq-chev {
  width: 10px;
  height: 10px;
  object-fit: contain;
  flex-shrink: 0;
  transform: rotate(0deg);
  transition: transform 0.2s ease;
  opacity: 0.7;
}
#lobbyInfoDomHost .lobby-cs__faq-chev.is-open {
  transform: rotate(90deg);
}

#lobbyInfoDomHost .lobby-cs__faq-ans {
  padding: 0 14px 14px 14px;
  font-size: 14px;
  line-height: 1.45;
  color: #9a9080;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
#lobbyInfoDomHost .lobby-cs__faq-ans[hidden] {
  display: none;
}

/* —— Lobby info: member messages (notes list / detail / delete) —— */
#lobbyInfoDomHost .lobby-msg {
  width: 100%;
  min-height: 120px;
  color: #e8e0d8;
}
#lobbyInfoDomHost .lobby-msg__banner {
  margin-bottom: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
}
#lobbyInfoDomHost .lobby-msg__banner--err {
  background: rgba(180, 40, 40, 0.2);
  color: #f0c8c8;
  border: 1px solid rgba(255, 100, 100, 0.3);
}
#lobbyInfoDomHost .lobby-msg__table-wrap {
  width: 100%;
  overflow-x: auto;
  overflow-y: auto;
  border: none;
  border-radius: 0;
  background: transparent;
}

/* Stacked row cards (same pattern as .lobby-notice__table) */
#lobbyInfoDomHost .lobby-msg__table {
  display: flex;
  flex-direction: column;
  gap: 1px;
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 18px;
  padding-inline: 8px;
}

#lobbyInfoDomHost .lobby-msg__table thead,
#lobbyInfoDomHost .lobby-msg__table tbody {
  display: contents;
}

#lobbyInfoDomHost .lobby-msg__table tr {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-sizing: border-box;
}

#lobbyInfoDomHost .lobby-msg__table thead tr {
  background: #190301;
}

#lobbyInfoDomHost .lobby-msg__th {
  box-sizing: border-box;
  text-align: left;
  padding: 19px 10px;
  color: #fff;
  font-weight: 600;
  font-size: 18px;
  line-height: 1.2;
  background: #190301;
  white-space: nowrap;
  border: none;
  vertical-align: middle;
}
#lobbyInfoDomHost .lobby-msg__th--sel {
  flex: 0 0 44px;
  min-width: 0;
  text-align: center;
  padding: 19px 6px;
}
#lobbyInfoDomHost .lobby-msg__th--no {
  flex: 0 0 56px;
  min-width: 0;
  text-align: center;
}
#lobbyInfoDomHost .lobby-msg__th--title {
  flex: 1 1 0;
  min-width: 0;
}
#lobbyInfoDomHost .lobby-msg__th--state {
  flex: 0 0 100px;
  min-width: 0;
  text-align: center;
}
#lobbyInfoDomHost .lobby-msg__th--date {
  flex: 0 0 160px;
  min-width: 0;
  text-align: center;
}
#lobbyInfoDomHost .lobby-msg__th--exp {
  flex: 0 0 40px;
  min-width: 0;
  text-align: center;
}
/* 20×20 round “radio” tick: grey ring; selected: gold ring + gold dot (design) */
#lobbyInfoDomHost .lobby-msg__tick {
  width: 20px;
  height: 20px;
  min-width: 20px;
  min-height: 20px;
  box-sizing: border-box;
  border-radius: 50%;
  border: 2px solid #8a8a8a;
  background: transparent;
  padding: 0;
  margin: 0 auto;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
  vertical-align: middle;
  transition:
    border-color 0.12s ease,
    box-shadow 0.12s ease;
}
#lobbyInfoDomHost .lobby-msg__tick:hover {
  border-color: #a8a8a8;
}
#lobbyInfoDomHost .lobby-msg__tick.is-on {
  border-color: #d4af37;
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.25);
}
#lobbyInfoDomHost .lobby-msg__tick.is-partial {
  border-color: #c9a14a;
}
#lobbyInfoDomHost .lobby-msg__tick-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d4af37;
  display: none;
  pointer-events: none;
  flex-shrink: 0;
}
#lobbyInfoDomHost .lobby-msg__tick.is-on .lobby-msg__tick-dot,
#lobbyInfoDomHost .lobby-msg__tick.is-partial .lobby-msg__tick-dot {
  display: block;
}
#lobbyInfoDomHost .lobby-msg__tick.is-partial .lobby-msg__tick-dot {
  width: 6px;
  height: 6px;
  background: #c9a14a;
  opacity: 0.95;
}
#lobbyInfoDomHost .lobby-msg__tick:focus-visible {
  outline: 2px solid #d4af37;
  outline-offset: 2px;
}
#lobbyInfoDomHost .lobby-msg__row {
  cursor: pointer;
  background: #501f1d;
  transition:
    filter 0.12s ease,
    box-shadow 0.12s ease;
}
#lobbyInfoDomHost .lobby-msg__row.lobby-msg__row--alt {
  background: #501f1d;
}
#lobbyInfoDomHost .lobby-msg__row:hover {
  filter: brightness(1.08);
}
#lobbyInfoDomHost .lobby-msg__row.is-expanded {
  filter: brightness(1.12);
}

#lobbyInfoDomHost .lobby-msg__row--skeleton {
  cursor: default;
  pointer-events: none;
  position: relative;
  overflow: hidden;
}
#lobbyInfoDomHost .lobby-msg__row--skeleton:hover {
  filter: none;
}
#lobbyInfoDomHost .lobby-msg__row--skeleton::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(255, 255, 255, 0) 30%,
    rgba(255, 255, 255, 0.07) 50%,
    rgba(255, 255, 255, 0) 70%
  );
  background-size: 200% 100%;
  animation: lobby-coupon-skel-shimmer 1.2s linear infinite;
  pointer-events: none;
}
#lobbyInfoDomHost .lobby-msg__skel-bar {
  display: block;
  height: 14px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  max-width: 100%;
}
#lobbyInfoDomHost .lobby-msg__skel-bar--no {
  width: 28px;
  margin: 0 auto;
}
#lobbyInfoDomHost .lobby-msg__skel-bar--title {
  width: 85%;
}
#lobbyInfoDomHost .lobby-msg__skel-bar--state {
  width: 72%;
  margin: 0 auto;
}
#lobbyInfoDomHost .lobby-msg__skel-bar--date {
  width: 80%;
  margin: 0 auto;
}
#lobbyInfoDomHost .lobby-msg__skel-bar--exp {
  width: 14px;
  height: 14px;
  margin: 0 auto;
  border-radius: 4px;
}
#lobbyInfoDomHost .lobby-msg__skel-dot {
  display: block;
  width: 20px;
  height: 20px;
  margin: 0 auto;
  box-sizing: border-box;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

#lobbyInfoDomHost .lobby-msg__row.is-note-unread .lobby-msg__title-text {
  font-weight: 700;
}
#lobbyInfoDomHost .lobby-msg__row.is-note-unread-strong .lobby-msg__td--state,
#lobbyInfoDomHost .lobby-msg__td--state-0 {
  color: #e07070;
  font-weight: 800;
}
#lobbyInfoDomHost .lobby-msg__td--state,
#lobbyInfoDomHost .lobby-msg__td--date {
  text-align: center;
}
#lobbyInfoDomHost .lobby-msg__td {
  box-sizing: border-box;
  min-width: 0;
  padding: 19px 10px;
  border: none;
  vertical-align: middle;
  color: #fff;
  font-size: 18px;
  line-height: 1.2;
  background: #501f1d;
}
#lobbyInfoDomHost .lobby-msg__td--detail-cell {
  box-sizing: border-box;
  min-width: 0;
  padding: 19px 10px;
  border: none;
  vertical-align: middle;
  color: #fff;
  font-size: 18px;
  line-height: 1.2;
  background: #501f1d;
}
#lobbyInfoDomHost .lobby-msg__td--tick {
  flex: 0 0 44px;
  text-align: center;
  vertical-align: middle;
  padding: 19px 6px;
}
#lobbyInfoDomHost .lobby-msg__td--no {
  flex: 0 0 56px;
  color: #fff;
  font-weight: 700;
}
#lobbyInfoDomHost .lobby-msg__td--title {
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
}
#lobbyInfoDomHost .lobby-msg__title-text {
  display: block;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: inherit;
}
#lobbyInfoDomHost .lobby-msg__td--state {
  flex: 0 0 100px;
}
#lobbyInfoDomHost .lobby-msg__td--date {
  flex: 0 0 160px;
}
#lobbyInfoDomHost .lobby-msg__td--exp {
  flex: 0 0 40px;
  text-align: center;
  color: #c9a14a;
}
#lobbyInfoDomHost .lobby-msg__td--message,
#lobbyInfoDomHost .lobby-msg__td--detail-cell {
  flex: 1 1 100%;
  width: 100%;
  max-width: 100%;
}
#lobbyInfoDomHost .lobby-msg__td--message {
  text-align: center;
  color: #ddd;
  padding: 19px 12px;
  font-size: 18px;
  line-height: 1.2;
}
/* `arrow_back.png` mặc định trỏ trái; mở = lên, thu = xuống */
#lobbyInfoDomHost .lobby-msg__chev {
  width: 14px;
  height: 14px;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
  transition: transform 0.2s ease;
}
#lobbyInfoDomHost .lobby-msg__chev--open {
  transform: rotate(0deg);
}
#lobbyInfoDomHost .lobby-msg__chev--closed {
  transform: rotate(-180deg);
}
#lobbyInfoDomHost .lobby-msg__row--detail {
  cursor: default;
  background: #501f1d;
}
#lobbyInfoDomHost .lobby-msg__row--detail:hover {
  filter: none;
}
#lobbyInfoDomHost .lobby-msg__row--detail .lobby-msg__td--detail-cell {
  padding: 19px 12px;
  background: #501f1d;
  border: none;
}
#lobbyInfoDomHost .lobby-msg__detail {
  padding: 12px 16px 16px;
  background: #1c1c1c;
  border-top: 1px solid rgba(201, 161, 74, 0.15);
}
#lobbyInfoDomHost .lobby-msg__detail-body,
#lobbyInfoDomHost .lobby-msg__detail-body * {
  color: #e8e4dc;
  font-size: 14px;
  line-height: 1.5;
}
#lobbyInfoDomHost .lobby-msg__detail-body p {
  margin: 0.35em 0;
}
#lobbyInfoDomHost .lobby-msg__detail-loading,
#lobbyInfoDomHost .lobby-msg__detail-err {
  margin: 0;
  color: #a89880;
}
#lobbyInfoDomHost .lobby-msg__detail-err {
  color: #f0a8a8;
}
#lobbyInfoDomHost .lobby-msg__foot {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  box-sizing: border-box;
  flex-shrink: 0;
  padding-top: 32px;
}
#lobbyInfoDomHost .lobby-msg__pager {
  flex: 1;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 6px 10px;
  min-width: 0;
  padding-right: 130px;
}
#lobbyInfoDomHost .lobby-msg__btn {
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #222;
  color: #f0ebe4;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition:
    filter 0.12s ease,
    border-color 0.12s ease;
}
#lobbyInfoDomHost .lobby-msg__btn:hover:not(:disabled) {
  border-color: rgba(212, 160, 29, 0.4);
  filter: brightness(1.05);
}
#lobbyInfoDomHost .lobby-msg__btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
#lobbyInfoDomHost .lobby-msg__btn--danger {
  background: #2a1a1a;
  border-color: rgba(200, 100, 100, 0.4);
  color: #f0c8c8;
}
#lobbyInfoDomHost .lobby-msg__pg--nav {
  min-width: 32px;
  width: 32px;
  height: 32px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.28);
  cursor: pointer;
  transition:
    opacity 0.12s ease,
    background 0.12s ease;
  flex-shrink: 0;
}
#lobbyInfoDomHost .lobby-msg__pg--nav:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
#lobbyInfoDomHost .lobby-msg__pg-icon {
  width: 14px;
  height: 14px;
  object-fit: contain;
  display: block;
  pointer-events: none;
}
#lobbyInfoDomHost .lobby-msg__pg-icon--prev {
  transform: rotate(-90deg);
}
#lobbyInfoDomHost .lobby-msg__pg-icon--next {
  transform: rotate(90deg);
}
#lobbyInfoDomHost .lobby-msg__pg-num {
  min-width: 32px;
  min-height: 32px;
  padding: 0 8px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.28);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition:
    background 0.12s ease,
    border-color 0.12s ease,
    color 0.12s ease,
    font-size 0.12s ease;
  line-height: 1.2;
}
#lobbyInfoDomHost .lobby-msg__pg-num:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
#lobbyInfoDomHost .lobby-msg__pg-num.is-active {
  background: #d4a01d;
  color: #fff;
  font-size: 16px;
  border-color: #d4a01d;
}
#lobbyInfoDomHost .lobby-msg__pg-num:hover:not(:disabled):not(.is-active) {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(212, 160, 29, 0.45);
}
#lobbyInfoDomHost .lobby-msg__pg-nums {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}

/* —— Settings popup (DOM overlay on border-popup shell) —— */
#settingDomHost .setting-shell-wrap {
  pointer-events: none;
}

#settingDomHost .setting-shell-inner {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  flex: 1;
  min-height: 0;
  pointer-events: none;
}

#settingDomHost .setting-shell-block,
#settingDomHost .setting-shell-confirm {
  pointer-events: auto;
}

.shell-popup-title {
  margin: 0;
  box-sizing: border-box;
  text-align: center;
  font-family: "Pretendard Variable", Pretendard, Arial, sans-serif;
  font-size: clamp(20px, 2.8vmin, 28px);
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(
    180deg,
    #fffce2 0%,
    #fce563 40%,
    #fbc51d 60%,
    #e0ad6b 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.25))
    drop-shadow(0 0 16px rgba(0, 0, 0, 0.15))
    drop-shadow(0 0 25px rgba(0, 0, 0, 0.1));
  pointer-events: none;
  user-select: none;
}

/* Login / partner code: gradient + line-height 1 reads visually high vs deposit header; slight loosening. */
#loginDomHost .shell-popup-title.shell-popup-title--overlay,
#partnerCodeDomHost .shell-popup-title.shell-popup-title--overlay,
#lobbyMessageDomHost .shell-popup-title.shell-popup-title--overlay {
  line-height: 1.12;
}

#settingDomHost .setting-shell-title {
  width: 100%;
  height: 66px;
  max-width: min(560px, calc(100% - 96px));
  margin-left: auto;
  margin-right: auto;
  padding: 8px;
  font-size: 28px;
}

#settingDomHost .setting-shell-block {
  width: 100%;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

#settingDomHost .setting-shell-block-title {
  margin: 0 0 10px;
  font-family: "Pretendard Variable", Pretendard, Arial, sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
}
#settingDomHost .setting-shell-rows {
  display: flex;
  flex-direction: column;
}
#settingDomHost .setting-shell-row-top {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-sizing: border-box;
  width: 100%;
  max-width: 760px;
  height: 66px;
  min-height: 66px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 18px;
  background: #190301;
  border-top-right-radius: 16px;
  border-top-left-radius: 16px;
}
#settingDomHost .setting-shell-row-down {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-sizing: border-box;
  width: 100%;
  max-width: 760px;
  height: 66px;
  min-height: 66px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 18px;
  background: #190301;
  border-bottom-right-radius: 16px;
  border-bottom-left-radius: 16px;
}
#settingDomHost .setting-shell-label {
  font-family: "Pretendard Variable", Pretendard, Arial, sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: #e9bb92;
  flex: 1;
  min-width: 0;
}

#settingDomHost .setting-shell-toggle {
  position: relative;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
  flex-shrink: 0;
}
#settingDomHost .setting-shell-toggle__off,
#settingDomHost .setting-shell-toggle__on {
  font-size: 14px;
  font-weight: 700;
  min-width: 28px;
  text-align: center;
}
#settingDomHost .setting-shell-toggle__off {
  color: #70322e;
}
#settingDomHost .setting-shell-toggle__on {
  color: #fff;
}
#settingDomHost
  .setting-shell-toggle:has(.setting-shell-toggle__input:checked)
  .setting-shell-toggle__off {
  opacity: 0.55;
}
#settingDomHost
  .setting-shell-toggle:not(:has(.setting-shell-toggle__input:checked))
  .setting-shell-toggle__on {
  opacity: 0.55;
}
#settingDomHost .setting-shell-toggle__input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
#settingDomHost .setting-shell-toggle__track {
  width: 52px;
  height: 28px;
  border-radius: 14px;
  background: #2a2a2a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
  transition: background 0.15s ease;
  flex-shrink: 0;
}
#settingDomHost .setting-shell-toggle__track::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  top: 2px;
  left: 3px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
  transition: transform 0.15s ease;
}
#settingDomHost
  .setting-shell-toggle:has(.setting-shell-toggle__input:checked)
  .setting-shell-toggle__track {
  background: linear-gradient(180deg, #c42a2a 0%, #8b1e1e 100%);
  border-color: rgba(255, 120, 120, 0.35);
}
#settingDomHost
  .setting-shell-toggle:has(.setting-shell-toggle__input:checked)
  .setting-shell-toggle__track::after {
  transform: translateX(22px);
}
#settingDomHost .setting-shell-select-wrap {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  min-height: 66px;
  height: 66px;
  display: flex;
  align-items: center;
  padding: 0 12px 0 18px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #190301;
}
#settingDomHost .setting-shell-select {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  border: none;
  background: transparent;
  color: #fff;
  font-family: "Pretendard Variable", Pretendard, Arial, sans-serif;
  font-size: 22px;
  font-weight: 600;
  padding: 0 32px 0 0;
  cursor: pointer;
  outline: none;
}
#settingDomHost .setting-shell-select option {
  background-color: #501f1d;
  color: #fff;
}
#settingDomHost .setting-shell-select option:hover,
#settingDomHost .setting-shell-select option:checked {
  background-color: #7d1805;
  color: #fff;
}
#settingDomHost .setting-shell-select-wrap::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  width: 0;
  height: 0;
  margin-top: -4px;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid rgba(212, 160, 29, 0.85);
  pointer-events: none;
}
#settingDomHost .setting-shell-confirm {
  margin-top: auto;
  align-self: center;
  min-width: 200px;
  padding: 14px 36px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-family: Paperlogy, "Pretendard Variable", Pretendard, Arial, sans-serif;
  font-size: clamp(16px, 1.7vmin, 20px);
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.5) 0%,
      rgba(255, 255, 255, 0) 40%
    ),
    linear-gradient(180deg, #a04e25 0%, #f3a300 100%);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  transition: filter 0.12s ease;
}
#settingDomHost .setting-shell-confirm:hover {
  filter: brightness(1.06);
}
#settingDomHost .setting-shell-confirm:active {
  filter: brightness(0.96);
}

/* —— Event board detail (#eventBoardDomHost) —— */
#eventBoardDomHost.lobby-event-board-host {
  font-family: system-ui, "Segoe UI", Arial, sans-serif;
}

#eventBoardDomHost .lobby-event-board__dim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  pointer-events: auto;
}

#eventBoardDomHost .lobby-event-board__panel {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(920px, 92vw);
  max-height: 85vh;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  background: linear-gradient(#af8e41, #493b1b, #af8e41);
  border: none;
  border-radius: 12px;
  box-shadow:
    inset 1px 1px 1px 0 #e3d0a2,
    inset -1px -1px 1px 0 #766132,
    0 0 4px 0 rgba(0, 0, 0, 0.8),
    0 12px 40px rgba(0, 0, 0, 0.45);
  pointer-events: auto;
  padding: 0 0 16px;
}

#eventBoardDomHost .lobby-event-board__close {
  position: absolute;
  top: 10px;
  right: 12px;
  z-index: 2;
  width: 36px;
  height: 36px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 8px;
  font-size: 22px;
  line-height: 1;
  color: #f0e8ff;
  background: rgba(0, 0, 0, 0.35);
  cursor: pointer;
}

#eventBoardDomHost .lobby-event-board__close:hover {
  background: rgba(248, 208, 26, 0.2);
}

#eventBoardDomHost .lobby-event-board__title {
  flex: 0 0 auto;
  margin: 0;
  padding: 20px 48px 12px 20px;
  font-size: 1.15rem;
  font-weight: 600;
  color: #f8d01a;
  background: rgba(0, 0, 0, 0.22);
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

#eventBoardDomHost .lobby-event-board__body {
  flex: 1 1 auto;
  min-height: 120px;
  max-height: min(70vh, 720px);
  overflow: auto;
  padding: 16px 20px 8px;
  color: #e8e0f0;
  font-size: 14px;
  line-height: 1.55;
  background: rgba(26, 18, 8, 0.42);
}

#eventBoardDomHost .lobby-event-board__body img {
  max-width: 100%;
  height: auto;
}

#eventBoardDomHost .lobby-event-board__body p {
  margin: 0 0 0.75em;
}
