.lobby-back-to-top {
  position:fixed;z-index:9;right:clamp(12px,2.4vw,36px);bottom:calc(20px + env(safe-area-inset-bottom));
  display:flex;align-items:center;gap:.4rem;min-height:45px;padding:.55rem .9rem;border-radius:999px;
  background:#272134;color:#f5e4c5;border:1px solid #6e5a7d;font-weight:750;box-shadow:0 4px 14px #120c1a88;
}
.lobby-back-to-top[hidden] {display:none}
.lobby-back-to-top:hover {background:#372c49;border-color:#a689b5}
.lobby-back-to-top span:first-child {font-size:1.2rem;line-height:1}
@media (min-width:1051px) {
  body[data-chat-open="true"] .lobby-back-to-top {right:calc(var(--chat-w) + 20px)}
}
@media (max-width:820px) {
  .lobby-back-to-top {bottom:calc(67px + env(safe-area-inset-bottom))}
}
.account-terms-link {display:flex;justify-content:flex-end;margin:0 0 10px}
.account-terms-link a {color:var(--gold);font-size:.83rem;padding:.34rem .14rem;text-decoration:underline;text-underline-offset:3px}
.terms-wrap {max-width:960px;margin:0 auto;padding:30px clamp(15px,4vw,48px) 52px}
.terms-top {display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:25px}
.terms-top .brand {font-size:1.15rem}
.terms-jump {display:flex;gap:10px 16px;flex-wrap:wrap;font-size:.84rem}
.terms-jump a,.terms-panel a {color:var(--gold);text-decoration:underline;text-underline-offset:3px}
.terms-heading {
  padding:clamp(19px,4vw,32px);background:radial-gradient(ellipse at right top,#533451,transparent 75%),var(--panel);
  border:1px solid var(--line);border-radius:15px;margin-bottom:16px;
}
.terms-heading h1 {font-size:clamp(1.9rem,5vw,3.2rem);line-height:1.1;letter-spacing:-.045em;margin:0 0 .48rem}
.terms-heading p {margin:0;max-width:60ch}
.terms-panel {background:var(--panel-deep);border:1px solid var(--line);border-radius:13px;padding:clamp(15px,3vw,24px);margin:12px 0;scroll-margin-top:16px}
.terms-panel h2 {font-size:1.32rem;margin:0 0 .58rem}
.terms-panel h3 {font-size:1rem;margin:.9rem 0 .32rem}
.terms-panel p {margin:0 0 .58rem;max-width:74ch}
.terms-panel p:last-child {margin-bottom:0}
