.account-main{max-width:1080px;margin:0 auto;padding:52px 0 40px}.account-intro{display:grid;grid-template-columns:1fr auto;align-items:center;gap:30px;margin-bottom:30px}.account-intro h1{margin:18px 0;font-size:clamp(40px,6vw,68px)}.account-intro p{max-width:570px;color:var(--muted);font-size:18px;line-height:1.65}.account-controller{width:160px;transform:rotate(-9deg)}.account-panel{background:#fffdf7;border:2px solid #eaded0;border-radius:28px;box-shadow:0 7px 0 #e4d7c8;padding:28px;margin:24px 0 36px;max-width:100%;overflow-wrap:anywhere}.account-panel h2{font-size:28px}.account-panel p{line-height:1.6}.account-panel .player-form label{display:block;font-weight:700;margin:16px 0 8px}.account-panel .player-form input{font:inherit;border:2px solid #d8c9df;background:#fff;border-radius:13px;padding:13px 16px;max-width:100%;min-width:0}.account-panel .player-form button{font:inherit;font-weight:800;cursor:pointer;min-height:48px;border:0;border-radius:13px;padding:13px 20px;background:#79578e;color:white;box-shadow:0 4px 0 #594168}.account-panel .player-form button:disabled{opacity:.6}.actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.status{min-height:24px;color:#477454}.muted,.guest-note{color:var(--muted);font-size:14px;line-height:1.6}.account-games{display:grid;grid-template-columns:1fr 1fr;gap:24px}.account-game{display:flex;align-items:center;gap:18px;background:#fffdf7;border:2px solid #eaded0;border-radius:24px;box-shadow:0 6px 0 #e4d7c8;padding:24px;text-decoration:none;transition:transform .15s}.account-game:hover{transform:translateY(-3px)}.account-game strong{display:block;font-size:22px;margin:0 0 7px}.account-game p{font-size:14px;line-height:1.5;color:var(--muted);margin:0}.account-game img{width:76px;height:76px;border-radius:18px;object-fit:cover;background:#e9e0f1}.account-game .pumpkin{display:grid;place-items:center;width:76px;height:76px;flex-shrink:0;border-radius:18px;background:#ffe2bd;font-size:44px}.guest-note{margin:30px 0}.guest-note a{font-weight:bold;text-underline-offset:4px}#user-menu:empty{display:none}.account-panel .cl-rootBox,.account-panel .cl-cardBox{width:100%;max-width:420px}.account-panel .cl-card{box-shadow:none;border:0;background:transparent}.account-footer{border-top:1px solid #e0d4ce;padding:22px 0;color:var(--muted);font-size:12px}@media(max-width:600px){.account-main{padding-top:30px}.account-intro{display:block}.account-controller{display:none}.account-games{grid-template-columns:1fr;gap:20px}.account-game{padding:20px}.account-panel{padding:20px}.site-header .brand{font-size:25px}.site-header .brand>img{width:57px;height:57px}}

/* Keep authentication compact and let Clerk own its form controls. */
.account-panel.account-signin{max-width:460px;margin:24px auto 36px;padding:0;background:transparent;border:0;box-shadow:none}
.account-signin>p{text-align:center;color:var(--muted);margin:0 0 22px}
.account-signin>div{display:flex;justify-content:center}
.account-panel.account-signin .cl-rootBox,.account-panel.account-signin .cl-cardBox{width:100%;max-width:420px}
.account-panel.account-signin .cl-card{background:#fffdf7;border:1px solid #eaded0;border-radius:24px}

.moggle-customize{display:flex;align-items:center;gap:14px;padding:17px 20px;margin:18px 0;border:2px solid #ded7f5;border-radius:20px;color:#4936a3;background:#f1ecff;text-decoration:none}.moggle-customize>span:last-child{display:grid;gap:5px}.moggle-customize small{color:#635978}.moggle-account-avatar,.moggle-account-avatar .avatar{display:flex;align-items:center;justify-content:center;width:58px;height:58px;font-size:34px;flex-shrink:0;border-radius:14px;overflow:hidden}.moggle-account-avatar img,.moggle-account-avatar svg{width:100%;height:100%;object-fit:cover}
