/* Quick Earn 2026 public polishing; frontend-only. */
.mf-account-more[open] > summary{font-weight:700}
.qe-withdrawal{max-width:740px;margin:18px auto!important;padding:clamp(18px,3vw,30px)!important}
.qe-withdraw-heading{display:flex;align-items:start;justify-content:space-between;gap:12px;margin-bottom:18px}
.qe-withdraw-heading h3{margin:0 0 5px;font-size:1.32rem}
.qe-coin-pill{background:#e4faf5;color:#087968;font-size:.81rem;font-weight:800;border-radius:999px;padding:8px 14px}
.qe-withdraw-details{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:0 0 22px}
.qe-withdraw-details>div{background:#f5fafb;border:1px solid #e0ebf0;border-radius:12px;padding:13px}
.qe-withdraw-details small{display:block;margin:0 0 4px;color:#526b78}
.qe-withdraw-details strong{font-size:1.04rem;overflow-wrap:anywhere}
.qe-withdraw-label{display:block;margin-bottom:9px;font-weight:750}
.qe-withdraw-actions{display:flex;gap:12px;flex-wrap:wrap;justify-content:flex-end;margin-top:18px}
.qe-withdraw-actions button{min-width:160px}
.qe-field-error{color:#b42318;font-size:.85rem;min-height:1.2em}
.moon-guest-home .mh-hero{max-height:none;min-height:min(44vh,360px)}
.moon-guest-home .mh-earn-tile .mh-tile-icon{font-size:1.5rem;line-height:1.15}
@media(max-width:600px){.qe-withdraw-details{grid-template-columns:1fr}.qe-withdraw-actions button{width:100%}}

body.moon-guest-home{display:flex;flex-direction:column;min-height:100dvh}
body.moon-guest-home main.mh-frame{flex:1;width:min(1100px,calc(100% - 32px))}
body.moon-guest-home .mh-hero{min-height:270px!important;max-height:none;padding:25px 32px!important;background:radial-gradient(ellipse at 4% 0,rgba(77,235,196,.15),transparent 55%),linear-gradient(125deg,#fff,#f1f8ff)!important;border-left:5px solid #12a696!important}
body.moon-guest-home .mh-hero h1{color:#14627c!important;font-size:clamp(26px,3.4vw,42px)}
body.moon-guest-home .mh-cta{background:linear-gradient(120deg,#109b8e,#276fe0)!important}
body.moon-guest-home .mh-badge{color:#0c746b;border-color:#bee8df;background:#eafbf7}
body.moon-guest-home .mh-logo{color:#0b668b!important}
body.moon-guest-home .mh-mark{color:#13aa91}
body.moon-guest-home .mh-tile-icon{width:45px;height:45px;border-radius:14px;color:#176780;box-shadow:inset 0 0 0 1px rgba(23,103,128,.06)}
body.moon-guest-home .mh-tile-icon svg{display:block}
body.moon-guest-home .mh-earn-tile{min-height:116px}
body.moon-guest-home .mh-nav nav button{background:#116caf;box-shadow:none}
body.moon-guest-home .mh-big-stat{min-height:96px}
@media(max-width:600px){body.moon-guest-home .mh-hero{padding:19px 13px!important;min-height:265px!important}body.moon-guest-home main.mh-frame{width:calc(100% - 20px)}body.moon-guest-home .mh-earn-tile{min-height:98px}}

body.moon-guest-home .mh-mark{display:inline-block;vertical-align:middle;margin-right:7px;object-fit:contain}
.moon-topbar .moon-brand-symbol{display:inline-block;vertical-align:middle;margin-right:7px;object-fit:contain}

/* 2026-10-15: Withdrawal, PTC ad grid and accessibility corrections. */
.qe-withdrawal.withdraw-card-wide {display:flex!important;flex-direction:column!important;align-items:stretch!important;grid-template-columns:none!important;gap:14px!important;width:100%;max-width:740px;margin:18px auto!important;border:1px solid #d7e4e7!important;border-radius:22px!important;background:#fff!important;box-sizing:border-box}
.qe-withdrawal > *{width:100%;max-width:100%;min-width:0;box-sizing:border-box}
.qe-withdrawal .qe-withdraw-heading{text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;margin-bottom:3px}
.qe-withdrawal .qe-withdraw-heading h3{margin:0}
.qe-withdrawal .qe-withdraw-heading p{max-width:36rem;margin:0 auto}
.qe-withdrawal .qe-coin-pill{align-self:center;margin-top:3px}
.qe-withdrawal .qe-withdraw-details{display:grid;grid-template-columns:1fr!important;gap:8px;margin:5px 0}
.qe-withdrawal .qe-withdraw-details>div{text-align:center;padding:13px 16px}
.qe-withdrawal .qe-withdraw-label{margin:5px 0 -5px;text-align:center}
.qe-withdrawal > .muted,.qe-withdrawal .qe-field-error{text-align:center;margin:0 auto}
.qe-withdrawal .qe-withdraw-fill,.qe-withdrawal .qe-withdraw-actions{width:100%!important;margin:0!important}
.qe-withdrawal .qe-withdraw-fill,.qe-withdrawal .qe-withdraw-actions .btn{width:100%!important;min-width:0!important;min-height:46px;justify-content:center}
.qe-withdrawal .qe-withdraw-actions{display:block!important}
/* Offer cards fill exactly four columns of their parent; no ad-grid max-width. */
#content .qe-ads-grid,.qe-ads-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:clamp(8px,1.2vw,16px);width:100%!important;max-width:none!important;min-width:0;align-items:stretch}
.qe-ads-grid>*{min-width:0;max-width:none;width:100%;box-sizing:border-box}
@media(max-width:900px){#content .qe-ads-grid,.qe-ads-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:520px){#content .qe-ads-grid,.qe-ads-grid{grid-template-columns:1fr!important}}


/* Oct 15: One amount field, without nested borders, duplicate focus outlines or a currency addon. */
#withdrawForm.qe-withdrawal #withdrawCoinAmount.qe-withdraw-coin-input{
  display:block;width:100%;max-width:100%;min-width:0;min-height:54px;
  margin:0;padding:13px 16px;box-sizing:border-box;
  border:1px solid #cbdbe3;border-radius:12px;
  background:#fff;color:#18334c;
  font-family:inherit;font-size:clamp(1rem,2vw,1.15rem);font-weight:650;
  font-variant-numeric:tabular-nums;text-align:center;
  outline:0;box-shadow:none;appearance:none;-webkit-appearance:none;
}
#withdrawForm.qe-withdrawal #withdrawCoinAmount.qe-withdraw-coin-input:focus{
  outline:0;border-color:#268aa6;box-shadow:0 0 0 2px rgba(38,138,166,.10);
}
#withdrawForm.qe-withdrawal #withdrawCoinAmount.qe-withdraw-coin-input:disabled{
  color:#718398;background:#f7f9fc;cursor:not-allowed;
}
/* The captcha provider renders its own widget; do not surround it with a second panel. */
#withdrawForm.qe-withdrawal > .captcha-shell.withdraw-captcha{
  /* The captcha's host must have a measurable width BEFORE IconCaptcha initializes.
     A shrink-to-fit grid here collapsed the provider widget into a narrow line. */
  display:block!important;align-self:center;justify-self:center;
  width:min(330px,100%)!important;max-width:100%!important;min-width:0;
  margin:4px auto!important;padding:0!important;
  border:0!important;border-radius:0!important;background:transparent!important;
  box-shadow:none!important;box-sizing:border-box;
}
#withdrawForm.qe-withdrawal > .captcha-shell.withdraw-captcha .iconcaptcha-widget,
#withdrawForm.qe-withdrawal > .captcha-shell.withdraw-captcha .turnstile-container{
  display:block;width:100%!important;min-width:0;max-width:330px!important;
  margin:0 auto!important;box-sizing:border-box;
}
#withdrawForm.qe-withdrawal > .captcha-shell.withdraw-captcha .cf-turnstile{
  width:100%;max-width:100%;
}
#withdrawForm.qe-withdrawal .qe-withdraw-policy{
  width:100%;margin:4px 0 2px;padding:11px 14px;
  border-left:3px solid #438aaf;background:#f0f8fb;
  border-radius:0 10px 10px 0;color:#294a5a;
  font-size:.87rem;line-height:1.55;text-align:left;
}
#withdrawForm.qe-withdrawal .qe-withdraw-policy.is-warning{
  border-left-color:#d49a32;background:#fff9ed;color:#754e19;
}
#withdrawForm.qe-withdrawal .qe-withdraw-policy p{margin:0}
#withdrawForm.qe-withdrawal .qe-withdraw-policy p+p{margin-top:7px}
#withdrawForm.qe-withdrawal .qe-withdraw-policy strong{font-weight:750}
@media(max-width:520px){
 #withdrawForm.qe-withdrawal #withdrawCoinAmount.qe-withdraw-coin-input{font-size:1rem;padding:12px 14px;min-height:50px}
}

/* Forward identity for the native homepage login dialog (override legacy teal skin). */
body.moon-guest-home #loginDialog .mh-login-card{background:#fff!important;border:1px solid #e7dffc!important;border-radius:19px!important}
body.moon-guest-home #loginDialog .mh-login-head h2{color:#5f34d2!important}
body.moon-guest-home #loginDialog .mh-login-bottom button{background:linear-gradient(110deg,#6f3ef0,#4f2bbb)!important;color:#fff!important;box-shadow:0 8px 18px rgba(86,48,209,.19)!important}
body.moon-guest-home #loginDialog .mh-login-content input[type=email]:focus-visible{outline:3px solid #d5c8ff;outline-offset:2px}
