/* Member spaces share the academy's quiet charcoal palette. */
.member-view #account,.member-view #members{background:#0e0e0e;color:#e2e2e2}
#account .section-heading,#members .section-heading{max-width:1120px;margin-left:auto;margin-right:auto}
#account>.back-academy,#members>.back-academy{color:#b0b0b0;opacity:1}
#account .eyebrow,#members .eyebrow{color:#a6a6a6}
#accountPanel .profile-layout{grid-template-columns:minmax(0,.85fr) minmax(0,1.4fr);gap:28px;align-items:start}
#accountPanel .profile-layout>div,#accountPanel .profile-layout>form{border:1px solid #353535;border-radius:16px;background:#161616;padding:32px;min-width:0}
#accountPanel .profile-layout>div{background:linear-gradient(150deg,#1c1c1c,#131313)}
#accountPanel .profile-avatar{display:grid;place-items:center;width:96px;height:96px;border:1px solid #474747;border-radius:18px;background:#242424;margin-bottom:24px;overflow:hidden}
#accountPanel .profile-avatar img{display:block;width:100%;height:100%;object-fit:cover;border:0}
#accountPanel .profile-avatar>span{font-family:Manrope,Arial,sans-serif;font-size:40px;color:#d2d2d2;font-weight:500}
#accountPanel .profile-display-name{font-size:28px;line-height:1.4;margin-bottom:16px;overflow-wrap:anywhere;gap:10px}
#accountPanel .profile-summary-bio{white-space:pre-wrap;font-size:13px;color:#aeaeae;line-height:1.85;margin:0 0 32px;overflow-wrap:anywhere}
#accountPanel .profile-layout h3{font-size:29px;margin:12px 0 16px;line-height:1.3;letter-spacing:-1px;color:#e5e5e5}
#accountPanel .profile-layout p{color:#b0b0b0}
#accountPanel .profile-layout .small{color:#9f9f9f!important;font-size:12px;line-height:1.85}
#accountPanel .profile-layout progress{display:block;width:100%;height:5px;margin:20px 0 12px;accent-color:#d9d9d9;border:0;border-radius:5px;overflow:hidden}
#accountPanel progress::-webkit-progress-bar{background:#343434}#accountPanel progress::-webkit-progress-value{background:#d3d3d3}#accountPanel progress::-moz-progress-bar{background:#d3d3d3}
#accountPanel .profile-progress-caption{font-size:11px;color:#a1a1a1;margin-bottom:26px}
#accountPanel .profile-form-heading{border-color:#393939;padding-bottom:22px;margin-bottom:26px}#accountPanel .profile-form-heading h3{font-size:28px}
#accountPanel .profile-layout label{color:#c0c0c0;font-size:12px;line-height:1.7;margin-bottom:24px}
#accountPanel .profile-layout input,#accountPanel .profile-layout textarea{background:#1e1e1e;border:1px solid #464646;border-radius:9px;color:#e7e7e7;padding:14px;min-width:0;max-width:100%;font-size:16px;line-height:1.5;box-shadow:none;color-scheme:dark}
#accountPanel .profile-layout input:focus,#accountPanel .profile-layout textarea:focus{outline:2px solid #b8b8b8;outline-offset:3px;border-color:#a3a3a3}
#accountPanel .profile-layout textarea{resize:vertical;min-height:130px}
#accountPanel .photo-editor{padding:20px;background:#1c1c1c;border:1px solid #3d3d3d;border-radius:12px;gap:14px}
#accountPanel .photo-editor img{width:84px;height:84px;border-radius:12px;border:1px solid #555555}
#accountPanel .profile-layout input[type=file]{background:transparent;border:1px dashed #565656;font-size:12px;padding:12px}
#accountPanel input::file-selector-button,#profileAdmin input::file-selector-button{font:inherit;color:#eaeaea;background:#373737;border:1px solid #595959;border-radius:6px;padding:8px 10px;margin-right:10px;cursor:pointer}
#accountPanel .profile-layout button:not(.button){border:1px solid #565656;background:#212121;color:#dedede;border-radius:8px;padding:11px 16px;min-height:44px;font-size:12px}
#accountPanel .profile-layout .button{border-radius:9px;background:#e0e0e0;border-color:#e0e0e0;color:#191919;min-height:48px;font-weight:500;letter-spacing:.01em;margin-top:20px}
#accountPanel .auth-switch{border-color:#3c3c3c;gap:10px;margin-top:24px}
#accountPanel .auth-switch button{padding:9px 6px!important;font-size:11px!important;background:transparent!important}
#accountPanel .auth-switch button:hover{border-color:#c1c1c1}
#authStatus,#profileStatus{color:#cbcbcb!important;font-size:12px;line-height:1.8}
#memberGrid{max-width:1120px;margin:0 auto;gap:22px;grid-template-columns:repeat(3,minmax(0,1fr))}
#members .member-card{display:flex;flex-direction:column;align-items:flex-start;background:#161616;border:1px solid #383838;border-radius:16px;padding:28px;min-width:0;box-shadow:0 12px 32px #0002;transition:border-color .25s,background .25s}
#members .member-card:hover{background:#1b1b1b;border-color:#5e5e5e}
#members .member-card>img,#members .avatar-placeholder{width:72px;height:72px;border-radius:14px;border:1px solid #4a4a4a;background:#2a2a2a;color:#dedede;object-fit:cover;margin-bottom:22px}
#members .member-name{font-size:22px;line-height:1.5;gap:9px;overflow-wrap:anywhere}
#members .member-card p{font-size:13px;line-height:1.9;color:#a9a9a9;white-space:pre-wrap;margin:12px 0 24px;overflow-wrap:anywhere}
#members .member-card .small{margin-top:auto;padding-top:20px;border-top:1px solid #393939;width:100%;color:#b9b9b9!important;font-size:11px}
#members #loadMembers{background:transparent;color:#dadada;border-color:#5f5f5f;border-radius:8px}
/* Owner-only profile editor, authorized on the server. */
#profileAdmin{max-width:1120px;margin:48px auto 0;padding:32px;border:1px solid #4b4b4b;border-radius:16px;background:#161616;color:#e2e2e2}
.admin-section-heading{display:flex;justify-content:space-between;align-items:center;gap:20px}
#profileAdmin h3{font-size:29px;line-height:1.3;margin:10px 0 0;letter-spacing:-1px}
#profileAdmin .admin-access-label{flex-shrink:0;font-size:10px;letter-spacing:.06em;color:#c6c6c6;border:1px solid #5b5b5b;background:#222222;border-radius:7px;padding:8px 12px}
#profileAdmin .admin-intro{font-size:13px;line-height:1.8;color:#a8a8a8;margin:18px 0 28px}
#profileAdmin label{font-size:12px;line-height:1.8;color:#c8c8c8;margin:22px 0}
#profileAdmin input,#profileAdmin textarea,#profileAdmin select{background:#1e1e1e;color:#e1e1e1;border-color:#4f4f4f;border-radius:9px;padding:14px;font-size:16px;min-height:48px;line-height:1.5;color-scheme:dark;max-width:100%;min-width:0}
#profileAdmin textarea{resize:vertical;min-height:130px}
#profileAdmin input:focus-visible,#profileAdmin textarea:focus-visible,#profileAdmin select:focus-visible{outline:2px solid #c2c2c2;outline-offset:3px}
#profileAdmin #profileAdminStatus{font-size:12px;color:#c5c5c5;margin:20px 0;min-height:0}
#profileAdminStatus:empty{display:none}
#profileAdminForm{border-top:1px solid #414141;padding-top:28px;margin-top:24px}
#profileAdmin .admin-editing-heading h4{font-size:23px;margin:8px 0 26px;font-weight:500;overflow-wrap:anywhere}
#profileAdmin .admin-photo-row{border:1px solid #454545;border-radius:12px;padding:20px;background:#1b1b1b;gap:18px;align-items:center}
#profileAdmin .admin-photo-row label{margin:0;flex:1 1 200px;min-width:0}
#profileAdmin .admin-avatar-slot{display:grid;place-items:center;position:relative;width:84px;height:84px;border-radius:12px;background:#2f2f2f;border:1px solid #626262;flex:0 0 84px;overflow:hidden}
#profileAdmin #adminPhotoPreview{width:100%;height:100%;border-radius:0;object-fit:cover;position:absolute;inset:0}
#adminPhotoFallback{font-size:32px;color:#cbcbcb}
#profileAdmin input[type=file]{padding:12px;background:transparent;border-style:dashed;font-size:12px;overflow:hidden}
#profileAdmin button{color:#d5d5d5;background:#222222;border-color:#575757;min-height:44px;border-radius:8px;margin-top:0}
#profileAdmin button[type=submit]{color:#161616;background:#e0e0e0;border-color:#e0e0e0;font-weight:500;padding:14px 20px}
#profileAdmin .admin-profile-actions{padding-top:8px;gap:12px}
#profileAdmin button:hover:not(:disabled),#accountPanel button:not(.button):hover{border-color:#cccccc}
@media(max-width:850px){#memberGrid{grid-template-columns:repeat(2,minmax(0,1fr))}#accountPanel .profile-layout{grid-template-columns:minmax(0,1fr);gap:24px}#accountPanel .profile-layout>div{padding:28px}}
@media(max-width:600px){.member-view #account,.member-view #members{padding:36px 18px 64px}#accountPanel .profile-layout>div,#accountPanel .profile-layout>form{padding:22px 18px;border-radius:13px}#accountPanel .profile-avatar{width:80px;height:80px}#accountPanel .profile-display-name{font-size:25px}#accountPanel .photo-editor{padding:16px}#accountPanel .profile-layout input,#accountPanel .profile-layout textarea{padding:12px}#accountPanel .auth-switch{grid-template-columns:minmax(0,1fr)}#memberGrid{grid-template-columns:minmax(0,1fr);gap:18px}#members .member-card{padding:24px}#profileAdmin{padding:24px 18px;margin-top:32px}.admin-section-heading{align-items:flex-start;flex-direction:column;gap:16px}#profileAdmin h3{font-size:25px}#profileAdmin .admin-photo-row{padding:16px}#profileAdmin .admin-photo-row label{flex-basis:100%}#profileAdmin .admin-profile-actions{display:grid;grid-template-columns:minmax(0,1fr)}#profileAdmin .admin-profile-actions button{width:100%;margin:0}#profileAdmin input,#profileAdmin textarea,#profileAdmin select{padding:12px}}
@media(prefers-reduced-motion:reduce){#members .member-card{transition:none}}
/* Desktop uses the same floating return-to-top control as mobile. */
@media(min-width:701px){footer .back-to-top{position:fixed;right:28px;bottom:28px;z-index:40;display:grid;place-items:center;width:48px;height:48px;padding:0;border:1px solid #555;border-radius:12px;background:#111e;color:#f0f0ed;backdrop-filter:blur(12px);box-shadow:0 6px 22px #0004;transition:background .2s,transform .2s;touch-action:manipulation}footer .back-to-top span{display:none}footer .back-to-top svg{width:22px;height:22px}footer .back-to-top:hover{background:#292929;transform:translateY(-2px)}footer .back-to-top:focus-visible{outline:2px solid #bbb;outline-offset:4px}footer{padding-bottom:84px}}
@media(prefers-reduced-motion:reduce){footer .back-to-top{transition:none}}

#profileAdmin .admin-milestone{margin:28px 0;padding:22px;border:1px solid #414141;border-radius:12px;background:#1a1a1a}#profileAdmin .admin-milestone>label{margin:0 0 10px}#profileAdmin .admin-milestone p{font-size:12px;line-height:1.8;color:#aaa;margin-top:16px}#adminBadgePreview{display:flex;align-items:center;gap:12px;font-size:13px;color:#ddd;margin-top:20px;min-height:28px}@media(max-width:600px){#profileAdmin .admin-milestone{padding:18px 14px}}
/* Leaderboard: consistent dark surfaces and compact mobile ranking cards. */
.member-view #leaderboard{background:#0e0e0e;color:#e3e3e3}
#leaderboard .eyebrow{color:#aaa}#leaderboard .back-academy{color:#b3b3b3;opacity:1}#leaderboard .rank-note{color:#aaa!important}
#leaderboard .rank-legend>div{background:#181818;border-color:#383838;border-radius:10px}#leaderboard .rank-legend small{color:#a7a7a7}
#leaderboard .rank-row{border-color:#373737}#leaderboard .rank-position,#leaderboard .rank-role,#leaderboard .rank-score b span{color:#a2a2a2}
#leaderboard .rank-score progress{accent-color:#d7d7d7;border:0;border-radius:4px;overflow:hidden}#leaderboard .rank-score progress::-webkit-progress-bar{background:#343434}#leaderboard .rank-score progress::-webkit-progress-value{background:#d7d7d7}#leaderboard .rank-score progress::-moz-progress-bar{background:#d7d7d7}
#leaderboard .rank-avatar{border:1px solid #454545;background:#222222;color:#dbdbdb;border-radius:10px}
@media(max-width:700px){
 .member-view #leaderboard{padding:36px 18px 76px}
 #leaderboard .section-heading h2{font-size:clamp(32px,9vw,44px);letter-spacing:-1.3px}
 #leaderboard .rank-legend{gap:10px;margin-bottom:20px}#leaderboard .rank-legend>div{padding:14px 12px;gap:10px;min-width:0}#leaderboard .rank-legend b{font-size:13px}#leaderboard .rank-legend small{font-size:10px;line-height:1.6}
 #leaderboard .rank-note{font-size:11px!important;margin-bottom:24px}
 #leaderboardList{display:grid;gap:12px}
 #leaderboard .rank-row{grid-template-columns:24px minmax(0,1fr);gap:12px;padding:18px 14px;background:#171717;border:1px solid #353535;border-radius:13px}
 #leaderboard .rank-position{align-self:start;padding-top:12px;font-size:15px}
 #leaderboard .rank-person{display:flex;align-items:center;gap:12px;min-width:0}#leaderboard .rank-avatar{width:44px;height:44px;flex:0 0 44px;margin:0;object-fit:cover}
 #leaderboard .rank-identity{min-width:0}#leaderboard .rank-name{font-size:16px;line-height:1.5;gap:7px;word-break:break-word}#leaderboard .rank-role{font-size:11px;margin-top:5px}
 #leaderboard .rank-score{grid-column:2;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px;border-top:1px solid #313131;padding-top:12px;margin-top:3px}
 #leaderboard .rank-score b{grid-column:2;grid-row:1;font-size:18px;white-space:nowrap}#leaderboard .rank-score progress{grid-column:1;grid-row:1;margin:0;width:100%;min-width:0;height:4px}
}
#memberApprovals{max-width:1120px;margin:40px auto 0;padding:32px;border:1px solid #3e3e3e;background:#151616;border-radius:16px;color:#e2e4df}#memberApprovals h3{font-size:29px;line-height:1.3;letter-spacing:-1px;margin:10px 0 0}#memberApprovals .approval-intro{font-size:13px;line-height:1.8;color:#aaa;margin:20px 0}#approvalStatus{font-size:12px;line-height:1.8;color:#bbb;margin:18px 0}#approvalList{display:grid;gap:14px}.approval-card{display:grid;grid-template-columns:56px minmax(0,1fr) auto;align-items:center;gap:20px;background:#1c1d1c;border:1px solid #393b37;border-radius:12px;padding:20px}.approval-avatar{width:56px;height:56px;display:grid;place-items:center;background:#2a2c28;border:1px solid #454841;border-radius:12px;overflow:hidden;font-size:24px}.approval-avatar img{width:100%;height:100%;object-fit:cover}.approval-person{min-width:0}.approval-person h4{font-size:18px;font-weight:500;margin:0 0 8px;overflow-wrap:anywhere}.approval-person p{font-size:12px;color:#aaa;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere;margin:0 0 10px}.approval-person small{font-size:10px;color:#999}#memberApprovals button{border:1px solid #53564e;border-radius:8px;background:transparent;color:#ddd;padding:12px 16px;min-height:44px;font-size:12px;cursor:pointer}#memberApprovals [data-approve]{background:#e2e5dc;color:#131510;border-color:#e2e5dc}#memberApprovals button:disabled{opacity:.5;cursor:wait}.membership-pending{padding:16px;border:1px solid #50564a;border-radius:9px;background:#242920;font-size:12px!important;line-height:1.8!important;margin:0 0 24px!important}#moreApprovals{margin-top:20px}@media(max-width:600px){#memberApprovals{padding:24px 18px;margin-top:32px}#memberApprovals h3{font-size:25px}.approval-card{grid-template-columns:44px minmax(0,1fr);gap:14px;padding:16px}.approval-avatar{width:44px;height:44px}.approval-card button{grid-column:1/-1;width:100%}.approval-person h4{font-size:16px}}
.notification-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:24px 0}#memberApprovals .notification-tabs button{font-size:12px;line-height:1.6;padding:12px 8px;white-space:normal}#memberApprovals .notification-tabs button[aria-selected=true]{background:#e2e3df;color:#111;border-color:#e2e3df}.notification-card{padding:22px;border:1px solid #414141;border-radius:12px;background:#1a1b1a}.notice-comparison{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr));gap:20px}.notice-profile{min-width:0;padding:16px;border:1px solid #363836;border-radius:10px;background:#141614}.notice-profile-top{display:flex;align-items:center;gap:14px;margin:16px 0}.notice-profile h4{font-size:18px;line-height:1.5;margin:0;font-weight:500;overflow-wrap:anywhere}.notice-profile .approval-avatar{flex:0 0 56px}.notice-profile p{font-size:12px;line-height:1.8;color:#bbb;white-space:pre-wrap;overflow-wrap:anywhere}.notice-actions{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:20px}.notice-actions small{font-size:10px;color:#aaa;line-height:1.8}#memberApprovals .notice-actions button{background:#e0e2dc;color:#141514;border-color:#e0e2dc;flex-shrink:0}@media(max-width:600px){.notification-card{padding:16px}.notice-actions{flex-direction:column;align-items:stretch;gap:14px}.notice-actions button{width:100%}.notice-comparison{grid-template-columns:minmax(0,1fr)}}

/* Back navigation sits above the heading on the same content alignment. */
.member-view .page-back-nav{display:flex;align-items:center;width:100%;min-width:0;margin:0 0 28px;box-sizing:border-box}
.member-view :is(#account,#members)>.page-back-nav{max-width:1120px;margin-left:auto;margin-right:auto}
.member-view .page-back-nav .back-academy{display:inline-flex;align-items:center;justify-content:flex-start;gap:10px;min-height:44px;max-width:100%;padding:10px 0;margin:0;color:#bcbfb7;opacity:1;font-size:12px;line-height:1.5;white-space:normal;text-decoration:none}
.member-view .page-back-nav .back-academy svg{display:block;flex:0 0 18px;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.member-view .page-back-nav .back-academy:hover{color:#fff}.member-view .page-back-nav .back-academy:focus-visible{outline:2px solid #aaa;outline-offset:5px;border-radius:3px}
.member-view :is(#account,#members,#leaderboard,#fitness)>.section-heading{margin-top:0;margin-bottom:32px}
@media(max-width:700px){.member-view :is(#account,#members,#leaderboard,#fitness){padding-top:20px}.member-view .page-back-nav{margin-bottom:20px}.member-view .page-back-nav .back-academy{min-height:44px;font-size:12px;gap:9px;padding:10px 0}.member-view :is(#account,#members,#leaderboard,#fitness)>.section-heading{margin-bottom:28px}}

.notice-review-buttons{display:flex;align-items:center;gap:10px;flex-wrap:wrap}#memberApprovals .notice-review-buttons .notice-deny{background:transparent;color:#bbb;border-color:#666}#memberApprovals .notice-review-buttons .notice-deny:hover{border-color:#ddd;color:#fff}@media(max-width:600px){.notice-review-buttons{display:grid;grid-template-columns:minmax(0,.65fr) minmax(0,1fr)}.notice-review-buttons button{min-width:0;white-space:normal}}

/* A single navigation baseline for every category and homepage section. */
.page-back-nav{display:flex;align-items:center;grid-column:1/-1;width:100%;min-width:0;max-width:100%;margin:0 0 28px;box-sizing:border-box}
.page-back-nav .back-academy{display:inline-flex;align-items:center;justify-content:flex-start;gap:10px;min-height:44px;max-width:100%;padding:10px 0;margin:0;color:#bbb;opacity:1;font-size:12px;line-height:1.5;white-space:normal;text-decoration:none}
.page-back-nav .back-academy svg{display:block;flex:0 0 18px;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.page-back-nav .back-academy span{min-width:0;overflow-wrap:break-word}.page-back-nav .back-academy:hover{color:#fff}.page-back-nav .back-academy:focus-visible{outline:2px solid #aaa;outline-offset:5px;border-radius:3px}
#sources>.page-back-nav{margin-bottom:0}
@media(max-width:700px){.page-back-nav{margin-bottom:20px}.page-back-nav .back-academy{font-size:12px;gap:9px;padding:10px 0;min-height:44px}#sources>.page-back-nav{margin-bottom:0}}
/* Private review history */
#review-history{background:#0b0b0b;color:#f2f2f0;min-height:75vh}#review-history>.section-heading,#review-history>.page-back-nav,#historyPrivate,#historyStatus{max-width:1120px;margin-left:auto;margin-right:auto}.history-link{color:#eee;text-decoration:none;border-bottom:1px solid #555;padding:10px 0}.history-note,#accountPrivacy,.history-meta{color:#a5a5a5;line-height:1.7}.history-toolbar{display:flex;align-items:flex-end;gap:16px;margin:28px 0}.history-toolbar label{display:grid;gap:8px;flex:1;max-width:360px;font-size:13px;color:#aaa}.history-toolbar select,#review-history button{background:#181818;color:#eee;border:1px solid #414141;border-radius:10px;padding:12px 16px;min-height:46px;font:inherit}.history-toolbar select{width:100%;min-width:0;color-scheme:dark}#historyList{display:grid;gap:16px;margin:24px 0}.history-card{background:#111;border:1px solid #2c2c2c;border-radius:16px;padding:24px;min-width:0;overflow-wrap:anywhere}.history-card h3{font-size:22px;line-height:1.35;margin:0}.history-card-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.history-decision{border:1px solid #444;color:#ccc;border-radius:20px;padding:5px 12px;font-size:12px;text-transform:capitalize;flex-shrink:0}.history-card p{font-size:14px;margin:12px 0}.history-card small{color:#999}.history-card summary{cursor:pointer;font-size:14px;padding:12px 0}.history-details{display:grid;grid-template-columns:1fr 1fr;gap:20px;border-top:1px solid #333;padding-top:20px}.history-email{color:#eee}#historyStatus{padding:20px 0}@media(max-width:600px){.history-card{padding:18px}.history-card-heading{align-items:flex-start}.history-card h3{font-size:20px}.history-details{grid-template-columns:1fr}.history-toolbar{align-items:stretch}.history-toolbar button{align-self:flex-end}.history-toolbar label{min-width:0}.history-decision{font-size:11px;padding:4px 9px}}

#accountPanel .auth-layout{grid-template-columns:minmax(0,1fr);max-width:760px;margin:0 auto}#accountPanel .auth-layout>div{container-type:inline-size}#accountPanel .auth-layout .auth-welcome-line{white-space:nowrap;font-size:min(14px,3.3cqw);letter-spacing:0;line-height:1.8;margin:0;overflow-wrap:normal}

/* Keep close controls outside every dialog's scrolling content. */
#lesson,dialog.fit-image-modal{box-sizing:border-box;padding:0;width:min(820px,calc(100% - 24px));max-width:calc(100% - 24px);max-height:calc(100dvh - 32px);overflow:hidden;border-radius:14px}
#lesson[open],dialog.fit-image-modal[open]{display:flex;flex-direction:column}
#lesson .dialog-toolbar,dialog.fit-image-modal .dialog-toolbar{display:flex;position:relative;flex:0 0 auto;justify-content:flex-end;align-items:center;min-height:64px;padding:10px 14px;margin:0;border-bottom:1px solid #383838;background:#151515;z-index:2;box-sizing:border-box}
#lesson .close,dialog.fit-image-modal .fit-close{position:static;inset:auto;float:none;display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;min-width:44px;min-height:44px;padding:0;margin:0;transform:none;border:1px solid #454545;border-radius:10px;background:#202020;color:#eee;line-height:1;cursor:pointer}
#lesson .close svg,dialog.fit-image-modal .fit-close svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round}
#lesson .close:hover,dialog.fit-image-modal .fit-close:hover{background:#303030;border-color:#888}
#lesson .close:focus-visible,dialog.fit-image-modal .fit-close:focus-visible{outline:2px solid #eee;outline-offset:3px}
#lessonContent,dialog.fit-image-modal .fit-image-body{flex:1 1 auto;min-height:0;overflow:auto;overscroll-behavior:contain;padding:28px 36px 36px;scrollbar-gutter:stable;box-sizing:border-box}
dialog.fit-image-modal .fit-image-body img{max-height:calc(100dvh - 160px);width:100%;object-fit:contain}
@media(max-width:600px){#lesson .dialog-toolbar,dialog.fit-image-modal .dialog-toolbar{padding:8px 12px;min-height:60px}#lessonContent,dialog.fit-image-modal .fit-image-body{padding:22px 18px 28px}#lessonContent h2{margin-top:0}}
/* Seasonal avatar collection: the decoration sits outside the cropped picture. */
.framed-avatar{--avatar-size:76px;display:inline-grid;position:relative;place-items:center;width:var(--avatar-size);height:var(--avatar-size);flex:0 0 var(--avatar-size);vertical-align:middle;isolation:isolate;margin:8px;overflow:visible!important}
.framed-avatar>img,.framed-avatar>.framed-fallback{display:grid!important;place-items:center;width:78%!important;height:78%!important;margin:0!important;border:0!important;border-radius:18%!important;object-fit:cover;background:#222;color:#ddd;font-size:calc(var(--avatar-size)*.32);overflow:hidden}
.framed-avatar>.avatar-decoration{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none;fill:none;stroke:#c0c7d0;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round;z-index:1;filter:drop-shadow(0 1px 3px #0008)}
.avatar-decoration.theme-halloween{stroke:#ba9a79}.avatar-decoration.theme-thanksgiving{stroke:#c5a472}.avatar-decoration.theme-christmas{stroke:#c9d5d8}.avatar-decoration .frame-inner{opacity:.32;stroke-width:.7}.avatar-decoration .frame-motif{fill:#121212;stroke-width:1.3}.avatar-decoration .frame-glint{stroke:#fff;stroke-width:2;animation:frame-glow 5s ease-in-out infinite}.avatar-decoration.variant-1 .frame-edge{stroke-dasharray:5 2}.avatar-decoration.variant-3 .frame-inner{stroke-dasharray:1 4;opacity:.8}.avatar-decoration.variant-4 .frame-edge{stroke-width:2}
@keyframes frame-glow{0%,100%{opacity:.15}50%{opacity:.8}}
.profile-framed-avatar{--avatar-size:112px;margin:4px 0 24px}.member-framed-avatar{--avatar-size:80px;margin:4px 0 20px}.rank-framed-avatar{--avatar-size:52px;margin:2px 0}.approval-framed-avatar{--avatar-size:64px;margin:4px 0}
#accountPanel .frame-picker,#profileAdmin .frame-picker{padding:22px 0;margin:12px 0 28px;border-top:1px solid #393939;border-bottom:1px solid #393939;min-width:0}.frame-picker-heading{display:flex;gap:12px;justify-content:space-between;align-items:center}.frame-picker-heading h4{font-size:20px;margin:8px 0;color:#eee}.frame-featured{display:flex;align-items:center;gap:20px;padding:20px 0}.frame-featured .framed-avatar{--avatar-size:100px}.frame-featured strong{display:block;font-size:16px;color:#e4e4e4}.frame-featured p{font-size:11px!important;line-height:1.6!important;margin:6px 0;color:#999}.frame-categories{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:8px 0 18px}.frame-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
#accountPanel .frame-picker button,#profileAdmin .frame-picker button{font:inherit;font-size:11px;margin:0;padding:10px 6px;border:1px solid #383838;background:#181818;color:#aaa;border-radius:9px;min-height:44px;cursor:pointer;min-width:0}
#accountPanel .frame-options button,#profileAdmin .frame-options button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:10px 4px 14px;line-height:1.4;overflow-wrap:anywhere}.frame-options .framed-avatar{--avatar-size:68px;margin:4px 0}.frame-options button>span:last-child{max-width:100%}
#accountPanel .frame-picker button[aria-pressed=true],#profileAdmin .frame-picker button[aria-pressed=true]{border-color:#c4c4c4;background:#2b2b2b;color:#fff;box-shadow:inset 0 0 0 1px #c4c4c4}#accountPanel .frame-picker button:focus-visible,#profileAdmin .frame-picker button:focus-visible{outline:2px solid #eee;outline-offset:3px}.frame-picker .eyebrow{font-size:9px;letter-spacing:.12em}
@media(max-width:400px){.frame-options{grid-template-columns:repeat(2,minmax(0,1fr))}.frame-featured{gap:10px}.frame-featured .framed-avatar{--avatar-size:84px}.frame-picker-heading{align-items:flex-start}.frame-picker-heading h4{font-size:18px}.rank-framed-avatar{--avatar-size:46px}}
@media(prefers-reduced-motion:reduce){.avatar-decoration .frame-glint{animation:none;opacity:.5}}
/* Animated decorations and public member profiles. */
.framed-avatar>.gif-decoration{display:block;inset:0;filter:none;overflow:visible}.gif-decoration>img{display:block!important;width:100%!important;height:100%!important;max-width:none!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;object-fit:contain!important}
.member-banner{position:relative;width:100%;aspect-ratio:3/1;overflow:hidden;border-radius:12px;background:linear-gradient(135deg,#292929,#0e0e0e 55%,#303030);border:1px solid #353535;margin:0 0 20px;isolation:isolate}.member-banner>img{display:block!important;width:100%!important;height:100%!important;max-height:none!important;object-fit:cover!important;border:0!important;border-radius:0!important;margin:0!important}.banner-empty-mark{position:absolute;right:7%;top:50%;transform:translateY(-50%);font-size:clamp(30px,6vw,80px);color:#ffffff0c;font-weight:600;letter-spacing:-.1em}.member-profile-link{display:block;color:inherit;text-decoration:none}.member-profile-link:hover h3{text-decoration:underline;text-underline-offset:5px}.member-profile-link:focus-visible,.rank-person:focus-visible{outline:2px solid #ddd;outline-offset:6px;border-radius:8px}.member-card{min-width:0}.member-card .member-banner{margin-bottom:14px}.member-card .member-framed-avatar{margin-bottom:12px}
.rank-row{position:relative;isolation:isolate;overflow:hidden;min-height:112px}.rank-row>.rank-banner{position:absolute;inset:0;z-index:-2;aspect-ratio:auto;height:100%;border:0;border-radius:inherit;margin:0;opacity:.55}.rank-row>.rank-banner:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#0d0d0dee,#0d0d0d99 65%,#0d0d0dee)}.rank-person{color:inherit;text-decoration:none;min-width:0}.rank-row .custom-badges{margin:5px 0 0}.rank-row .custom-badge{font-size:9px;padding:3px 6px}.rank-row .rank-name,.rank-row .rank-score{color:#f4f4f4}
.custom-badges{display:flex;gap:6px;flex-wrap:wrap;margin:10px 0 18px}.custom-badge{font-size:10px;line-height:1.4;letter-spacing:.02em;border:1px solid #666;border-radius:6px;background:#242424;color:#dedede;padding:5px 8px}.banner-editor{padding:20px 0;border-top:1px solid #393939}.banner-editor .member-banner{margin:10px 0}.banner-editor .banner-edit-status{font-size:11px!important;line-height:1.6}.admin-badges{border:1px solid #444!important;padding:18px!important;border-radius:12px;margin:20px 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.admin-badges legend{font-size:13px;padding:0 6px}.admin-badges label{display:flex!important;align-items:center;gap:10px;margin:0!important;font-size:12px!important}.admin-badges input{width:18px!important;height:18px!important;min-height:0!important;margin:0!important;padding:0!important;accent-color:#ddd;flex:none}
#member{background:#0b0b0b;color:#eee;min-height:80vh}#member>.page-back-nav,#publicProfile{max-width:1000px;margin-left:auto;margin-right:auto}.public-profile-card{border:1px solid #353535;border-radius:20px;overflow:hidden;background:#151515}.public-profile-card>.member-banner{border:0;border-radius:0;margin:0}.public-profile-content{padding:0 36px 36px}.public-profile-content>.profile-framed-avatar{--avatar-size:132px;margin-top:-42px;margin-bottom:16px;z-index:2}.public-profile-name{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.public-profile-name h1{font-size:clamp(26px,4vw,42px);line-height:1.2;letter-spacing:-.04em;margin:0;overflow-wrap:anywhere}.public-profile-bio{font-size:15px;line-height:1.9;color:#bbb;white-space:pre-wrap;overflow-wrap:anywhere;margin:24px 0}.public-profile-progress{border-top:1px solid #373737;padding-top:28px;margin-top:28px}.public-profile-progress h2{font-size:36px;letter-spacing:-1px;margin:16px 0}.public-profile-progress h2 span{font-size:16px;color:#aaa;letter-spacing:0}.public-profile-progress progress{width:100%;height:7px;accent-color:#ddd}.public-profile-progress p{font-size:12px;color:#aaa}.notice-profile>.member-banner{margin-top:14px}
@media(max-width:600px){#member{padding:36px 18px 64px}.public-profile-content{padding:0 20px 24px}.public-profile-content>.profile-framed-avatar{--avatar-size:100px;margin-top:-24px}.public-profile-card{border-radius:14px}.rank-row{min-height:105px}.admin-badges{grid-template-columns:1fr}}
/* Full-width card covers, including the default banner. */
#members .member-card{--card-inset:28px;padding:var(--card-inset);overflow:hidden}
#members .member-card>.member-profile-link{width:100%;min-width:0;align-self:stretch}
#members .member-profile-link>.member-banner{display:block;width:calc(100% + var(--card-inset) * 2);max-width:none;aspect-ratio:3/1;margin:calc(var(--card-inset) * -1) calc(var(--card-inset) * -1) 20px;border:0;border-bottom:1px solid #383838;border-radius:0}
#members .member-profile-link>.member-banner>img{object-fit:cover!important;object-position:center}
#members .member-profile-link:focus-visible{outline-offset:-2px}
@media(max-width:600px){#members .member-card{--card-inset:24px}}

/* Owner notifications lead the profile view; actions stay paired. */
#account>#memberApprovals{margin:0 auto 36px}
#memberApprovals>.admin-section-heading{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}
#memberApprovals .approval-header-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;flex:0 0 auto}
#memberApprovals .approval-header-actions>:is(a,button){display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:96px;height:44px;min-height:44px;margin:0;padding:0 16px;border:1px solid #535353;border-radius:8px;background:#1c1c1c;color:#ddd;font:inherit;font-size:12px;line-height:1;text-decoration:none;white-space:nowrap;cursor:pointer}
#memberApprovals .approval-header-actions>:is(a,button):hover{background:#282828;border-color:#999;color:#fff}
#memberApprovals .approval-header-actions>:is(a,button):focus-visible{outline:2px solid #ddd;outline-offset:3px}
@media(max-width:600px){#account>#memberApprovals{margin:0 auto 28px}#memberApprovals>.admin-section-heading{flex-direction:column;align-items:stretch;gap:18px}#memberApprovals .approval-header-actions{width:100%;gap:10px}#memberApprovals .approval-header-actions>:is(a,button){width:100%;min-width:0}}
/* Anonymous names: restrained metallic lettering with drifting shards. */
.cryptic-name{display:inline-flex;position:relative;align-items:center;max-width:100%;padding:5px 7px;isolation:isolate;vertical-align:middle;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.78em;letter-spacing:.045em;line-height:1.5;color:#e0e0e0}.cryptic-name-text{background:linear-gradient(110deg,#aaa 10%,#f5f5f5 35%,#888 50%,#eee 70%,#aaa 90%);background-size:220% 100%;background-clip:text;-webkit-background-clip:text;color:transparent;animation:cryptic-sheen 8s ease-in-out infinite;overflow-wrap:anywhere}.name-shards{position:absolute;inset:0;pointer-events:none;z-index:-1}.name-shards i{position:absolute;width:9px;height:3px;clip-path:polygon(0 50%,100% 0,75% 100%);background:#b9c1c8;opacity:.35;animation:shard-drift 6s ease-in-out infinite}.name-shards i:nth-child(1){left:2%;top:0}.name-shards i:nth-child(2){left:27%;bottom:0;animation-delay:-2s;width:14px}.name-shards i:nth-child(3){left:68%;top:1px;animation-delay:-4s}.name-shards i:nth-child(4){right:0;bottom:3px;animation-delay:-1s}.name-shards i:nth-child(5){left:47%;top:0;animation-delay:-3s;width:5px}.anonymous-control{border:1px solid #414141;border-radius:12px;background:#1b1b1b;padding:18px;margin:0 0 24px}.anonymous-control p{font-size:12px!important;color:#aaa;line-height:1.8!important;margin:10px 0 0}#accountPanel .anonymous-toggle,#profileAdmin .anonymous-toggle{display:flex;align-items:center;gap:12px;margin:0 0 12px;font-size:13px}#accountPanel .anonymous-toggle input,#profileAdmin .anonymous-toggle input{width:20px;height:20px;min-height:0;flex:0 0 20px;margin:0;padding:0;accent-color:#ddd}.notice-field-heading{font-size:18px;line-height:1.6;overflow-wrap:anywhere;margin:0 0 20px}.notice-field-heading span{font-size:13px;color:#aaa}.notice-field-value{border:1px solid #393939;border-radius:10px;padding:18px;min-width:0}.notice-field-value p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8;font-size:14px;color:#ddd}.notice-field-value>.review-photo{display:block;width:112px;height:112px;object-fit:cover;border-radius:14px;margin-top:16px}.notice-field-value>.member-banner{margin:14px 0 0}@keyframes cryptic-sheen{0%,100%{background-position:0% 50%}50%{background-position:100% 50%}}@keyframes shard-drift{0%,100%{transform:translate(0,0) rotate(-12deg);opacity:.2}50%{transform:translate(3px,-2px) rotate(8deg);opacity:.6}}@media(prefers-reduced-motion:reduce){.cryptic-name-text,.name-shards i{animation:none}}@media(max-width:600px){.notice-field-value{padding:14px}.cryptic-name{font-size:.72em;letter-spacing:.025em}}
/* Metallic display names and custom finishes. */
.metallic-name,.cryptic-name-text{background:linear-gradient(110deg,var(--metal-color,#b8c0cc) 8%,var(--metal-mid,#dae0e7) 29%,#fff 42%,var(--metal-color,#b8c0cc) 54%,var(--metal-mid,#dae0e7) 74%,var(--metal-color,#b8c0cc) 92%);background-size:240% 100%;background-clip:text;-webkit-background-clip:text;color:transparent;animation:cryptic-sheen 8s ease-in-out infinite;overflow-wrap:anywhere}.metallic-name{display:inline;line-height:inherit;font-weight:inherit}.cryptic-name .name-shards i{background:var(--metal-mid,#c5cbd4)}.name-color-picker{padding:24px 0;margin:4px 0 24px;border-top:1px solid #3a3a3a;border-bottom:1px solid #3a3a3a;min-width:0}.name-color-heading h4{margin:0;font-size:20px;color:#eee}.name-color-heading p{font-size:12px!important;margin:8px 0 18px;color:#aaa}.name-color-preview{padding:24px 16px;border:1px solid #3a3a3a;background:#121212;border-radius:12px;font-size:25px;font-weight:600;overflow-wrap:anywhere;margin-bottom:18px;line-height:1.5}.name-color-presets{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
#accountPanel .name-color-presets button,#profileAdmin .name-color-presets button{display:flex;flex-direction:column;align-items:center;gap:7px;margin:0;padding:12px 4px;min-width:0;min-height:60px;background:#1b1b1b;border:1px solid #414141;border-radius:9px;color:#ccc;font-size:10px}.name-color-presets i{width:20px;height:20px;border-radius:50%;background:linear-gradient(135deg,var(--swatch),#f1f1f1 45%,var(--swatch) 65%);border:1px solid #ffffff55}#accountPanel .name-color-presets button[aria-pressed=true],#profileAdmin .name-color-presets button[aria-pressed=true]{border-color:#ddd;background:#2a2a2a;color:#fff}#accountPanel .name-custom-color,#profileAdmin .name-custom-color{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:20px 0 10px;font-size:12px}#accountPanel .name-custom-color input,#profileAdmin .name-custom-color input{width:48px;height:40px;min-height:40px;padding:3px;margin:0;cursor:pointer;flex:none}.name-color-code{font:11px ui-monospace,monospace;color:#aaa}@media(max-width:400px){.name-color-presets{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(prefers-reduced-motion:reduce){.metallic-name,.cryptic-name-text{animation:none}}
.frame-collection-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:28px 0 14px}.frame-collection-heading h4{margin:0;font-size:18px;color:#eee}.frame-collection-heading span{font-size:10px;color:#999}.effect-collection-heading{border-top:1px solid #414141;padding-top:26px;margin-top:32px}.effect-options button{background:linear-gradient(145deg,#242424,#141414)!important}
/* The entry page remains visible until the server validates the session. */
body.auth-gated header nav,body.auth-gated header .account-nav,body.auth-gated footer,body.auth-gated .back-to-top,body.auth-gated main>section:not(#account),body.auth-gated #account>.page-back-nav,body.auth-gated #account>.section-heading,body.auth-gated #memberApprovals,body.auth-gated #profileAdmin{display:none!important}
body.auth-gated #account{display:block!important;min-height:calc(100svh - 100px);padding:48px 24px 64px;background:radial-gradient(ellipse at 30% 20%,#202020 0%,#0b0b0b 65%)}
body.auth-gated header{justify-content:center;background:#0b0b0b;border-bottom:1px solid #242424}body.auth-gated #accountPanel{max-width:1040px}
#accountPanel .auth-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr);max-width:1040px;gap:0;border:1px solid #363636;border-radius:22px;overflow:hidden;background:#131313;box-shadow:0 30px 90px #0005}
#accountPanel .auth-layout>div,#accountPanel .auth-layout>form{border:0;border-radius:0;padding:36px;background:transparent}#accountPanel .auth-layout>.auth-introduction{display:flex;flex-direction:column;justify-content:center;text-align:center;background:radial-gradient(ellipse at 50% 35%,#2a2a2a,#141414 70%);container-type:inline-size}#accountPanel .auth-layout>form{border-left:1px solid #323232;align-self:stretch;display:flex;flex-direction:column;justify-content:center}.auth-art{position:relative;height:240px;display:grid;place-items:center;margin-bottom:20px}.auth-ethereum{height:220px;width:150px;position:relative;filter:drop-shadow(0 14px 20px #0008);animation:auth-eth-float 8s ease-in-out infinite}.auth-orbit{position:absolute;width:210px;height:210px;border:1px solid #ffffff16;border-radius:50%;transform:rotateX(65deg);box-shadow:0 0 45px #ffffff05}#accountPanel .auth-form-intro{padding-bottom:24px;margin-bottom:20px;border-bottom:1px solid #353535}#accountPanel .auth-form-intro p{font-size:13px;line-height:1.8;margin:12px 0 0;color:#aaa}#accountPanel .auth-layout .auth-switch{display:grid;grid-template-columns:1fr 1fr;gap:8px}#accountPanel .auth-layout .auth-switch button:last-child{grid-column:1/-1}#accountPanel .auth-layout input:focus{outline:1px solid #ccc;outline-offset:3px}.auth-layout .eyebrow{font-size:10px;letter-spacing:.16em}@keyframes auth-eth-float{0%,100%{transform:translateY(3px) rotate(-3deg)}50%{transform:translateY(-9px) rotate(3deg)}}
@media(max-width:760px){body.auth-gated #account{padding:24px 16px 40px}#accountPanel .auth-layout{grid-template-columns:minmax(0,1fr);max-width:520px;border-radius:16px}#accountPanel .auth-layout>.auth-introduction{padding:22px 20px 26px}#accountPanel .auth-layout>form{padding:24px 20px;border-left:0;border-top:1px solid #323232}.auth-art{height:150px;margin-bottom:12px}.auth-ethereum{height:142px;width:96px}.auth-orbit{width:145px;height:145px}#accountPanel .auth-layout h3{font-size:26px}.frame-collection-heading{align-items:flex-start;flex-direction:column;gap:5px}}
@media(prefers-reduced-motion:reduce){.auth-ethereum{animation:none}}
.session-reconnect{max-width:560px;margin:40px auto;padding:36px;border:1px solid #3a3a3a;border-radius:18px;background:#161616;text-align:center}.session-reconnect h3{font-size:26px;line-height:1.4}.session-reconnect p{font-size:14px;line-height:1.8;color:#aaa;margin:18px 0 24px}.session-reconnect button{background:#ddd;color:#111;border:0;border-radius:8px;min-height:46px;padding:12px 24px}
/* Refined account entry: black glass, silver geometry, quiet motion. */
body.auth-gated{background:#050505}body.auth-gated header{background:#050505;border-bottom:1px solid #ffffff0d;padding-top:22px;padding-bottom:22px}body.auth-gated #account{position:relative;isolation:isolate;background:#050505;padding:56px 28px 72px}body.auth-gated #account:before{content:'';position:absolute;inset:0;z-index:-1;background:radial-gradient(ellipse at 22% 32%,#ffffff08,transparent 55%),linear-gradient(90deg,#ffffff05 1px,transparent 1px);background-size:auto,110px 100%;pointer-events:none}
#accountPanel .auth-layout{position:relative;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);max-width:1000px;border:1px solid #303030;border-radius:24px;background:#090909;box-shadow:0 28px 100px #0009,0 1px 0 #ffffff0b inset;animation:auth-arrive .65s ease-out both}
#accountPanel .auth-layout:before{content:'';position:absolute;top:0;left:12%;right:12%;height:1px;background:linear-gradient(90deg,transparent,#9998,transparent);pointer-events:none}
#accountPanel .auth-layout>.auth-introduction{padding:40px 28px;background:radial-gradient(ellipse at 50% 38%,#232323 0%,#101010 43%,#080808 77%);position:relative;overflow:hidden}
#accountPanel .auth-layout>form{padding:42px 40px;background:linear-gradient(155deg,#111,#090909 65%);border-left:1px solid #292929}
#accountPanel .auth-layout .auth-introduction>h3{font-size:clamp(27px,3vw,36px);letter-spacing:-1.5px;margin:16px 0;color:#f1f1f1;font-weight:500}.auth-introduction>.eyebrow{color:#aaa}.auth-art{height:290px;perspective:700px;margin-bottom:24px}.auth-ethereum{height:265px;width:180px;animation:auth-eth-sway 10s ease-in-out infinite;filter:drop-shadow(0 28px 20px #000b)}.auth-orbit{width:255px;height:255px;border-color:#ffffff20;transform:rotateX(68deg) rotateZ(-15deg);animation:auth-orbit-breathe 9s ease-in-out infinite}.auth-orbit-secondary{width:290px;height:290px;transform:rotateX(68deg) rotateZ(22deg);border-style:dashed;border-color:#ffffff0e;animation-delay:-4s}.auth-spark{position:absolute;width:3px;height:3px;border-radius:50%;background:#e2e2e2;box-shadow:0 0 10px #ffffff88;animation:auth-spark-drift 7s ease-in-out infinite}.spark-one{left:25%;top:24%}.spark-two{right:20%;top:60%;animation-delay:-2s}.spark-three{left:32%;bottom:11%;animation-delay:-4s}
#accountPanel .auth-layout .auth-mode-tabs{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:4px;border:1px solid #2f2f2f;border-radius:12px;background:#070707;margin-bottom:30px}#accountPanel .auth-mode-tabs button{border:0;background:transparent;border-radius:8px;margin:0;padding:11px 8px;min-height:44px;font-size:12px;color:#888;transition:background .2s,color .2s}#accountPanel .auth-mode-tabs button[aria-pressed=true]{background:#252525;color:#f2f2f2;box-shadow:0 1px 5px #0005}
#accountPanel .auth-layout .auth-form-intro{border:0;padding:0;margin:0 0 28px}#accountPanel .auth-form-intro h2{font-size:clamp(25px,3vw,32px);font-weight:500;letter-spacing:-1px;line-height:1.2;margin:12px 0 10px;color:#eee}#accountPanel .auth-form-intro .eyebrow{font-size:9px;color:#777}#accountPanel .auth-form-intro p{font-size:12px;margin:0;color:#949494;line-height:1.8}#accountPanel .auth-layout label{font-size:12px;color:#c9c9c9;margin-bottom:20px}#accountPanel .auth-layout input{background:#0c0c0c;border:1px solid #353535;border-radius:10px;min-height:50px;padding:14px 16px;transition:border-color .2s,box-shadow .2s}#accountPanel .auth-layout input::placeholder{color:#626262}#accountPanel .auth-layout input:focus{border-color:#999;outline:0;box-shadow:0 0 0 3px #ffffff0c}
.auth-password-field{display:block;position:relative;margin-top:8px}#accountPanel .auth-password-field input{padding-right:52px;margin-top:0}#accountPanel .auth-layout .auth-password-toggle{position:absolute;right:4px;top:3px;display:grid;place-items:center;width:44px;height:44px;min-height:44px;padding:0;margin:0;border:0;background:transparent;color:#999}.auth-password-toggle svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.5}#accountPanel .auth-layout .button{position:relative;min-height:50px;border-radius:10px;background:linear-gradient(110deg,#ccc,#f8f8f8 50%,#ccc);background-size:200% 100%;color:#111;font-size:13px;margin-top:8px;transition:background-position .5s,transform .2s;box-shadow:0 4px 20px #ffffff08}#accountPanel .auth-layout .button:hover{background-position:100% 50%;transform:translateY(-1px)}#accountPanel .auth-layout button:focus-visible{outline:2px solid #bbb;outline-offset:3px}#accountPanel .auth-layout button:disabled{opacity:.5;cursor:wait;transform:none}
#accountPanel .auth-layout .auth-switch{display:flex;justify-content:center;border:0;margin:10px 0 0;padding:0}#accountPanel .auth-layout .auth-switch button{border:0;color:#a3a3a3;font-size:12px!important;min-height:44px;margin:0}.auth-stay-note{display:flex;justify-content:center;align-items:center;gap:8px;font-size:10px;color:#707070;margin-top:18px;padding-top:20px;border-top:1px solid #262626}#accountPanel #authStatus:empty{display:none}#accountPanel #authStatus{font-size:12px;line-height:1.7;margin:16px 0 0;overflow-wrap:anywhere}
@keyframes auth-arrive{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}@keyframes auth-eth-sway{0%,100%{transform:translateY(3px) rotateY(-10deg) rotateZ(-2deg)}50%{transform:translateY(-10px) rotateY(10deg) rotateZ(2deg)}}@keyframes auth-orbit-breathe{0%,100%{opacity:.35}50%{opacity:.9}}@keyframes auth-spark-drift{0%,100%{opacity:.2;transform:translateY(0)}50%{opacity:.8;transform:translateY(-8px)}}
@media(max-width:760px){body.auth-gated header{padding:18px 20px}body.auth-gated #account{padding:24px 14px 40px}#accountPanel .auth-layout{grid-template-columns:minmax(0,1fr);max-width:500px;border-radius:20px}#accountPanel .auth-layout>.auth-introduction{padding:24px 22px 26px}#accountPanel .auth-layout>form{padding:28px 22px;border-left:0;border-top:1px solid #292929}.auth-art{height:162px;margin-bottom:16px}.auth-ethereum{height:155px;width:106px}.auth-orbit{width:165px;height:165px}.auth-orbit-secondary{width:185px;height:185px}#accountPanel .auth-layout .auth-introduction>h3{font-size:27px;margin:10px 0 12px}#accountPanel .auth-layout .auth-mode-tabs{margin-bottom:24px}#accountPanel .auth-form-intro h2{font-size:27px}#accountPanel .auth-layout .auth-form-intro{margin-bottom:24px}}
@media(prefers-reduced-motion:reduce){#accountPanel .auth-layout,.auth-ethereum,.auth-orbit,.auth-spark{animation:none}#accountPanel .auth-layout .button{transition:none}}
#memberApprovals .approval-email-status{font-size:11px;line-height:1.8;color:#a5a5a5;padding:12px 16px;border:1px solid #343434;border-radius:8px;background:#111;overflow-wrap:anywhere;margin:20px 0}
/* Center the eye control against the input's actual height at every breakpoint. */
#accountPanel #authForm .auth-password-field{position:relative;display:block}
#accountPanel #authForm .auth-password-field input{display:block;margin:0;padding-right:56px}
#accountPanel #authForm .auth-password-toggle{position:absolute;top:50%;right:5px;bottom:auto;left:auto;transform:translateY(-50%);display:grid;place-items:center;width:44px;height:44px;min-width:44px;min-height:44px;margin:0;padding:0;border:0;line-height:1;box-sizing:border-box}
#accountPanel #authForm .auth-password-toggle svg{display:block;width:20px;height:20px;margin:0;flex:none;transform:none}
/* Centered charcoal-silver homepage title. */
.hero{display:flex;flex-direction:column;align-items:center;min-height:calc(100svh - 90px);height:auto;overflow:hidden;padding:32px clamp(20px,5vw,80px)}
.hero .hero-top{width:100%;flex:0 0 auto}.hero .hero-copy{position:relative;inset:auto;transform:none;flex:0 0 auto;width:100%;max-width:100%;margin:58px auto 16px;text-align:center;z-index:2}
.hero .academy-title{display:flex;justify-content:center;align-items:baseline;flex-wrap:wrap;gap:0 .22em;width:100%;max-width:100%;margin:0 auto;text-align:center;font-size:clamp(58px,7.8vw,112px);font-weight:500;line-height:1.08;letter-spacing:-.065em;color:#969696}
.hero .academy-title span{display:block;width:auto;text-align:center;white-space:nowrap;overflow-wrap:normal;background:linear-gradient(155deg,#b0b0b0 8%,#868686 52%,#707070 100%);background-clip:text;-webkit-background-clip:text;color:transparent}
.hero .sculpture{position:relative;inset:auto;right:auto;top:auto;transform:none;display:grid;place-items:center;flex:0 0 auto;align-self:center;width:min(100%,380px);max-width:380px;height:340px;min-height:0;margin:20px auto 40px;opacity:1}
.hero .eth-sculpt{display:block;width:auto;max-width:80%;height:90%;overflow:visible}.hero .hero-bottom{width:100%;margin-top:auto;flex:0 0 auto}
@media(max-width:700px){.hero{padding:26px 18px;min-height:calc(100svh - 100px)}.hero .hero-copy{margin:40px auto 8px;max-width:100%;width:100%}.hero .academy-title{display:block;font-size:clamp(48px,13vw,78px);line-height:1.1;letter-spacing:-.055em;margin:0 auto}.hero .academy-title span{width:100%}.hero .sculpture{width:min(100%,320px);height:clamp(250px,72vw,320px);margin:20px auto 32px}.hero .hero-bottom{margin-top:auto}}
/* Explicit geometry avoids percentage-height SVG collapse in mobile layouts. */
.hero>.sculpture{--eth-size:200px;position:relative;inset:auto;top:auto;right:auto;bottom:auto;left:auto;display:flex;align-items:center;justify-content:center;flex:0 0 auto;align-self:center;width:min(100%,400px);max-width:400px;height:360px;min-height:360px;margin:20px auto 32px;overflow:visible;opacity:1;transform:none;isolation:isolate}
.hero>.sculpture>.eth-sculpt{position:relative;inset:auto;display:block;flex:0 0 auto;width:var(--eth-size);height:calc(var(--eth-size) * 1.55);max-width:none;max-height:none;margin:0;opacity:1;visibility:visible;overflow:visible;z-index:2;animation:homepage-ethereum-float 8s ease-in-out infinite;transform-origin:50% 50%}
.hero>.sculpture>.orbit{position:absolute;left:50%;top:50%;right:auto;bottom:auto;width:88%;height:32%;margin:0;transform:translate(-50%,-50%) rotate(-28deg);z-index:0;pointer-events:none}.hero>.sculpture>.orbit-two{width:94%;height:34%;transform:translate(-50%,-50%) rotate(28deg)}
.hero .hero-bottom{justify-content:flex-end}
@keyframes homepage-ethereum-float{0%,100%{transform:translateY(5px) rotate(-3deg)}50%{transform:translateY(-7px) rotate(3deg)}}
@media(max-width:700px){.hero>.sculpture{--eth-size:clamp(140px,46vw,180px);width:min(100%,340px);height:310px;min-height:310px;margin:18px auto 28px}.hero .hero-bottom{align-items:flex-end}}
@media(max-width:360px){.hero>.sculpture{--eth-size:140px;height:270px;min-height:270px;margin:16px auto 24px}}
@media(prefers-reduced-motion:reduce){.hero>.sculpture>.eth-sculpt{animation:none;transform:none}}
/* A single centered emblem over the quieter academy wordmark. */
.hero{min-height:calc(100svh - 90px);padding:28px clamp(18px,5vw,80px) 40px;border-bottom:0}
.hero .hero-centerpiece{display:flex;flex:1 0 auto;flex-direction:column;align-items:center;justify-content:center;width:100%;padding:28px 0 44px;gap:12px;position:relative;z-index:1}
.hero .hero-centerpiece>.sculpture{--eth-size:180px;position:relative;inset:auto;display:flex;align-items:center;justify-content:center;flex:0 0 auto;align-self:center;width:min(100%,360px);max-width:360px;height:310px;min-height:310px;margin:0;transform:none;overflow:visible;opacity:1;isolation:isolate}
.hero .hero-centerpiece>.sculpture>.eth-sculpt{display:block;position:relative;inset:auto;flex:none;width:var(--eth-size);height:calc(var(--eth-size) * 1.55);max-width:none;max-height:none;margin:0;visibility:visible;opacity:1;overflow:visible;animation:homepage-ethereum-float 8s ease-in-out infinite}
.hero .hero-centerpiece>.hero-copy{width:100%;max-width:100%;margin:0;padding:0;text-align:center;flex:none}
.hero .hero-centerpiece .academy-title{display:flex;justify-content:center;align-items:baseline;flex-wrap:nowrap;gap:.22em;width:100%;margin:0;font-size:clamp(34px,4.2vw,54px);line-height:1.25;font-weight:400;letter-spacing:-.045em;text-align:center}
.hero .hero-centerpiece .academy-title span{display:inline-block;width:auto;white-space:nowrap;background:linear-gradient(155deg,#a2a2a2,#858585 52%,#707070);background-clip:text;-webkit-background-clip:text;color:transparent}
@media(max-width:700px){.hero{min-height:calc(100svh - 100px);padding:24px 18px 36px}.hero .hero-centerpiece{padding:26px 0 40px;gap:10px}.hero .hero-centerpiece>.sculpture{--eth-size:clamp(130px,40vw,165px);width:min(100%,300px);height:280px;min-height:280px}.hero .hero-centerpiece .academy-title{font-size:clamp(28px,8vw,40px);letter-spacing:-.04em;line-height:1.3}}
@media(max-width:360px){.hero .hero-centerpiece>.sculpture{--eth-size:130px;height:250px;min-height:250px}.hero .hero-centerpiece .academy-title{font-size:28px}}
@media(prefers-reduced-motion:reduce){.hero .hero-centerpiece>.sculpture>.eth-sculpt{animation:none;transform:none}}
/* Logo-only homepage: restrained light and continuous motion. */
.hero{background:#080808;min-height:calc(100svh - 90px);padding:24px 18px;border:0;isolation:isolate}.hero>.hero-grid{opacity:.16;pointer-events:none}.hero:after{content:'';position:absolute;inset:0;z-index:0;pointer-events:none;background:radial-gradient(ellipse at 50% 48%,#ffffff06,transparent 52%)}
.hero .hero-centerpiece{padding:32px 0;min-height:480px;gap:0;perspective:1000px}.hero .hero-centerpiece>.sculpture{--eth-size:210px;width:min(100%,420px);max-width:420px;height:400px;min-height:400px;perspective:1000px}.hero .hero-centerpiece>.sculpture:before{content:'';position:absolute;inset:10% -5%;border-radius:50%;background:radial-gradient(ellipse,#ffffff08,transparent 65%);filter:blur(22px);animation:ethereum-aura 10s ease-in-out infinite;pointer-events:none;z-index:-1}.hero .hero-centerpiece>.sculpture>.eth-sculpt{animation:ethereum-centered-drift 10s cubic-bezier(.45,0,.55,1) infinite;filter:drop-shadow(0 20px 30px #ffffff0b);will-change:transform;transform-origin:center}
@keyframes ethereum-centered-drift{0%,100%{transform:translateY(7px) rotateY(-11deg) rotateZ(-2deg)}50%{transform:translateY(-9px) rotateY(11deg) rotateZ(2deg)}}@keyframes ethereum-aura{0%,100%{opacity:.35;transform:scale(.92)}50%{opacity:.8;transform:scale(1.08)}}
@media(max-width:700px){.hero{min-height:calc(100svh - 100px);padding:20px 18px}.hero .hero-centerpiece{min-height:400px;padding:28px 0}.hero .hero-centerpiece>.sculpture{--eth-size:clamp(155px,48vw,190px);width:min(100%,340px);height:340px;min-height:340px}}
@media(max-height:600px) and (min-width:701px){.hero .hero-centerpiece{min-height:340px;padding:12px 0}.hero .hero-centerpiece>.sculpture{--eth-size:165px;height:300px;min-height:300px}}
@media(prefers-reduced-motion:reduce){.hero .hero-centerpiece>.sculpture>.eth-sculpt,.hero .hero-centerpiece>.sculpture:before{animation:none;transform:none;will-change:auto}}
/* Decorative rising chart, faded into the continuous site canvas. */
.hero{background:#0e0e0e}.hero-profit-chart{position:absolute;inset:13% 0 5%;z-index:0;pointer-events:none;overflow:hidden;mask-image:linear-gradient(90deg,transparent,#000 9%,#000 91%,transparent);-webkit-mask-image:linear-gradient(90deg,transparent,#000 9%,#000 91%,transparent)}.hero-profit-chart>svg{display:block;width:100%;height:100%;overflow:visible}.hero-profit-chart path{vector-effect:non-scaling-stroke}.profit-grid{fill:none;stroke:#ffffff07;stroke-width:1}.profit-area{fill:url(#heroChartArea);stroke:none}.profit-line{fill:none;stroke:#c4c4c4;stroke-opacity:.4;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:1;animation:profit-trace 2.8s ease-out both}.profit-shadow{fill:none;stroke:#fff;stroke-opacity:.025;stroke-width:8;stroke-linejoin:round}.profit-mobile{display:none}
.hero:after{background:radial-gradient(ellipse at 50% 45%,#0e0e0eaa 0%,#0e0e0e22 30%,transparent 60%),linear-gradient(0deg,#0e0e0e 0%,transparent 25%);z-index:1}.hero .hero-centerpiece{z-index:2}.hero .hero-centerpiece>.sculpture{margin:0 auto}.hero .hero-centerpiece>.sculpture:before{background:radial-gradient(ellipse,#ffffff06,transparent 65%)}
@keyframes profit-trace{from{stroke-dashoffset:1;opacity:0}to{stroke-dashoffset:0;opacity:1}}
@media(max-width:700px){.hero-profit-chart{inset:17% 0 9%;mask-image:linear-gradient(90deg,transparent,#000 5%,#000 95%,transparent);-webkit-mask-image:linear-gradient(90deg,transparent,#000 5%,#000 95%,transparent)}.profit-desktop{display:none}.profit-mobile{display:block}.profit-line{stroke-width:1.2;stroke-opacity:.34}.profit-grid{stroke-opacity:.6}}
@media(prefers-reduced-motion:reduce){.profit-line{animation:none;stroke-dashoffset:0}}

/* Animated frame finishes */
.tinted-frame{background:linear-gradient(135deg,#fff 0%,var(--frame-color) 24%,var(--frame-color) 65%,#fff 84%,var(--frame-color));-webkit-mask:var(--frame-motion) center/contain no-repeat;mask:var(--frame-motion) center/contain no-repeat;pointer-events:none}.frame-tint-controls{display:flex;align-items:center;flex-wrap:wrap;gap:14px;padding:18px 0 24px;color:#aaa}.frame-tint-controls label{display:flex;align-items:center;gap:12px;color:#eee}.frame-tint-controls input{width:48px;height:40px;padding:3px;border:1px solid #444;background:#111;border-radius:8px}.frame-tint-controls button{padding:10px 16px;border:1px solid #444;border-radius:8px;background:#161616;color:#ddd}.frame-tint-controls span{font-size:12px}@media(prefers-reduced-motion:reduce){.tinted-frame{-webkit-mask-image:var(--frame-still);mask-image:var(--frame-still)}}
/* Sentence boundaries remain deliberate at every viewport size. */
.section-heading h2,.risk-grid h2,.sources h2{line-height:1.16;word-break:normal;overflow-wrap:normal;text-wrap:balance;max-width:100%}
.heading-line{display:block;white-space:normal;word-break:normal;overflow-wrap:normal}
.heading-line+.heading-line{margin-top:.08em}
.section-heading>div{min-width:0;max-width:100%}
@media(max-width:700px){.section-heading h2,.risk-grid h2,.sources h2{font-size:clamp(27px,7.2vw,42px);letter-spacing:-.035em;line-height:1.19}.section-heading>p{white-space:normal;word-break:normal;text-wrap:pretty}.section-heading{gap:22px}}
/* A tighter rhythm between homepage sections. */
:is(#academy,#network,#lab,#simulator,#strategies,#glossary,#sources).section{padding-top:58px;padding-bottom:58px}
:is(#academy,#network,#lab,#simulator,#strategies,#glossary,#sources)>.section-heading{margin-bottom:32px}
:is(#academy,#network,#lab,#simulator,#strategies,#glossary)>.page-back-nav{margin-bottom:24px}
.manifesto{padding-top:42px;padding-bottom:42px}
@media(max-width:700px){:is(#academy,#network,#lab,#simulator,#strategies,#glossary,#sources).section{padding-top:34px;padding-bottom:34px}:is(#academy,#network,#lab,#simulator,#strategies,#glossary,#sources)>.section-heading{margin-bottom:24px}:is(#academy,#network,#lab,#simulator,#strategies,#glossary)>.page-back-nav{margin-bottom:20px}.manifesto{padding-top:28px;padding-bottom:28px}}
.ranking-tabs{display:flex;gap:6px;padding:5px;margin:0 0 26px;width:fit-content;max-width:100%;border:1px solid #333;border-radius:12px;background:#101010}.ranking-tabs button{min-height:44px;padding:12px 22px;border:0;border-radius:8px;background:transparent;color:#999;font:inherit;font-size:13px}.ranking-tabs button[aria-selected=true]{background:#e5e5e5;color:#101010}.ranking-tabs button:focus-visible{outline:2px solid white;outline-offset:3px}.invite-ranking-note{color:#999;font-size:13px;line-height:1.7;margin-bottom:26px}.invite-score-label{display:block;font-size:11px;color:#aaa;margin-top:7px}.personal-invite{border:1px solid #333;border-radius:16px;background:linear-gradient(140deg,#1b1b1b,#101010);padding:24px;margin-bottom:32px}.personal-invite h4{font-size:24px;margin:12px 0 20px;font-weight:400}.personal-invite p{font-size:12px;line-height:1.7;color:#aaa}.invite-link-row{display:flex;gap:10px;min-width:0}.invite-link-row input{width:0;flex:1;min-width:0;font-size:12px!important;border:1px solid #3b3b3b!important;border-radius:8px;padding:12px!important;color:#ccc!important;background:#101010!important}.invite-link-row button,.personal-invite>button{flex-shrink:0;border:1px solid #666;background:#e5e5e5;color:#111;border-radius:8px;padding:12px 16px;min-height:44px}.invite-stats{display:flex;flex-wrap:wrap;gap:18px;margin:20px 0;color:#aaa;font-size:12px}.invite-stats b{display:block;color:#eee;font-size:26px;font-weight:400;margin-bottom:4px}.personal-invite a{font-size:12px;color:#ddd}.invite-copy-status:empty{display:none}@media(max-width:600px){.personal-invite{padding:18px}.ranking-tabs{width:100%}.ranking-tabs button{flex:1;padding:12px 8px}.invite-link-row{flex-wrap:wrap}.invite-link-row input{flex-basis:100%;width:100%}.invite-link-row button{width:100%}.invite-stats{gap:14px}.rank-score .invite-score-label{max-width:76px;line-height:1.5}}
/* Five frame collections share one aligned category row. */
.frame-picker .frame-categories{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;width:100%;margin:12px 0 20px;align-items:stretch}
.frame-picker .frame-categories button{display:flex;align-items:center;justify-content:center;min-width:0;min-height:46px;padding:10px 4px;font-size:11px;line-height:1.3;white-space:nowrap;border-radius:8px}
@media(max-width:600px){.frame-picker .frame-categories{grid-template-columns:repeat(5,minmax(100px,1fr));overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#555 #171717;padding-bottom:8px;scroll-snap-type:x proximity}.frame-picker .frame-categories button{scroll-snap-align:start;font-size:12px}}
/* Invitation context is exclusive to account creation. */
.signup-invite-card{position:relative;overflow:hidden;border:1px solid #383838;border-radius:14px;margin:0 0 24px;background:#111;color:#aaa;font-size:13px;line-height:1.6;min-width:0}.signup-invite-card[hidden]{display:none!important}.signup-invite-card .signup-invite-banner{width:100%;height:110px;aspect-ratio:auto;margin:0;border-radius:0;border-bottom:1px solid #292929}.signup-invite-banner img{width:100%;height:100%;object-fit:cover}.signup-invite-details{display:flex;align-items:center;gap:16px;padding:18px;min-width:0}.signup-invite-details>div{min-width:0}.signup-invite-details .signup-invite-avatar{width:76px;height:76px;flex:0 0 76px;margin:0}.signup-invite-details .eyebrow{font-size:9px;letter-spacing:1.5px;color:#999}.signup-invite-name{font-size:20px;line-height:1.5;overflow-wrap:anywhere;margin-top:5px}.signup-invite-details p{font-size:12px!important;line-height:1.6!important;margin:6px 0 0!important;color:#999}.signup-invite-card:not(:has(.signup-invite-details)){padding:18px}@media(max-width:600px){.signup-invite-card .signup-invite-banner{height:94px}.signup-invite-details{gap:12px;padding:14px}.signup-invite-details .signup-invite-avatar{width:64px;height:64px;flex-basis:64px}.signup-invite-name{font-size:18px}}
/* Hide the wordmark for every account-creation entry point, including invites. */
body:has(#authForm [data-auth="signup"][aria-pressed="true"]) header .brand{display:none!important}
/* Account creation starts directly with its content, without a header band. */
body:has(#authForm [data-auth="signup"][aria-pressed="true"])>header{display:none!important}
body.auth-gated:has(#authForm [data-auth="signup"][aria-pressed="true"]) #account{min-height:100svh;padding-top:32px}
@media(max-width:760px){body.auth-gated:has(#authForm [data-auth="signup"][aria-pressed="true"]) #account{padding-top:max(16px,env(safe-area-inset-top))}}
/* Use the same uninterrupted layout for sign-in and sign-up. */
body:has(#authForm [data-auth="login"][aria-pressed="true"])>header{display:none!important}
body.auth-gated:has(#authForm [data-auth="login"][aria-pressed="true"]) #account{min-height:100svh;padding-top:32px}
@media(max-width:760px){body.auth-gated:has(#authForm [data-auth="login"][aria-pressed="true"]) #account{padding-top:max(16px,env(safe-area-inset-top))}}
#approvals{background:#0e0e0e;color:#eee;min-height:70svh}#approvals #memberApprovals{margin:0 auto;max-width:1120px}.owner-review-link{margin:0 0 24px}.owner-review-link .button{margin:0;display:inline-flex;gap:24px;border-radius:10px;min-height:46px;padding:14px 20px}
/* Friends: private requests, shared connections. */
#friends{background:#0e0e0e;color:#eee;min-height:75svh}.friends-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.friend-card{overflow:hidden;border:1px solid #333;border-radius:16px;background:#151515;min-width:0}.friend-card .friend-banner{height:110px;width:100%;margin:0;border-radius:0}.friend-card-content{padding:18px}.friend-identity{display:flex;align-items:center;gap:14px;min-width:0}.friend-identity>div{min-width:0;overflow-wrap:anywhere;display:flex;align-items:center;flex-wrap:wrap;gap:6px;font-size:18px}.friend-identity .friend-avatar{width:66px;height:66px;flex:0 0 66px}.friend-actions{display:flex;flex-wrap:wrap;gap:8px}.friend-actions button{min-height:44px;padding:11px 16px;border:1px solid #555;border-radius:9px;background:#202020;color:#eee;font-size:12px}.friend-actions button[data-friend-action=accept],.friend-actions button[data-friend-action=request]{background:#e7e7e7;color:#111;border-color:#e7e7e7}.friend-actions button:disabled{opacity:.5;cursor:wait}.friend-actions button:focus-visible{outline:2px solid white;outline-offset:3px}.friend-mutual-count,#friendsStatus,.friend-action-status{font-size:12px;color:#aaa;line-height:1.7;margin:16px 0}.friend-action-status:empty{display:none}.profile-friendship{margin:24px 0;padding:20px;border:1px solid #333;border-radius:12px;color:#ccc;font-size:13px}.profile-friendship:empty{display:none}.friendship-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.mutual-friends{margin-top:18px;font-size:12px;color:#aaa}.mutual-list{display:flex;flex-wrap:wrap;gap:12px;margin-top:12px}.mutual-person{display:flex;align-items:center;gap:8px;padding:6px 10px 6px 6px;border:1px solid #333;border-radius:10px;max-width:100%;overflow-wrap:anywhere}.mutual-person .mutual-avatar{width:38px;height:38px;flex:0 0 38px}.friends-tabs button{white-space:nowrap}header .account-nav .friends-link{margin:0;align-self:center}@media(max-width:1000px){.friends-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.friends-grid{grid-template-columns:minmax(0,1fr);gap:16px}.profile-friendship{padding:16px}.friendship-heading{align-items:flex-start;flex-direction:column;gap:12px}.friends-tabs button{font-size:12px;padding:12px 8px}.friend-card-content{padding:16px}header .account-nav{flex-wrap:wrap;row-gap:8px}}
.friend-search-label{display:block;max-width:560px;font-size:12px;color:#aaa;margin-bottom:24px}.friend-search-label input{display:block;width:100%;min-height:48px;margin-top:10px;padding:14px 16px;border:1px solid #3c3c3c;border-radius:10px;background:#161616;color:#eee;font:inherit;font-size:15px}.friend-search-label input:focus{outline:1px solid #bbb;outline-offset:2px}.list-friend-control{position:relative;z-index:2;margin:16px 0 0}.member-card>.list-friend-control{margin:16px 20px 20px}.rank-row>.rank-friend-control{grid-column:2/-1;justify-self:start;margin-top:4px}.friend-connected,.friend-control-retry{display:inline-flex;align-items:center;min-height:44px;padding:10px 16px;border:1px solid #414141;border-radius:9px;background:#181818;color:#bbb;font-size:12px}.list-friend-control[hidden]{display:none!important}.list-friend-control .friend-action-status{margin-bottom:0}@media(max-width:600px){.rank-row>.rank-friend-control{grid-column:2/-1}.friend-search-label{max-width:100%}.member-card>.list-friend-control{margin-left:16px;margin-right:16px}}
/* Friends — restrained typography and balanced cards. */
#friends{max-width:none;padding-top:48px;padding-bottom:64px;font-family:Arial,Helvetica,sans-serif;-webkit-font-smoothing:antialiased}#friends .section-heading{align-items:center;margin-bottom:30px}#friends h2{font-family:inherit;font-size:clamp(36px,5vw,62px);font-weight:400;line-height:1.1;letter-spacing:-.045em}#friends .eyebrow{font-family:inherit;font-size:10px;font-weight:500;letter-spacing:.16em;color:#858585}#friends .section-heading>.outline{margin:0;border:1px solid #393939;border-radius:10px;min-height:44px;padding:13px 18px;font-size:12px;color:#ddd}#friends .friend-search-label{max-width:640px;font-family:inherit;font-size:12px;letter-spacing:.02em;color:#aaa;margin:0 0 24px}#friends .friend-search-label input{font-family:inherit;font-size:15px;font-weight:400;letter-spacing:0;border-radius:12px;background:#141414;min-height:52px;padding:16px 18px}#friends .friends-tabs{width:fit-content;max-width:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;border:1px solid #303030;border-radius:12px;padding:4px;background:#121212}#friends .friends-tabs button{font-family:inherit;font-size:13px;font-weight:400;letter-spacing:0;min-height:44px;padding:12px 24px;white-space:nowrap;color:#929292;border-radius:8px}#friends .friends-tabs button[aria-pressed=true]{color:#111;background:#e9e9e9}#friends .friends-grid{gap:20px;margin-top:20px}#friends .friend-card{background:#141414;border-color:#2b2b2b;border-radius:18px;transition:border-color .2s,transform .2s}#friends .friend-card:hover{border-color:#505050;transform:translateY(-2px)}#friends .friend-banner{height:118px;border-bottom:1px solid #292929}#friends .friend-card-content{padding:22px}#friends .friend-identity>div{font-family:inherit;font-size:19px;font-weight:400;line-height:1.4;letter-spacing:-.025em}#friends .friend-mutual-count{font-family:inherit;font-size:12px;font-weight:400;letter-spacing:0;color:#888;margin:18px 0}#friends .friend-actions button{font-family:inherit;font-size:12px;font-weight:400;letter-spacing:0;border-radius:9px}#friendsStatus{font-family:inherit;font-size:13px;line-height:1.7;color:#999}.permanent-friend{display:inline-flex;align-items:center;gap:8px;min-height:44px;font-family:Arial,Helvetica,sans-serif;font-size:12px;line-height:1.4;color:#aaa;padding:10px 14px;border:1px solid #353535;border-radius:9px;background:#1b1b1b}.permanent-friend svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.4;flex:0 0 15px}.friend-control-retry,#refreshFriends{font-family:inherit;border-radius:10px;font-size:12px}@media(max-width:600px){#friends{padding:28px 18px 44px}#friends .section-heading{align-items:flex-start;gap:18px;flex-direction:column}#friends .friends-tabs{width:100%}#friends .friends-tabs button{font-size:12px;padding:12px 6px}#friends .friend-card-content{padding:18px}#friends .friend-banner{height:108px}#friends .friend-identity>div{font-size:18px}#friends .friend-card:hover{transform:none}}@media(prefers-reduced-motion:reduce){#friends .friend-card{transition:none;transform:none}}
/* Refresh shares the Friends category toolbar. */
#friends .friends-tabs{grid-template-columns:repeat(3,minmax(0,1fr)) 44px;align-items:stretch}#friends .friends-tabs #refreshFriends{display:grid;place-items:center;width:44px;height:44px;min-width:44px;min-height:44px;margin:0;padding:0;border:1px solid #343434;background:#1b1b1b;color:#c8c8c8;border-radius:8px;line-height:1}#friends #refreshFriends svg{display:block;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}#friends .friends-tabs #refreshFriends:hover{background:#292929;color:#fff;border-color:#666}#friends .friends-tabs #refreshFriends:disabled{opacity:.55;cursor:wait}#friends #refreshFriends:disabled svg{animation:friends-refresh-spin 1.2s linear infinite}@keyframes friends-refresh-spin{to{transform:rotate(360deg)}}@media(max-width:600px){#friends .friends-tabs{gap:3px}#friends .friends-tabs [data-friend-tab]{padding:12px 4px;font-size:11px}}@media(prefers-reduced-motion:reduce){#friends #refreshFriends:disabled svg{animation:none}}
#friends .friend-search-label input{margin-top:0}
/* Compact footer across every category; reserve side room for the floating arrow. */
body>footer{height:auto;min-height:0;margin-bottom:0;padding:24px 64px 20px 0;gap:16px;align-items:center}
body>footer>p{margin:0;line-height:1.6}
@media(max-width:700px){body>footer{padding:22px 58px calc(18px + env(safe-area-inset-bottom)) 0;gap:12px}}
.friend-order-tools{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:20px 0}.friend-order-tools[hidden]{display:none!important}.friend-order-tools button{min-height:44px;padding:11px 16px;border:1px solid #414141;border-radius:9px;background:#191919;color:#ddd;font:inherit;font-size:12px}.friend-order-tools span{font-size:12px;color:#888;margin-left:6px}.friend-order-tools #saveFriendOrder{background:#e5e5e5;color:#111}.friend-move-controls{display:flex;align-items:center;gap:8px;margin-top:18px;border-top:1px solid #303030;padding-top:16px}.friend-move-controls span{flex:1;font-size:12px;color:#999}.friend-move-controls button{width:44px;height:44px;border:1px solid #454545;border-radius:9px;background:#222;color:#eee;font-size:20px}.friend-move-controls button:disabled{opacity:.3;cursor:default}.friend-move-controls button:focus-visible{outline:2px solid white;outline-offset:2px}@media(max-width:600px){.friend-order-tools span{flex-basis:100%;margin:4px 0}}
#account>#memberApprovals{margin:0 auto 32px;max-width:1120px;width:100%;box-sizing:border-box}.approval-live-status{font-size:11px;line-height:1.6;color:#858585;margin:14px 0 4px}#memberApprovals .approval-header-actions{align-self:center}@media(max-width:600px){#account>#memberApprovals{padding:20px 16px;margin-bottom:24px}#memberApprovals .approval-live-status{font-size:10px}#memberApprovals .notification-tabs{gap:6px}}
/* Ethereum fracture interaction; drifting shards stay in the outer gutters. */
.hero .sculpture[role=button]{cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;outline-offset:14px;border-radius:24px}.hero .sculpture[role=button]:focus-visible{outline:1px solid #777}.hero .sculpture.is-fracturing{cursor:default}.hero .eth-sculpt{overflow:visible}.ethereum-shard-canvas{position:fixed;inset:0;z-index:35;pointer-events:none;user-select:none}@media(prefers-reduced-motion:reduce){.ethereum-shard-canvas{display:none}}
/* Mobile fracture bounds are calculated against an unrotated SVG viewport. */
@media(max-width:700px){.hero .hero-centerpiece>.sculpture.is-fracturing>.eth-sculpt{animation:none!important;transform:none!important;filter:none;overflow:visible}.hero .hero-centerpiece>.sculpture.is-fracturing{overflow:visible}}
/* Compact daily-history disclosure and readable, bounded history on small screens. */
#lab .candle-record{padding:6px 0 10px;margin-top:12px}#lab .candle-record summary{min-height:44px;align-items:center;line-height:1.5;gap:12px}#lab .candle-record .candle-table-wrap{margin-top:8px}#lab .candle-table-wrap:focus-visible{outline:1px solid #aaa;outline-offset:3px}@media(max-width:700px){#lab .candle-record .candle-table-wrap{max-height:min(65svh,440px);overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;padding-right:4px}#lab .candle-record table tbody{gap:8px}#lab .candle-record table tbody tr{padding:8px 12px}#lab .candle-record table tbody :is(td,th){padding:6px 0;gap:10px;line-height:1.5}}
/* Keep the label, color swatch and reset button on a shared center line. */
:is(#accountPanel,#profileAdmin) .frame-picker .frame-tint-controls{display:grid;grid-template-columns:max-content max-content;align-items:center;justify-content:start;gap:10px 14px;padding:16px 0 20px}
:is(#accountPanel,#profileAdmin) .frame-picker .frame-tint-controls>label{display:inline-flex;align-items:center;justify-content:flex-start;gap:10px;margin:0;padding:0;min-height:44px;font-size:12px;line-height:1;white-space:nowrap}
:is(#accountPanel,#profileAdmin) .frame-picker .frame-tint-controls input[type=color]{display:block;box-sizing:border-box;flex:0 0 44px;width:44px;height:44px;min-height:44px;margin:0;padding:4px;border:1px solid #484848;border-radius:8px;cursor:pointer;background:#191919}
:is(#accountPanel,#profileAdmin) .frame-picker .frame-tint-controls>button{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;height:44px;min-height:44px;margin:0;padding:10px 12px;font:inherit;font-size:12px;line-height:1;white-space:nowrap}
:is(#accountPanel,#profileAdmin) .frame-picker .frame-tint-controls>span{grid-column:1/-1;margin:0;line-height:1.6;font-size:11px;color:#999}
.frame-tint-controls input[type=color]::-webkit-color-swatch-wrapper{padding:0}.frame-tint-controls input[type=color]::-webkit-color-swatch{border:0;border-radius:4px}.frame-tint-controls input[type=color]::-moz-color-swatch{border:0;border-radius:4px}
@media(max-width:380px){:is(#accountPanel,#profileAdmin) .frame-picker .frame-tint-controls{column-gap:8px}:is(#accountPanel,#profileAdmin) .frame-picker .frame-tint-controls>label{gap:8px}:is(#accountPanel,#profileAdmin) .frame-picker .frame-tint-controls input[type=color]{width:36px;flex-basis:36px}:is(#accountPanel,#profileAdmin) .frame-picker .frame-tint-controls>button{padding-left:8px;padding-right:8px}}
/* Every frame category remains visible on narrow screens. */
@media(max-width:600px){.frame-picker .frame-categories{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;overflow:visible;padding-bottom:0;scroll-snap-type:none}.frame-picker .frame-categories button{min-width:0;width:100%;min-height:44px;padding:12px 6px;white-space:normal;font-size:12px;line-height:1.4}.frame-picker .frame-categories button:last-child{grid-column:1/-1}}
/* Nine-frame collection pages with consistent arrow controls. */
:is(#accountPanel,#profileAdmin) .frame-picker .frame-options{grid-template-columns:repeat(3,minmax(0,1fr))}
.frame-pagination{display:flex;align-items:center;justify-content:center;gap:20px;padding:18px 0 4px;margin-top:6px;border-top:1px solid #303030}.frame-pagination>span{min-width:100px;text-align:center;font-size:12px;line-height:1.5;color:#ccc}.frame-pagination small{display:block;font-size:10px;color:#858585;margin-top:3px}
:is(#accountPanel,#profileAdmin) .frame-picker .frame-pagination button{display:grid;place-items:center;width:44px;height:44px;min-height:44px;padding:0;margin:0;border:1px solid #444;border-radius:10px;background:#1a1a1a;color:#ddd}.frame-pagination svg{display:block;width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}:is(#accountPanel,#profileAdmin) .frame-picker .frame-pagination button:disabled{opacity:.28;cursor:default}:is(#accountPanel,#profileAdmin) .frame-picker .frame-pagination button:not(:disabled):hover{background:#2b2b2b;border-color:#888}@media(max-width:380px){.frame-pagination{gap:12px}.frame-pagination>span{font-size:11px}}
#accountPanel .auth-introduction>.auth-instagram{display:inline-flex;align-items:center;justify-content:center;align-self:center;gap:8px;min-height:44px;margin:4px auto 0;padding:8px 12px;border-radius:9px;color:#aaa;font-size:12px;line-height:1.4;letter-spacing:.035em;text-decoration:none;transition:color .2s,background .2s}#accountPanel .auth-instagram>svg{display:block;width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.4;flex:0 0 16px}#accountPanel .auth-instagram .instagram-dot{fill:currentColor;stroke:none}#accountPanel .auth-instagram .auth-social-arrow{font-size:12px;color:#777}#accountPanel .auth-introduction>.auth-instagram:hover{color:#eee;background:#ffffff06}#accountPanel .auth-introduction>.auth-instagram:focus-visible{outline:1px solid #aaa;outline-offset:3px}
:is(#profileAdmin,#fitnessAdmin) .admin-member-picker{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;align-items:end;margin:20px 0 12px}:is(#profileAdmin,#fitnessAdmin) .admin-member-picker>label{margin:0;font-size:12px;line-height:1.5;min-width:0}:is(#profileAdmin,#fitnessAdmin) .admin-member-picker :is(select,input){box-sizing:border-box;width:100%;height:48px;min-height:48px;margin-top:8px;padding:12px 14px;font-size:14px;border-radius:9px}.admin-member-search-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:260px;overflow-y:auto;padding:12px;border:1px solid #393939;border-radius:12px;background:#111}.admin-member-search-results[hidden]{display:none!important}:is(#profileAdmin,#fitnessAdmin) .admin-member-search-results button{text-align:left;min-height:44px;overflow-wrap:anywhere;border-color:#333;background:#1c1c1c;color:#ddd}.admin-search-status{font-size:12px;color:#999;line-height:1.6;margin:10px 0}.admin-search-status:empty{display:none}@media(max-width:600px){:is(#profileAdmin,#fitnessAdmin) .admin-member-picker{grid-template-columns:minmax(0,1fr);gap:14px}.admin-member-search-results{grid-template-columns:minmax(0,1fr)}}

/* Keep the social link close to the account welcome heading at every width. */
#accountPanel .auth-layout .auth-introduction>.auth-instagram+h3{margin-top:2px}

/* Shared loading state: six silver fragments assemble into Ethereum. */
.ethereum-loading{display:flex;align-items:center;justify-content:center;width:100%;min-height:64px;padding:10px;box-sizing:border-box;color:inherit;overflow:hidden}
.ethereum-loading svg{display:block;width:30px;height:46px;overflow:visible;flex:none}
.ethereum-loading path{transform-box:fill-box;transform-origin:center;animation:eth-load-assemble 2.4s cubic-bezier(.22,.65,.25,1) infinite;fill:#d8d8d8}
.ethereum-loading path:nth-child(1){--ex:-14px;--ey:-12px;--er:-12deg}
.ethereum-loading path:nth-child(2){--ex:14px;--ey:-12px;--er:12deg;fill:#777;animation-delay:.08s}
.ethereum-loading path:nth-child(3){--ex:-16px;--ey:4px;--er:-20deg;fill:#aaa;animation-delay:.16s}
.ethereum-loading path:nth-child(4){--ex:16px;--ey:4px;--er:20deg;fill:#555;animation-delay:.24s}
.ethereum-loading path:nth-child(5){--ex:-10px;--ey:16px;--er:-15deg;fill:#eee;animation-delay:.32s}
.ethereum-loading path:nth-child(6){--ex:10px;--ey:16px;--er:15deg;fill:#888;animation-delay:.4s}
button .ethereum-loading{min-height:28px;padding:0}button .ethereum-loading svg{width:18px;height:27px}
@keyframes eth-load-assemble{0%,12%{opacity:0;transform:translate(var(--ex),var(--ey)) rotate(var(--er)) scale(.8)}45%,80%{opacity:1;transform:translate(0,0) rotate(0) scale(1)}100%{opacity:0;transform:translate(0,0) scale(.95)}}
@media(prefers-reduced-motion:reduce){.ethereum-loading path{animation:none;transform:none;opacity:1}}

.rank-admin-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:16px 0;color:#aaa;font-size:13px}.rank-admin-toolbar[hidden]{display:none}.rank-admin-toolbar button,.rank-move button{min-height:44px;border:1px solid #383838;background:#141414;color:#ddd;border-radius:9px;padding:10px 14px}.rank-move{display:flex;gap:6px;position:relative;grid-column:1/-1;justify-content:flex-end;width:100%}.rank-move button{display:grid;place-items:center;width:44px;padding:10px}.rank-move svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.5}.rank-move button:disabled{opacity:.25}.rank-move button:focus-visible{outline:2px solid #ddd;outline-offset:2px}
@media(max-width:600px){#leaderboard .rank-score:has(.invite-score-label){display:flex;justify-content:flex-end;align-items:baseline;gap:7px}#leaderboard .rank-score .invite-score-label{white-space:nowrap;flex:none;margin:0;font-size:11px;line-height:1.4}#leaderboard .rank-score:has(.invite-score-label)>b{flex:none}}

#fitnessAdmin .admin-member-picker input{background:#111;border:1px solid #3b3b3b;color:#eee}#fitnessAdmin .admin-member-picker input:focus-visible{outline:1px solid #aaa;outline-offset:2px}

#simulator .section-heading>.sim-description{grid-column:1/-1;width:100%;max-width:none;min-width:0;margin:0;container-type:inline-size;line-height:1.6}#simulator .sim-description>span{display:block;white-space:nowrap;font-size:min(14px,2.35cqw);letter-spacing:0;word-spacing:normal}

/* Automatic milestone surrounds: quiet metallic perimeter and centered crest. */
.milestone-framed{position:relative;isolation:isolate;--milestone-tone:#b78a62;--milestone-light:#e3c09a}
.milestone-silver{--milestone-tone:#9daab9;--milestone-light:#e3eaf2}.milestone-gold{--milestone-tone:#bda15c;--milestone-light:#f0dca0}.milestone-diamond{--milestone-tone:#9bc3d2;--milestone-light:#e2f6ff}
.milestone-decoration{position:absolute;inset:-2px;display:block;border-radius:inherit;pointer-events:none;z-index:4;user-select:none}
.milestone-edge{position:absolute;inset:0;border-radius:inherit;padding:1px;background:linear-gradient(115deg,var(--milestone-tone),#252525 22%,var(--milestone-light) 44%,var(--milestone-tone) 51%,#292929 74%,var(--milestone-tone));background-size:250% 250%;-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);mask-composite:exclude;opacity:.7;animation:milestone-shimmer 9s ease-in-out infinite}




#leaderboard .rank-row.milestone-framed{margin-top:44px}.profile-summary.milestone-framed{margin-top:44px}
@keyframes milestone-shimmer{0%,100%{background-position:0% 35%;opacity:.55}50%{background-position:100% 65%;opacity:.95}}
@media(max-width:600px){#leaderboard .rank-row.milestone-framed{margin-top:40px}}
@media(prefers-reduced-motion:reduce){.milestone-edge{animation:none;opacity:.75}}

/* Crest sits above the complete profile outline, with banners clipped separately. */
#members .member-card.milestone-framed,.public-profile-card.milestone-framed,#leaderboard .rank-row.milestone-framed,.profile-summary.milestone-framed{overflow:visible}
#members .member-card{margin-top:44px}
#members .member-card.milestone-framed .member-profile-link>.member-banner{border-radius:15px 15px 0 0}
.public-profile-card.milestone-framed{margin-top:44px}
.public-profile-card.milestone-framed>.member-banner{border-radius:19px 19px 0 0;overflow:hidden}
#leaderboard .rank-row.milestone-framed{border:1px solid #353535;border-radius:13px;padding-left:18px;padding-right:18px}
#leaderboard .rank-row.milestone-framed>.rank-banner{border-radius:12px;overflow:hidden}
.milestone-framed>.milestone-decoration>.milestone-edge{padding:1.5px}
@media(max-width:600px){#members .member-card{margin-top:40px}.public-profile-card.milestone-framed,.profile-summary.milestone-framed{margin-top:40px}.public-profile-card.milestone-framed>.member-banner{border-radius:13px 13px 0 0}#leaderboard .rank-row.milestone-framed{padding-left:14px;padding-right:14px}}

/* A standalone milestone badge above the outer profile frame. */
.milestone-emblem{position:absolute;top:-34px;left:50%;transform:translateX(-50%);display:grid;place-items:center;width:30px;height:30px;background:none;border:0;box-shadow:none}
.milestone-emblem .chapter-badge{display:grid;place-items:center;width:28px!important;height:28px!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;color:var(--milestone-light)!important;animation:none!important}
.milestone-emblem .chapter-badge svg{display:block;width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.2}
@media(max-width:600px){.milestone-emblem{top:-32px;width:28px;height:28px}.milestone-emblem .chapter-badge svg{width:24px;height:24px}}

/* Animated supplied artwork, fully visible and blended into the homepage. */
.hero.crypto-hero{display:grid;place-items:center;height:auto;min-height:calc(100svh - 100px);max-height:none;padding:32px;background:#0e0e0e;overflow:hidden}
.hero.crypto-hero:before,.hero.crypto-hero:after{display:none}
.crypto-stage{position:relative;width:min(560px,calc(100vw - 80px),70svh);aspect-ratio:1;margin:auto;mix-blend-mode:screen}
.crypto-artwork{position:relative;display:block;width:100%;height:100%;padding:0;margin:0;border:0;background:transparent;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.crypto-artwork:focus-visible{outline:1px solid #aaa;outline-offset:12px;border-radius:8px}
.crypto-artwork>picture,.crypto-original{display:block;width:100%;height:100%;object-fit:contain;user-select:none}
.crypto-pieces{position:absolute;inset:0;pointer-events:none;visibility:hidden}
.crypto-piece{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;user-select:none}
.crypto-artwork.is-shattering>picture{visibility:hidden}.crypto-artwork.is-shattering .crypto-pieces{visibility:visible}
@media(max-width:600px){.hero.crypto-hero{min-height:calc(100svh - 108px);padding:28px 24px}.crypto-stage{width:min(calc(100vw - 64px),65svh)}}

/* Full-screen scene with a continuous landscape extending beneath the original animation. */
.hero.crypto-hero{height:calc(100svh - var(--hero-header-height,90px));min-height:420px;max-height:none;padding:0;isolation:isolate;background:#0e0e0e}
.hero.crypto-hero:before{content:'';display:block;position:absolute;inset:0;z-index:0;pointer-events:none;background:url('crypto-scenery.webp') center bottom/cover no-repeat;mix-blend-mode:screen;opacity:.62;mask-image:linear-gradient(#000 0%,#000 85%,transparent 100%)}
.hero.crypto-hero .crypto-stage{z-index:1;width:min(100vw,calc(100svh - var(--hero-header-height,90px)),900px);max-width:none;aspect-ratio:1;margin:auto;mix-blend-mode:screen;mask-image:linear-gradient(90deg,transparent 0%,#000 7%,#000 93%,transparent),linear-gradient(#000 0%,#000 76%,transparent 100%);mask-composite:intersect;-webkit-mask-composite:source-in}
.hero.crypto-hero .crypto-original,.hero.crypto-hero .crypto-piece{object-fit:contain}
@media(max-width:600px){.hero.crypto-hero{height:calc(100svh - var(--hero-header-height,100px));min-height:420px;padding:0}.hero.crypto-hero .crypto-stage{width:100vw}.hero.crypto-hero:before{background-size:auto 100%;opacity:.7}}
@media(max-height:600px) and (orientation:landscape){.hero.crypto-hero{min-height:300px}}

/* Reserve real layout space for the badge above each leaderboard profile. */
#leaderboard #leaderboardList{display:grid;grid-template-columns:minmax(0,1fr);row-gap:54px;padding-top:38px;overflow:visible}
#leaderboard #leaderboardList>.rank-row,#leaderboard #leaderboardList>.rank-row.milestone-framed{margin:0;min-width:0;align-self:stretch}
@media(max-width:600px){#leaderboard #leaderboardList{row-gap:50px;padding-top:36px}}
/* Equal banner dimensions for uploaded images and empty covers, including Haru. */
#members .member-profile-link>.member-banner{height:160px;min-height:160px;max-height:160px;aspect-ratio:auto;flex:none}
#leaderboard .rank-row>.rank-banner{height:180px;min-height:180px;max-height:180px;bottom:auto;aspect-ratio:auto}
#leaderboard .rank-row{min-height:180px}
#members .member-banner>img,#leaderboard .rank-banner>img{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center}
@media(max-width:600px){#members .member-profile-link>.member-banner{height:150px;min-height:150px;max-height:150px}#leaderboard .rank-row>.rank-banner{height:200px;min-height:200px;max-height:200px}#leaderboard .rank-row{min-height:200px}}
.auth-ethereum[role=button]{cursor:pointer;touch-action:manipulation;overflow:visible;outline-offset:10px}.auth-ethereum[role=button]:focus-visible{outline:1px solid #999;border-radius:8px}.auth-ethereum.auth-reconstructing{animation-play-state:paused}
.auth-reconstructing>path{transform-box:fill-box;transform-origin:center;animation:auth-fragments-return 2.4s cubic-bezier(.22,.65,.25,1) both}
.auth-reconstructing>path:nth-of-type(1){--ex:-48px;--ey:-40px;--er:-12deg}.auth-reconstructing>path:nth-of-type(2){--ex:48px;--ey:-40px;--er:12deg}.auth-reconstructing>path:nth-of-type(3){--ex:-52px;--ey:16px;--er:-20deg}.auth-reconstructing>path:nth-of-type(4){--ex:52px;--ey:16px;--er:20deg}.auth-reconstructing>path:nth-of-type(5){--ex:-34px;--ey:50px;--er:-15deg}.auth-reconstructing>path:nth-of-type(6){--ex:34px;--ey:50px;--er:15deg}.auth-reconstructing>path:last-child{--ex:0px;--ey:0px;--er:0deg}
@keyframes auth-fragments-return{0%{opacity:1;transform:none}18%,28%{opacity:.15;transform:translate(var(--ex),var(--ey)) rotate(var(--er)) scale(.8)}80%,100%{opacity:1;transform:translate(0,0) rotate(0) scale(1)}}
@media(prefers-reduced-motion:reduce){.auth-reconstructing>path{animation:none}}
/* Preserve the complete GIF on phones: no bottom fade or viewport clipping. */
@media(max-width:700px){.hero.crypto-hero .crypto-stage{width:min(100%,calc(100svh - var(--hero-header-height,100px) - 32px));max-width:100%;height:auto;aspect-ratio:1;mask-image:none;-webkit-mask-image:none;mask-composite:add;-webkit-mask-composite:source-over}.hero.crypto-hero .crypto-artwork,.hero.crypto-hero .crypto-artwork>picture,.hero.crypto-hero .crypto-original{width:100%;height:100%;aspect-ratio:1;object-fit:contain;overflow:visible}.hero.crypto-hero{padding:16px 0;box-sizing:border-box}}

/* Mobile uses the centered desktop scene; the full landscape fits the canvas. */
@media(max-width:700px){
 .hero.crypto-hero{display:grid;place-items:center;align-content:center;height:calc(100svh - var(--hero-header-height,72px));min-height:360px;padding:0;margin:0;overflow:hidden}
 .hero.crypto-hero:before{inset:0;background-position:center center;background-size:100% 100%;background-repeat:no-repeat;opacity:.7;mask-image:linear-gradient(#000 0%,#000 92%,transparent 100%);-webkit-mask-image:linear-gradient(#000 0%,#000 92%,transparent 100%)}
 .hero.crypto-hero .crypto-stage{align-self:center;justify-self:center;width:min(100%,calc(100svh - var(--hero-header-height,72px)));height:auto;max-width:100%;aspect-ratio:1;margin:auto;transform:none;top:auto;mask-image:linear-gradient(#000 0%,#000 88%,transparent 100%);-webkit-mask-image:linear-gradient(#000 0%,#000 88%,transparent 100%);mask-composite:add;-webkit-mask-composite:source-over}
 .hero.crypto-hero .crypto-artwork,.hero.crypto-hero .crypto-artwork>picture,.hero.crypto-hero .crypto-original{display:block;width:100%;height:100%;aspect-ratio:1;object-fit:contain;object-position:center;overflow:visible}
}

/* Continue the original GIF's cropped particle trail into open sky. */
.hero.crypto-hero{--sky-room:clamp(72px,12svh,112px);min-height:max(calc(100svh - var(--hero-header-height,90px)),560px);height:auto;padding:var(--sky-room) 0 44px;align-content:start;overflow:visible}
.hero.crypto-hero .crypto-stage{width:min(100%,calc(100svh - var(--hero-header-height,90px) - var(--sky-room) - 44px),900px);margin:0 auto;align-self:start;mask-image:linear-gradient(transparent 0%,#000 12%,#000 88%,transparent 100%);-webkit-mask-image:linear-gradient(transparent 0%,#000 12%,#000 88%,transparent 100%)}
@media(max-width:700px){.hero.crypto-hero{--sky-room:88px;min-height:max(calc(100svh - var(--hero-header-height,72px)),calc(100vw + 132px));height:auto;padding:var(--sky-room) 0 44px;align-content:start;overflow:visible}.hero.crypto-hero .crypto-stage{width:100%;max-width:100%;margin:0 auto;align-self:start;mask-image:linear-gradient(transparent 0%,#000 12%,#000 88%,transparent 100%);-webkit-mask-image:linear-gradient(transparent 0%,#000 12%,#000 88%,transparent 100%)}}

/* Friends carry the same automatic milestone surrounds and verification mark. */
#friends .friends-grid{column-gap:20px;row-gap:54px;padding-top:36px}
#friends .friend-card.milestone-framed{position:relative;overflow:visible}
#friends .friend-card>.friend-banner{border-radius:17px 17px 0 0;overflow:hidden;flex:none}
#friends .friend-display-name{display:flex;align-items:center;flex-wrap:wrap;gap:6px;min-width:0}
#friends .friend-display-name>.owner-badge,#friends .friend-display-name>.chapter-badge{flex:0 0 auto;margin:0}
#friends .friend-display-name>.metallic-name,#friends .friend-display-name>.anonymous-name{min-width:0;overflow-wrap:anywhere}
@media(max-width:600px){#friends .friends-grid{row-gap:50px;padding-top:34px}}

/* Desktop displays every source pixel, with the scenery surrounding the GIF. */
@media(min-width:701px){
 .hero.crypto-hero{height:auto;max-height:none;overflow:visible}
 .hero.crypto-hero .crypto-stage{width:min(100%,max(420px,calc(100svh - var(--hero-header-height,90px) - var(--sky-room) - 44px)),900px);height:auto;max-height:none;aspect-ratio:1;overflow:visible;mask:none;-webkit-mask:none;clip-path:none}
 .hero.crypto-hero .crypto-artwork,.hero.crypto-hero .crypto-artwork>picture{display:block;width:100%;height:auto;aspect-ratio:1;overflow:visible}
 .hero.crypto-hero .crypto-original{display:block;width:100%;height:auto;max-height:none;object-fit:contain;object-position:center;mask:none;-webkit-mask:none;clip-path:none}
 .hero.crypto-hero:before{background-size:100% 100%;background-position:center bottom}
}
/* Desktop: align the source's upper boundary with the page edge, not mid-scene. */
@media(min-width:701px){
 .hero.crypto-hero{display:block;position:relative;height:calc(100svh - var(--hero-header-height,90px));min-height:0;max-height:none;padding:0;overflow:visible}
 .hero.crypto-hero .crypto-stage{position:absolute;left:50%;top:calc(-1 * var(--hero-header-height,90px));transform:translateX(-50%);width:100svh;max-width:none;height:100svh;aspect-ratio:1;margin:0;mask:none;-webkit-mask:none;overflow:visible}
 .hero.crypto-hero .crypto-artwork,.hero.crypto-hero .crypto-artwork>picture,.hero.crypto-hero .crypto-original{display:block;width:100%;height:100%;object-fit:contain;aspect-ratio:1;max-height:none;mask:none;-webkit-mask:none}
}

/* Compact relationship icons sit on the top-right of profile cards. */
#members .member-card,.public-profile-card{position:relative}
#members .member-card>.list-friend-control,#leaderboard .rank-row>.rank-friend-control{position:absolute;top:10px;right:10px;z-index:6;margin:0;display:block}
.friend-icon-button{display:grid!important;place-items:center;width:44px;height:44px;min-height:44px;padding:11px!important;margin:0!important;border:1px solid #ffffff26!important;border-radius:12px;background:#101010d9!important;color:#c7c7c7!important;backdrop-filter:blur(8px);text-decoration:none;box-sizing:border-box;transition:background .2s,color .2s,border-color .2s}
.friend-icon-button svg{display:block;width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.friend-icon-button:hover{background:#252525!important;color:#fff!important;border-color:#777!important}.friend-icon-button:focus-visible{outline:2px solid #ddd;outline-offset:3px}.friend-icon-button:disabled{opacity:.5}
#leaderboard .rank-row{padding-right:66px}#leaderboard .rank-row.milestone-framed{padding-right:66px}
.public-profile-card .friendship-heading{position:absolute;top:10px;right:10px;z-index:6;margin:0;padding:0;border:0}
.list-friend-control>.friend-action-status:empty{display:none}.list-friend-control>.friend-action-status:not(:empty){position:absolute;right:0;top:48px;width:190px;padding:9px;border:1px solid #444;border-radius:8px;background:#151515;font-size:11px;line-height:1.5;margin:0}
#members .member-card>.list-friend-control[hidden],#leaderboard .rank-row>.rank-friend-control[hidden]{display:none!important}
@media(max-width:600px){#members .member-card>.list-friend-control,#leaderboard .rank-row>.rank-friend-control,.public-profile-card .friendship-heading{top:8px;right:8px}#leaderboard .rank-row,#leaderboard .rank-row.milestone-framed{padding-right:62px}}

/* Anchor relationship controls to the card, never to a leaderboard grid area. */
#members .member-card>.list-friend-control,#leaderboard .rank-row>.rank-friend-control,.public-profile-card .friendship-heading{position:absolute;inset:12px 12px auto auto;grid-column:auto;grid-row:auto;justify-self:auto;align-self:auto;display:block;width:44px;height:44px;min-width:44px;max-width:44px;padding:0;margin:0;transform:none;z-index:6;box-sizing:border-box}
.friend-icon-button{inline-size:44px;block-size:44px;min-inline-size:44px;max-inline-size:44px;line-height:1;flex:none}
#leaderboard .rank-row,#leaderboard .rank-row.milestone-framed{padding-right:72px}
#leaderboard .rank-person,#leaderboard .rank-identity{min-width:0}
@media(max-width:600px){#members .member-card>.list-friend-control,#leaderboard .rank-row>.rank-friend-control,.public-profile-card .friendship-heading{inset:10px 10px auto auto}#leaderboard .rank-row,#leaderboard .rank-row.milestone-framed{padding-right:68px}}
/* Keep the artwork in the scene below navigation; continue its flecks to screen top. */
@media(min-width:701px){
 .hero.crypto-hero{display:grid;place-items:center;position:relative;height:auto;min-height:calc(100svh - var(--hero-header-height,90px));padding:24px 0 36px;overflow:visible}
 .hero.crypto-hero .crypto-stage{position:relative;left:auto;top:auto;transform:none;width:min(92vw,max(360px,calc(100svh - var(--hero-header-height,90px) - 60px)),900px);max-width:100%;height:auto;aspect-ratio:1;margin:0 auto;mask-image:linear-gradient(transparent 0%,#000 14%,#000 90%,transparent 100%);-webkit-mask-image:linear-gradient(transparent 0%,#000 14%,#000 90%,transparent 100%);mask-composite:add;-webkit-mask-composite:source-over}
 .hero.crypto-hero .crypto-artwork,.hero.crypto-hero .crypto-artwork>picture,.hero.crypto-hero .crypto-original{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain}
 .hero.crypto-hero:before{background-size:100% 100%;background-position:center bottom}
}

.member-order-controls{display:flex;align-items:center;flex-wrap:wrap;gap:8px;width:100%;margin-top:16px;padding-top:14px;border-top:1px solid #333}.member-order-controls>span{flex:1;font-size:11px;color:#999}.member-order-controls button{display:grid;place-items:center;width:44px;height:44px;min-height:44px;padding:10px;border:1px solid #444;border-radius:10px;background:#141414;color:#ccc}.member-order-controls svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.member-order-controls button:disabled{opacity:.3}.member-order-controls p:empty{display:none}.member-order-controls p{flex-basis:100%;font-size:11px}

/* Blend the source's right boundary into the upward canvas particle stream. */
.hero.crypto-hero .crypto-original{mask-image:linear-gradient(90deg,#000 0%,#000 77%,rgba(0,0,0,.8) 85%,rgba(0,0,0,.35) 94%,transparent 100%);-webkit-mask-image:linear-gradient(90deg,#000 0%,#000 77%,rgba(0,0,0,.8) 85%,rgba(0,0,0,.35) 94%,transparent 100%);mask-repeat:no-repeat;-webkit-mask-repeat:no-repeat;mask-size:100% 100%;-webkit-mask-size:100% 100%}
/* Match the GIF's silver highlights to the surrounding landscape on larger screens. */
@media(min-width:701px){.hero.crypto-hero{--scene-tone:.7}.hero.crypto-hero:before{opacity:var(--scene-tone)}.hero.crypto-hero .crypto-original{opacity:var(--scene-tone)}}

.approval-search{display:grid;gap:10px;margin:20px 0;color:#bbb;font-size:13px}
.approval-search input{box-sizing:border-box;width:100%;min-width:0;padding:14px 16px;background:#111;border:1px solid #383838;border-radius:10px;color:#f2f2f2;font:inherit}
.approval-search input:focus-visible{outline:2px solid #aaa;outline-offset:3px}
.approval-verification{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-bottom:16px;color:#aaa;font-size:12px;overflow-wrap:anywhere}
.verification-label{padding:6px 10px;border:1px solid #444;border-radius:20px;color:#e0e0e0;white-space:nowrap}

/* Let mobile content extend behind browser controls without a painted bottom strip. */
@media(max-width:700px){
 body>footer{background:transparent}
 body{padding-left:env(safe-area-inset-left,0px);padding-right:env(safe-area-inset-right,0px)}
 body>header{padding-top:calc(12px + env(safe-area-inset-top,0px));height:auto;min-height:calc(76px + env(safe-area-inset-top,0px))}
}

/* Floating pixel companions in the retained monochrome landscape. */
.hero.crypto-hero{display:grid;place-items:center;height:auto;min-height:calc(100svh - var(--hero-header-height,90px));padding:24px 0 36px;overflow:clip}
.hero.crypto-hero .pixel-cat-scene{position:relative;width:min(100%,1100px);height:clamp(360px,65svh,720px);isolation:isolate}
.cat-scene-hint{position:absolute;bottom:8%;left:0;right:0;text-align:center;font-size:9px;letter-spacing:2px;color:#858585;pointer-events:none}
.pixel-cat{--cat-lift:0px;position:absolute;top:40%;left:40%;width:clamp(100px,17vw,190px);aspect-ratio:1;border:0;background:transparent;padding:0;color:#d5d5d5;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.pixel-cat.cat-0{left:calc(50% - 80px);top:33%;z-index:3}
.pixel-cat.cat-1{left:16%;top:47%;width:clamp(90px,14vw,155px);animation-delay:-2s}
.pixel-cat.cat-2{left:70%;top:43%;width:clamp(86px,13vw,150px);animation-delay:-4s}
.cat-lift{display:block;position:relative;transform:translateY(var(--cat-lift));transition:transform 1.3s cubic-bezier(.2,.75,.25,1)}
.pixel-cat picture{display:block;animation:cat-hover 4.6s ease-in-out infinite;animation-delay:inherit}
.pixel-cat img{display:block;width:100%;height:auto;image-rendering:pixelated;filter:drop-shadow(0 8px 16px #0006);user-select:none}
.cat-ground-shadow{display:block;position:absolute;left:28%;right:18%;bottom:-20px;height:5px;border-radius:50%;background:#bcbcbc16;filter:blur(3px);transition:transform 1s,opacity 1s;pointer-events:none}
.cat-boosted .cat-ground-shadow{transform:scale(.5);opacity:.35}
.cat-sparkles{position:absolute;bottom:0;left:15%;right:10%;font-size:14px;letter-spacing:10px;opacity:0;pointer-events:none}
.cat-boosted .cat-sparkles{animation:cat-spark 1s ease-out}
.pixel-cat:focus-visible{outline:1px solid #bcbcbc;outline-offset:8px;border-radius:18px}
@keyframes cat-hover{0%,100%{transform:translateY(6px) rotate(-3deg)}50%{transform:translateY(-12px) rotate(3deg)}}
@keyframes cat-spark{0%{opacity:0;transform:translateY(0)}20%{opacity:.8}100%{opacity:0;transform:translateY(35px)}}
@media(max-width:700px){
 .hero.crypto-hero{padding:20px 0 30px;min-height:calc(100svh - var(--hero-header-height,76px))}
 .hero.crypto-hero .pixel-cat-scene{height:clamp(340px,65svh,620px)}
 .pixel-cat.cat-0{left:calc(50% - 60px);width:120px;top:30%}
 .pixel-cat.cat-1{left:5%;top:52%;width:96px}
 .pixel-cat.cat-2{left:auto;right:4%;top:48%;width:94px}
 .cat-scene-hint{font-size:8px;letter-spacing:1.5px;bottom:4%}
}
@media(prefers-reduced-motion:reduce){.pixel-cat picture,.cat-boosted .cat-sparkles{animation:none}.cat-lift,.cat-ground-shadow{transition:none}.cat-boosted{filter:brightness(1.2)}}
.pixel-cat.cat-0{left:50%;transform:translateX(-50%)}
.pixel-cat .cat-lift{animation-delay:inherit}
/* Small, tall-eared silhouettes with expressive eyes. */
.pixel-cat.cat-0{width:86px}
.pixel-cat.cat-1{width:72px}
.pixel-cat.cat-2{width:70px}
.pixel-cat img{filter:drop-shadow(1px 0 0 #9998) drop-shadow(-1px 0 0 #9998) drop-shadow(0 1px 0 #7777)}
#accountPanel .auth-layout{position:relative;overflow:visible;margin-top:42px}
.auth-cat-track{position:absolute;top:-40px;left:18px;right:18px;height:40px;pointer-events:none;z-index:4}
.auth-running-cat{position:absolute;bottom:0;left:0;width:34px;height:41px;animation:cat-frame-run 15s linear infinite}
.auth-running-cat.runner-2{animation-delay:-7.5s;width:30px;height:36px}
.auth-running-cat picture,.auth-running-cat img{display:block;width:100%;height:auto;image-rendering:pixelated}
.auth-running-cat img{filter:drop-shadow(1px 0 0 #9999) drop-shadow(-1px 0 0 #9999) drop-shadow(0 1px 0 #7778)}
@keyframes cat-frame-run{
 0%{left:0;transform:scaleX(1) translateY(0)}
 24%{transform:scaleX(1) translateY(-2px)}
 49.9%{left:calc(100% - 34px);transform:scaleX(1) translateY(0)}
 50%{left:calc(100% - 34px);transform:scaleX(-1) translateY(0)}
 74%{transform:scaleX(-1) translateY(-2px)}
 99.9%{left:0;transform:scaleX(-1) translateY(0)}
 100%{left:0;transform:scaleX(1) translateY(0)}
}
@media(max-width:700px){
 .pixel-cat.cat-0{width:74px}
 .pixel-cat.cat-1{width:62px;left:10%}
 .pixel-cat.cat-2{width:60px;right:9%}
 #accountPanel .auth-layout{margin-top:44px}
 .auth-cat-track{left:14px;right:14px}
 .auth-running-cat{animation-duration:11s}
 .auth-running-cat.runner-2{animation-delay:-5.5s}
}
@media(prefers-reduced-motion:reduce){
 .auth-running-cat{animation:none;left:18%}
 .auth-running-cat.runner-2{left:auto;right:18%;transform:scaleX(-1)}
}
/* The landscape ends at its divider, without an empty padded band. */
.hero.crypto-hero{padding:0;min-height:0;border-bottom:1px solid #343434}
.hero.crypto-hero:before{mask-image:none;-webkit-mask-image:none;background-position:center bottom}
.hero.crypto-hero .pixel-cat-scene{height:clamp(360px,calc(100svh - var(--hero-header-height,90px)),760px)}
#academy.section{margin-top:0;border-top:0;padding-top:32px}
.pixel-cat.cat-0{left:calc(50% + 12px);top:37%;transform:none;animation:space-duel-right 3s ease-in-out infinite}
.pixel-cat.cat-1{left:calc(50% - 90px);top:39%;animation:space-duel-left 3s ease-in-out infinite}
.pixel-cat.cat-2{left:calc(50% - 30px);right:auto;top:14%;animation:space-cat-orbit 6s ease-in-out infinite}
.pixel-cat.cat-0 picture{transform:scaleX(-1);animation:none}
.pixel-cat.cat-1 picture,.pixel-cat.cat-2 picture{animation:none}
.cat-ground-shadow{display:none}
@keyframes space-duel-left{0%,100%{transform:translate(-32px,10px) rotate(-8deg)}40%{transform:translate(12px,-12px) rotate(12deg)}50%{transform:translate(3px,-8px) rotate(-5deg)}75%{transform:translate(-22px,20px) rotate(-12deg)}}
@keyframes space-duel-right{0%,100%{transform:translate(32px,-8px) rotate(8deg)}40%{transform:translate(-12px,-12px) rotate(-12deg)}50%{transform:translate(-3px,-8px) rotate(5deg)}75%{transform:translate(24px,18px) rotate(12deg)}}
@keyframes space-cat-orbit{0%,100%{transform:translate(-65px,0) rotate(-10deg)}50%{transform:translate(65px,18px) rotate(12deg)}}
#accountPanel .auth-layout{border-top:1px solid #383838}
.auth-cat-track{top:auto;bottom:100%;height:44px;left:0;right:0}
.auth-running-cat{bottom:-3px;width:34px;height:auto;left:calc(50% - 46px);animation:frame-duel-left 3s ease-in-out infinite}
.auth-running-cat.runner-2{bottom:-3px;width:34px;height:auto;left:calc(50% + 12px);animation:frame-duel-right 3s ease-in-out infinite;animation-delay:0}
@keyframes frame-duel-left{0%,100%{transform:translateX(-35px)}38%{transform:translateX(14px)}45%{transform:translateX(8px) rotate(-8deg)}60%{transform:translateX(-6px)}}
@keyframes frame-duel-right{0%,100%{transform:translateX(35px) scaleX(-1)}38%{transform:translateX(-14px) scaleX(-1)}45%{transform:translateX(-8px) scaleX(-1) rotate(-8deg)}60%{transform:translateX(6px) scaleX(-1)}}
@media(max-width:700px){
 .hero.crypto-hero{padding:0;min-height:0}
 .hero.crypto-hero .pixel-cat-scene{height:clamp(370px,calc(86svh - var(--hero-header-height,76px)),650px)}
 #academy.section{padding-top:26px}
 .pixel-cat.cat-0{left:calc(50% + 6px);top:40%}
 .pixel-cat.cat-1{left:calc(50% - 68px);top:42%}
 .pixel-cat.cat-2{left:calc(50% - 30px);right:auto;top:16%}
 .auth-running-cat,.auth-running-cat.runner-2{animation-duration:3s;animation-delay:0}
}
@media(prefers-reduced-motion:reduce){
 .pixel-cat.cat-0,.pixel-cat.cat-1,.pixel-cat.cat-2,.auth-running-cat,.auth-running-cat.runner-2{animation:none}
 .auth-running-cat.runner-2{right:auto;transform:scaleX(-1)}
}
/* Grounded, close-range duel: feet remain planted while swords trade blows. */
.hero.crypto-hero .pixel-cat-scene{--duel-ground:12%;--duel-speed:.9s}
.pixel-cat.cat-0,.pixel-cat.cat-1{top:auto;bottom:var(--duel-ground);width:80px;height:96px;aspect-ratio:auto;transform:none;transform-origin:50% 92%;z-index:3}
.pixel-cat.cat-0{left:calc(50% - 5px);animation:grounded-right var(--duel-speed) ease-in-out infinite}
.pixel-cat.cat-1{left:calc(50% - 75px);animation:grounded-left var(--duel-speed) ease-in-out infinite}
.pixel-cat .cat-lift{transform:none;transition:none}
.pixel-cat .cat-sparkles{display:none}
.pixel-cat.cat-0 picture{transform:scaleX(-1)}
.pixel-cat.cat-1 picture{transform:none}
.pixel-cat picture{animation:none!important}
.duel-effects{position:absolute;inset:0;pointer-events:none;z-index:4}
.duel-slash{position:absolute;left:calc(50% - 46px);bottom:calc(var(--duel-ground) + 22px);width:92px;height:58px;border-top:2px solid #eee;border-radius:50%;opacity:0;transform:rotate(-40deg);filter:drop-shadow(0 0 3px #c8d2df80)}
.slash-b{transform:rotate(135deg);width:80px;left:calc(50% - 40px)}
.duel-hit .slash-a{animation:close-slash .5s ease-out}
.duel-hit .slash-b{animation:cross-slash .5s .17s ease-out}
.duel-impact{position:absolute;left:calc(50% - 6px);bottom:calc(var(--duel-ground) + 48px);width:12px;height:12px;opacity:0;background:#eee;clip-path:polygon(50% 0,60% 40%,100% 50%,60% 60%,50% 100%,40% 60%,0 50%,40% 40%)}
.duel-hit .duel-impact{animation:small-impact .45s ease-out}
.duel-ground{position:absolute;left:calc(50% - 66px);bottom:calc(var(--duel-ground) + 1px);width:132px;height:9px;border-radius:50%;background:#0009;box-shadow:0 1px 0 #bcbcbc30;z-index:-1}
.duel-intense{--duel-speed:.55s!important}
@keyframes grounded-left{0%,100%{transform:translateX(0) rotate(-3deg)}28%{transform:translateX(5px) rotate(5deg)}48%{transform:translateX(2px) rotate(-2deg)}72%{transform:translateX(4px) rotate(3deg)}}
@keyframes grounded-right{0%,100%{transform:translateX(0) rotate(3deg)}28%{transform:translateX(-3px) rotate(-3deg)}48%{transform:translateX(-5px) rotate(4deg)}72%{transform:translateX(-2px) rotate(-5deg)}}
@keyframes close-slash{0%{opacity:0;transform:rotate(-65deg) scale(.5)}25%{opacity:.7}100%{opacity:0;transform:rotate(15deg) scale(1.1)}}
@keyframes cross-slash{0%{opacity:0;transform:rotate(125deg) scale(.6)}25%{opacity:.6}100%{opacity:0;transform:rotate(195deg) scale(1.1)}}
@keyframes small-impact{0%{opacity:0;transform:scale(.3)}25%{opacity:.8;transform:scale(1.4)}100%{opacity:0;transform:scale(.4)}}
@media(max-width:700px){
 .pixel-cat.cat-0,.pixel-cat.cat-1{width:66px;height:79.2px;top:auto;bottom:var(--duel-ground)}
 .pixel-cat.cat-0{left:calc(50% - 4px)}
 .pixel-cat.cat-1{left:calc(50% - 62px)}
 .duel-slash{bottom:calc(var(--duel-ground) + 16px);width:78px;left:calc(50% - 39px);height:50px}
 .duel-impact{bottom:calc(var(--duel-ground) + 39px)}
 .duel-ground{width:110px;left:calc(50% - 55px)}
}
@media(prefers-reduced-motion:reduce){
 .pixel-cat.cat-0,.pixel-cat.cat-1,.duel-hit .duel-slash,.duel-hit .duel-impact{animation:none}
 .duel-intense .pixel-cat{filter:brightness(1.25)}
}
/* One quiet typographic treatment for category and account page titles. */
body .category-title{
 font-family:Manrope,'DM Sans',Arial,sans-serif!important;
 font-size:clamp(27px,3.2vw,44px)!important;
 font-weight:400!important;line-height:1.2!important;
 letter-spacing:-.035em!important;color:#c9cbce!important;
 max-width:100%;text-wrap:balance;overflow-wrap:normal;
 padding-bottom:.08em;
}
body .category-title .heading-line{display:block;line-height:1.25;white-space:normal}
body .category-title .heading-line+.heading-line{margin-top:.16em;color:#92969c}
body .category-title.title-in-view{animation:category-arrive .85s cubic-bezier(.2,.65,.3,1) both,category-breathe 9s 1s ease-in-out infinite}
body .admin-section-heading .category-title,body #fitnessAdminHeading.category-title{font-size:clamp(22px,2.4vw,30px)!important}
@keyframes category-arrive{from{opacity:.45;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
@keyframes category-breathe{0%,100%{text-shadow:0 0 0 transparent}50%{text-shadow:0 0 18px #ffffff18}}
@media(max-width:700px){
 body .category-title{font-size:clamp(26px,7vw,34px)!important;letter-spacing:-.025em!important;line-height:1.25!important}
 body .category-title .heading-line+.heading-line{margin-top:.12em}
}
@media(prefers-reduced-motion:reduce){
 body .category-title.title-in-view{animation:none;transform:none;opacity:1}
}
