/* v1.2.44: Menu close buttons + mobile color spacing + sidebar open fix. Scoped to lobby only. */
body.jlpt180-clean-lobby .jlpt180-dq-card{display:grid;gap:10px;width:100%;box-sizing:border-box;overflow:hidden;color:#14384f;}
body.jlpt180-clean-lobby .jlpt180-dq-card.is-sidebar{margin:8px 0 10px;padding:10px;border:1px solid rgba(20,184,166,.22);border-radius:18px;background:linear-gradient(135deg,rgba(255,255,255,.78),rgba(236,253,245,.72));box-shadow:0 10px 22px rgba(15,118,110,.08),inset 0 1px 0 rgba(255,255,255,.74);}
body.jlpt180-clean-lobby .jlpt180-dq-head{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:7px;}
body.jlpt180-clean-lobby .jlpt180-dq-head span{display:block;color:#0f766e;font-size:10px;line-height:1.05;font-weight:950;text-transform:uppercase;letter-spacing:.035em;}
body.jlpt180-clean-lobby .jlpt180-dq-head strong{display:block;margin-top:2px;color:#17384f;font-size:15px;line-height:1.05;font-weight:1000;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
body.jlpt180-clean-lobby .jlpt180-dq-head b{min-width:36px;padding:5px 7px;border-radius:999px;background:#fff;border:1px solid rgba(14,165,233,.18);color:#0b75a7;font-size:11px;line-height:1;text-align:center;box-shadow:0 6px 12px rgba(14,165,233,.08);}
body.jlpt180-clean-lobby .jlpt180-dq-toggle{min-height:25px;padding:4px 8px;border:0;border-radius:999px;background:linear-gradient(135deg,#14b8a6,#38bdf8);color:#fff;font-size:10px;font-weight:1000;cursor:pointer;box-shadow:0 6px 12px rgba(20,184,166,.16);}
body.jlpt180-clean-lobby .jlpt180-dq-bar{height:6px;border-radius:999px;background:rgba(219,234,254,.72);overflow:hidden;}
body.jlpt180-clean-lobby .jlpt180-dq-bar i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#22c55e,#14b8a6,#3b82f6);transition:width .25s ease;}
body.jlpt180-clean-lobby .jlpt180-dq-list{display:grid;gap:6px;}
body.jlpt180-clean-lobby .jlpt180-dq-item{display:grid;grid-template-columns:26px minmax(0,1fr) 20px;align-items:center;gap:7px;padding:7px;border-radius:13px;border:1px solid rgba(148,163,184,.16);background:rgba(255,255,255,.72);box-shadow:0 6px 14px rgba(15,23,42,.035);}
body.jlpt180-clean-lobby .jlpt180-dq-item.is-done{border-color:rgba(34,197,94,.30);background:linear-gradient(135deg,rgba(240,253,244,.88),rgba(255,255,255,.74));}
body.jlpt180-clean-lobby .jlpt180-dq-icon{width:26px;height:26px;border-radius:10px;display:grid;place-items:center;background:linear-gradient(135deg,#e0f2fe,#ecfdf5);font-size:15px;}
body.jlpt180-clean-lobby .jlpt180-dq-copy{min-width:0;display:grid;gap:1px;}
body.jlpt180-clean-lobby .jlpt180-dq-copy strong{color:#17384f;font-size:11.5px;line-height:1.12;font-weight:950;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
body.jlpt180-clean-lobby .jlpt180-dq-copy span{display:none;}
body.jlpt180-clean-lobby .jlpt180-dq-copy em{color:#0f766e;font-style:normal;font-size:10px;line-height:1.05;font-weight:900;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
body.jlpt180-clean-lobby .jlpt180-dq-check{width:20px;height:20px;border-radius:999px;display:grid;place-items:center;background:#e2e8f0;color:#64748b;font-size:13px;font-weight:1000;}
body.jlpt180-clean-lobby .jlpt180-dq-item.is-done .jlpt180-dq-check{background:#22c55e;color:#fff;}
body.jlpt180-clean-lobby .jlpt180-dq-actions{display:grid;grid-template-columns:1fr 1fr;gap:6px;}
body.jlpt180-clean-lobby .jlpt180-dq-btn{min-height:30px;border:0;border-radius:11px;padding:6px 7px;color:#fff;font-size:10.5px;line-height:1.1;font-weight:1000;cursor:pointer;box-shadow:0 8px 14px rgba(14,165,233,.13);}
body.jlpt180-clean-lobby .jlpt180-dq-btn:disabled{cursor:not-allowed;opacity:.55;filter:grayscale(.2);}
body.jlpt180-clean-lobby .jlpt180-dq-btn.is-route{background:linear-gradient(135deg,#2563eb,#14b8a6);}
body.jlpt180-clean-lobby .jlpt180-dq-btn.is-xuanhoa{background:linear-gradient(135deg,#ec4899,#f59e0b);}
body.jlpt180-clean-lobby .jlpt180-dq-btn.is-claim{grid-column:1/-1;background:linear-gradient(135deg,#16a34a,#0d9488);}
body.jlpt180-clean-lobby .jlpt180-dq-msg{min-height:13px;color:#0f766e;font-size:10.5px;font-weight:850;line-height:1.2;}
body.jlpt180-clean-lobby .jlpt180-dq-card.is-sidebar:not(.is-open) .jlpt180-dq-list,
body.jlpt180-clean-lobby .jlpt180-dq-card.is-sidebar:not(.is-open) .jlpt180-dq-actions,
body.jlpt180-clean-lobby .jlpt180-dq-card.is-sidebar:not(.is-open) .jlpt180-dq-msg{display:none;}
body.jlpt180-clean-lobby .jlpt180-dq-card.is-dashboard{padding:14px;border:1px solid rgba(20,184,166,.20);border-radius:20px;background:rgba(255,255,255,.88);}

body.jlpt180-clean-lobby .jlpt180-mobile-menu-fab{display:none;position:fixed;left:14px;bottom:calc(88px + env(safe-area-inset-bottom));z-index:9998;min-height:46px;padding:7px 11px;border:1px solid rgba(20,184,166,.28);border-radius:999px;background:linear-gradient(135deg,rgba(255,255,255,.96),rgba(236,253,245,.94));box-shadow:0 12px 26px rgba(15,118,110,.20);color:#0f766e;font-weight:1000;align-items:center;gap:7px;}
body.jlpt180-clean-lobby .jlpt180-mobile-menu-fab span{width:30px;height:30px;border-radius:999px;display:grid;place-items:center;background:linear-gradient(135deg,#e0f2fe,#ccfbf1);font-size:17px;}
body.jlpt180-clean-lobby .jlpt180-mobile-menu-fab b{font-size:12px;line-height:1;}
body.jlpt180-clean-lobby .jlpt180-mobile-menu-fab em{min-width:28px;padding:4px 6px;border-radius:999px;background:#fef3c7;color:#92400e;font-style:normal;font-size:10px;line-height:1;font-weight:1000;}
body.jlpt180-clean-lobby .jlpt180-mobile-menu-sheet{display:none;position:fixed;inset:0;z-index:10040;}
body.jlpt180-clean-lobby .jlpt180-mobile-menu-sheet.is-open{display:block;}
body.jlpt180-clean-lobby .jlpt180-mobile-menu-backdrop{position:absolute;inset:0;border:0;background:rgba(8,47,73,.32);backdrop-filter:blur(2px);}
body.jlpt180-clean-lobby .jlpt180-mobile-menu-panel{position:absolute;left:10px;right:10px;bottom:calc(10px + env(safe-area-inset-bottom));max-height:min(78vh,650px);overflow:auto;padding:13px;border-radius:24px;background:linear-gradient(135deg,rgba(245,253,255,.98),rgba(255,247,251,.98));border:1px solid rgba(20,184,166,.24);box-shadow:0 24px 56px rgba(15,23,42,.24);}
body.jlpt180-clean-lobby .jlpt180-mobile-menu-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:11px;}
body.jlpt180-clean-lobby .jlpt180-mobile-menu-head span{display:block;color:#0f766e;font-size:11px;font-weight:950;text-transform:uppercase;letter-spacing:.04em;}
body.jlpt180-clean-lobby .jlpt180-mobile-menu-head strong{display:block;margin-top:2px;color:#14384f;font-size:21px;line-height:1.05;font-weight:1000;}
body.jlpt180-clean-lobby .jlpt180-mobile-menu-close{width:34px;height:34px;border:0;border-radius:999px;background:#fff;color:#0f766e;font-size:21px;line-height:1;font-weight:1000;box-shadow:0 8px 18px rgba(15,118,110,.12);}
body.jlpt180-clean-lobby .jlpt180-mobile-menu-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px;}
body.jlpt180-clean-lobby .jlpt180-mobile-menu-item{min-width:0;min-height:82px;display:grid;grid-template-columns:34px minmax(0,1fr);grid-template-rows:auto auto;column-gap:8px;align-content:center;align-items:center;text-align:left;text-decoration:none;border:1px solid rgba(148,163,184,.18);border-radius:18px;padding:10px;background:rgba(255,255,255,.82);box-shadow:0 8px 18px rgba(15,23,42,.06);color:#14384f;}
body.jlpt180-clean-lobby button.jlpt180-mobile-menu-item{font-family:inherit;cursor:pointer;}
body.jlpt180-clean-lobby .jlpt180-mobile-menu-item i{grid-row:1/3;width:34px;height:34px;border-radius:13px;display:grid;place-items:center;font-style:normal;font-size:18px;background:linear-gradient(135deg,#e0f2fe,#ecfdf5);}
body.jlpt180-clean-lobby .jlpt180-mobile-menu-item span{min-width:0;color:#14384f;font-size:13px;line-height:1.1;font-weight:1000;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
body.jlpt180-clean-lobby .jlpt180-mobile-menu-item small{min-width:0;margin-top:3px;color:#64748b;font-size:10.5px;line-height:1.18;font-weight:800;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
body.jlpt180-clean-lobby .jlpt180-mobile-menu-item.is-xuanhoa i{background:linear-gradient(135deg,#fce7f3,#fef3c7);}
body.jlpt180-clean-lobby .jlpt180-mobile-menu-item.is-quest i{background:linear-gradient(135deg,#fef3c7,#ccfbf1);}
body.jlpt180-clean-lobby .jlpt180-mobile-menu-item.is-banghoi i{background:linear-gradient(135deg,#ede9fe,#dbeafe);}
body.jlpt180-clean-lobby .jlpt180-mobile-menu-item.is-thienbang i{background:linear-gradient(135deg,#fef3c7,#fde68a);}
body.jlpt180-clean-lobby .jlpt180-mobile-menu-item.is-tkc i{background:linear-gradient(135deg,#dbeafe,#e0f2fe);}
body.jlpt180-clean-lobby .jlpt180-mobile-menu-item.is-sealed{opacity:.72;}
body.jlpt180-clean-lobby .jlpt180-mobile-menu-quest-panel{margin-top:10px;padding-top:10px;border-top:1px dashed rgba(20,184,166,.20);}
body.jlpt180-clean-lobby .jlpt180-mobile-menu-quest-panel[hidden]{display:none!important;}
body.jlpt180-clean-lobby .jlpt180-mobile-menu-msg{min-height:18px;margin-top:8px;color:#0f766e;font-size:12px;font-weight:900;}
body.jlpt180-clean-lobby .jlpt180-dq-card.is-mobile{padding:8px 2px 2px;background:transparent;box-shadow:none;border:0;}
body.jlpt180-clean-lobby .jlpt180-dq-card.is-mobile .jlpt180-dq-head strong{font-size:18px;}
body.jlpt180-clean-lobby .jlpt180-dq-card.is-mobile .jlpt180-dq-copy span{display:block;color:#60798b;font-size:12px;line-height:1.25;font-weight:800;}
body.jlpt180-clean-lobby .jlpt180-dq-card.is-mobile .jlpt180-dq-copy strong{font-size:14px;white-space:normal;}
body.jlpt180-clean-lobby .jlpt180-dq-card.is-mobile .jlpt180-dq-copy em{font-size:11px;}
body.jlpt180-clean-lobby .jlpt180-dq-card.is-mobile .jlpt180-dq-item{grid-template-columns:36px minmax(0,1fr) 24px;padding:10px;border-radius:16px;}
body.jlpt180-clean-lobby .jlpt180-dq-card.is-mobile .jlpt180-dq-icon{width:36px;height:36px;border-radius:14px;font-size:18px;}
body.jlpt180-clean-lobby .jlpt180-dq-card.is-mobile .jlpt180-dq-check{width:24px;height:24px;}
body.jlpt180-clean-lobby .jlpt180-dq-card.is-mobile .jlpt180-dq-btn{min-height:42px;border-radius:14px;font-size:12px;}

@media(max-width:900px){
  body.jlpt180-clean-lobby .jlpt180-dq-card.is-sidebar{display:none;}
  body.jlpt180-clean-lobby .jlpt180-mobile-menu-fab{display:inline-flex;}
}
@media(max-width:380px){
  body.jlpt180-clean-lobby .jlpt180-mobile-menu-fab{left:10px;bottom:calc(82px + env(safe-area-inset-bottom));padding:6px 9px;}
  body.jlpt180-clean-lobby .jlpt180-mobile-menu-fab b{display:none;}
  body.jlpt180-clean-lobby .jlpt180-mobile-menu-grid{gap:7px;}
  body.jlpt180-clean-lobby .jlpt180-mobile-menu-item{min-height:76px;padding:9px;grid-template-columns:30px minmax(0,1fr);column-gap:7px;}
  body.jlpt180-clean-lobby .jlpt180-mobile-menu-item i{width:30px;height:30px;border-radius:12px;font-size:16px;}
  body.jlpt180-clean-lobby .jlpt180-mobile-menu-item span{font-size:12px;}
  body.jlpt180-clean-lobby .jlpt180-mobile-menu-item small{font-size:10px;}
  body.jlpt180-clean-lobby .jlpt180-mobile-menu-panel{left:7px;right:7px;bottom:calc(8px + env(safe-area-inset-bottom));border-radius:22px;padding:11px;}
}


/* v1.2.44: stronger sidebar open state so PC nhiệm vụ bung đúng */
body.jlpt180-clean-lobby .jlpt180-dq-card.is-sidebar.is-open{
  overflow:visible!important;
  position:relative;
  z-index:6;
  background:linear-gradient(135deg,rgba(255,255,255,.94),rgba(236,253,245,.88))!important;
  box-shadow:0 14px 30px rgba(15,118,110,.14),inset 0 1px 0 rgba(255,255,255,.86)!important;
}
body.jlpt180-clean-lobby .jlpt180-dq-card.is-sidebar.is-open .jlpt180-dq-list{
  display:grid!important;
  max-height:230px;
  overflow:auto;
  padding-right:2px;
}
body.jlpt180-clean-lobby .jlpt180-dq-card.is-sidebar.is-open .jlpt180-dq-actions,
body.jlpt180-clean-lobby .jlpt180-dq-card.is-sidebar.is-open .jlpt180-dq-msg{
  display:grid!important;
}
body.jlpt180-clean-lobby .jlpt180-dq-card.is-sidebar.is-open .jlpt180-dq-msg{display:block!important;}
body.jlpt180-clean-lobby .jlpt180-dq-card.is-sidebar.is-open .jlpt180-dq-list::-webkit-scrollbar{width:4px;}
body.jlpt180-clean-lobby .jlpt180-dq-card.is-sidebar.is-open .jlpt180-dq-list::-webkit-scrollbar-thumb{background:rgba(20,184,166,.32);border-radius:999px;}

/* v1.2.44: mobile sheet breathes above bottom nav and chat bubble */
body.jlpt180-clean-lobby .jlpt180-mobile-menu-sheet{z-index:2147482600!important;}
body.jlpt180-clean-lobby .jlpt180-mobile-menu-panel{
  bottom:calc(76px + env(safe-area-inset-bottom))!important;
  max-height:min(66vh,560px)!important;
  padding:12px!important;
  border-radius:22px!important;
  background:linear-gradient(135deg,rgba(245,253,255,.98),rgba(255,247,251,.98) 52%,rgba(255,251,235,.97))!important;
}
body.jlpt180-clean-lobby .jlpt180-mobile-menu-head{margin-bottom:9px!important;}
body.jlpt180-clean-lobby .jlpt180-mobile-menu-head strong{font-size:19px!important;}
body.jlpt180-clean-lobby .jlpt180-mobile-menu-close{
  width:auto!important;
  min-width:62px!important;
  height:34px!important;
  padding:0 12px!important;
  border-radius:999px!important;
  background:linear-gradient(135deg,#ef4444,#fb7185)!important;
  color:#fff!important;
  font-size:13px!important;
  line-height:1!important;
  font-weight:1000!important;
  box-shadow:0 10px 20px rgba(239,68,68,.24)!important;
}
body.jlpt180-clean-lobby .jlpt180-mobile-menu-grid{gap:8px!important;}
body.jlpt180-clean-lobby .jlpt180-mobile-menu-item{
  min-height:72px!important;
  padding:9px!important;
  border-radius:16px!important;
  border-width:1px!important;
  box-shadow:0 8px 16px rgba(15,23,42,.055)!important;
}
body.jlpt180-clean-lobby .jlpt180-mobile-menu-item i{width:31px!important;height:31px!important;border-radius:12px!important;font-size:17px!important;}
body.jlpt180-clean-lobby .jlpt180-mobile-menu-item span{font-size:12.5px!important;}
body.jlpt180-clean-lobby .jlpt180-mobile-menu-item small{font-size:10px!important;line-height:1.15!important;}
body.jlpt180-clean-lobby .jlpt180-mobile-menu-item.is-quest{background:linear-gradient(135deg,rgba(255,251,235,.96),rgba(236,253,245,.92))!important;border-color:rgba(245,158,11,.25)!important;}
body.jlpt180-clean-lobby .jlpt180-mobile-menu-item.is-xuanhoa{background:linear-gradient(135deg,rgba(253,242,248,.96),rgba(255,251,235,.92))!important;border-color:rgba(236,72,153,.24)!important;}
body.jlpt180-clean-lobby .jlpt180-mobile-menu-item.is-banghoi{background:linear-gradient(135deg,rgba(245,243,255,.96),rgba(219,234,254,.92))!important;border-color:rgba(139,92,246,.22)!important;}
body.jlpt180-clean-lobby .jlpt180-mobile-menu-item.is-thienbang{background:linear-gradient(135deg,rgba(255,251,235,.96),rgba(254,243,199,.92))!important;border-color:rgba(234,179,8,.30)!important;}
body.jlpt180-clean-lobby .jlpt180-mobile-menu-item.is-tkc{background:linear-gradient(135deg,rgba(239,246,255,.96),rgba(224,242,254,.92))!important;border-color:rgba(59,130,246,.22)!important;}
body.jlpt180-clean-lobby .jlpt180-mobile-menu-item.is-sealed{background:linear-gradient(135deg,rgba(248,250,252,.94),rgba(241,245,249,.90))!important;}
body.jlpt180-clean-lobby .jlpt180-mobile-menu-quest-panel{
  max-height:40vh;
  overflow:auto;
  margin-top:9px!important;
  padding-top:9px!important;
}
body.jlpt180-clean-lobby .jlpt180-dq-card.is-mobile .jlpt180-dq-item{padding:8px!important;border-radius:14px!important;}
body.jlpt180-clean-lobby .jlpt180-dq-card.is-mobile .jlpt180-dq-icon{width:32px!important;height:32px!important;font-size:16px!important;}
body.jlpt180-clean-lobby .jlpt180-dq-card.is-mobile .jlpt180-dq-copy strong{font-size:13px!important;}
body.jlpt180-clean-lobby .jlpt180-dq-card.is-mobile .jlpt180-dq-copy span{font-size:11px!important;}
body.jlpt180-clean-lobby .jlpt180-dq-card.is-mobile .jlpt180-dq-btn{min-height:36px!important;border-radius:12px!important;font-size:11px!important;}
@media(max-width:380px){
  body.jlpt180-clean-lobby .jlpt180-mobile-menu-panel{left:7px!important;right:7px!important;bottom:calc(72px + env(safe-area-inset-bottom))!important;max-height:min(68vh,540px)!important;padding:10px!important;}
  body.jlpt180-clean-lobby .jlpt180-mobile-menu-grid{gap:7px!important;}
  body.jlpt180-clean-lobby .jlpt180-mobile-menu-item{min-height:66px!important;padding:8px!important;grid-template-columns:28px minmax(0,1fr)!important;}
  body.jlpt180-clean-lobby .jlpt180-mobile-menu-item i{width:28px!important;height:28px!important;font-size:15px!important;}
  body.jlpt180-clean-lobby .jlpt180-mobile-menu-item span{font-size:11.5px!important;}
  body.jlpt180-clean-lobby .jlpt180-mobile-menu-item small{font-size:9.5px!important;}
}

/* v1.2.45: Quest tab panel, not inline sidebar/menu */
body.jlpt180-clean-lobby .jlpt180-dq-launcher{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto auto;
  align-items:center;
  gap:8px;
  padding:10px 9px;
  border-radius:17px;
  border:1px solid rgba(20,184,166,.22);
  background:linear-gradient(135deg,rgba(236,253,245,.92),rgba(255,251,235,.88));
  box-shadow:0 10px 20px rgba(15,118,110,.10),inset 0 1px 0 rgba(255,255,255,.88);
  color:#14384f;
}
body.jlpt180-clean-lobby .jlpt180-dq-launch-copy{min-width:0;display:grid;gap:1px;}
body.jlpt180-clean-lobby .jlpt180-dq-launch-copy span{color:#0f766e;font-size:10px;line-height:1.05;font-weight:1000;text-transform:uppercase;letter-spacing:.02em;}
body.jlpt180-clean-lobby .jlpt180-dq-launch-copy strong{color:#14384f;font-size:14px;line-height:1.08;font-weight:1000;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
body.jlpt180-clean-lobby .jlpt180-dq-launcher>b{min-width:38px;height:30px;display:grid;place-items:center;border-radius:999px;background:#fff;color:#116d95;font-size:13px;font-weight:1000;border:1px solid rgba(14,165,233,.18);}
body.jlpt180-clean-lobby .jlpt180-dq-open{min-height:30px;padding:0 10px;border:0;border-radius:999px;background:linear-gradient(135deg,#14b8a6,#22c55e);color:#fff;font-size:12px;font-weight:1000;box-shadow:0 8px 16px rgba(20,184,166,.18);cursor:pointer;}
body.jlpt180-clean-lobby .jlpt180-dq-open:hover{filter:brightness(1.04);}

body.jlpt180-clean-lobby .jlpt180-dq-panel-shell{position:fixed;inset:0;z-index:2147482650;display:none;align-items:center;justify-content:center;padding:20px;}
body.jlpt180-clean-lobby .jlpt180-dq-panel-shell.is-open{display:flex;}
body.jlpt180-clean-lobby .jlpt180-dq-panel-backdrop{position:absolute;inset:0;border:0;background:rgba(10,40,55,.34);backdrop-filter:blur(5px);cursor:pointer;}
body.jlpt180-clean-lobby .jlpt180-dq-panel{position:relative;width:min(560px,calc(100vw - 28px));max-height:min(76vh,720px);overflow:auto;border-radius:26px;border:1px solid rgba(20,184,166,.24);background:linear-gradient(135deg,rgba(248,253,255,.98),rgba(255,247,251,.98));box-shadow:0 26px 60px rgba(15,63,92,.24),inset 0 1px 0 rgba(255,255,255,.9);padding:14px;}
body.jlpt180-clean-lobby .jlpt180-dq-panel-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px;}
body.jlpt180-clean-lobby .jlpt180-dq-panel-head div{display:grid;gap:1px;min-width:0;}
body.jlpt180-clean-lobby .jlpt180-dq-panel-head span{color:#0f766e;font-size:12px;font-weight:1000;text-transform:uppercase;letter-spacing:.03em;}
body.jlpt180-clean-lobby .jlpt180-dq-panel-head strong{color:#14384f;font-size:22px;line-height:1.1;font-weight:1000;}
body.jlpt180-clean-lobby .jlpt180-dq-panel-close{min-width:72px;height:38px;padding:0 14px;border:0;border-radius:999px;background:linear-gradient(135deg,#ef4444,#f9737b);color:#fff;font-size:13px;font-weight:1000;box-shadow:0 10px 22px rgba(239,68,68,.24);cursor:pointer;}
body.jlpt180-clean-lobby .jlpt180-dq-card.is-panel{padding:0;background:transparent;border:0;box-shadow:none;}
body.jlpt180-clean-lobby .jlpt180-dq-card.is-panel .jlpt180-dq-list{display:grid!important;max-height:none!important;overflow:visible!important;}
body.jlpt180-clean-lobby .jlpt180-dq-card.is-panel .jlpt180-dq-actions{display:grid!important;}
body.jlpt180-clean-lobby .jlpt180-dq-card.is-panel .jlpt180-dq-msg{display:block!important;}
body.jlpt180-clean-lobby .jlpt180-dq-card.is-panel .jlpt180-dq-head{display:none;}
body.jlpt180-clean-lobby .jlpt180-dq-card.is-panel .jlpt180-dq-bar{margin-bottom:10px;}
body.jlpt180-clean-lobby .jlpt180-dq-card.is-panel .jlpt180-dq-copy em{color:#b45309;font-weight:1000;}
body.jlpt180-clean-lobby .jlpt180-dq-card.is-panel:after{content:"Hoàn thành đủ Lệnh Bài: +300 Tu Vi · +35 Linh Thạch · +1 Cống Hiến";display:block;margin-top:10px;padding:9px 11px;border-radius:15px;background:linear-gradient(135deg,rgba(255,251,235,.96),rgba(236,253,245,.9));border:1px solid rgba(245,158,11,.22);color:#0f766e;font-size:12px;font-weight:1000;text-align:center;}

body.jlpt180-clean-lobby .jlpt180-mobile-menu-item.is-lookup{background:linear-gradient(135deg,rgba(240,249,255,.96),rgba(224,242,254,.9))!important;border-color:rgba(14,165,233,.23)!important;}
body.jlpt180-clean-lobby .jlpt180-mobile-menu-item.is-lookup i{background:linear-gradient(135deg,#e0f2fe,#cffafe)!important;}
body.jlpt180-clean-lobby .jlpt180-mobile-menu-item.is-listening{background:linear-gradient(135deg,rgba(245,243,255,.96),rgba(224,242,254,.9))!important;border-color:rgba(124,58,237,.23)!important;}
body.jlpt180-clean-lobby .jlpt180-mobile-menu-item.is-listening i{background:linear-gradient(135deg,#ede9fe,#dbeafe)!important;}
body.jlpt180-clean-lobby .jlpt180-mobile-menu-item[data-mobile-direct]{cursor:pointer;}


@media(max-width:900px){
  body.jlpt180-clean-lobby .jlpt180-dq-panel-shell{align-items:flex-end;padding:8px;}
  body.jlpt180-clean-lobby .jlpt180-dq-panel{width:100%;max-height:calc(78vh - env(safe-area-inset-bottom));border-radius:24px 24px 18px 18px;padding:12px 12px calc(12px + env(safe-area-inset-bottom));}
  body.jlpt180-clean-lobby .jlpt180-dq-panel-head strong{font-size:20px;}
  body.jlpt180-clean-lobby .jlpt180-dq-panel-close{height:36px;min-width:68px;}
}


/* v1.2.47: contribution score placement in Lệnh Bài */
body.jlpt180-clean-lobby .jlpt180-dq-launch-copy small{
  color:#b45309;
  font-size:10px;
  line-height:1.05;
  font-weight:950;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
body.jlpt180-clean-lobby .jlpt180-dq-contrib{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:7px;
  margin:1px 0 2px;
}
body.jlpt180-clean-lobby .jlpt180-dq-contrib span{
  min-width:0;
  display:grid;
  gap:2px;
  padding:8px 9px;
  border-radius:14px;
  border:1px solid rgba(245,158,11,.20);
  background:linear-gradient(135deg,rgba(255,251,235,.94),rgba(236,253,245,.82));
  box-shadow:0 8px 16px rgba(180,83,9,.06),inset 0 1px 0 rgba(255,255,255,.82);
}
body.jlpt180-clean-lobby .jlpt180-dq-contrib span:nth-child(3){grid-column:1/-1;}
body.jlpt180-clean-lobby .jlpt180-dq-contrib b{
  color:#92400e;
  font-size:16px;
  line-height:1;
  font-weight:1000;
}
body.jlpt180-clean-lobby .jlpt180-dq-contrib em{
  color:#0f766e;
  font-size:10.5px;
  line-height:1.05;
  font-style:normal;
  font-weight:950;
}
body.jlpt180-clean-lobby .jlpt180-dq-card.is-panel .jlpt180-dq-contrib{
  margin:0 0 10px;
}
@media(max-width:430px){
  body.jlpt180-clean-lobby .jlpt180-dq-contrib{gap:6px;}
  body.jlpt180-clean-lobby .jlpt180-dq-contrib span{padding:7px 8px;border-radius:13px;}
  body.jlpt180-clean-lobby .jlpt180-dq-contrib b{font-size:15px;}
  body.jlpt180-clean-lobby .jlpt180-dq-contrib em{font-size:10px;}
}
