:root { color: #25252a; background: #fcfcfc; font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; } * { box-sizing: border-box; } body { margin: 0; min-width: 320px; } a { color: inherit; text-decoration: none; }
.account-header { height: 90px; display: flex; align-items: center; justify-content: space-between; padding: 0 46px; border-bottom: 1px solid #efeff0; background: #fff; }.brand { display: inline-flex; align-items: center; gap: 8px; }.brand-mark, .avatar { display: grid; place-items: center; color: #fff; background: #18cf9b; font-weight: 900; }.brand-mark { width: 43px; height: 43px; border-radius: 12px 16px 12px 16px; font-size: 27px; transform: rotate(-5deg); }.brand-name { font-size: 15px; line-height: 13px; font-weight: 900; letter-spacing: -1px; }.brand-name span { color: #18cf9b; }.avatar { width: 45px; height: 45px; border-radius: 50%; font-size: 24px; }
.account-layout { display: grid; grid-template-columns: 340px minmax(0, 1fr); min-height: calc(100vh - 90px); }.account-sidebar { padding: 42px 26px; border-right: 1px solid #f0f0f1; }.account-user { display: inline-block; margin: 0 12px 0 20px; font-size: 24px; font-weight: 700; }.account-tag { padding: 5px 9px; border: 1px solid #b9eadb; border-radius: 5px; color: #28bf92; background: #effaf6; font-size: 15px; }.account-sidebar nav { display: grid; gap: 4px; margin-top: 78px; }.account-sidebar nav a { padding: 14px 24px; border-radius: 12px; color: #46464b; font-size: 18px; }.account-sidebar nav a:hover, .account-sidebar nav a.active { color: #27272c; background: #f0f0f1; font-weight: 650; }
.account-main { width: min(100%, 1400px); padding: 38px clamp(36px, 7vw, 130px) 80px; }.account-main h1 { margin: 0; font-size: 46px; letter-spacing: -2px; }.subtitle { margin: 10px 0 68px; color: #a1a1a5; font-size: 19px; }.notice { margin-bottom: 38px; padding: 24px 32px; border-radius: 20px; color: #77777c; background: #f0f0f1; font-size: 17px; }.account-main h2 { margin: 36px 0 26px; font-size: 28px; }.usage-card, .addition-card { border: 1px solid #e9e9eb; border-radius: 30px; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.015); }.usage-card { padding: 48px 56px 28px; }.usage-card-top { display: flex; justify-content: space-between; gap: 24px; }.usage-card h3 { margin: 0; font-size: 34px; }.usage-card p { margin: 10px 0 0; color: #9a9a9e; font-size: 17px; }.topup-button { align-self: start; padding: 12px 30px; border-radius: 14px; color: #fff; background: #222225; font-size: 17px; font-weight: 650; }.usage-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin: 56px 0 32px; }.usage-stats span { display: block; color: #88888d; font-size: 16px; }.usage-stats strong { display: inline-block; margin-top: 10px; color: #25252a; font-size: clamp(30px, 3vw, 44px); letter-spacing: -1.5px; }.usage-stats em { margin-left: 7px; color: #8d8d92; font-style: normal; font-size: 15px; }.usage-foot { display: flex; justify-content: space-between; padding-top: 20px; border-top: 1px solid #f0f0f1; color: #aaaab0; font-size: 14px; }.addition-card { padding: 32px 56px; color: #929297; font-size: 17px; }.addition-card a { margin-left: 16px; color: #18b98c; font-weight: 650; }
@media (max-width: 900px) { .account-header { height: 68px; padding: 0 20px; }.account-layout { display: block; }.account-sidebar { padding: 22px 20px; border-right: 0; border-bottom: 1px solid #f0f0f1; }.account-sidebar nav { display: flex; overflow: auto; margin-top: 22px; }.account-sidebar nav a { padding: 10px 14px; white-space: nowrap; font-size: 15px; }.account-main { padding: 34px 22px 60px; }.account-main h1 { font-size: 37px; }.subtitle { margin-bottom: 38px; }.usage-card { padding: 32px 26px 24px; }.usage-stats { grid-template-columns: 1fr; gap: 23px; margin: 34px 0 28px; }.usage-card-top { display: block; }.topup-button { display: inline-block; margin-top: 22px; }.usage-foot { gap: 10px; font-size: 12px; }.addition-card { padding: 28px; } }
.keys-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }.keys-heading .subtitle { margin-bottom: 34px; }.key-tip, .new-key { margin-bottom: 24px; padding: 18px 22px; border-radius: 16px; color: #75757a; background: #f0f0f1; }.new-key { display: grid; gap: 10px; border: 1px solid #b8eadb; color: #258c6e; background: #f0fbf7; }.new-key code, .key-card code { overflow: auto; padding: 10px; border-radius: 8px; color: #414146; background: #fff; font-size: 13px; }.new-key button, .key-actions button { width: max-content; padding: 7px 12px; border: 0; border-radius: 8px; color: #4a4a50; background: #e7e7e9; cursor: pointer; }.new-key button:hover, .key-actions button:hover { background: #d9f3ea; color: #0a9e70; }.key-list { display: grid; gap: 14px; }.key-card { padding: 25px 28px; border: 1px solid #e8e8ea; border-radius: 20px; background: #fff; }.key-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }.key-card h2 { display: inline; margin: 0 10px 0 0; font-size: 20px; }.key-status { display: inline-block; padding: 3px 8px; border-radius: 5px; font-size: 12px; }.key-status.enabled { color: #159b6e; background: #ebfaf4; }.key-status.disabled { color: #a16b36; background: #fff5e9; }.key-actions { display: flex; flex-wrap: wrap; gap: 7px; }.key-actions .danger { color: #ca4545; }.key-card code { display: block; margin: 19px 0 12px; background: #f7f7f8; }.key-card p { margin: 0; color: #929297; font-size: 13px; }.empty { margin: 0; padding: 36px; border-radius: 18px; color: #96969b; background: #f3f3f4; text-align: center; }dialog { width: min(460px, calc(100% - 36px)); padding: 0; border: 0; border-radius: 20px; box-shadow: 0 20px 60px #0004; }dialog::backdrop { background: #0004; }dialog form { padding: 30px; }dialog h2 { margin: 0; font-size: 24px; }dialog p { color: #89898f; }dialog input { width: 100%; padding: 13px; border: 1px solid #dedee1; border-radius: 10px; outline: 0; font: inherit; }dialog input:focus { border-color: #18bf91; }.dialog-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 22px; }.dialog-actions > button:first-child { padding: 12px 20px; border: 0; border-radius: 12px; background: #f0f0f1; cursor: pointer; }@media (max-width: 900px) { .keys-heading { display: block; }.keys-heading .topup-button { margin-top: 0; }.key-card { padding: 20px; }.key-card-head { display: block; }.key-actions { margin-top: 16px; } }
