.quiz-profile-shell{max-width:1240px}.quiz-profile-breadcrumb{display:flex;align-items:center;gap:9px;margin:0 0 16px;color:#71809a;font-size:.75rem;font-weight:800}.quiz-profile-breadcrumb a{display:inline-flex;align-items:center;gap:7px;color:#9facbf;text-decoration:none}.quiz-profile-breadcrumb strong{color:#d9e1ee}.quiz-profile-hero{position:relative;overflow:hidden;border:1px solid var(--q-border);border-radius:24px;background:linear-gradient(145deg,rgba(23,29,52,.98),rgba(8,13,28,.98));box-shadow:0 18px 60px rgba(0,0,0,.18)}.quiz-profile-cover{position:relative;height:170px;overflow:hidden;background:radial-gradient(circle at 18% 20%,rgba(255,79,147,.23),transparent 34%),radial-gradient(circle at 82% 8%,rgba(83,157,255,.18),transparent 36%),linear-gradient(135deg,#171b33,#090e1e)}.quiz-profile-cover:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(4,8,19,.08),rgba(4,8,19,.68));pointer-events:none}.quiz-profile-cover img{width:100%;height:100%;object-fit:cover;display:block}.quiz-profile-main{position:relative;margin-top:-52px;padding:0 26px 24px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:end;gap:18px}.quiz-profile-avatar{width:112px;height:112px;border-radius:28px;padding:4px;background:linear-gradient(135deg,#ff4f93,#8f66ff,#4aa9ff);box-shadow:0 12px 34px rgba(0,0,0,.32)}.quiz-profile-avatar img{width:100%;height:100%;object-fit:cover;border-radius:24px;border:4px solid #0c1224}.quiz-profile-identity{min-width:0;padding-bottom:6px}.quiz-profile-identity h1{font-size:clamp(1.65rem,4vw,2.5rem);margin:5px 0 4px}.quiz-profile-identity p{margin:0;color:#8f9db5;font-size:.82rem}.quiz-profile-actions{display:flex;gap:9px;flex-wrap:wrap;justify-content:flex-end;padding-bottom:5px}.quiz-profile-actions .quiz-btn{min-height:42px}.quiz-profile-stats{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin-top:14px}.quiz-profile-stats article{min-width:0;padding:16px;border:1px solid var(--q-border);background:rgba(17,24,43,.86);border-radius:17px;display:flex;gap:11px;align-items:center}.quiz-profile-stats article>span{width:38px;height:38px;flex:0 0 auto;border-radius:12px;display:grid;place-items:center;background:rgba(255,79,147,.1);color:#ff77aa}.quiz-profile-stats article:nth-child(2n)>span{background:rgba(109,135,255,.1);color:#8aa6ff}.quiz-profile-stats strong,.quiz-profile-stats small{display:block;min-width:0}.quiz-profile-stats strong{font-size:1rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.quiz-profile-stats small{margin-top:2px;color:#77869f;font-size:.65rem;font-weight:800;text-transform:uppercase;letter-spacing:.04em}.quiz-profile-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:14px;margin-top:18px}.quiz-profile-panel{margin-top:18px;padding:22px;border:1px solid var(--q-border);border-radius:21px;background:linear-gradient(145deg,rgba(18,25,45,.96),rgba(9,14,29,.96))}.quiz-profile-grid .quiz-profile-panel{margin-top:0}.quiz-profile-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:17px}.quiz-profile-panel-head h2{margin:5px 0 0;font-size:1.14rem}.quiz-profile-panel-head p{margin:5px 0 0;color:#8492aa;font-size:.76rem;line-height:1.5}.quiz-profile-chip{display:inline-flex;align-items:center;gap:7px;padding:7px 10px;border-radius:999px;background:rgba(80,210,154,.08);border:1px solid rgba(80,210,154,.16);color:#75dca8;font-size:.68rem;font-weight:850;white-space:nowrap}.quiz-profile-overview-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.quiz-profile-overview-grid>div{padding:14px;border-radius:14px;background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.055)}.quiz-profile-overview-grid span,.quiz-profile-overview-grid strong{display:block}.quiz-profile-overview-grid span{color:#7e8da6;font-size:.67rem;font-weight:800;text-transform:uppercase}.quiz-profile-overview-grid strong{margin-top:6px;font-size:1.04rem}.quiz-activity-chart{height:150px;display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;align-items:end}.quiz-activity-day{height:100%;min-width:0;display:grid;grid-template-rows:18px minmax(0,1fr) 18px;gap:4px;text-align:center}.quiz-activity-value{font-size:.62rem;color:#96a5bc;font-weight:850}.quiz-activity-day>div{position:relative;height:100%;border-radius:8px;background:rgba(255,255,255,.035);overflow:hidden;display:flex;align-items:flex-end}.quiz-activity-day i{display:block;width:100%;min-height:4px;border-radius:8px 8px 3px 3px;background:linear-gradient(180deg,#9b6cff,#ff4f93)}.quiz-activity-day small{font-size:.61rem;color:#74839d;font-weight:850}.quiz-difficulty-performance{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.quiz-difficulty-performance article{padding:15px;border-radius:15px;background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.055)}.quiz-difficulty-top,.quiz-difficulty-meta{display:flex;justify-content:space-between;gap:8px}.quiz-difficulty-top span{font-size:.75rem;font-weight:850}.quiz-difficulty-top strong{font-size:.82rem}.quiz-difficulty-bar{height:7px;border-radius:999px;background:rgba(255,255,255,.06);overflow:hidden;margin:12px 0 10px}.quiz-difficulty-bar i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#6da6ff,#9a6cff)}.level-easy .quiz-difficulty-bar i{background:linear-gradient(90deg,#50cfa0,#6ee5b7)}.level-hard .quiz-difficulty-bar i{background:linear-gradient(90deg,#ffad55,#ff795d)}.level-expert .quiz-difficulty-bar i{background:linear-gradient(90deg,#ff4f93,#b65cff)}.quiz-difficulty-meta{color:#74839d;font-size:.62rem;font-weight:800}.quiz-run-list{display:grid;gap:9px}.quiz-run-card{padding:14px;border-radius:16px;border:1px solid rgba(255,255,255,.055);background:rgba(255,255,255,.028);display:grid;grid-template-columns:auto minmax(0,1fr) minmax(330px,.9fr);gap:13px;align-items:center}.quiz-run-icon{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;background:rgba(144,107,255,.11);color:#b2a0ff}.quiz-run-main{min-width:0;display:flex;gap:12px;justify-content:space-between;align-items:center}.quiz-run-main>div{min-width:0}.quiz-run-main strong,.quiz-run-main span{display:block}.quiz-run-main strong{font-size:.82rem}.quiz-run-main span{margin-top:3px;color:#74829a;font-size:.67rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.quiz-run-main em{font-style:normal;font-size:.58rem;font-weight:900;text-transform:uppercase;padding:5px 7px;border-radius:999px;background:rgba(255,255,255,.05);color:#8997ad;white-space:nowrap}.quiz-run-main em.verified{color:#72dca7;background:rgba(76,210,153,.09)}.quiz-run-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.quiz-run-metrics>div{min-width:0;padding:8px 9px;border-radius:10px;background:rgba(255,255,255,.035)}.quiz-run-metrics span,.quiz-run-metrics strong{display:block}.quiz-run-metrics span{color:#697892;font-size:.55rem;text-transform:uppercase;font-weight:850}.quiz-run-metrics strong{font-size:.74rem;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.quiz-profile-empty{padding:65px 24px;text-align:center;border:1px solid var(--q-border);border-radius:24px;background:linear-gradient(145deg,rgba(20,27,48,.96),rgba(8,13,27,.96))}.quiz-profile-empty.compact{margin-top:18px;padding:42px 22px}.quiz-profile-empty>span{width:68px;height:68px;margin:0 auto 17px;border-radius:21px;display:grid;place-items:center;background:rgba(144,107,255,.11);color:#b4a2ff;font-size:1.45rem}.quiz-profile-empty h1,.quiz-profile-empty h2{margin:0 0 8px}.quiz-profile-empty p{max-width:620px;margin:0 auto 18px;color:#8795ad;line-height:1.6}.quiz-profile-empty .quiz-btn{width:max-content;margin:auto}
@media(max-width:1100px){.quiz-profile-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.quiz-profile-grid{grid-template-columns:1fr}.quiz-run-card{grid-template-columns:auto minmax(0,1fr)}.quiz-run-metrics{grid-column:2/-1}.quiz-difficulty-performance{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.quiz-profile-cover{height:135px}.quiz-profile-main{margin-top:-40px;padding:0 17px 19px;grid-template-columns:auto minmax(0,1fr);gap:13px}.quiz-profile-avatar{width:86px;height:86px;border-radius:23px}.quiz-profile-avatar img{border-radius:19px}.quiz-profile-actions{grid-column:1/-1;justify-content:flex-start}.quiz-profile-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.quiz-profile-panel{padding:17px}.quiz-profile-panel-head{flex-direction:column;gap:10px}.quiz-profile-overview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.quiz-run-card{grid-template-columns:auto minmax(0,1fr)}.quiz-run-main{align-items:flex-start;flex-direction:column;gap:7px}.quiz-run-metrics{grid-column:1/-1;grid-template-columns:repeat(4,minmax(0,1fr))}.quiz-difficulty-performance{grid-template-columns:1fr 1fr}}
@media(max-width:440px){.quiz-profile-stats{grid-template-columns:1fr 1fr;gap:7px}.quiz-profile-stats article{padding:12px 10px;gap:8px}.quiz-profile-stats article>span{width:34px;height:34px}.quiz-profile-overview-grid,.quiz-difficulty-performance{grid-template-columns:1fr}.quiz-run-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.quiz-profile-actions{display:grid;grid-template-columns:1fr 1fr;width:100%}.quiz-profile-actions .quiz-btn{width:100%;padding:0 9px}.quiz-activity-chart{gap:5px}}
@media(prefers-reduced-motion:reduce){.quiz-profile-shell *{animation:none!important;transition:none!important}}

/* Stage 10 · Quiz progression */
.quiz-rank-badge{display:inline-flex;align-items:center;gap:7px;margin-top:9px;padding:6px 10px;border-radius:999px;background:rgba(144,107,255,.11);border:1px solid rgba(144,107,255,.2);color:#cfc5ff;font-size:.68rem;font-weight:900}.quiz-rank-badge i{color:#ff72a8}.quiz-rank-badge span{color:#8f9db5}.quiz-profile-progression{margin-top:18px;display:grid;grid-template-columns:auto minmax(0,1fr);gap:18px;align-items:center;padding:20px;border:1px solid rgba(144,107,255,.2);border-radius:22px;background:linear-gradient(135deg,rgba(144,107,255,.10),rgba(255,79,147,.055),rgba(74,169,255,.045))}.quiz-profile-level-mark{width:94px;height:94px;border-radius:25px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:linear-gradient(145deg,rgba(144,107,255,.28),rgba(255,79,147,.14));border:1px solid rgba(255,255,255,.08)}.quiz-profile-level-mark span{font-size:.6rem;letter-spacing:.14em;color:#a9b4c8;font-weight:900}.quiz-profile-level-mark strong{font-size:2rem;line-height:1;margin-top:5px}.quiz-profile-progress-main{min-width:0}.quiz-profile-progress-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-end}.quiz-profile-progress-head>div:last-child{text-align:right}.quiz-profile-progress-head span{display:block;color:#8391aa;text-transform:uppercase;letter-spacing:.09em;font-size:.62rem;font-weight:900}.quiz-profile-progress-head strong{display:flex;align-items:center;gap:8px;margin-top:5px;font-size:1rem}.quiz-profile-progress-head>div:last-child strong{justify-content:flex-end}.quiz-profile-progress-head strong i{color:#ff72a8}.quiz-profile-xp-track{height:10px;border-radius:999px;background:rgba(255,255,255,.07);overflow:hidden;margin:14px 0 8px}.quiz-profile-xp-track i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#7258ff,#a65cff 48%,#ff4f93)}.quiz-profile-xp-foot{display:flex;justify-content:space-between;gap:12px;color:#8290a8;font-size:.7rem;font-weight:800}.quiz-run-xp strong{color:#bbaaff!important}.quiz-profile-overview-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.quiz-run-metrics{grid-template-columns:repeat(5,minmax(0,1fr))}
@media(max-width:720px){.quiz-profile-progression{padding:16px;grid-template-columns:auto minmax(0,1fr);gap:13px}.quiz-profile-level-mark{width:76px;height:76px;border-radius:20px}.quiz-profile-level-mark strong{font-size:1.55rem}.quiz-profile-progress-head{align-items:flex-start;flex-direction:column}.quiz-profile-progress-head>div:last-child{text-align:left}.quiz-profile-progress-head>div:last-child strong{justify-content:flex-start}.quiz-profile-xp-foot{flex-direction:column;gap:3px}.quiz-profile-overview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.quiz-run-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:440px){.quiz-profile-progression{grid-template-columns:1fr}.quiz-profile-level-mark{width:100%;height:auto;min-height:72px;flex-direction:row;gap:8px}.quiz-profile-level-mark strong{margin:0}.quiz-run-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
.quiz-profile-stats{grid-template-columns:repeat(4,minmax(0,1fr))}.quiz-run-card{grid-template-columns:auto minmax(0,1fr) minmax(410px,1fr)}
@media(max-width:1100px){.quiz-profile-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.quiz-run-card{grid-template-columns:auto minmax(0,1fr)}.quiz-run-metrics{grid-column:2/-1}}
@media(max-width:720px){.quiz-profile-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.quiz-run-metrics{grid-column:1/-1;grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:440px){.quiz-run-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Stage 11 · OSANIME Points profile summary */
.quiz-profile-points{margin-top:14px;display:grid;grid-template-columns:auto minmax(0,1fr);gap:15px;align-items:center;padding:18px;border:1px solid rgba(255,196,83,.22);border-radius:21px;background:linear-gradient(135deg,rgba(255,196,83,.075),rgba(255,79,147,.035))}.quiz-profile-points-icon{width:62px;height:62px;border-radius:18px;display:grid;place-items:center;background:rgba(255,196,83,.11);color:#ffd16f;font-size:1.2rem}.quiz-profile-points-main{min-width:0}.quiz-profile-points-head,.quiz-profile-points-foot{display:flex;justify-content:space-between;gap:14px}.quiz-profile-points-head>div:last-child{text-align:right}.quiz-profile-points-head span{display:block;color:#8290a7;font-size:.61rem;font-weight:900;text-transform:uppercase;letter-spacing:.09em}.quiz-profile-points-head strong{display:block;margin-top:4px;font-size:1rem}.quiz-profile-points-foot{color:#7f8da5;font-size:.68rem;font-weight:800}.quiz-profile-points p{margin:8px 0 0;color:#8391a8;font-size:.75rem;line-height:1.5}.quiz-run-points strong{color:#f2c76b!important}.quiz-run-metrics{grid-template-columns:repeat(6,minmax(0,1fr))}
@media(max-width:720px){.quiz-profile-points{padding:15px;gap:12px}.quiz-profile-points-icon{width:52px;height:52px;border-radius:15px}.quiz-profile-points-head,.quiz-profile-points-foot{flex-direction:column;gap:4px}.quiz-profile-points-head>div:last-child{text-align:left}.quiz-run-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:440px){.quiz-profile-points{grid-template-columns:1fr}.quiz-profile-points-icon{width:100%;height:48px}.quiz-run-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* Stage 14 · achievement profile integration */
.quiz-profile-achievements .quiz-achievement-recent-grid{margin-top:4px}.quiz-profile-mini-empty{display:flex;align-items:center;gap:12px;padding:16px;border:1px dashed rgba(255,255,255,.08);border-radius:14px;background:#081326}.quiz-profile-mini-empty>i{width:42px;height:42px;display:grid;place-items:center;flex:0 0 42px;border-radius:12px;background:rgba(251,191,36,.08);color:#fbbf24}.quiz-profile-mini-empty strong{font-size:11px}.quiz-profile-mini-empty p{margin:3px 0 0;color:#72839a;font-size:8.5px;line-height:1.5}
