.moth-profile-page{padding-bottom:48px}.moth-profile-page h2{font-family:Cinzel,Georgia,serif;font-size:24px;font-weight:400}.moth-profile-privacy{display:flex;gap:25px;align-items:center;justify-content:space-between;background:linear-gradient(125deg,rgba(212,175,55,.085),rgba(192,192,192,.025));border:1px solid rgba(212,175,55,.28);padding:24px;border-radius:14px;margin-bottom:24px}.moth-profile-privacy h2{font-family:Inter,sans-serif;font-size:18px;margin:0 0 9px}.moth-profile-privacy p{font-size:14px;color:var(--muted,#a2a29c);line-height:1.7;margin:0;max-width:730px}.moth-profile-actions{display:flex;gap:15px;flex-wrap:wrap;align-items:center}.moth-profile-privacy .moth-profile-actions{flex-shrink:0;max-width:220px;justify-content:center}.moth-profile-overview{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:24px;margin:24px 0 42px}.moth-profile-identity,.moth-profile-stats{border:1px solid var(--border,#2d2d2d);border-radius:14px;background:rgba(23,24,21,.65);padding:28px}.moth-profile-identity{display:grid;grid-template-columns:65px minmax(0,1fr);gap:20px}.moth-profile-identity h2{font-family:Inter,sans-serif;font-size:21px;overflow-wrap:anywhere;margin:0 0 4px}.moth-profile-identity p{font-size:13px;color:var(--muted,#a2a29c);margin:0 0 12px}.moth-profile-avatar{width:65px;height:65px;display:grid;place-items:center;border:1px solid #73632e;border-radius:50%;font-size:29px;color:var(--gold,#d4af37);background:#211e12}.moth-profile-badges{display:flex;gap:6px;flex-wrap:wrap;font-size:21px}.moth-profile-no-badge{font-size:12px;color:var(--muted,#a2a29c)}#moth-profile-name-form{grid-column:1/-1}#moth-profile-name-form label{display:block;font-size:13px;margin:3px 0 9px}#moth-profile-name-form small{color:var(--muted,#a2a29c);margin-left:6px}.moth-profile-name-row{display:flex;gap:10px}.moth-profile-name-row input{min-width:0;flex:1;border:1px solid var(--border,#2d2d2d);border-radius:7px;padding:10px 13px;background:#10110e;color:var(--text,#eee);font:inherit;font-size:14px}.moth-profile-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:center;text-align:center;gap:12px}.moth-profile-stats strong{display:block;color:var(--gold,#d4af37);font-family:Cinzel,Georgia,serif;font-size:35px;font-weight:400}.moth-profile-stats span{font-size:12px;color:var(--muted,#a2a29c)}.moth-award-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin:0 0 42px}.moth-award-card{display:flex;align-items:flex-start;gap:15px;padding:21px 19px;border:1px dashed #363731;border-radius:12px;background:#10110f}.moth-award-card.is-earned{border:1px solid #6e5e27;background:linear-gradient(135deg,#242011,#151610)}.moth-award-icon{flex-shrink:0;font-size:27px;opacity:.45;filter:grayscale(.8)}.moth-award-card.is-earned .moth-award-icon{filter:none;opacity:1}.moth-award-card h3{font-size:15px;font-weight:500;margin:0 0 6px}.moth-award-card p{font-size:12px;color:var(--muted,#a2a29c);line-height:1.65;margin:0 0 9px}.moth-award-card small{font-size:11px;color:#a6a69d}.moth-award-card.is-earned small{color:var(--gold,#d4af37)}.moth-path-legend{display:flex;flex-wrap:wrap;gap:20px;font-size:12px;color:var(--muted,#a2a29c);margin:0 0 20px}.moth-path-grade{border:1px solid var(--border,#2d2d2d);border-radius:13px;background:rgba(23,24,21,.55);margin-bottom:16px;overflow:hidden}.moth-path-grade>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;cursor:pointer;padding:23px;list-style:none}.moth-path-grade>summary::-webkit-details-marker{display:none}.moth-path-grade>summary>span:first-child{display:flex;gap:18px;align-items:center}.moth-path-grade>summary strong{font-size:20px;font-family:Cinzel,Georgia,serif;font-weight:400;color:var(--gold,#d4af37)}.moth-path-grade>summary small{font-size:12px;color:var(--muted,#a2a29c)}.moth-path-summary-progress{display:flex;gap:14px;align-items:center;font-size:13px}.moth-path-summary-progress progress{width:150px;height:5px;accent-color:var(--gold,#d4af37);border:0;border-radius:8px;background:#303127}.moth-path-summary-progress progress::-webkit-progress-bar{background:#303127}.moth-path-summary-progress progress::-webkit-progress-value{background:#d4af37}.moth-path-summary-progress b{font-weight:400;color:var(--silver,#c0c0c0)}.moth-path-grade>h3{font-size:13px;text-transform:uppercase;letter-spacing:1px;color:var(--gold,#d4af37);margin:16px 28px}.moth-path-list{list-style:none;margin:0;padding:4px 27px 10px}.moth-path-node{display:flex;gap:20px;position:relative;padding:0 0 27px;align-items:flex-start}.moth-path-node:not(:last-child)::before{content:'';width:1px;background:#38392f;position:absolute;top:36px;bottom:0;left:18px}.moth-path-node.is-done:not(:last-child)::before{background:#66582b}.moth-path-dot{position:relative;display:grid;place-items:center;min-width:37px;height:37px;flex-shrink:0;border:1px solid #414239;border-radius:50%;font-size:12px;color:var(--muted,#a2a29c);background:#141510}.moth-path-node.is-done .moth-path-dot{border-color:#b99b35;color:#e5c552;background:#2c2716;font-size:18px}.moth-path-node.is-started .moth-path-dot{border-color:#938145;color:#d4af37}.moth-path-node strong{display:block;font-size:14px;font-weight:500;margin:2px 0 4px}.moth-path-node small{display:block;font-size:11px;color:var(--muted,#a2a29c)}.moth-path-links{display:flex;gap:18px;flex-wrap:wrap;margin-top:9px}.moth-path-links a{font-size:12px;color:var(--silver,#c0c0c0);text-decoration:underline;text-underline-offset:4px}.moth-path-links a:hover{color:var(--gold,#d4af37)}.moth-profile-records,.moth-profile-data{padding:18px 0;margin-top:25px}.moth-profile-records h2,.moth-profile-data h2{margin:0 0 15px}.moth-profile-records p,.moth-profile-data p{color:var(--muted,#a2a29c);font-size:14px;line-height:1.7}.moth-record-group{margin-bottom:10px;padding:15px 18px;border:1px solid var(--border,#2d2d2d);border-radius:9px;font-size:13px}.moth-record-group summary{cursor:pointer}.moth-record-group ol{color:var(--muted,#a2a29c);padding-left:22px;line-height:2}.moth-profile-data{border-top:1px solid var(--border,#2d2d2d)}.moth-profile-delete{color:#dd9f93!important}.moth-profile-notice,.moth-profile-storage-error{color:#e6c96c!important;font-size:14px!important}.moth-header-badges{display:inline-flex;gap:4px;font-size:15px;align-items:center}.moth-theory-complete{display:flex;align-items:center;gap:16px;flex-wrap:wrap;padding:20px;border:1px solid #66582b;background:#18170f;border-radius:10px;margin-top:22px}.moth-theory-complete p{margin:0;font-size:13px;color:var(--muted,#a2a29c)}
.moth-award-svg{display:block;width:32px;height:32px;flex-shrink:0}.moth-award-icon{width:32px;flex-basis:32px}.moth-profile-badges>span{display:inline-flex;align-items:center}.moth-profile-badges .moth-award-svg{width:24px;height:24px}
@media(max-width:1000px){.moth-profile-overview{grid-template-columns:1fr 1fr}.moth-award-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.moth-profile-stats{grid-template-columns:1fr;padding:20px}.moth-profile-stats>div{display:flex;gap:15px;align-items:center;justify-content:center}.moth-profile-stats strong{font-size:28px}.moth-profile-privacy{align-items:flex-start}}
@media(max-width:760px){.moth-profile-privacy{padding:20px;flex-direction:column;gap:18px}.moth-profile-privacy .moth-profile-actions{max-width:none;justify-content:flex-start}.moth-profile-privacy h2{font-size:17px}.moth-profile-privacy p{font-size:13px}.moth-profile-overview{grid-template-columns:1fr;gap:13px;margin-bottom:30px}.moth-profile-identity{padding:20px;gap:15px;grid-template-columns:52px minmax(0,1fr)}.moth-profile-avatar{width:52px;height:52px;font-size:24px}.moth-profile-identity h2{font-size:18px}.moth-profile-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;padding:19px 12px}.moth-profile-stats>div{display:block}.moth-profile-stats strong{font-size:28px}.moth-profile-stats span{font-size:10px}.moth-award-grid{grid-template-columns:1fr;gap:10px;margin-bottom:30px}.moth-award-card{padding:17px}.moth-profile-page .moth-section-heading{flex-direction:column;align-items:flex-start;gap:5px}.moth-profile-page h2{font-size:22px}.moth-path-grade>summary{padding:19px;align-items:flex-start}.moth-path-grade>summary>span:first-child{flex-direction:column;align-items:flex-start;gap:3px}.moth-path-summary-progress{gap:8px;padding-top:6px}.moth-path-summary-progress progress{width:70px}.moth-path-list{padding:4px 19px 10px}.moth-path-node{gap:13px}.moth-path-node strong{font-size:13px}.moth-profile-name-row .moth-button{padding:10px 13px}.moth-profile-page .moth-profile-privacy h2{font-size:17px}}
/* Primary trainer progress stays next to the actual teaching tasks. */
.moth-primary-progress{display:block;line-height:1.65}
.moth-primary-progress strong{color:var(--silver)}
.moth-primary-progress a{color:var(--gold);white-space:nowrap}
.legacy-content .moth-variant-statement{display:flex;align-items:flex-start;gap:12px;padding:14px;margin:8px 0;border:1px solid #c0c0c033;border-radius:8px;cursor:pointer}.legacy-content .moth-variant-statement input{flex:none;margin-top:5px;accent-color:#d4af37}.legacy-content .moth-variant-statement span{min-width:0}
.moth-primary-retry{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:22px;margin:24px 0;border:1px solid #d4af3740;border-radius:12px;background:#171810}.moth-primary-retry p{margin:0;color:var(--silver)}
.legacy-content .moth-variant-label{margin:8px 0;color:#d4af37;font-size:12px}.legacy-content .moth-variant-inputs{display:flex;gap:14px;flex-wrap:wrap}.legacy-content .moth-variant-inputs label{display:grid;gap:6px;max-width:100%;font-size:13px;color:#c0c0c0}.legacy-content .moth-variant-inputs input{margin:0}.legacy-content .moth-variant-solution{margin-top:15px;padding:14px;color:#c0c0c0;background:#ffffff05;border-radius:8px}.legacy-content .moth-variant-figure{max-width:430px;margin:14px auto}.legacy-content .moth-variant-figure svg{width:100%;height:auto}.legacy-content [hidden]{display:none!important}
@media(max-width:600px){.moth-primary-retry{align-items:stretch;flex-direction:column}.legacy-content .moth-variant-inputs label{width:100%}}
.moth-award-toast{position:fixed;top:90px;right:24px;z-index:1000;display:flex;align-items:flex-start;gap:14px;width:340px;max-width:calc(100vw - 24px);padding:18px;border:1px solid #d4af3780;border-radius:12px;background:#171810;box-shadow:0 8px 35px #0009;box-sizing:border-box}
.moth-award-toast>div{flex:1;min-width:0}.moth-award-toast span,.moth-award-toast strong,.moth-award-toast a{display:block}.moth-award-toast span{font-size:12px;color:var(--muted)}.moth-award-toast strong{margin:3px 0 6px;color:var(--gold);font-size:17px}.moth-award-toast a{color:var(--silver);font-size:13px;text-decoration:underline;text-underline-offset:3px}.moth-award-toast button{border:0;background:transparent;color:var(--silver);cursor:pointer;font-size:24px;line-height:1;padding:0 2px}
@media(max-width:480px){.moth-award-toast{right:12px}}
