.account-hub{display:flex;align-items:center;gap:7px}.account-hub button{border:1px solid #7393c344;background:#101b2cbf;color:#dbeaff;border-radius:22px;min-height:33px;padding:7px 11px;white-space:nowrap;font:12px inherit}.account-hub button:hover{border-color:#77cfff;background:#1c3550}.account-hub button:last-child{width:35px;height:35px;border-radius:50%;background:linear-gradient(135deg,#4a389e,#219ecb);padding:0}.top-actions{flex-wrap:wrap;justify-content:flex-end}.account-hub-dialog{width:min(540px,90vw);box-sizing:border-box;max-height:85dvh;overflow:auto;background:linear-gradient(140deg,#13243a,#081220);color:#dbe9ff;border:1px solid #708db8;border-radius:14px;padding:20px;box-shadow:0 20px 80px #0009}.account-hub-dialog::backdrop{background:#0009;backdrop-filter:blur(5px)}.account-hub-dialog>header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.account-hub-dialog section{display:grid;gap:12px}.account-hub-dialog p{font-size:13px;line-height:1.8;margin:4px 0}.account-hub-dialog button{padding:9px 14px;background:#1c3453;color:#dfedff;border:1px solid #607faa;border-radius:7px;cursor:pointer}.account-hub-dialog input{box-sizing:border-box;width:100%;background:#071324;color:#e4efff;border:1px solid #607faa;border-radius:7px;padding:10px;font:inherit;margin-top:5px}.account-hub-dialog a{color:#8ad9ff;font-size:13px}.hub-team,.hub-notice{padding:10px;border:1px solid #6180a644;border-radius:8px}.hub-team h3{font-size:15px;margin:0 0 6px}.hub-state{color:#93d6ff}.account-settings-link{display:none!important}@media(max-width:700px){.account-hub{gap:4px;flex-wrap:wrap;justify-content:flex-end}.account-hub button{padding:5px 8px;font-size:10px}.top-actions{max-width:100%}}
.account-hub{margin-left:auto;gap:10px}.account-hub button{border:0;background:none;border-radius:0;display:inline-flex;align-items:center;justify-content:center;padding:6px;color:#b6cbe4}.account-hub button:hover{background:none;color:#8bdeff}.account-hub button.creative-avatar{position:relative;width:34px;height:34px;padding:0;border:0;border-radius:50%;overflow:hidden;background:radial-gradient(circle at 30% 20%,#b6f5ff,#369acb 23%,#5845b1 60%,#171d46);box-shadow:inset 0 0 10px #9a83ef77;color:#e0f8ff;font-size:13px;font-weight:700;letter-spacing:.02em;line-height:1;transform:none}.account-hub button.creative-avatar:hover{box-shadow:0 0 14px #7d81d74d}.account-hub button.creative-avatar.has-photo{background:#1a2438;box-shadow:0 0 0 1px #ffffff22}.account-hub button.creative-avatar.has-photo img{display:block;width:100%;height:100%;object-fit:cover}.account-hub button.creative-avatar.has-initials{background:hsl(var(--avatar-hue,210) 48% 42%);box-shadow:none;color:#fff}.top-actions #historyManage{margin-left:4px}.account-hub button:last-child{border-radius:11px}.account-hub-dialog button{display:inline-block}
.account-hub-popover{position:fixed;inset:auto;margin:0;box-sizing:border-box;max-width:calc(100vw - 24px);padding:14px;background:#102139f5;color:#dceaff;border:1px solid #5f7da6;border-radius:11px;box-shadow:0 12px 35px #0008;overflow:visible}.account-hub-popover::before{content:'';position:absolute;top:-6px;left:calc(var(--feed-arrow,80%) - 6px);width:10px;height:10px;background:#102139;border-top:1px solid #5f7da6;border-left:1px solid #5f7da6;transform:rotate(45deg)}.account-hub-popover::backdrop{background:transparent}.account-hub-popover>header{display:flex;justify-content:space-between;align-items:center;gap:15px;padding-bottom:10px;margin-bottom:8px;border-bottom:1px solid #6689b333}.account-hub-popover>header strong{font-size:13px}.account-hub-popover>header button{display:grid;place-items:center;width:24px;height:24px;padding:0;line-height:1;font-size:18px;background:none;color:#b7cce6;border:0;cursor:pointer}.account-feed-body{max-height:min(350px,calc(100dvh - 160px));overflow:auto}.account-feed-body p{font-size:12px;line-height:1.8;margin:5px 0}.account-feed-body h3{font-size:14px;margin:8px 0}.account-feed-body small{font-size:10px;color:#95b2d9}.account-feed-body .hub-notice{border:0;border-bottom:1px solid #5477a433;border-radius:0;padding:8px 0}
/* クレジット：残高・プラン・履歴 */
.account-hub-dialog .credit-summary{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:4px 0 12px}
.account-hub-dialog .credit-balance,.account-hub-dialog .credit-plan{display:flex;flex-direction:column;gap:2px;padding:14px;border-radius:14px;border:1px solid #8f86e655;background:linear-gradient(140deg,#7656d92b,#257eae22)}
.account-hub-dialog .credit-plan{border-color:#ffffff1c;background:#ffffff08}
.account-hub-dialog .credit-summary small{font-size:12px;color:#aab3c8}
.account-hub-dialog .credit-summary strong{font-size:24px;color:#fff;line-height:1.3}
.account-hub-dialog .credit-summary span{font-size:12px;color:#c9d4ea}
.account-hub-dialog .credit-mode{font-size:13px;line-height:1.7;color:#c9d4ea;padding:10px 12px;border-radius:10px;background:#ffffff08}
.account-hub-dialog .credit-mode.local{border-left:3px solid #5fd0f0}
.account-hub-dialog .credit-history{list-style:none;margin:0 0 12px;padding:0;max-height:160px;overflow:auto}
.account-hub-dialog .credit-history li{display:grid;grid-template-columns:80px 1fr auto;gap:8px;padding:6px 0;border-bottom:1px solid #ffffff10;font-size:12px}
.account-hub-dialog .credit-history .plus{color:#8fe3c4}.account-hub-dialog .credit-history .minus{color:#ffb3b3}
.account-hub-dialog .credit-dev{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:center;margin:12px 0;padding:10px;border:1px dashed #ffcf6b88;border-radius:10px}
.account-hub-dialog .credit-dev small{grid-column:1/-1;font-size:12px;color:#e9d8ad}
.account-hub-dialog .credit-dev select{padding:8px;border-radius:8px;background:#0b1424;color:#fff;border:1px solid #ffffff22}
.account-hub-menu{padding:12px}
.account-hub-menu .account-menu-body{display:grid;gap:12px}
.account-hub-menu .account-menu-hero{display:flex;gap:12px;align-items:center;width:100%;padding:10px;border:1px solid #6689b355;border-radius:12px;background:#0c1830;color:inherit;text-align:left;cursor:pointer}
.account-hub-menu .account-menu-hero:hover{border-color:#8ad9ff;background:#132445}
.account-hub-menu .account-menu-face{width:52px;height:52px;border-radius:50%;overflow:hidden;flex:none;display:grid;place-items:center;font-weight:700;font-size:18px;color:#fff;background:hsl(var(--avatar-hue,210) 48% 42%)}
.account-hub-menu .account-menu-face.has-photo{background:#1a2438}
.account-hub-menu .account-menu-face img{width:100%;height:100%;object-fit:cover;display:block}
.account-hub-menu .account-menu-meta{min-width:0;display:grid;gap:2px}
.account-hub-menu .account-menu-meta strong{font-size:14px;color:#fff}
.account-hub-menu .account-menu-meta span{font-size:12px;color:#9fb4d4;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.account-hub-menu .account-menu-meta small{font-size:11px;color:#8ad9ff}
.account-hub-menu .account-menu-actions{display:grid;gap:6px}
.account-hub-menu .account-menu-actions button{width:100%;justify-content:flex-start;padding:10px 12px;border:1px solid #607faa55;border-radius:9px;background:#152948;color:#e4efff;font-size:13px}
.account-hub-menu .account-menu-actions button:hover{border-color:#8ad9ff;background:#1b3558}
.account-hub-menu .account-menu-status{margin:0;font-size:12px;color:#9fe5d3}
