/* Student-only layout around the existing Renown artwork; no teacher changes. */
.student-card-home{max-width:1120px;padding:12px 28px 28px;display:grid;grid-template-columns:minmax(0,1.12fr) minmax(320px,1fr);gap:32px;align-items:center;text-align:left}
.student-card-stage{min-width:0;display:grid;justify-items:center;position:relative;isolation:isolate;padding:0 4px}
.student-card-stage:before{content:"";position:absolute;inset:3% -4% 10%;z-index:-1;background:radial-gradient(ellipse,#020409ee 10%,#02040999 48%,transparent 72%);pointer-events:none}
.student-card-stage .renown-avatar-card{width:min(100%,430px,calc((100svh - 128px)*.667));max-width:none;margin:0}
.student-card-stage .renown-card-float:before{inset:-1% 0 2%}
.student-card-stage .renown-card-name{font-size:clamp(14px,5.4cqw,27px);overflow:hidden;text-overflow:ellipsis}
.student-card-stage .renown-card-outfit{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.student-card-stage .renown-card-stat b{white-space:nowrap}
.student-card-stage #avatar[data-effect="painted-light"]{--glow:#f4e7b999;animation:glow 3.8s ease-in-out infinite paused}
.student-card-stage #avatar[data-effect="prismatic"]{--glow:#84caff99;animation:glow 4.6s ease-in-out infinite paused}
.student-card-live #avatar[data-effect]{animation-play-state:running}
.student-card-stage .renown-card-renown:not(:has(.renown-card-level-bar:not([hidden]))) b{font-size:clamp(21px,7cqw,36px)}
.student-card-stage .renown-card-stat span{background:#0e0e0d}
.student-card-live .renown-card-float,.student-card-live .renown-card-foil:after,.student-card-live .renown-card-glass:after{animation-play-state:running}
.student-card-stage .renown-card-surface{touch-action:pan-y pinch-zoom}
.student-card-tools{display:flex;justify-content:center;align-items:center;gap:10px;flex-wrap:wrap;margin-top:-12px;z-index:1;position:relative;max-width:100%}
.student-card-tools .quiet{font-size:12px;min-height:36px;padding:6px 10px;color:#d7c698}
.card-motion-hint{font-size:12px;color:#aaa99d}
.student-controls{min-width:0;padding:24px;background:linear-gradient(140deg,#13232de8,#0b171ee8);border:1px solid #dec17a33;border-radius:18px;box-shadow:0 18px 60px #0005}
.student-controls .student-controls-title{font:500 30px/1.2 Georgia,serif;margin:5px 0 18px;color:#f4e5bd}
.student-controls .eyebrow{font-size:12px;letter-spacing:1.6px}
.student-controls .journey-progress{margin:0 0 16px;width:100%;padding:14px}
.student-controls .journey-heading{font-size:15px}.student-controls #progress-detail{font-size:13px}
.student-controls .actions{width:100%;max-width:none;gap:8px}
.student-controls .actions button{font-size:14px;min-height:74px;padding:10px 5px}
.student-controls .trophy-launch,.student-controls .schedule-launch,.student-controls .participation{width:100%;max-width:none;margin:10px 0 0;min-height:48px;padding:12px 14px;font-size:17px;border-radius:10px}
.student-controls .trophy-launch>span:first-child{font-size:17px}
.student-controls .trophy-launch>span:last-child,.student-controls .schedule-launch>span:last-child{font-size:20px}
.student-controls .litlens-launch{border-color:#bca776;background:linear-gradient(110deg,#3b3a2ae8,#202e30e8)}
.student-controls .trophy-inbox{margin:0 0 14px;width:100%}

.student-controls .signout{display:block;margin:12px auto 0;min-height:36px;font-size:12px}
.student-options-jump{display:none}
@media(min-width:801px) and (max-height:740px){.student-card-home{padding-top:0;gap:24px}.student-controls{padding:18px}.student-controls .student-controls-title{font-size:26px;margin-bottom:12px}.student-controls .actions button{min-height:64px}.student-controls .trophy-launch,.student-controls .schedule-launch,.student-controls .participation{margin-top:8px;min-height:44px;padding:9px 12px}.student-controls .journey-progress{padding:10px;margin-bottom:12px}}
@media(max-width:800px){.student-card-home{grid-template-columns:minmax(0,1fr);gap:14px;max-width:540px;padding:4px 16px 26px}.student-card-stage .renown-avatar-card{width:min(100%,400px)}.student-controls{padding:20px}.student-options-jump{display:block;text-align:center;color:#dfcd9f;font-size:13px;padding:8px 12px;margin:0 auto 5px;text-underline-offset:4px}.student-card-tools{margin-top:-9px}.student-controls .student-controls-title{font-size:28px}.card-motion-hint{font-size:11px}.student-card-stage:before{inset:3% 0 10%}}
@media(max-width:360px){.student-card-home{padding-inline:10px}.student-controls{padding:15px}.student-controls .actions button{font-size:12px}.student-card-tools{gap:0}.card-motion-hint{display:none}}
@media(prefers-reduced-motion:reduce){.student-card-stage .renown-card-float,.student-card-stage .renown-card-foil:after,.student-card-stage .renown-card-glass:after{animation:none}.card-motion-hint{display:none}}
