:root{
  --bg:#000000;
  --bg-soft:#0b0b0e;
  --panel:#151518;
  --panel-2:#1c1c20;
  --panel-3:#242429;
  --text:#f5f5f7;
  --muted:#8e8e93;
  --line:rgba(255,255,255,.08);
  --pink:#ff375f;
  --orange:#ff9f0a;
  --green:#30d158;
  --blue:#0a84ff;
  --purple:#bf5af2;
  --cyan:#64d2ff;
  --yellow:#ffd60a;
  --radius:28px;
  --shadow:0 20px 60px rgba(0,0,0,.35);
  --bs-body-bg:#000;
  --bs-body-color:#f5f5f7;
  --bs-border-color:rgba(255,255,255,.08);
}

html{scroll-behavior:smooth}
body{
  min-height:100vh;
  font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","SF Pro Text","Segoe UI",sans-serif;
  color:var(--text);
  background:
    radial-gradient(circle at 10% 0%,rgba(191,90,242,.10),transparent 28%),
    radial-gradient(circle at 90% 0%,rgba(10,132,255,.08),transparent 24%),
    linear-gradient(180deg,#020203 0%,#000 100%);

}
body::before{position:fixed;z-index:0;left:0;top:0;width:560px;height:560px;border-radius:50%;pointer-events:none;content:"";opacity:0;background:radial-gradient(circle,rgba(191,90,242,.075),rgba(94,92,230,.026) 42%,transparent 72%);transform:translate3d(calc(var(--pointer-x,50vw) - 280px),calc(var(--pointer-y,40vh) - 280px),0);transition:opacity .45s ease;will-change:transform}
body.pointer-active::before{opacity:1}
body::after{
  position:fixed;z-index:0;inset:-90px;pointer-events:none;content:"";opacity:.26;
  background-image:
    radial-gradient(circle,rgba(255,214,10,.48) 0 1px,transparent 1.5px),
    radial-gradient(circle,rgba(191,90,242,.44) 0 1.2px,transparent 1.7px),
    radial-gradient(circle,rgba(100,210,255,.36) 0 1px,transparent 1.5px);
  background-size:190px 190px,270px 270px,360px 360px;
  background-position:23px var(--journey-shift,0),118px var(--journey-shift-reverse,0),62px var(--journey-shift-soft,0);
  -webkit-mask-image:linear-gradient(90deg,rgba(0,0,0,.7),transparent 24%,transparent 76%,rgba(0,0,0,.65));
  mask-image:linear-gradient(90deg,rgba(0,0,0,.7),transparent 24%,transparent 76%,rgba(0,0,0,.65));
  transition:opacity .4s ease
}
.shell,.login-stage{position:relative;z-index:1}

.game-ambient{position:fixed;z-index:0;inset:0;overflow:hidden;pointer-events:none;transform:translate3d(0,var(--journey-shift-soft,0),0);transition:opacity .4s ease}
.game-piece{position:absolute;display:grid;place-items:center;will-change:transform;color:#d991ff;opacity:.42;text-shadow:0 0 16px currentColor;filter:saturate(.9)}
.game-piece-star{left:3.5%;top:18%;font-size:18px;animation:game-float-a 8.5s ease-in-out infinite}
.game-piece-orb{right:3.2%;top:34%;width:18px;height:18px;border:2px solid rgba(100,210,255,.42);border-radius:50%;box-shadow:0 0 18px rgba(100,210,255,.16),inset 0 0 9px rgba(100,210,255,.12);animation:game-float-b 10s ease-in-out infinite}
.game-piece-diamond{left:5.5%;top:63%;width:13px;height:13px;border:2px solid rgba(255,80,139,.46);transform:rotate(45deg);box-shadow:0 0 15px rgba(255,55,95,.16);animation:game-diamond 9s ease-in-out infinite}
.game-piece-ring{right:6%;top:76%;width:26px;height:26px;border:3px solid rgba(255,159,10,.24);border-radius:50%;box-shadow:0 0 18px rgba(255,159,10,.1);animation:game-float-a 11s ease-in-out -3s infinite}
.game-piece-pixel{left:9%;top:43%;width:20px;height:20px;font-size:18px;font-style:normal;color:#ff6c96;animation:game-spin-float 12s ease-in-out -5s infinite}
.game-piece-spark{right:10%;top:16%;font-size:12px;color:#ffd60a;animation:game-float-b 7.5s ease-in-out -2s infinite}
body.intro-active .game-ambient{opacity:0}
@keyframes game-float-a{0%,100%{transform:translate3d(0,0,0) rotate(-8deg) scale(.9)}50%{transform:translate3d(12px,-18px,0) rotate(12deg) scale(1.08)}}
@keyframes game-float-b{0%,100%{transform:translate3d(0,0,0) scale(.88)}50%{transform:translate3d(-10px,15px,0) scale(1.12)}}
@keyframes game-diamond{0%,100%{transform:translate3d(0,0,0) rotate(45deg) scale(.9)}50%{transform:translate3d(10px,-16px,0) rotate(135deg) scale(1.08)}}
@keyframes game-spin-float{0%,100%{transform:translate3d(0,0,0) rotate(0) scale(.9)}50%{transform:translate3d(-8px,-14px,0) rotate(180deg) scale(1.1)}}

a{color:inherit;text-decoration:none}
a:hover{color:inherit}
button,input{font:inherit}

.shell{
  max-width:1160px;
  padding-top:24px;
  padding-bottom:112px;
}

.topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin-bottom:24px;
}
.brand{display:flex;align-items:center;gap:12px;font-weight:750;letter-spacing:-.03em}
.brand-mark{
  width:40px;height:40px;border-radius:14px;display:grid;place-items:center;
  background:linear-gradient(145deg,#1c1c1e,#2c2c2e);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.08);
}
.brand-icon{
  display:block;width:24px;height:28px;
  background:linear-gradient(155deg,#f5f5f7 0%,#f5f5f7 60%,#bf5af2 100%);
  -webkit-mask:url("images/masterit-logo.png") center/contain no-repeat;
  mask:url("images/masterit-logo.png") center/contain no-repeat;
}
.avatar{
  width:42px;height:42px;border-radius:50%;display:grid;place-items:center;
  background:#1c1c1e;border:1px solid var(--line);font-size:13px;font-weight:700;
}
.muted{color:var(--muted)!important}
.page-heading{margin-bottom:28px}
.page-navigation{display:flex;align-items:center;min-height:0}
.breadcrumbs{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin:0;padding:0;list-style:none;color:#74747b;font-size:12px}
.breadcrumbs li{display:flex;align-items:center;gap:7px}
.breadcrumbs li+li::before{content:"›";color:#4d4d53;font-size:15px}
.breadcrumbs a{color:#a0a0a6;transition:color .18s ease}
.breadcrumbs a:hover{color:#fff}
.breadcrumbs [aria-current="page"]{color:#6f6f75}
.page-title{font-size:clamp(36px,5vw,46px);letter-spacing:-.055em;margin:0 0 9px;font-weight:700}
.page-content{min-height:calc(100vh - 20px);min-height:calc(100svh - 20px);margin-top:0}

.master-card{
  background:rgba(18,18,20,.92);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
}

.hero{padding:18px}
.streak-card{
  position:relative;isolation:isolate;min-height:310px;border-radius:24px;padding:14px 15px 16px;display:flex;flex-direction:column;
  justify-content:center;align-items:center;text-align:center;
  background:radial-gradient(circle at 50% 34%,rgba(255,55,95,.14),transparent 45%),linear-gradient(155deg,#1a1a1d,#111113);
  border:1px solid rgba(255,255,255,.065);overflow:hidden;transition:transform .45s var(--motion-spring),border-color .25s ease,box-shadow .25s ease;
}
.streak-card:hover{transform:translateY(-3px);border-color:rgba(255,255,255,.065);box-shadow:0 22px 44px rgba(0,0,0,.35),0 0 34px rgba(255,42,111,.07)}
.streak-card:focus-visible{outline:3px solid rgba(217,148,255,.42);outline-offset:4px}
.reward-3d-canvas{position:absolute;z-index:0;inset:0;width:100%;height:100%;pointer-events:none;opacity:.48;filter:saturate(.92);transition:opacity .45s ease,filter .45s ease}
.streak-card:hover .reward-3d-canvas,.streak-card:focus-visible .reward-3d-canvas,.streak-card.is-energized .reward-3d-canvas{opacity:.82;filter:saturate(1.2) brightness(1.08)}
.streak-card>.streak-emblem,.streak-card>.streak-standing{position:relative;z-index:2}
.reward-burst-layer{position:absolute;z-index:5;left:50%;top:43%;width:1px;height:1px;pointer-events:none}
.reward-burst-layer i{position:absolute;left:0;top:0;color:var(--reward-color,#ffd60a);font-size:15px;font-style:normal;font-weight:900;line-height:1;text-shadow:0 0 12px currentColor;will-change:transform,opacity}
.reward-burst-layer i.is-flying{animation:reward-particle .9s var(--motion-spring) forwards}
.reward-tap-hint{position:absolute;z-index:4;right:13px;top:12px;padding:5px 8px;border:1px solid rgba(255,255,255,.08);border-radius:999px;background:rgba(9,9,11,.52);color:#99999f;font-size:7px;font-weight:800;letter-spacing:.07em;text-transform:uppercase;opacity:0;transform:translateY(-4px);transition:opacity .25s ease,transform .4s var(--motion-spring)}
.streak-card:hover .reward-tap-hint,.streak-card:focus-visible .reward-tap-hint{opacity:1;transform:none}
.streak-card.is-energized{animation:reward-card-pulse .76s var(--motion-spring)}
@keyframes reward-particle{0%{opacity:0;transform:translate(0,0) scale(.3)}18%{opacity:1}100%{opacity:0;transform:translate(var(--reward-x),var(--reward-y)) scale(.7) rotate(150deg)}}
@keyframes reward-card-pulse{0%,100%{box-shadow:0 22px 44px rgba(0,0,0,.35),0 0 34px rgba(255,42,111,.07)}42%{box-shadow:0 24px 48px rgba(0,0,0,.38),0 0 42px rgba(255,55,95,.2),inset 0 0 28px rgba(191,90,242,.08)}}
.streak-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:9px}.streak-title{color:#f0f0f2;font-size:27px;font-weight:750;letter-spacing:-.04em}.streak-panel-heading>a{flex:0 0 auto;display:inline-flex;align-items:center;gap:3px;color:#c596df;font-size:10px;font-weight:700;transition:color .2s ease}.streak-panel-heading>a span{font-size:17px;font-weight:400;line-height:1;transition:transform .35s var(--motion-spring)}.streak-panel-heading>a:hover{color:#edd5fa}.streak-panel-heading>a:hover span{transform:translateX(2px)}
.streak-panel-heading .streak-breakdown-link{gap:7px;padding:8px 10px 8px 12px;border:1px solid rgba(191,90,242,.22);border-radius:999px;background:rgba(191,90,242,.11);color:#d8b5ec;font-size:10px;box-shadow:inset 0 1px 0 rgba(255,255,255,.04)}.streak-panel-heading .streak-breakdown-link span{width:18px;height:18px;display:grid;place-items:center;border-radius:50%;background:rgba(191,90,242,.2);color:#f0dcfb}.streak-panel-heading .streak-breakdown-link:hover{color:#f2e3fa;background:rgba(191,90,242,.18);border-color:rgba(191,90,242,.34)}
.streak-emblem{position:relative;width:270px;height:218px;isolation:isolate}
.streak-emblem::before{position:absolute;z-index:-1;inset:38px 40px 10px;border-radius:50%;background:rgba(255,37,108,.2);filter:blur(30px);content:""}
.streak-flames{position:absolute;inset:10px auto auto 50%;width:220px;height:auto;transform:translate3d(calc(-50% + var(--streak-front-x,0px)),var(--streak-front-y,0px),0);filter:drop-shadow(0 0 13px rgba(255,36,109,.2));object-fit:contain;transition:transform .62s var(--motion-spring),filter .3s ease}
.streak-counter{position:absolute;z-index:2;left:50%;bottom:33px;width:150px;height:66px;display:grid;place-items:center;transform:translate3d(calc(-50% + var(--streak-front-x,0px)),var(--streak-front-y,0px),0);transition:transform .58s var(--motion-spring)}
.streak-counter strong{font-family:"Lilita One",Impact,sans-serif;font-size:47px;line-height:.9;font-weight:400;letter-spacing:-.045em;color:#ffe8f2;-webkit-text-stroke:1px rgba(133,15,56,.2);text-shadow:0 4px 0 rgba(160,17,68,.42),0 7px 12px rgba(84,4,35,.24)}
.streak-card:hover .streak-flames{transform:translate3d(calc(-50% + var(--streak-front-x,0px)),var(--streak-front-y,0px),0) scale(1.035);filter:drop-shadow(0 0 18px rgba(255,36,109,.34))}.streak-card:hover .streak-counter{transform:translate3d(calc(-50% + var(--streak-front-x,0px)),calc(var(--streak-front-y,0px) - 3px),0)}
.streak-standing{position:relative;z-index:3;width:100%;min-height:75px;margin-top:-4px;padding:13px 19px 11px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:9px;filter:drop-shadow(0 14px 17px rgba(0,0,0,.35));transform:translate3d(var(--streak-back-x,0px),var(--streak-back-y,0px),0);transition:transform .68s var(--motion-spring)}
.streak-standing::before{position:absolute;z-index:-1;inset:0;border:1px solid rgba(255,255,255,.075);border-radius:16px;background:linear-gradient(155deg,#27272c,#1c1c20 58%,#18181c);box-shadow:inset 0 2px 1px rgba(255,255,255,.035);transform:rotate(-1deg);content:""}
.streak-standing span{color:#929298;font-size:9px;font-weight:800;letter-spacing:.045em;text-shadow:0 2px 2px rgba(0,0,0,.5)}.streak-standing strong{color:#fff;font-family:"Lilita One",Impact,sans-serif;font-size:21px;line-height:1;font-weight:400;letter-spacing:.01em;text-shadow:0 3px 2px rgba(0,0,0,.45)}.streak-coin-stat{min-width:0;display:grid;grid-template-columns:29px auto;align-items:center;justify-content:center;gap:4px 7px;text-align:center}.streak-coin-stat span{grid-column:1/-1;justify-self:center}.streak-coin-stat .streak-coin{grid-column:1;grid-row:2}.streak-coin-stat strong{grid-column:2;grid-row:2;justify-self:start}.streak-position-stat{display:grid;justify-items:center;gap:4px;text-align:center}.streak-position-stat strong{min-width:44px;text-align:center}.streak-standing em{display:flex;gap:2px;transform:translateY(1px)}.streak-standing em b{width:13px;height:13px;border-top:5px solid #e23479;border-right:5px solid #e23479;transform:rotate(45deg);filter:drop-shadow(0 0 6px rgba(255,48,121,.4))}
.streak-coin{flex:0 0 auto;width:29px;height:29px;object-fit:contain;filter:drop-shadow(0 3px 4px rgba(98,53,0,.38))}
.progress-panel{padding:20px 8px 6px 0}
.progress-top{display:flex;align-items:flex-end;gap:8px;margin-bottom:18px}
.progress-top strong{font-size:44px;line-height:1;font-weight:700;letter-spacing:-.055em}
.progress-top span{font-size:22px;color:#6e6e73}
.streak-progress-meta{display:flex;align-items:center;justify-content:space-between;margin:0 2px 7px;color:#77777e;font-size:10px;font-weight:700;letter-spacing:.035em;text-transform:uppercase}
.streak-progress-meta strong{color:#bbb6c0;font-size:11px;letter-spacing:0}
.streak-progress{height:14px;border-radius:99px;background:#2c2c2e;overflow:hidden;margin-bottom:17px}
.streak-progress i{
  display:block;width:75%;height:100%;border-radius:inherit;
  background:linear-gradient(90deg,#ff375f,#ff9f0a);box-shadow:0 0 18px rgba(255,55,95,.22)
}
.streak-history{display:block;border-radius:22px;transition:transform .4s var(--motion-spring)}
.streak-history-head{display:flex;align-items:center;justify-content:space-between;margin:0 3px 8px}.streak-history-head>span{color:#c3c3c8;font-size:11px;font-weight:700}.streak-history-head small{color:#68686e;font-size:9px}
.streak-history:hover{transform:translateY(-2px)}.streak-history:hover .week{background:#1d1d20}
.week{position:relative;display:grid;grid-template-columns:repeat(6,1fr);gap:9px;padding:16px;border-radius:22px;background:#1a1a1c}
.week::before{position:absolute;top:40px;left:8.33%;right:8.33%;height:1px;background:linear-gradient(90deg,transparent,rgba(255,255,255,.07) 10%,rgba(255,255,255,.07) 90%,transparent);content:""}
.day{position:relative;z-index:1;text-align:center}.dot{width:48px;height:48px;margin:0 auto 7px;border-radius:50%;background:#2a2a2d;display:grid;place-items:center;color:#fff;font-size:14px;font-weight:700;transition:transform .4s var(--motion-spring),background .2s ease,box-shadow .2s ease}
.day.done .dot{background:rgba(255,55,95,.16);border:1px solid rgba(255,86,138,.22);color:#ff5d8c;box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 0 14px rgba(255,55,95,.08)}.day.done .dot svg{width:22px;height:22px;filter:drop-shadow(0 0 5px rgba(255,55,95,.34))}
.day:hover .dot{transform:scale(1.12)}.day.done:hover .dot{background:rgba(255,55,95,.23);box-shadow:0 0 18px rgba(255,55,95,.16)}
.day.missed .dot{background:#2a2a2d;color:#ff6961}
.day small{font-size:11px;color:#b6b6ba}

.side-card{padding:20px}
.live-badge{display:inline-flex;align-items:center;gap:7px;color:#ff9f0a;background:rgba(255,159,10,.10);padding:7px 10px;border-radius:999px;font-size:11px;font-weight:700}
.next-class{margin-top:16px;border-radius:24px;padding:22px;background:radial-gradient(circle at 90% 10%,rgba(255, 196, 0, 0.08),transparent 25%),linear-gradient(160deg,#1c1c1e,#111113);border:1px solid rgba(255,255,255,.06)}
.next-class .date{font-size:34px;font-weight:720;letter-spacing:-.05em;margin:14px 0 4px}
.next-class h3{font-size:21px;margin:8px 0}

.reward-milestones{margin-top:28px;padding:26px;overflow:hidden;background:radial-gradient(circle at 88% 0,rgba(191,90,242,.07),transparent 32%),linear-gradient(155deg,rgba(20,20,23,.97),rgba(12,12,14,.97))}
.reward-milestones-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:22px}.reward-milestones-heading h2{margin:0;font-size:28px;letter-spacing:-.045em}.reward-milestones-heading p{margin:6px 0 0;color:#818187;font-size:12px}.reward-unlocked-count{flex:0 0 auto;padding:9px 13px;border:1px solid rgba(255,55,95,.23);border-radius:999px;background:rgba(255,55,95,.075);color:#c98aa8;font-size:11px;font-weight:750}.reward-unlocked-count strong{color:#ff4f87}
.reward-next-progress{margin:20px 0 16px}.reward-next-progress>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:8px;color:#77777e;font-size:10px}.reward-next-progress strong{color:#aaa7ae;font-weight:650}.reward-progress-track{height:5px;overflow:hidden;border-radius:99px;background:#29292d}.reward-progress-track i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#bf5af2,#ff375f,#ff9f0a);box-shadow:0 0 16px rgba(255,55,95,.28);transition:width .8s var(--motion-spring)}
.reward-milestone-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.reward-milestone-card{position:relative;min-width:0;min-height:176px;padding:19px;border:1px solid rgba(255,255,255,.07);border-radius:21px;background:rgba(255,255,255,.022);transition:transform .45s var(--motion-spring),border-color .3s ease,background .3s ease,box-shadow .35s ease}.reward-milestone-card:hover{transform:translateY(-3px);background:rgba(255,255,255,.038);border-color:rgba(255,255,255,.12);box-shadow:0 18px 35px rgba(0,0,0,.2)}.reward-milestone-card.is-unlocked{border-color:rgba(255,55,95,.22);background:linear-gradient(145deg,rgba(191,90,242,.075),rgba(255,55,95,.035))}
.reward-milestone-icon{position:relative;width:54px;height:54px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.07);border-radius:17px;background:#222228;color:#74747f}.reward-milestone-icon svg{width:27px;height:27px}.is-unlocked .reward-milestone-icon{border-color:rgba(255,55,95,.24);background:linear-gradient(145deg,#b62ee3,#ff286d);color:#fff;box-shadow:0 10px 28px rgba(211,42,150,.22)}.reward-milestone-icon span{position:absolute;right:-5px;bottom:-5px;width:19px;height:19px;display:grid;place-items:center;border:3px solid #151518;border-radius:50%;background:#ff375f;color:#fff;font-size:9px;font-weight:900}
.reward-milestone-copy{margin-top:16px}.reward-milestone-copy>span{color:#76767e;font-size:9px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.is-unlocked .reward-milestone-copy>span{color:#dc74ae}.reward-milestone-copy h3{margin:4px 0 3px;font-size:18px;letter-spacing:-.025em}.reward-milestone-copy p{margin:0;color:#898990;font-size:11px}.reward-milestone-state{position:absolute;top:19px;right:18px;color:#696971;font-size:9px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}.is-unlocked .reward-milestone-state{color:#ff6094}

.weekly-schedule{margin-top:28px;padding:24px;overflow:hidden;background:linear-gradient(155deg,rgba(20,20,23,.96),rgba(12,12,14,.96))}
.weekly-schedule.motion-depth::before{
  background:
    radial-gradient(circle 250px at var(--motion-x) var(--motion-y),rgba(100,210,255,.075),rgba(191,90,242,.035) 43%,transparent 74%),
    linear-gradient(115deg,rgba(10,132,255,.016),transparent 48%,rgba(255,55,95,.012));
  transition:opacity .48s ease
}
.weekly-schedule.motion-depth.motion-hover{
  transform:translate3d(0,-1px,0);
  border-color:rgba(255,255,255,.105);
  box-shadow:0 22px 64px rgba(0,0,0,.44)
}
.weekly-schedule.motion-depth.motion-hover::before{opacity:.68}
.weekly-schedule-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:18px}
.schedule-eyebrow{display:block;margin-bottom:5px;color:#85858b;font-size:10px;font-weight:750;letter-spacing:.09em;text-transform:uppercase}
.weekly-schedule-heading h2{margin:0;font-size:27px;font-weight:700;letter-spacing:-.045em}
.schedule-week-range{text-align:right}
.schedule-week-range strong{display:block;font-size:14px}
.schedule-week-range span{display:block;margin-top:3px;color:#74747b;font-size:10px}
.schedule-legend{display:flex;align-items:center;gap:18px;margin:17px 0 15px;color:#85858b;font-size:10px}
.schedule-legend span{display:flex;align-items:center;gap:7px}
.schedule-legend i{width:8px;height:8px;border-radius:50%;box-shadow:0 0 12px currentColor}
.schedule-legend .theory{color:#bf5af2;background:#bf5af2}
.schedule-legend .paper{color:#0a84ff;background:#0a84ff}
.schedule-legend .recap{color:#ff9f0a;background:#ff9f0a}
.weekly-calendar-scroll{overflow-x:auto;padding:4px 0 8px;overscroll-behavior-inline:contain;scroll-snap-type:x proximity;scrollbar-width:none}
.weekly-calendar-scroll::-webkit-scrollbar{display:none}
.weekly-calendar-grid{min-width:960px;display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:9px}
.weekly-day{
  min-height:210px;padding:13px;border-radius:19px;scroll-snap-align:start;
  display:flex;flex-direction:column;
  background:rgba(255,255,255,.025);border:1px solid rgba(255,255,255,.055);
  transition:transform .55s var(--motion-spring),background .3s ease,border-color .3s ease
}
.weekly-day:hover{transform:translateY(-2px);background:rgba(255,255,255,.04);border-color:rgba(255,255,255,.1)}
.weekly-calendar-grid:hover .weekly-day:not(:hover){opacity:.82;transform:scale(.994)}
.weekly-calendar-grid:hover .weekly-day:hover{background:rgba(255,255,255,.035);border-color:rgba(255,255,255,.09)}
.weekly-calendar-grid:hover .weekly-day:hover .schedule-event{transform:translateY(-2px);box-shadow:0 12px 30px rgba(0,0,0,.18)}
.weekly-day.is-today{background:rgba(255,255,255,.047);border-color:rgba(255,255,255,.14);box-shadow:inset 0 1px 0 rgba(255,255,255,.06)}
.weekly-day-head{display:flex;align-items:center;justify-content:space-between;padding:1px 2px 12px}
.weekly-day-head span{color:#7c7c82;font-size:10px;font-weight:750;letter-spacing:.05em;text-transform:uppercase}
.weekly-day-head strong{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;font-size:13px}
.weekly-day.is-today .weekly-day-head span{color:#d4d4d8}
.weekly-day.is-today .weekly-day-head strong{background:#f5f5f7;color:#09090a;box-shadow:0 7px 20px rgba(255,255,255,.1)}
.weekly-day-events{min-height:145px;display:flex;flex:1;flex-direction:column;align-items:stretch;gap:8px}
.schedule-free{margin:auto;color:#505056;font-size:10px}
.schedule-event{
  position:relative;width:100%;min-height:142px;padding:13px;border-radius:15px;overflow:hidden;
  display:flex;flex:1;flex-direction:column;align-items:flex-start;
  border:1px solid rgba(255,255,255,.07);
  transition:transform .55s var(--motion-spring),box-shadow .4s ease
}
.schedule-event::before{content:"";position:absolute;right:-22px;top:-24px;width:70px;height:70px;border-radius:50%;filter:blur(19px);opacity:.25;pointer-events:none}
.schedule-event-theory{background:linear-gradient(155deg,rgba(191,90,242,.11),rgba(94,92,230,.045))}
.schedule-event-theory::before{background:#bf5af2}
.schedule-event-paper{background:linear-gradient(155deg,rgba(10,132,255,.1),rgba(100,210,255,.035))}
.schedule-event-paper::before{background:#0a84ff}
.schedule-event-recap{background:linear-gradient(155deg,rgba(255,159,10,.1),rgba(255,55,95,.04))}
.schedule-event-recap::before{background:#ff9f0a}
.schedule-event-type{position:relative;z-index:1;margin-bottom:13px;padding:5px 7px;border-radius:999px;font-size:8px;font-weight:800;letter-spacing:.055em;text-transform:uppercase}
.schedule-event-theory .schedule-event-type{color:#d69aff;background:rgba(191,90,242,.13)}
.schedule-event-paper .schedule-event-type{color:#79c2ff;background:rgba(10,132,255,.13)}
.schedule-event-recap .schedule-event-type{color:#ffc266;background:rgba(255,159,10,.13)}
.weekly-day.has-multiple-events .schedule-event{min-height:92px;padding:10px}
.weekly-day.has-multiple-events .schedule-event-type{margin-bottom:8px;padding:4px 6px}
.schedule-event strong{position:relative;z-index:1;font-size:14px;letter-spacing:-.025em}
.schedule-event time{position:relative;z-index:1;margin-top:5px;color:#aaaab0;font-size:10px;white-space:nowrap}
.schedule-event small{position:relative;z-index:1;margin-top:auto;color:#68686e;font-size:9px}

.cta{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:13px 16px;
  border:0;border-radius:14px;background:#f5f5f7;color:#000;font-weight:700;cursor:pointer;
  transition:transform .18s ease,opacity .18s ease,background .18s ease;
}
.cta:hover{color:#000;transform:translateY(-1px);opacity:.94}
.cta.secondary{background:#2c2c2e;color:#fff;box-shadow:inset 0 0 0 1px rgba(255,255,255,.04)}
.cta.secondary:hover{color:#fff}

.section-head{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:14px}
.section-head h2{margin:0;font-size:27px;letter-spacing:-.045em;font-weight:700}
.section-head p{margin:4px 0 0;color:var(--muted)}
.section-link{white-space:nowrap}

.lesson{
  min-height:210px;padding:18px;display:flex;flex-direction:column;justify-content:space-between;
  position:relative;overflow:hidden;background:linear-gradient(180deg,#151517,#101012);
}
.lesson::after{content:"";position:absolute;right:-35px;top:-35px;width:120px;height:120px;border-radius:50%;filter:blur(22px);opacity:.28;pointer-events:none;background:var(--purple)}
.col-xl-3:nth-child(8n+1) .lesson::after{background:var(--pink)}
.col-xl-3:nth-child(8n+2) .lesson::after{background:var(--blue)}
.col-xl-3:nth-child(8n+3) .lesson::after{background:var(--purple)}
.col-xl-3:nth-child(8n+4) .lesson::after{background:var(--green)}
.col-xl-3:nth-child(8n+5) .lesson::after{background:var(--orange)}
.col-xl-3:nth-child(8n+6) .lesson::after{background:var(--cyan)}
.col-xl-3:nth-child(8n+7) .lesson::after{background:var(--yellow)}
.lesson .num{font-size:11px;color:#8e8e93;font-weight:700;letter-spacing:.02em}
.lesson h3{font-size:20px;margin:12px 0 7px;letter-spacing:-.03em}
.lesson .meta{font-size:13px;color:#9a9aa0}
.lesson-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;position:relative;z-index:1}
.status{font-size:11px;font-weight:700;padding:7px 10px;border-radius:999px;background:#242427;color:#aaaab0}
.status.live{background:rgba(255,55,95,.14);color:#ff6481}
.status.done{background:rgba(48,209,88,.12);color:#60e681}

.recording{overflow:hidden}
.recording-card{--recording-accent:#8e8e96;--recording-tone-a:#5e5ce6;--recording-tone-b:#64d2ff;--watch-progress:0%;position:relative;isolation:isolate;min-height:126px;padding:21px;display:grid;grid-template-columns:64px minmax(0,1fr) auto;align-items:center;gap:21px;border:1px solid rgba(255,255,255,.075);border-radius:27px;background:#141416;color:inherit;box-shadow:inset 0 1px 0 rgba(255,255,255,.025),0 14px 36px rgba(0,0,0,.16);transition:transform .52s var(--motion-spring),border-color .3s ease,background .3s ease,box-shadow .4s ease}
.col-xl-6:nth-child(4n+2) .recording-card{--recording-tone-a:#bf5af2;--recording-tone-b:#ff375f}.col-xl-6:nth-child(4n+3) .recording-card{--recording-tone-a:#30d158;--recording-tone-b:#64d2ff}.col-xl-6:nth-child(4n+4) .recording-card{--recording-tone-a:#ff9f0a;--recording-tone-b:#ff5364}
.recording-card::after{content:"";position:absolute;z-index:2;left:106px;right:21px;bottom:0;height:1px;background:linear-gradient(90deg,color-mix(in srgb,var(--recording-tone-a) 58%,transparent),color-mix(in srgb,var(--recording-tone-b) 28%,transparent),transparent);opacity:.24;transform:scaleX(.44);transform-origin:left;transition:opacity .35s ease,transform .65s var(--motion-spring);pointer-events:none}
.recording-card.watch-watched{--recording-accent:#30d158}.recording-card.watch-partial{--recording-accent:#ff9f0a}.recording-card.watch-not-watched{--recording-accent:#ff5364}
.recording-card:not(.is-unavailable){cursor:pointer}.recording-card:hover{color:inherit;border-color:rgba(255,255,255,.12);background-color:#17171a}.recording-card:hover::after{opacity:.72;transform:scaleX(1)}.recording-card:active{transform:scale(.988)!important;transition-duration:.1s}.recording-card:focus-visible{outline:2px solid color-mix(in srgb,var(--recording-tone-a) 72%,#fff);outline-offset:3px}
.recording-card-art{position:relative;width:64px;height:64px;padding:4px;display:grid;place-items:center;border-radius:50%;background:conic-gradient(var(--recording-accent) var(--watch-progress),rgba(255,255,255,.08) 0);box-shadow:0 0 0 1px rgba(255,255,255,.035),0 12px 28px rgba(0,0,0,.24);transition:transform .52s var(--motion-spring),box-shadow .35s ease}.recording-card-art::after{content:"";position:absolute;inset:-7px;border:1px solid color-mix(in srgb,var(--recording-tone-a) 16%,transparent);border-radius:50%;opacity:.5;transition:transform .55s var(--motion-spring),opacity .3s ease}.recording-card-art span{width:100%;height:100%;display:grid;place-items:center;padding-left:2px;border:4px solid #151517;border-radius:50%;background:radial-gradient(circle at 32% 25%,color-mix(in srgb,var(--recording-tone-a) 17%,#303034),#1d1d20 68%);color:#f7f7f8;font-size:10px;box-shadow:inset 0 1px 0 rgba(255,255,255,.1)}.recording-card:hover .recording-card-art{transform:scale(1.045);box-shadow:0 0 0 1px color-mix(in srgb,var(--recording-tone-a) 18%,transparent),0 14px 34px color-mix(in srgb,var(--recording-tone-a) 12%,rgba(0,0,0,.26))}.recording-card:hover .recording-card-art::after{opacity:.9;transform:scale(1.06)}
.recording-card-content{min-width:0}.recording-card-eyebrow{margin-bottom:6px;display:flex;align-items:center;gap:8px;color:#74747b;font-size:8px;font-weight:750;letter-spacing:.085em;text-transform:uppercase}.recording-card-eyebrow span{color:color-mix(in srgb,var(--recording-tone-a) 42%,#aaaab0)}.recording-card-eyebrow time{font:inherit;letter-spacing:.045em}.recording-card-eyebrow time::before{margin-right:8px;color:#4e4e54;content:"/"}.recording-card h3{margin:0;color:#f2f2f4;font-size:16px;line-height:1.28;font-weight:690;letter-spacing:-.025em}.recording-card p{margin:5px 0 0;color:#8b8b92;font-size:10px;line-height:1.3}
.recording-watch-status{width:max-content;max-width:100%;margin-top:10px;display:flex;flex-wrap:wrap;align-items:center;gap:8px;color:#7f7f86;font-size:9px;line-height:1.2}.recording-watch-state{display:inline-flex;align-items:center;gap:6px}.recording-watch-status i{width:6px;height:6px;flex:0 0 6px;border-radius:50%;background:var(--recording-accent);box-shadow:0 0 9px color-mix(in srgb,var(--recording-accent) 48%,transparent)}.recording-watch-status strong{color:color-mix(in srgb,var(--recording-accent) 58%,#c9c9cd);font-weight:720}.recording-attendance-state{padding-left:9px;border-left:1px solid rgba(255,255,255,.09);color:#77777e}
.recording-card-action{min-width:72px;height:36px;padding:0 9px 0 12px;display:flex;align-items:center;justify-content:center;gap:8px;border:1px solid rgba(255,255,255,.075);border-radius:999px;background:rgba(255,255,255,.035);color:#b8b8be;box-shadow:inset 0 1px 0 rgba(255,255,255,.035);transition:transform .45s var(--motion-spring),color .25s ease,background .25s ease,border-color .25s ease,box-shadow .35s ease}.recording-card-action small{font-size:8px;font-weight:780;letter-spacing:.075em;text-transform:uppercase}.recording-card-action b{font-size:15px;font-weight:500;line-height:1;transition:transform .4s var(--motion-spring)}.recording-card:hover .recording-card-action:not(.is-disabled){color:#fff;border-color:color-mix(in srgb,var(--recording-tone-a) 22%,rgba(255,255,255,.1));background:color-mix(in srgb,var(--recording-tone-a) 11%,rgba(255,255,255,.04));box-shadow:0 10px 24px color-mix(in srgb,var(--recording-tone-a) 9%,transparent),inset 0 1px 0 rgba(255,255,255,.06);transform:translateX(2px)}.recording-card:hover .recording-card-action:not(.is-disabled) b{transform:translate(2px,-1px)}.recording-card-action.is-disabled{color:#5f5f65;box-shadow:none}.recording-card-action.is-disabled:hover{transform:none}
.recording-class-picker{margin-bottom:30px}
.recording-class-list{display:flex;gap:12px;overflow-x:auto;padding:3px 2px 10px;scrollbar-width:none;scroll-snap-type:x proximity}
.recording-class-list::-webkit-scrollbar{display:none}
.recording-class-option{position:relative;flex:0 0 auto;width:max-content;min-width:250px;min-height:82px;padding:14px 56px 14px 15px;display:grid;grid-template-columns:46px max-content;align-items:center;gap:12px;border:1px solid var(--line);border-radius:20px;background:linear-gradient(155deg,#19191c,#111113);scroll-snap-align:start;transition:transform .4s var(--motion-spring),border-color .25s ease,background .25s ease,box-shadow .3s ease}
.recording-class-option:hover{transform:translateY(-2px);border-color:rgba(191,90,242,.22);background:linear-gradient(155deg,#201b24,#121214)}
.recording-class-option.is-selected{border-color:rgba(191,90,242,.38);background:radial-gradient(circle at 15% 20%,rgba(191,90,242,.15),transparent 42%),linear-gradient(155deg,#211b27,#131316);box-shadow:0 12px 32px rgba(61,24,84,.18),inset 0 1px 0 rgba(255,255,255,.04)}
.recording-class-icon{width:46px;height:46px;display:grid;place-items:center;border-radius:15px;background:#242428;color:#8e8e93;font-size:13px;transition:color .25s ease,background .25s ease}
.recording-class-option.is-selected .recording-class-icon{color:#ead5f6;background:rgba(191,90,242,.16)}
.recording-class-copy{min-width:0}.recording-class-copy small{display:block;margin-bottom:3px;color:#77777e;font-size:9px;font-weight:750;letter-spacing:.08em;text-transform:uppercase}.recording-class-copy strong{display:block;color:#e8e8eb;font-size:14px;line-height:1.35;white-space:nowrap}
.recording-class-option>b{position:absolute;top:50%;right:14px;width:28px;height:28px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.07);border-radius:50%;background:rgba(255,255,255,.035);color:#77777e;font-size:19px;font-weight:400;line-height:1;transform:translateY(-50%);transition:transform .35s var(--motion-spring),color .25s ease,border-color .25s ease,background .25s ease}.recording-class-option:hover>b,.recording-class-option.is-selected>b{color:#d8b7ea;border-color:rgba(191,90,242,.22);background:rgba(191,90,242,.1);transform:translate(2px,-50%)}
.recording-results-head{margin-top:2px}.recording-result-count{color:#77777e;font-size:11px;font-weight:650}

.profile-card{padding:28px;text-align:center;background:linear-gradient(160deg,#17171a,#101012)}
.profile-avatar{width:92px;height:92px;margin:0 auto 16px;border-radius:28px;display:grid;place-items:center;font-size:32px;font-weight:750;background:linear-gradient(145deg,#2c2c2e,#1c1c1e);border:1px solid var(--line)}
.profile-card h2{font-size:24px;margin-bottom:6px}
.stat-row{margin-top:22px}
.stat{padding:15px 8px;border-radius:18px;background:#1c1c1e}
.stat strong{display:block;font-size:24px}.stat span{font-size:12px}
.attendance-chart{
  margin-top:28px;padding:22px 24px;border-radius:24px;text-align:left;overflow:hidden;
  background:radial-gradient(circle at 85% 0%,rgba(191,90,242,.12),transparent 36%),linear-gradient(155deg,#1b1b1e,#141416);
  border:1px solid rgba(255,255,255,.07)
}
.attendance-chart-head{display:flex;align-items:flex-end;justify-content:space-between;gap:14px}
.attendance-eyebrow{display:block;margin-bottom:4px;color:#8e8e93;font-size:10px;font-weight:750;letter-spacing:.08em;text-transform:uppercase}
.attendance-chart h3{margin:0;font-size:18px;letter-spacing:-.03em}
.attendance-total{text-align:right;line-height:1}
.attendance-total strong{display:block;font-size:25px;letter-spacing:-.04em}
.attendance-total span{color:#85858b;font-size:10px}
.attendance-legend{display:flex;align-items:center;gap:15px;margin-top:15px;color:#85858b;font-size:10px}
.attendance-legend span{display:flex;align-items:center;gap:6px}
.attendance-key-bar{width:9px;height:9px;border-radius:3px;background:linear-gradient(180deg,var(--purple),var(--blue));box-shadow:0 0 10px rgba(191,90,242,.25)}
.attendance-key-recording{width:9px;height:9px;border-radius:3px;background:linear-gradient(180deg,#ff9fdb,#bf5af2)}
.attendance-key-target{width:11px;height:0;border-top:1px dashed rgba(255,255,255,.48)}
.attendance-graph{display:grid;grid-template-columns:28px minmax(0,1fr);gap:9px;height:188px;margin-top:14px}
.attendance-axis{display:flex;flex-direction:column;justify-content:space-between;padding:1px 0 23px;color:#68686e;font-size:9px;text-align:right}
.attendance-plot{position:relative;min-width:0}
.attendance-grid{position:absolute;left:0;right:0;height:1px;background:rgba(255,255,255,.055);pointer-events:none}
.attendance-grid-top{top:0}.attendance-grid-mid{top:50%}.attendance-grid-base{bottom:23px}
.attendance-columns{position:absolute;inset:0;display:grid;grid-template-columns:repeat(var(--attendance-count),minmax(24px,1fr));gap:7px}
.attendance-column{min-width:0;display:grid;grid-template-rows:minmax(0,1fr) 23px;gap:0}
.attendance-bar-track{position:relative;min-height:0}
.attendance-bar-track>strong{
  position:absolute;z-index:3;left:50%;bottom:min(calc(var(--bar-height) + 5px),calc(100% - 18px));transform:translateX(-50%);
  color:#d7d7dc;font-size:10px;line-height:1;white-space:nowrap
}
.attendance-bar-track>strong small{font-size:8px;color:#77777e}
.attendance-bar{
  position:absolute;z-index:1;left:25%;right:25%;bottom:0;height:var(--bar-height);min-height:3px;border-radius:9px 9px 4px 4px;
  background:linear-gradient(180deg,#bf5af2 0%,#5e5ce6 48%,#0a84ff 100%);
  box-shadow:0 0 18px rgba(94,92,230,.16),inset 0 1px 0 rgba(255,255,255,.24);
  transform-origin:center bottom;animation:attendance-rise .85s var(--motion-spring) both
}
.attendance-bar.is-present{background:linear-gradient(180deg,#64d2ff,#0a84ff);box-shadow:0 0 20px rgba(10,132,255,.22),inset 0 1px 0 rgba(255,255,255,.3)}
.attendance-bar-track:has(.attendance-replay-bar) .attendance-bar{left:15%;right:54%}.attendance-replay-bar{position:absolute;z-index:1;left:54%;right:15%;bottom:0;height:var(--recording-height);border-radius:9px 9px 4px 4px;background:linear-gradient(180deg,#ff9fdb,#bf5af2);box-shadow:0 0 16px rgba(191,90,242,.18);transform-origin:center bottom;animation:attendance-rise .85s var(--motion-spring) both}.attendance-total small{display:block;margin-top:5px;color:#cda5e6;font-size:10px}
.attendance-target{position:absolute;z-index:2;left:8%;right:8%;bottom:var(--target-height);border-top:1px dashed rgba(255,255,255,.46)}
.attendance-date{align-self:end;padding-top:8px;color:#77777e;font-size:9px;text-align:center;white-space:nowrap}
.attendance-empty{min-height:188px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#77777e}
.attendance-empty-icon{width:54px;height:32px;margin-bottom:14px;border-left:5px solid #39393e;border-right:5px solid #55555b;box-shadow:inset 14px 0 #45454a,inset -14px 0 #65656b;border-radius:6px 6px 3px 3px;opacity:.58}
.attendance-empty strong{color:#c7c7cc;font-size:13px}
.attendance-empty small{margin-top:5px;font-size:10px}
@keyframes attendance-rise{from{transform:scaleY(.06);opacity:.25}to{transform:scaleY(1);opacity:1}}
.attendance-page .attendance-chart{margin-top:0}
.attendance-list{display:grid;gap:11px}
.attendance-row{display:grid;grid-template-columns:68px minmax(0,1fr);gap:18px;padding:18px 20px;background:linear-gradient(155deg,rgba(22,22,25,.96),rgba(14,14,16,.96))}
.attendance-row-date{align-self:center;text-align:center;padding:11px 8px;border-radius:16px;background:#1c1c1f;border:1px solid rgba(255,255,255,.055)}
.attendance-row-date span{display:block;color:#85858b;font-size:9px;font-weight:750;letter-spacing:.08em}
.attendance-row-date strong{display:block;margin-top:2px;font-size:22px;letter-spacing:-.04em}
.attendance-row-main{min-width:0}
.attendance-row-title{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}
.attendance-row-title>div{min-width:0}
.attendance-row-title>div>span{display:block;margin-bottom:3px;color:#77777e;font-size:10px}
.attendance-row-title h3{margin:0;font-size:17px;letter-spacing:-.025em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.attendance-status{flex:0 0 auto;padding:6px 9px;border-radius:999px;font-size:9px;font-weight:800;letter-spacing:.035em;text-transform:uppercase}
.attendance-status-present{color:#73e990;background:rgba(48,209,88,.12)}
.attendance-status-partial{color:#ffc266;background:rgba(255,159,10,.12)}
.attendance-status-absent{color:#ff8580;background:rgba(255,69,58,.12)}
.attendance-status-live{color:#ff7893;background:rgba(255,55,95,.13)}
.attendance-status-upcoming{color:#aaaab0;background:rgba(142,142,147,.12)}
.attendance-row-progress{position:relative;height:8px;margin-top:14px;border-radius:99px;overflow:hidden;background:#29292d}
.attendance-row-progress i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#bf5af2,#5e5ce6,#0a84ff);box-shadow:0 0 14px rgba(94,92,230,.2)}
.attendance-row-progress b{position:absolute;top:0;bottom:0;width:1px;background:rgba(255,255,255,.58)}
.attendance-row-meta{display:flex;justify-content:space-between;gap:14px;margin-top:9px;color:#77777e;font-size:10px}
.attendance-row-meta strong{color:#b9b9bf;font-size:11px}
.attendance-recording-time{margin-top:7px;color:#9e8aa9;font-size:10px}.attendance-recording-time strong{color:#d8b7ec}

.tute-gallery{width:min(1060px,100%);margin:14px auto 0;display:grid;grid-template-columns:repeat(auto-fit,minmax(410px,480px));justify-content:center;align-items:start;gap:44px 62px}
.tute-gallery-item{min-width:0}
.tute-item{position:relative;min-height:224px;display:flex;align-items:center;justify-content:center}
.tute-resource{position:relative;width:100%;height:224px;display:flex;align-items:center;color:inherit;text-decoration:none;isolation:isolate;transition:transform .65s var(--motion-spring)}
.tute-resource:hover{color:inherit;transform:translateY(-4px)}
.tute-resource.motion-pressed{transform:translateY(-1px) scale(.975);transition-duration:.12s}
.tute-resource:focus-visible{outline:3px solid rgba(191,90,242,.4);outline-offset:7px;border-radius:38px}
.tute-visual{position:relative;z-index:2;width:210px;height:210px;flex:0 0 210px;display:grid;place-items:center}
.tute-orbit-ring{position:absolute;inset:13px;border:1px solid rgba(191,90,242,.16);border-radius:50%;transform:rotate(-12deg) scaleY(.78);box-shadow:0 0 50px rgba(94,92,230,.07);transition:transform .9s var(--motion-spring),border-color .4s ease}
.tute-orbit-ring::after{content:"";position:absolute;left:24px;top:7px;width:7px;height:7px;border-radius:50%;background:#d8a6ff;box-shadow:0 0 18px rgba(191,90,242,.65)}
.tute-orbit-dot{position:absolute;right:14px;bottom:45px;width:11px;height:11px;border:2px solid #0a0a0b;border-radius:50%;background:#7d6cff;box-shadow:0 0 22px rgba(94,92,230,.55);transition:transform .8s var(--motion-spring)}
.tute-orb{position:relative;width:164px;height:164px;overflow:hidden;display:grid;place-items:center;border:1px solid rgba(255,255,255,.105);border-radius:50%;background:radial-gradient(circle at 34% 26%,rgba(255,255,255,.13),transparent 28%),radial-gradient(circle at 72% 78%,rgba(94,92,230,.28),transparent 43%),linear-gradient(145deg,rgba(45,35,55,.92),rgba(16,16,19,.96));box-shadow:inset 0 1px 0 rgba(255,255,255,.09),inset 0 -24px 45px rgba(0,0,0,.19),0 25px 70px rgba(0,0,0,.42),0 0 45px rgba(191,90,242,.08)}
.tute-orb::after{content:"";position:absolute;inset:11px;border:1px solid rgba(255,255,255,.05);border-radius:50%;pointer-events:none}
.tute-icon{position:relative;z-index:3;width:68px;height:68px;border-radius:23px;display:grid;place-items:center;color:#f0ddff;background:linear-gradient(145deg,rgba(191,90,242,.3),rgba(94,92,230,.2));border:1px solid rgba(222,186,255,.24);box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 15px 35px rgba(0,0,0,.22)}
.tute-icon svg{width:31px;height:31px}
.tute-info-rail{position:relative;z-index:1;width:calc(100% - 174px);min-width:0;min-height:110px;margin-left:-36px;padding:16px 13px 16px 56px;display:flex;align-items:center;justify-content:space-between;gap:14px;border:1px solid rgba(255,255,255,.09);border-left-color:rgba(191,90,242,.16);border-radius:0 30px 30px 0;background:linear-gradient(105deg,rgba(30,26,36,.82),rgba(22,22,25,.9));-webkit-backdrop-filter:blur(22px) saturate(145%);backdrop-filter:blur(22px) saturate(145%);box-shadow:inset 0 1px 0 rgba(255,255,255,.055),20px 22px 55px rgba(0,0,0,.3);transition:transform .65s var(--motion-spring),border-color .35s ease,background .35s ease,box-shadow .35s ease}
.tute-rail-copy{min-width:0;display:block;text-align:left}
.tute-rail-copy small{display:block;margin-bottom:7px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#aa8fbb;font-size:8px;font-weight:790;letter-spacing:.085em;text-transform:uppercase}
.tute-rail-copy strong{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;color:#f5f5f7;font-size:17px;font-weight:720;line-height:1.23;letter-spacing:-.035em;text-wrap:balance}
.tute-open-arrow{width:46px;height:46px;flex:0 0 46px;border-radius:50%;display:grid;place-items:center;color:#09090a;background:#f5f5f7;box-shadow:0 10px 28px rgba(0,0,0,.32),inset 0 1px 0 #fff;transition:transform .55s var(--motion-spring),background .25s ease,box-shadow .35s ease}
.tute-open-arrow svg{width:17px;height:17px}
.tute-unavailable-label{flex:0 0 auto;color:#73737a;font-size:9px;font-weight:760;letter-spacing:.055em;text-transform:uppercase}
.tute-resource:hover .tute-info-rail{transform:translateX(5px);border-color:rgba(198,139,234,.2);background:linear-gradient(105deg,rgba(39,30,47,.88),rgba(24,23,28,.94));box-shadow:inset 0 1px 0 rgba(255,255,255,.07),22px 25px 60px rgba(0,0,0,.34)}
.tute-resource:hover .tute-open-arrow{transform:translate(2px,-2px) rotate(3deg);background:#fff;box-shadow:0 12px 30px rgba(0,0,0,.35),0 0 0 5px rgba(255,255,255,.04)}
.tute-resource:hover .tute-orbit-ring{transform:rotate(8deg) scaleY(.84);border-color:rgba(191,90,242,.28)}
.tute-resource:hover .tute-orbit-dot{transform:translate(-11px,-8px) scale(1.12)}
.tute-resource.is-unavailable{cursor:not-allowed;opacity:.62}
.tute-resource.is-unavailable:hover{transform:none}
.tute-resource.is-unavailable:hover .tute-info-rail{transform:none;background:linear-gradient(105deg,rgba(30,26,36,.82),rgba(22,22,25,.9))}
@media(max-width:991.98px){
  .tute-gallery{grid-template-columns:minmax(400px,480px);gap:38px}
}
@media(max-width:575.98px){
  .tute-gallery{margin-top:0;grid-template-columns:minmax(0,1fr);gap:18px}
  .tute-item,.tute-resource{min-height:146px;height:146px}
  .tute-visual{width:132px;height:132px;flex-basis:132px}
  .tute-orbit-ring{inset:8px}
  .tute-orbit-ring::after{left:18px;top:5px;width:6px;height:6px}
  .tute-orbit-dot{right:6px;bottom:29px;width:8px;height:8px}
  .tute-orb{width:104px;height:104px}
  .tute-orb::after{inset:8px}
  .tute-icon{width:48px;height:48px;border-radius:17px}
  .tute-icon svg{width:23px;height:23px}
  .tute-info-rail{width:calc(100% - 108px);min-height:88px;margin-left:-24px;padding:12px 10px 12px 36px;border-radius:0 22px 22px 0;gap:7px}
  .tute-rail-copy small{margin-bottom:5px;font-size:6.5px;line-height:1.35}
  .tute-rail-copy strong{font-size:14px;line-height:1.22}
  .tute-open-arrow{width:38px;height:38px;flex-basis:38px}
  .tute-open-arrow svg{width:15px;height:15px}
}
.settings{padding:8px 22px}
.setting{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:20px 0;border-bottom:1px solid var(--line)}
.setting:last-child{border-bottom:0}
.setting-value{max-width:48%;color:var(--muted);font-size:12px;text-align:right;overflow-wrap:anywhere}

.bottom-nav{
  position:fixed;left:50%;bottom:18px;transform:translateX(-50%);z-index:1030;
  width:min(660px,calc(100% - 28px));padding:7px;display:grid;grid-template-columns:repeat(6,1fr);gap:6px;
  border-radius:24px;background:rgba(28,28,30,.78);-webkit-backdrop-filter:blur(24px) saturate(160%);backdrop-filter:blur(24px) saturate(160%);
  border:1px solid rgba(255,255,255,.08);box-shadow:0 15px 50px rgba(0,0,0,.4);
}
.bottom-nav .nav-item{display:flex;flex-direction:column;align-items:center;gap:4px;padding:9px;border-radius:17px;color:#7d7d84;font-size:11px;font-weight:650;transition:background .18s ease,color .18s ease}
.bottom-nav .nav-item svg{width:20px;height:20px}
.bottom-nav .nav-item.active{background:#2c2c2e;color:#fff}
body.intro-active .bottom-nav{opacity:0;visibility:hidden;pointer-events:none;transform:translate(-50%,22px)}

.login-page{min-height:100vh;background:radial-gradient(circle at 50% 0%,rgba(191,90,242,.12),transparent 28%),#000}
.login-page .shell{display:none}
.login-stage{min-height:100vh;display:grid;place-items:center;padding-top:24px;padding-bottom:24px}
.login-box{width:min(560px,100%);padding:30px}
.login-box .brand{margin-bottom:26px}
.login-box h1{text-align:center;margin:0 0 8px;font-size:34px;letter-spacing:-.045em}
.login-box>p{text-align:center;margin:0 0 26px;color:var(--muted)}
.form-label{font-size:13px;color:#b4b4b9;font-weight:650;margin-bottom:8px}
.master-input.form-control{padding:14px 15px;border-radius:14px;border:1px solid var(--line);background:#1c1c1e;color:#fff;box-shadow:none}
.master-input.form-control::placeholder{color:#6e6e73}
.master-input.form-control:focus{background:#1c1c1e;color:#fff;border-color:rgba(10,132,255,.6);box-shadow:0 0 0 3px rgba(10,132,255,.10)}
.demo{font-size:12px;color:#6e6e73;text-align:center;margin-top:16px}
.login-alert{margin-bottom:20px;padding:12px 14px;border:1px solid rgba(255,69,58,.3);border-radius:14px;background:rgba(255,69,58,.1);color:#ff9b94;font-size:13px}
.login-step{border:0;padding:0;margin:0 0 20px;min-width:0}
.login-step[hidden],.login-panel[hidden]{display:none!important}
.login-step legend{float:none;width:auto;margin-bottom:10px;color:#b4b4b9;font-size:13px;font-weight:650}
.choice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.choice-grid-two{grid-template-columns:repeat(2,minmax(0,1fr))}
.choice-card{position:relative;display:block;cursor:pointer}
.choice-card input{position:absolute;opacity:0;pointer-events:none}
.choice-card span{min-height:78px;padding:13px;border:1px solid var(--line);border-radius:15px;background:#1c1c1e;display:flex;flex-direction:column;justify-content:center;transition:border-color .18s ease,background .18s ease,box-shadow .18s ease}
.choice-card strong{font-size:14px}
.choice-card small{margin-top:3px;color:var(--muted);font-size:11px;line-height:1.35}
.choice-card input:checked+span{border-color:rgba(10,132,255,.75);background:rgba(10,132,255,.12);box-shadow:0 0 0 3px rgba(10,132,255,.09)}
.choice-card input:focus-visible+span{outline:2px solid var(--cyan);outline-offset:2px}
.login-panel{margin-top:4px;padding-top:4px}
.login-credential-help{margin:0 0 16px;padding:12px 14px;border:1px solid rgba(10,132,255,.22);border-radius:14px;background:rgba(10,132,255,.08);color:#b4b4b9;font-size:12px;line-height:1.5}
.login-credential-help a{color:#64b5ff;font-weight:700;text-decoration:none}
.login-credential-help a:hover{text-decoration:underline}
.purchase-panel{padding:18px;border:1px solid rgba(255,159,10,.22);border-radius:16px;background:rgba(255,159,10,.08);text-align:center}
.purchase-panel p{margin:6px 0 15px;color:var(--muted);font-size:13px}
.email-card{width:min(560px,100%);margin:0 auto;padding:28px}
.email-help{margin:9px 0 20px;color:var(--muted);font-size:12px}
.email-help strong{color:#d4d4d8}

/* Classes page: ongoing session and upcoming timeline */
.classes-page .shell{
  width:min(1160px,calc(100% - 34px));
  padding-left:0;
  padding-right:0
}
.ongoing-class{
  position:relative;overflow:hidden;margin-top:28px;padding:2px;border-radius:30px;
  background:linear-gradient(120deg,#ff375f,#ff9f0a,#bf5af2);
  box-shadow:0 22px 70px rgba(255,55,95,.18)
}
.ongoing-inner{
  position:relative;min-height:210px;border-radius:28px;padding:28px;
  background:radial-gradient(circle at 82% 25%,rgba(255,55,95,.19),transparent 27%),radial-gradient(circle at 70% 95%,rgba(191,90,242,.12),transparent 30%),#111113;
  display:flex;align-items:center;justify-content:space-between;gap:28px
}
.live-pulse{
  display:inline-flex;align-items:center;gap:8px;padding:8px 11px;border-radius:999px;
  background:rgba(255,55,95,.13);color:#ff6481;font-size:12px;font-weight:800;letter-spacing:.02em
}
.live-pulse i{
  width:8px;height:8px;border-radius:50%;background:#ff375f;
  box-shadow:0 0 0 0 rgba(255,55,95,.5);animation:class-pulse 1.7s infinite
}
@keyframes class-pulse{
  0%{box-shadow:0 0 0 0 rgba(255,55,95,.5)}
  70%{box-shadow:0 0 0 9px rgba(255,55,95,0)}
  100%{box-shadow:0 0 0 0 rgba(255,55,95,0)}
}
.ongoing-copy h2{margin:15px 0 7px;font-size:34px;line-height:1.02;letter-spacing:-.05em}
.ongoing-copy p{margin:0;color:#a1a1a7}
.ongoing-time{margin-top:20px;display:flex;gap:9px;align-items:center;color:#d2d2d7;font-size:13px}
.join-live{
  min-width:185px;padding:16px 20px;border:0;border-radius:17px;background:#f5f5f7;color:#000;
  font-size:15px;font-weight:800;cursor:pointer;box-shadow:0 10px 30px rgba(255,255,255,.08)
}
.join-live small{display:block;margin-top:3px;color:#666;font-weight:600}
.classes-upcoming{margin-top:28px}
.upcoming-timeline{display:grid;gap:12px;position:relative}
.timeline-row{display:grid;grid-template-columns:84px 28px 1fr;align-items:stretch;min-height:112px}
.timeline-date{align-self:center;text-align:right;padding-right:8px}
.timeline-date small{display:block;color:#77777e;font-size:11px;font-weight:700;text-transform:uppercase}
.timeline-date strong{display:block;font-size:25px;line-height:1.05;letter-spacing:-.04em}
.timeline-track{position:relative}
.timeline-track::before{
  content:"";position:absolute;left:50%;top:0;bottom:-12px;width:1px;
  background:#29292d;transform:translateX(-50%)
}
.timeline-row:last-child .timeline-track::before{bottom:50%}
.timeline-dot{
  position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);
  width:11px;height:11px;border-radius:50%;background:#5a5a60;border:3px solid #111113;
  box-shadow:0 0 0 1px #3a3a3f
}
.timeline-row:nth-child(4n+1) .timeline-dot{background:#0a84ff}
.timeline-row:nth-child(4n+2) .timeline-dot{background:#bf5af2}
.timeline-row:nth-child(4n+3) .timeline-dot{background:#30d158}
.timeline-row:nth-child(4n+4) .timeline-dot{background:#ff9f0a}
.timeline-card{
  align-self:center;min-height:96px;padding:17px 18px;border-radius:22px;
  background:radial-gradient(circle at 90% 10%,rgba(255,255,255,.035),transparent 24%),#151517;
  border:1px solid rgba(255,255,255,.07);display:flex;align-items:center;justify-content:space-between;gap:16px
}
.timeline-card h3{margin:0 0 6px;font-size:18px;letter-spacing:-.025em}
.timeline-card p{margin:0;color:#8e8e93;font-size:13px}
.timeline-meta{display:flex;justify-content:flex-end;align-items:center;white-space:nowrap}
.timeline-pending{font-size:12px;color:#77777e}
.timeline-action{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  min-height:38px;padding:0 10px;border:1px solid transparent;border-radius:11px;
  font-size:13px;font-weight:650;letter-spacing:-.01em;
  transition:color .2s ease,background .2s ease,border-color .2s ease
}
.timeline-action span{font-size:16px;font-weight:500;line-height:1;transition:transform .35s var(--motion-spring)}
.timeline-action.is-join{color:#aaaab3}
.timeline-action.is-join:hover{color:#f5f5f7;background:rgba(255,255,255,.055);border-color:rgba(255,255,255,.07)}
.timeline-action.is-purchase{color:#bc98d8}
.timeline-action.is-purchase:hover{color:#e6c8fa;background:rgba(191,90,242,.08);border-color:rgba(191,90,242,.12)}
.timeline-action:hover span{transform:translate(2px,-2px)}
.timeline-action:focus-visible{outline:2px solid var(--purple);outline-offset:3px}
.empty-state{padding:22px;color:var(--muted);text-align:center}
.empty-state-large{min-height:180px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px}
.empty-state strong{color:var(--text);font-size:18px}
.empty-state span{font-size:13px}
.recording-play:disabled{cursor:not-allowed;opacity:.58}
.recording-play:disabled .play{transform:none}
.join-live[disabled]{cursor:not-allowed;opacity:.65}
.join-live:is(a){display:inline-flex;align-items:center;justify-content:center}
.class-detail-list{margin-top:0}

@media(max-width:767.98px){
  .shell{padding-top:16px;padding-bottom:calc(104px + env(safe-area-inset-bottom,0px))}
  .topbar{margin-bottom:18px}
  .page-heading{margin-bottom:22px}
  .page-navigation{margin-bottom:0}
  .hero{padding:12px}
  .hero>.row{--bs-gutter-y:10px}
  .streak-card{height:auto!important;min-height:278px;padding:8px 10px 14px}
  .reward-3d-canvas{display:none}
  .reward-tap-hint{display:none}
  .game-ambient{opacity:.62}
  .game-piece{opacity:.3}
  .game-piece:nth-child(n+4){display:none}
  .game-piece-star{left:2%;top:22%;font-size:13px}
  .game-piece-orb{right:2%;top:48%;width:13px;height:13px}
  .game-piece-diamond{left:3%;top:72%;width:9px;height:9px}
  .scroll-quest{right:3px;height:112px;gap:0;opacity:0;transform:translate(5px,-50%)}
  .scroll-quest.is-visible{opacity:.48;transform:translate(0,-50%)}
  .scroll-quest-label{display:none}
  .scroll-quest-track{width:3px;height:96px}
  .scroll-quest-track em{width:15px;height:15px;font-size:7px}
  .streak-emblem{width:238px;height:180px;transform:none;margin:-5px 0 5px}
  .streak-flames{top:5px;width:204px}
  .streak-counter{bottom:12px;width:142px;height:62px}
  .streak-counter strong{font-size:44px}
  .streak-standing{max-width:310px;min-height:70px;margin-top:-1px;padding:11px 15px 10px}
  .streak-title{font-size:25px}
  .progress-panel{height:auto!important;padding:13px 2px 2px}
  .progress-top strong{font-size:36px}
  .progress-top span{font-size:18px}
  .week{padding:11px 7px;gap:3px}
  .week::before{top:31px}
  .dot{width:40px;height:40px;font-size:12px}
  .day small{font-size:10px}
  .game-intro{width:100vw;height:100dvh;min-height:100dvh;padding:18px;background:radial-gradient(circle at 50% 40%,rgba(102,42,139,.25),transparent 34%),rgba(0,0,0,.995);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}
  .game-intro-core{width:min(360px,100%)}
  .game-intro-emblem{width:184px;height:152px;margin-bottom:-3px}
  .game-intro h2{font-size:clamp(24px,7.5vw,32px);white-space:nowrap}
  .game-intro-stats{width:min(300px,92%);margin:13px auto 12px}
  .game-intro-progress{width:min(300px,92%)}
  .game-intro button{margin-top:13px}
  .lesson{min-height:180px}
  .recording-card{min-height:106px;padding:16px 14px;grid-template-columns:52px minmax(0,1fr) 38px;gap:13px;border-radius:22px}
  .recording-card::after{left:79px;right:14px}
  .recording-card-art{width:52px;height:52px;border-radius:50%}
  .recording-card-art span{width:100%;height:100%}
  .recording-card-eyebrow{margin-bottom:5px;font-size:7px;gap:5px}.recording-card-eyebrow time::before{margin-right:5px}
  .recording-card h3{font-size:14px}
  .recording-watch-status{margin-top:8px;gap:6px;font-size:8px}.recording-attendance-state{padding-left:7px}
  .recording-card-action{min-width:38px;width:38px;height:38px;padding:0;border-radius:50%}.recording-card-action small{display:none}
  .recording-class-picker{margin-bottom:24px}
  .recording-class-option{min-width:220px;min-height:74px;padding:11px 50px 11px 12px;grid-template-columns:42px max-content}
  .recording-class-option>b{right:11px;width:27px;height:27px}
  .recording-class-icon{width:42px;height:42px;border-radius:13px}
  .weekly-schedule{padding:20px 16px}
  .reward-milestones{padding:20px 16px}.reward-milestones-heading{gap:12px}.reward-milestones-heading h2{font-size:25px}.reward-milestones-heading p{max-width:230px}.reward-next-progress>div:first-child{align-items:flex-start;flex-direction:column;gap:3px}.reward-milestone-grid{display:flex;overflow-x:auto;margin-inline:-16px;padding:2px 16px 8px;scroll-snap-type:x mandatory;scrollbar-width:none}.reward-milestone-grid::-webkit-scrollbar{display:none}.reward-milestone-card{flex:0 0 min(270px,82vw);scroll-snap-align:start}
  .weekly-calendar-grid{min-width:895px}
  .bottom-nav{
    bottom:calc(6px + env(safe-area-inset-bottom,0px));
    width:calc(100% - 16px);
    padding:5px;
    gap:2px;
    border-radius:20px;
    background:rgba(24,24,27,.86);
    -webkit-backdrop-filter:blur(20px) saturate(145%);
    backdrop-filter:blur(20px) saturate(145%);
    box-shadow:0 9px 30px rgba(0,0,0,.42);
  }
  .bottom-nav .nav-item{
    min-width:0;
    min-height:45px;
    gap:2px;
    padding:5px 2px 4px;
    border-radius:15px;
    font-size:9px;
    line-height:1.1;
  }
  .bottom-nav .nav-item svg{width:18px;height:18px}
  .bottom-nav .nav-item span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .nav-indicator{top:5px;bottom:5px;border-radius:15px}
}

.lesson-work-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;align-items:start}.lesson-work-card,.engagement-card{padding:28px}.lesson-work-kicker{display:block;color:#c99af4;font-size:12px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;margin-bottom:8px}.lesson-work-card h2,.engagement-card h2{font-size:clamp(24px,3vw,34px);letter-spacing:-.045em;margin:0 0 22px}.lesson-notice{padding:14px 18px;border-radius:16px;margin-bottom:16px;font-weight:700}.lesson-notice.is-success{background:rgba(71,214,143,.12);color:#8bf0bd;border:1px solid rgba(71,214,143,.24)}.lesson-notice.is-error{background:rgba(255,86,105,.12);color:#ff9cab;border:1px solid rgba(255,86,105,.24)}.submission-result{display:flex;justify-content:space-between;align-items:center;padding:14px 16px;border-radius:16px;background:rgba(255,255,255,.055);margin-bottom:12px}.submission-result.is-complete{color:#8bf0bd}.submission-result.is-partial{color:#ffc66d}.submission-result.is-not_complete{color:#ff9cab}.submission-feedback{color:#d5d1da;background:rgba(255,255,255,.035);padding:14px 16px;border-radius:14px}.submission-files{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 18px}.submission-files a{color:#d9b5fa;background:rgba(177,112,235,.1);border:1px solid rgba(177,112,235,.2);padding:8px 11px;border-radius:10px;text-decoration:none}.lesson-upload-form{display:grid;gap:12px;margin-top:18px}.lesson-file-picker{display:flex;flex-direction:column;gap:3px;padding:18px;border:1px dashed rgba(255,255,255,.18);border-radius:18px;background:rgba(255,255,255,.025);cursor:pointer}.lesson-file-picker span{font-weight:750}.lesson-file-picker small{color:#8f8b95}.lesson-file-picker input{margin-top:12px;color:#aaa6af}.engagement-timeline{position:relative;display:grid;gap:4px}.engagement-event{display:grid;grid-template-columns:22px 1fr;gap:12px;padding:10px 0}.engagement-event>i{width:12px;height:12px;margin:5px;border-radius:50%;background:#b675eb;box-shadow:0 0 0 5px rgba(182,117,235,.1)}.engagement-event.is-live>i{background:#4da3ff}.engagement-event.is-work>i,.engagement-event.is-review>i{background:#47d68f}.engagement-event>div{display:grid;gap:2px}.engagement-event time{font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:#76727c}.engagement-event strong{font-size:15px}.engagement-event span{color:#99959e;font-size:13px}@media(max-width:767.98px){.lesson-work-grid{grid-template-columns:1fr}.lesson-work-card,.engagement-card{padding:20px}}

@media(max-width:650px){
  .ongoing-inner{align-items:flex-start;flex-direction:column;padding:22px}
  .ongoing-copy h2{font-size:29px}
  .join-live{width:100%}
  .timeline-row{grid-template-columns:60px 22px 1fr}
  .timeline-card{padding:15px}
  .timeline-action{min-height:36px;padding:0 7px;font-size:12px;gap:6px}
  .timeline-action span{font-size:15px}
  .attendance-row{grid-template-columns:56px minmax(0,1fr);gap:13px;padding:15px}
  .attendance-row-meta{align-items:flex-start;flex-direction:column;gap:3px}
}

@media(max-width:420px){
  .brand span{font-size:14px}
  .section-head{align-items:flex-start}
  .section-head h2{font-size:24px}
  .section-link{font-size:13px}
  .stat strong{font-size:20px}
  .bottom-nav{bottom:calc(5px + env(safe-area-inset-bottom,0px));width:calc(100% - 12px)}
  .login-box{padding:23px 18px}
  .choice-grid{grid-template-columns:1fr}
  .choice-grid-two{grid-template-columns:repeat(2,minmax(0,1fr))}
  .classes-page .shell{width:min(1160px,calc(100% - 22px))}
  .classes-page .bottom-nav{bottom:calc(5px + env(safe-area-inset-bottom,0px));width:calc(100% - 12px)}
  .weekly-schedule-heading{align-items:flex-start}
  .schedule-week-range span{display:none}
  .bottom-nav .nav-item{padding:5px 1px 4px;font-size:8.5px}
}

/* Apple-inspired motion and interaction system */
:root{
  --motion-spring:cubic-bezier(.22,1,.36,1);
  --motion-smooth:cubic-bezier(.4,0,.2,1)
}

.motion-reveal{
  opacity:0;
  transform:translate3d(0,18px,0) scale(.988);
  filter:blur(5px);
  animation:motion-visibility-failsafe 0s .35s forwards;
  transition:
    opacity .38s var(--motion-spring),
    transform .52s var(--motion-spring),
    filter .34s var(--motion-smooth);
  transition-delay:calc(var(--motion-order,0) * 18ms)
}
.motion-reveal.motion-visible{opacity:1;transform:translate3d(0,0,0) scale(1);filter:blur(0);animation:none}
@keyframes motion-visibility-failsafe{to{opacity:1;transform:translate3d(0,0,0) scale(1);filter:none}}

.scroll-quest{position:fixed;z-index:1025;right:max(10px,calc((100vw - 1260px)/2));top:50%;height:170px;display:flex;align-items:center;gap:8px;opacity:0;transform:translate(12px,-50%);pointer-events:none;transition:opacity .35s ease,transform .55s var(--motion-spring)}
.scroll-quest.is-visible{opacity:.78;transform:translate(0,-50%)}
.scroll-quest-label{color:#66666d;font-size:7px;font-weight:850;letter-spacing:.18em;writing-mode:vertical-rl;transform:rotate(180deg)}
.scroll-quest-track{position:relative;width:4px;height:150px;border-radius:99px;background:rgba(255,255,255,.07);box-shadow:inset 0 0 0 1px rgba(255,255,255,.025)}
.scroll-quest-track b{position:absolute;left:0;top:0;width:100%;height:var(--journey-progress,0%);border-radius:inherit;background:linear-gradient(180deg,#bf5af2,#ff375f 56%,#ff9f0a);box-shadow:0 0 14px rgba(255,55,95,.32)}
.scroll-quest-track em{position:absolute;left:50%;top:var(--journey-progress,0%);width:20px;height:20px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.16);border-radius:50%;background:#202024;color:#ffd60a;font-size:9px;font-style:normal;box-shadow:0 6px 18px rgba(0,0,0,.34),0 0 15px rgba(255,214,10,.12);transform:translate(-50%,-50%);transition:top .12s linear}
.scroll-quest.is-levelled .scroll-quest-track em{animation:quest-level-up .7s var(--motion-spring)}
@keyframes quest-level-up{0%,100%{transform:translate(-50%,-50%) scale(1)}45%{color:#fff;box-shadow:0 0 0 10px rgba(255,214,10,0),0 0 28px rgba(255,214,10,.55);transform:translate(-50%,-50%) scale(1.5) rotate(115deg)}}

#instantclick #instantclick-bar.instantclick-bar{height:3px!important;background:linear-gradient(90deg,#bf5af2 0%,#ff375f 52%,#ff9f0a 100%)!important;box-shadow:0 0 14px rgba(255,55,95,.42)!important}

.game-tap-ring{position:fixed;z-index:2050;width:42px;height:42px;margin:-21px 0 0 -21px;border:2px solid rgba(220,166,255,.7);border-radius:50%;pointer-events:none;opacity:0;box-shadow:0 0 16px rgba(191,90,242,.18);transform:scale(.25)}
.game-tap-ring.is-active{animation:game-tap-ring .58s var(--motion-spring) forwards}
@keyframes game-tap-ring{0%{opacity:.55;transform:scale(.25)}100%{opacity:0;transform:scale(1.6)}}

.recording-card-art,.tute-visual,.profile-avatar,.attendance-row-date,.ze-podium-medal,.lesson .icon{translate:0 var(--game-float-y,0px);transition:translate .16s linear}
.page-title{position:relative;transform-origin:left bottom}
.page-title::after{content:"";display:inline-block;width:8px;height:8px;margin-left:10px;border-radius:3px;background:linear-gradient(135deg,#ff375f,#bf5af2);box-shadow:0 0 15px rgba(255,55,95,.26);transform:translateY(-.25em) rotate(18deg);animation:title-gem-idle 3.8s ease-in-out infinite}
@keyframes title-gem-idle{0%,100%{transform:translateY(-.25em) rotate(18deg) scale(.86)}50%{transform:translateY(-.48em) rotate(108deg) scale(1.08)}}
.section-head h2::before,.weekly-schedule-heading h2::before,.ze-section-heading h2::before{display:inline-block;width:16px;height:4px;margin-right:9px;border-radius:99px;background:linear-gradient(90deg,#bf5af2,#ff375f,#ff9f0a);background-size:200% 100%;content:"";vertical-align:.2em;box-shadow:0 0 12px rgba(191,90,242,.2);animation:section-marker-flow 3.4s ease-in-out infinite}
@keyframes section-marker-flow{0%,100%{background-position:0 50%;transform:scaleX(.82)}50%{background-position:100% 50%;transform:scaleX(1.12)}}
.recording-class-icon,.profile-avatar,.ze-podium-medal{animation:game-icon-breathe 4.2s ease-in-out infinite}
@keyframes game-icon-breathe{0%,100%{filter:brightness(1);transform:translateY(0)}50%{filter:brightness(1.1);transform:translateY(-3px)}}

.game-intro[hidden]{display:none}
.game-intro{position:fixed;z-index:2000;inset:0;display:grid;place-items:center;padding:24px;overflow:hidden;background:radial-gradient(circle at 50% 45%,rgba(102,42,139,.34),transparent 34%),rgba(0,0,0,.97);opacity:0;transition:opacity .45s ease,clip-path .8s var(--motion-spring);clip-path:circle(150% at 50% 50%)}
.game-intro.is-active{opacity:1}
.game-intro.is-leaving{opacity:0;clip-path:circle(0 at 90% 8%);pointer-events:none}
.game-intro-core{position:relative;width:min(430px,100%);display:grid;justify-items:center;text-align:center;transform:translateY(22px) scale(.96);filter:blur(8px);transition:transform .8s var(--motion-spring),filter .65s ease}
.game-intro.is-active .game-intro-core{transform:none;filter:none}
.game-intro-kicker{margin-bottom:2px;color:#d29bea;font-size:10px;font-weight:850;letter-spacing:.23em}
.game-intro-emblem{position:relative;width:210px;height:174px;margin:0 auto -2px}
.game-intro-emblem img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 0 26px rgba(255,42,111,.28));transform:scale(.72) rotate(-5deg);transition:transform .9s var(--motion-spring)}
.game-intro.is-active .game-intro-emblem img{transform:scale(1) rotate(0)}
.game-intro-emblem strong{position:absolute;left:50%;top:75%;bottom:auto;width:130px;height:64px;display:flex;align-items:center;justify-content:center;white-space:nowrap;transform:translate(-50%,-50%);font-family:"Lilita One",Impact,sans-serif;font-size:43px;line-height:1;font-weight:400;color:#ffeaf3;text-shadow:0 4px 0 rgba(135,15,60,.4)}
@media(max-width:767.98px){.game-intro-emblem strong{width:118px;height:58px;font-size:39px}}
.game-intro h2{margin:0;color:#fff;font-size:clamp(27px,6vw,39px);font-weight:800;letter-spacing:-.055em}
.game-intro-stats{width:min(310px,86%);margin:17px auto 14px;display:grid;grid-template-columns:1fr 1fr;border:1px solid rgba(255,255,255,.09);border-radius:17px;background:rgba(30,30,35,.78);box-shadow:inset 0 1px 0 rgba(255,255,255,.04),0 18px 50px rgba(0,0,0,.35)}
.game-intro-stats>div{min-height:66px;padding:11px 16px;display:grid;grid-template-columns:auto 1fr;align-items:center;text-align:left}
.game-intro-stats>div+div{border-left:1px solid rgba(255,255,255,.07)}
.game-intro-stats>div:last-child{grid-template-columns:1fr;grid-template-rows:auto auto;align-content:center;justify-items:center;gap:5px;text-align:center}
.game-intro-stats>div:last-child span,.game-intro-stats>div:last-child strong{grid-column:1;justify-self:center}
.game-intro-stats img{grid-row:1/3;width:34px;height:34px;margin-right:8px;filter:drop-shadow(0 4px 5px rgba(116,61,0,.35))}
.game-intro-stats span{color:#85858d;font-size:8px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}
.game-intro-stats strong{font-family:"Lilita One",Impact,sans-serif;font-size:22px;font-weight:400;line-height:1;color:#fff}
.game-intro-progress{width:min(310px,86%);height:4px;overflow:hidden;border-radius:99px;background:rgba(255,255,255,.08)}
.game-intro-progress i{display:block;width:0;height:100%;border-radius:inherit;background:linear-gradient(90deg,#bf5af2,#ff375f,#ff9f0a);box-shadow:0 0 14px rgba(255,55,95,.55);transition:width 1.75s cubic-bezier(.2,.8,.2,1)}
.game-intro.is-active .game-intro-progress i{width:100%}
.game-intro button{margin-top:15px;border:0;background:transparent;color:#77777f;font-size:10px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;transition:color .2s ease}
.game-intro button:hover{color:#fff}
.game-intro-sparks{position:absolute;inset:0;pointer-events:none}
.game-intro-sparks i{position:absolute;left:50%;top:50%;width:5px;height:5px;border-radius:50%;background:#ff5d8c;opacity:0;box-shadow:0 0 12px currentColor}
.game-intro.is-active .game-intro-sparks i{animation:intro-spark 1.25s var(--motion-spring) forwards}
.game-intro-sparks i:nth-child(1){--sx:-190px;--sy:-120px;animation-delay:.1s}.game-intro-sparks i:nth-child(2){--sx:180px;--sy:-90px;animation-delay:.18s}.game-intro-sparks i:nth-child(3){--sx:-150px;--sy:100px;animation-delay:.26s}.game-intro-sparks i:nth-child(4){--sx:160px;--sy:120px;animation-delay:.34s}.game-intro-sparks i:nth-child(5){--sx:-260px;--sy:5px;animation-delay:.16s}.game-intro-sparks i:nth-child(6){--sx:255px;--sy:20px;animation-delay:.24s}.game-intro-sparks i:nth-child(7){--sx:-72px;--sy:-190px;animation-delay:.32s}.game-intro-sparks i:nth-child(8){--sx:80px;--sy:190px;animation-delay:.4s}
@keyframes intro-spark{0%{opacity:0;transform:translate(-50%,-50%) scale(.2)}28%{opacity:1}100%{opacity:0;transform:translate(calc(-50% + var(--sx)),calc(-50% + var(--sy))) scale(1.4)}}

.motion-depth{
  --motion-rx:0deg;--motion-ry:0deg;--motion-x:50%;--motion-y:50%;
  position:relative;transform-style:preserve-3d;
  transition:transform .58s var(--motion-spring),border-color .28s ease,box-shadow .4s ease;
  will-change:transform
}
.motion-depth::before{
  content:"";position:absolute;inset:0;z-index:2;border-radius:inherit;pointer-events:none;opacity:0;
  background:
    radial-gradient(ellipse 90% 125% at var(--motion-x) var(--motion-y),rgba(100,210,255,.09),rgba(191,90,242,.036) 48%,transparent 100%),
    linear-gradient(115deg,rgba(10,132,255,.018),transparent 42%,rgba(255,55,95,.014));
  transition:opacity .36s ease
}
.motion-depth.motion-hover{
  transform:perspective(1200px) translate3d(0,-3px,0) rotateX(var(--motion-rx)) rotateY(var(--motion-ry));
  border-color:rgba(255,255,255,.14);
  box-shadow:0 24px 66px rgba(0,0,0,.42)
}
.motion-depth.motion-hover::before{opacity:1}
.recording-card.motion-depth::before{
  z-index:0;
  background:
    radial-gradient(ellipse 72% 150% at 100% 50%,color-mix(in srgb,var(--recording-tone-a) 12%,transparent),transparent 72%),
    linear-gradient(112deg,color-mix(in srgb,var(--recording-tone-b) 4.5%,transparent),transparent 48%,color-mix(in srgb,var(--recording-tone-a) 4%,transparent));
  opacity:.42;
  transition:opacity .38s ease,filter .38s ease
}
.recording-card.motion-depth>*{position:relative;z-index:1}
.recording-card.motion-depth.motion-hover{border-color:rgba(255,255,255,.115);box-shadow:0 16px 38px rgba(0,0,0,.28),0 10px 30px color-mix(in srgb,var(--recording-tone-a) 7%,transparent)}
.recording-card.motion-depth.motion-hover::before{opacity:1;filter:saturate(1.35)}

.cta,.join-live,.bottom-nav .nav-item{
  position:relative;overflow:hidden;
  transform:translateZ(0);
  transition:transform .5s var(--motion-spring),opacity .2s ease,background .28s ease,color .28s ease,box-shadow .35s ease
}
.cta.motion-pressed,.join-live.motion-pressed,.bottom-nav .nav-item.motion-pressed{
  transform:scale(.965);
  transition-duration:.12s
}
.cta::before,.join-live::before{
  content:"";position:absolute;inset:-1px;pointer-events:none;border-radius:inherit;opacity:0;
  background:linear-gradient(110deg,transparent 22%,rgba(255,255,255,.48) 46%,transparent 69%);
  transform:translateX(-75%);transition:opacity .25s ease,transform .7s var(--motion-spring)
}
.cta:hover::before,.join-live:hover::before{opacity:.7;transform:translateX(75%)}

.bottom-nav{--nav-light-x:50%;--nav-light-y:50%;overflow:hidden;isolation:isolate}
.bottom-nav::before{
  content:"";position:absolute;inset:0;z-index:-1;border-radius:inherit;pointer-events:none;opacity:0;
  background:
    radial-gradient(ellipse 78% 210% at var(--nav-light-x) var(--nav-light-y),rgba(255,255,255,.13),rgba(255,255,255,.04) 52%,transparent 100%),
    linear-gradient(90deg,rgba(255,255,255,.018),rgba(255,255,255,.045),rgba(255,255,255,.018));
  transition:opacity .35s ease
}
.bottom-nav.motion-lit::before{opacity:1}
.bottom-nav .nav-item{position:relative;z-index:2;background:transparent!important;box-shadow:none!important}
.bottom-nav .nav-item:hover{color:#f5f5f7}
.bottom-nav .nav-item svg{transition:transform .55s var(--motion-spring)}
.bottom-nav .nav-item:hover svg{transform:translateY(-2px) scale(1.06)}
.bottom-nav .nav-item.active{animation:none}
.nav-indicator{
  position:absolute;z-index:1;left:0;top:7px;bottom:7px;border-radius:17px;
  background:linear-gradient(145deg,rgba(191,90,242,.36),rgba(94,92,230,.24));
  border:1px solid rgba(190,134,255,.2);
  box-shadow:inset 0 1px 0 rgba(232,213,255,.16),0 8px 22px rgba(103,55,180,.2);
  transform-origin:center;
  transition:box-shadow .35s ease,filter .35s ease;
  will-change:transform,border-radius
}
.nav-indicator::before{
  content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;
  background:
    radial-gradient(ellipse 90% 70% at 50% -8%,rgba(235,220,255,.2),transparent 68%),
    linear-gradient(110deg,transparent 20%,rgba(196,155,255,.15) 48%,transparent 76%);
  background-size:100% 100%,220% 100%;background-position:center,100% 0;opacity:.72
}
.nav-indicator::after{
  content:"";position:absolute;inset:1px;border-radius:inherit;pointer-events:none;
  border-top:1px solid rgba(255,255,255,.09);opacity:.75
}
.nav-indicator.is-flowing{
  filter:brightness(1.08);
  box-shadow:inset 0 1px 0 rgba(235,218,255,.2),0 10px 28px rgba(111,65,202,.25)
}
.nav-indicator.is-flowing::before{animation:nav-liquid-shimmer .72s var(--motion-smooth) both}
@keyframes nav-liquid-shimmer{
  0%{opacity:.45;background-position:center,115% 0}
  50%{opacity:.9;background-position:center,45% 0}
  100%{opacity:.72;background-position:center,-15% 0}
}

/* The live class keeps its original look with focused interaction feedback. */
.ongoing-class{
  transition:transform .65s var(--motion-spring),box-shadow .5s ease,filter .4s ease
}
.ongoing-class:hover{
  transform:translateY(-3px) scale(1.002);
  box-shadow:0 28px 78px rgba(255,55,95,.21)
}
.ongoing-class:focus-within{
  transform:translateY(-2px);
  box-shadow:0 0 0 4px rgba(255,55,95,.12),0 26px 76px rgba(255,55,95,.20)
}
.ongoing-class:hover .join-live,.ongoing-class:focus-within .join-live{transform:translateY(-1px)}
.ongoing-class .join-live:focus-visible{outline:3px solid rgba(255,100,129,.72);outline-offset:4px}
.ongoing-class:hover .join-live.motion-pressed,.ongoing-class:focus-within .join-live.motion-pressed{transform:scale(.965)}

.live-pulse{transition:transform .55s var(--motion-spring),background .3s ease}
.live-pulse:hover{transform:scale(1.035);background:rgba(255,55,95,.18)}
.play{transition:transform .5s var(--motion-spring),box-shadow .35s ease}
.recording-play:hover .play{transform:scale(1.08);box-shadow:0 8px 30px rgba(255,255,255,.13)}

.choice-card span{transition:transform .5s var(--motion-spring),border-color .25s ease,background .25s ease,box-shadow .3s ease}
.choice-card:hover span{transform:translateY(-2px)}
.choice-card:active span{transform:scale(.98)}
.choice-card input:checked+span{animation:choice-settle .55s var(--motion-spring)}
@keyframes choice-settle{0%{transform:scale(.97)}55%{transform:scale(1.015)}100%{transform:scale(1)}}

@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .motion-reveal,.motion-reveal.motion-visible,.motion-depth,.motion-depth.motion-hover,.cta,.join-live,.tute-resource,.tute-info-rail,.tute-open-arrow,.tute-orbit-ring,.tute-orbit-dot,.bottom-nav .nav-item,.bottom-nav .nav-item.active,.live-pulse,.play,.choice-card span,.choice-card input:checked+span,.ongoing-class,.attendance-bar,.weekly-day,.schedule-event,.streak-card,.streak-flames,.streak-counter,.dot,.recording-card,.recording-card::before,.recording-card::after,.recording-card-art,.recording-card-action{
    animation:none!important;transition:none!important;transform:none!important;filter:none!important;opacity:1!important
  }
  .motion-depth::before,.bottom-nav::before,.cta::before,.join-live::before{display:none}
  .motion-depth>*,.motion-depth.motion-hover>*{transition:none!important;filter:none!important}
  body::before,body::after,.game-intro,.reward-3d-canvas,.reward-burst-layer,.reward-tap-hint,.scroll-quest,.game-tap-ring,.game-ambient{display:none!important}
  .recording-card-art,.tute-visual,.profile-avatar,.attendance-row-date,.ze-podium-medal,.lesson .icon{translate:none!important}
  .page-title::after,.section-head h2::before,.weekly-schedule-heading h2::before,.ze-section-heading h2::before,.recording-class-icon,.profile-avatar,.ze-podium-medal{animation:none!important}
}

/* Reward-layout refinements. The original MasterIT colour system remains unchanged. */
.shell{max-width:1180px}
.page-title{font-size:clamp(42px,5.4vw,56px);letter-spacing:-.065em}
.section-head h2,.weekly-schedule-heading h2,.ze-section-heading h2{letter-spacing:-.05em}
.weekly-calendar-grid{
  min-width:max(100%,calc(var(--calendar-columns) * 220px));
  grid-template-columns:repeat(var(--calendar-columns),minmax(210px,1fr))
}
.weekly-day{min-height:250px;padding:16px}
.weekly-day-events{min-height:180px}
.schedule-event{min-height:174px;padding:16px}
.schedule-event strong{font-size:17px;line-height:1.25}
.schedule-event time{font-size:12px}.schedule-event small{font-size:11px}

@media(max-width:767.98px){
  .page-title{font-size:42px}
  .master-card{border-radius:24px}
  .weekly-calendar-grid{min-width:calc(var(--calendar-columns) * 235px)}
}
.engagement-event.is-recording>i{background:#ff9f2f}.engagement-event.is-chat>i{background:#e86dc6}

/* Page-specific kinetic details. Motion stays on decorative children so text remains steady. */
.game-card-kinetic{--card-delay:0ms}
@media(hover:hover) and (pointer:fine){
  .game-card-kinetic:is(.timeline-card,.attendance-row,.profile-card,.lesson,.lesson-work-card,.engagement-card){transition:transform .55s var(--motion-spring),border-color .3s ease,box-shadow .4s ease,background-color .3s ease}
  .game-card-kinetic:is(.timeline-card,.attendance-row,.profile-card,.lesson,.lesson-work-card,.engagement-card):hover{transform:translateY(-3px);border-color:rgba(191,90,242,.17);box-shadow:0 20px 48px rgba(0,0,0,.25),0 0 28px rgba(191,90,242,.045)}
}

/* Tutes: a quiet orbital system that becomes more energetic on interaction. */
.game-card-kinetic .tute-orbit-ring{animation:tute-orbit-idle 11s linear infinite;animation-delay:var(--card-delay)}
.game-card-kinetic .tute-orbit-dot{animation:tute-dot-idle 3.2s ease-in-out infinite;animation-delay:var(--card-delay)}
.game-card-kinetic .tute-icon svg{animation:tute-document-idle 3.8s ease-in-out infinite;animation-delay:var(--card-delay)}
.game-card-kinetic:hover .tute-orbit-ring{animation-duration:5.8s}
.game-card-kinetic:hover .tute-icon svg{animation-duration:1.9s}
@keyframes tute-orbit-idle{to{rotate:360deg}}
@keyframes tute-dot-idle{0%,100%{filter:brightness(.9);box-shadow:0 0 14px rgba(94,92,230,.36)}50%{filter:brightness(1.35);box-shadow:0 0 26px rgba(191,90,242,.72)}}
@keyframes tute-document-idle{0%,100%{translate:0 1px;rotate:-1deg}50%{translate:0 -4px;rotate:2deg}}

/* Recordings: progress artwork and action affordance move independently of the card. */
.game-card-kinetic.recording-card .recording-card-art::after{animation:recording-ring-idle 6.6s ease-in-out infinite;animation-delay:var(--card-delay)}
.game-card-kinetic.recording-card .recording-card-action b{animation:recording-arrow-idle 2.7s ease-in-out infinite;animation-delay:var(--card-delay)}
.game-card-kinetic.recording-class-option>b{animation:recording-selector-idle 3.4s ease-in-out infinite;animation-delay:var(--card-delay)}
.game-card-kinetic.recording-card:hover .recording-card-action b{animation-duration:1.2s}
@keyframes recording-ring-idle{0%,100%{rotate:0deg;scale:1;opacity:.38}50%{rotate:135deg;scale:1.055;opacity:.72}}
@keyframes recording-arrow-idle{0%,100%{translate:0 0}50%{translate:3px -3px}}
@keyframes recording-selector-idle{0%,100%{box-shadow:0 0 0 rgba(191,90,242,0)}50%{box-shadow:0 0 18px rgba(191,90,242,.16)}}

/* Classes and calendar: live energy travels through the lesson timeline. */
.game-card-kinetic.ongoing-class{background-size:240% 240%;animation:live-border-flow 7s ease-in-out infinite;animation-delay:var(--card-delay)}
.game-card-kinetic .timeline-dot{animation:timeline-node-idle 2.9s ease-in-out infinite;animation-delay:var(--card-delay)}
.timeline-row:nth-child(4n+1){--timeline-glow:10,132,255}.timeline-row:nth-child(4n+2){--timeline-glow:191,90,242}.timeline-row:nth-child(4n+3){--timeline-glow:48,209,88}.timeline-row:nth-child(4n+4){--timeline-glow:255,159,10}
.game-card-kinetic.schedule-event::before{animation:schedule-glow-idle 4.8s ease-in-out infinite;animation-delay:var(--card-delay)}
.game-card-kinetic.schedule-event:hover::before{animation-duration:2.1s}
@keyframes live-border-flow{0%,100%{background-position:0 50%}50%{background-position:100% 50%}}
@keyframes timeline-node-idle{0%,100%{box-shadow:0 0 0 1px #3a3a3f,0 0 0 0 rgba(var(--timeline-glow,191,90,242),0)}50%{box-shadow:0 0 0 1px #3a3a3f,0 0 0 8px rgba(var(--timeline-glow,191,90,242),.08),0 0 17px rgba(var(--timeline-glow,191,90,242),.32)}}
@keyframes schedule-glow-idle{0%,100%{scale:.88;opacity:.2}50%{scale:1.18;opacity:.38}}

/* Attendance: use moving light inside the data itself. */
.attendance-bar,.attendance-replay-bar{overflow:hidden}
.attendance-bar::after,.attendance-replay-bar::after{content:"";position:absolute;inset:0;background:linear-gradient(110deg,transparent 18%,rgba(255,255,255,.44) 48%,transparent 78%);translate:-145% 0;animation:attendance-bar-sheen 3.8s ease-in-out infinite;animation-delay:var(--card-delay)}
.game-card-kinetic .attendance-row-progress i{background-size:220% 100%;animation:attendance-progress-flow 5.4s ease-in-out infinite;animation-delay:var(--card-delay)}
.game-card-kinetic.attendance-row:hover .attendance-row-date{border-color:rgba(191,90,242,.2);box-shadow:0 12px 28px rgba(0,0,0,.24),0 0 22px rgba(191,90,242,.07)}
@keyframes attendance-bar-sheen{0%,45%{translate:-145% 0}70%,100%{translate:145% 0}}
@keyframes attendance-progress-flow{0%,100%{background-position:0 50%}50%{background-position:100% 50%}}

/* Profile, lesson cards, submissions and engagement. */
.game-card-kinetic.stat{transition:transform .45s var(--motion-spring),background .3s ease,box-shadow .35s ease}
.game-card-kinetic.stat:hover{transform:translateY(-3px);background:#202024;box-shadow:0 14px 30px rgba(0,0,0,.2)}
.game-card-kinetic.stat strong{transition:color .25s ease,text-shadow .3s ease,transform .4s var(--motion-spring)}
.game-card-kinetic.stat:hover strong{color:#f0d9ff;text-shadow:0 0 18px rgba(191,90,242,.25);transform:scale(1.06)}
.setting{transition:padding .35s var(--motion-spring),background .25s ease}
.setting:hover{padding-left:8px;padding-right:8px;background:linear-gradient(90deg,rgba(191,90,242,.045),transparent)}
.game-card-kinetic.lesson::after{animation:lesson-aura-idle 5.2s ease-in-out infinite;animation-delay:var(--card-delay)}
.game-card-kinetic.lesson:hover::after{animation-duration:2.6s}
.engagement-event>i{animation:engagement-node-idle 2.8s ease-in-out infinite;animation-delay:var(--card-delay)}
.lesson-file-picker{background-size:200% 100%;transition:border-color .3s ease,background .4s ease,transform .4s var(--motion-spring)}
.lesson-file-picker:hover{border-color:rgba(191,90,242,.36);background:linear-gradient(100deg,rgba(191,90,242,.075),rgba(94,92,230,.035),rgba(191,90,242,.075));background-size:200% 100%;animation:file-picker-flow 3.5s linear infinite;transform:translateY(-2px)}
@keyframes lesson-aura-idle{0%,100%{scale:.9;opacity:.2}50%{scale:1.14;opacity:.34}}
@keyframes engagement-node-idle{0%,100%{scale:1;filter:brightness(1)}50%{scale:1.2;filter:brightness(1.2)}}
@keyframes file-picker-flow{to{background-position:200% 0}}

@media(max-width:767.98px){
  .game-card-kinetic .tute-orbit-ring{animation-duration:14s}
  .game-card-kinetic.recording-card .recording-card-art::after{animation-duration:8s}
  .game-card-kinetic.ongoing-class{animation-duration:9s}
}

@media(prefers-reduced-motion:reduce){
  .game-card-kinetic,.game-card-kinetic *,.game-card-kinetic::before,.game-card-kinetic::after,.attendance-bar::after,.attendance-replay-bar::after,.engagement-event>i,.lesson-file-picker{animation:none!important;transition:none!important;translate:none!important;rotate:none!important;scale:none!important}
}

/* Profile dashboard */
.profile-page .page-heading{margin-bottom:26px}
.profile-dashboard{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:16px;align-items:stretch}
.profile-dashboard>.master-card{border-color:rgba(255,255,255,.075);box-shadow:inset 0 1px 0 rgba(255,255,255,.026),0 22px 54px rgba(0,0,0,.18)}
.profile-kicker{display:block;margin-bottom:7px;color:#b98bd7;font-size:9px;font-weight:850;letter-spacing:.14em;text-transform:uppercase}
.profile-card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.profile-card-heading h2{margin:0;font-size:24px;letter-spacing:-.045em}
.profile-card-heading>a{display:inline-flex;align-items:center;gap:6px;padding:8px 11px;border:1px solid rgba(191,90,242,.16);border-radius:999px;background:rgba(191,90,242,.07);color:#cfa5e7;font-size:10px;font-weight:750;white-space:nowrap;transition:transform .35s var(--motion-spring),background .25s ease,color .25s ease}
.profile-card-heading>a span{font-size:17px;line-height:.7;transition:translate .3s var(--motion-spring)}
.profile-card-heading>a:hover{transform:translateY(-2px);background:rgba(191,90,242,.13);color:#edd8fa}.profile-card-heading>a:hover span{translate:2px 0}
.profile-card-heading>span{color:#73737a;font-size:10px}

.profile-identity-card{position:relative;min-height:286px;padding:28px;overflow:hidden;background:radial-gradient(circle at 12% 10%,rgba(191,90,242,.14),transparent 37%),linear-gradient(155deg,#19171d,#111113)}
.profile-identity-glow{position:absolute;right:-80px;top:-100px;width:250px;height:250px;border-radius:50%;background:conic-gradient(from 40deg,rgba(191,90,242,.22),rgba(255,55,95,.1),rgba(94,92,230,.16),rgba(191,90,242,.22));filter:blur(45px);opacity:.55;animation:profile-aura 8s ease-in-out infinite}
.profile-identity-main{position:relative;z-index:1;display:flex;align-items:center;gap:18px}
.profile-avatar-wrap{position:relative;flex:0 0 auto}
.profile-identity-card .profile-avatar{width:86px;height:86px;margin:0;border-radius:28px;background:linear-gradient(145deg,#3b2948,#221d29);border:1px solid rgba(216,165,250,.23);color:#f6eafe;font-family:"Lilita One",Impact,sans-serif;font-size:32px;font-weight:400;box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 18px 40px rgba(0,0,0,.3),0 0 30px rgba(191,90,242,.09)}
.profile-online-dot{position:absolute;right:-2px;bottom:5px;width:17px;height:17px;border:4px solid #151318;border-radius:50%;background:#30d158;box-shadow:0 0 16px rgba(48,209,88,.42);animation:profile-online 2.5s ease-in-out infinite}
.profile-identity-copy{min-width:0}.profile-identity-copy h2{margin:0 0 8px;font-size:clamp(25px,3vw,34px);line-height:1.02;letter-spacing:-.052em}.profile-identity-copy p{display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin:0;color:#929097;font-size:11px}.profile-identity-copy p i{width:3px;height:3px;border-radius:50%;background:#5f5b64}
.profile-standing{position:absolute;z-index:2;left:28px;right:28px;bottom:26px;min-height:82px;padding:13px 14px;display:grid;grid-template-columns:auto 1fr 1px 1fr auto;align-items:center;gap:12px;border:1px solid rgba(255,255,255,.085);border-radius:20px;background:rgba(28,27,33,.76);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);box-shadow:inset 0 1px 0 rgba(255,255,255,.045),0 16px 35px rgba(0,0,0,.26)}
.profile-coin-icon{width:46px;height:46px;display:grid;place-items:center;border-radius:15px;background:rgba(255,159,10,.075)}.profile-coin-icon img{width:38px;height:38px;filter:drop-shadow(0 7px 8px rgba(112,57,0,.34));animation:profile-coin-float 3.3s ease-in-out infinite}.profile-standing>div span{display:block;margin-bottom:4px;color:#7d7a83;font-size:8px;font-weight:800;letter-spacing:.09em;text-transform:uppercase}.profile-standing>div strong{display:block;font-family:"Lilita One",Impact,sans-serif;color:#fff;font-size:24px;font-weight:400;line-height:1}.profile-standing>i{width:1px;height:38px;background:rgba(255,255,255,.075)}.profile-standing>a{width:34px;height:34px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.08);border-radius:12px;background:rgba(255,255,255,.045);color:#b99bca;font-size:16px;transition:transform .35s var(--motion-spring),background .25s ease,color .25s ease}.profile-standing>a:hover{transform:translate(2px,-2px);background:rgba(191,90,242,.13);color:#fff}

.profile-progress-card{min-height:286px;padding:28px;background:radial-gradient(circle at 88% 15%,rgba(94,92,230,.1),transparent 35%),linear-gradient(155deg,#18181b,#111113)}
.profile-progress-body{display:grid;grid-template-columns:156px 1fr;align-items:center;gap:25px;margin-top:25px}
.profile-progress-ring{position:relative;width:156px;height:156px;display:grid;place-items:center;border-radius:50%;background:conic-gradient(#bf5af2 0,#ff375f var(--profile-progress),rgba(255,255,255,.065) var(--profile-progress),rgba(255,255,255,.065) 100%);box-shadow:0 0 35px rgba(191,90,242,.11);animation:profile-ring-breathe 4s ease-in-out infinite}
.profile-progress-ring::before{content:"";position:absolute;inset:10px;border:1px solid rgba(255,255,255,.065);border-radius:50%;background:#151518;box-shadow:inset 0 0 30px rgba(0,0,0,.32)}
.profile-progress-ring>div{position:relative;text-align:center}.profile-progress-ring strong{display:block;font-family:"Lilita One",Impact,sans-serif;font-size:38px;font-weight:400;line-height:1}.profile-progress-ring span{display:block;margin-top:5px;color:#7e7c84;font-size:8px;font-weight:750;letter-spacing:.09em;text-transform:uppercase}
.profile-progress-copy>strong{display:block;color:#e3e1e6;font-size:17px;line-height:1.3;letter-spacing:-.025em}.profile-progress-copy p{margin:9px 0 18px;color:#85838a;font-size:11px;line-height:1.55}.profile-mini-progress{height:5px;overflow:hidden;border-radius:99px;background:rgba(255,255,255,.065)}.profile-mini-progress i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#bf5af2,#ff375f,#ff9f0a);background-size:200% 100%;box-shadow:0 0 13px rgba(255,55,95,.28);animation:profile-progress-flow 4s ease-in-out infinite}

.profile-metric-grid{grid-column:1/-1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.profile-metric{position:relative;min-height:164px;padding:21px;overflow:hidden;background:linear-gradient(150deg,#18181b,#111113);transition:transform .5s var(--motion-spring),border-color .3s ease,box-shadow .4s ease}
.profile-metric::after{content:"";position:absolute;right:-35px;bottom:-45px;width:110px;height:110px;border-radius:50%;background:var(--metric-colour,#bf5af2);filter:blur(32px);opacity:.09;transition:opacity .35s ease,scale .5s var(--motion-spring)}
.profile-metric-streak{--metric-colour:#ff375f}.profile-metric-live{--metric-colour:#0a84ff}.profile-metric-replay{--metric-colour:#bf5af2}.profile-metric-lessons{--metric-colour:#30d158}
.profile-metric:hover{transform:translateY(-4px);border-color:color-mix(in srgb,var(--metric-colour) 24%,transparent);box-shadow:0 20px 45px rgba(0,0,0,.24)}.profile-metric:hover::after{opacity:.18;scale:1.25}
.profile-metric-icon{position:absolute;right:17px;top:17px;width:38px;height:38px;display:grid;place-items:center;border:1px solid color-mix(in srgb,var(--metric-colour) 18%,rgba(255,255,255,.06));border-radius:13px;background:color-mix(in srgb,var(--metric-colour) 10%,rgba(255,255,255,.025));color:color-mix(in srgb,var(--metric-colour) 58%,#fff);font-size:15px;animation:profile-metric-icon 3.7s ease-in-out infinite;animation-delay:var(--card-delay)}.profile-metric-flame img{width:31px;height:31px;object-fit:contain;filter:drop-shadow(0 0 8px rgba(255,55,95,.2))}.profile-metric>small{display:block;padding-right:42px;color:#77757d;font-size:8px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}.profile-metric>strong{display:block;margin-top:17px;font-family:"Lilita One",Impact,sans-serif;font-size:37px;font-weight:400;line-height:1;color:#f7f5f8}.profile-metric>p{position:relative;z-index:1;margin:7px 0 0;color:#85838a;font-size:10px}

.profile-activity-card,.profile-details-card{padding:27px;background:linear-gradient(155deg,#18181b,#111113)}
.profile-quick-links{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:22px}.profile-quick-links>a{min-width:0;min-height:68px;padding:10px;display:grid;grid-template-columns:39px minmax(0,1fr) auto;align-items:center;gap:10px;border:1px solid rgba(255,255,255,.06);border-radius:17px;background:rgba(255,255,255,.025);color:inherit;transition:transform .42s var(--motion-spring),background .25s ease,border-color .25s ease}.profile-quick-links>a:hover{transform:translateY(-3px);border-color:rgba(191,90,242,.17);background:rgba(191,90,242,.065)}.profile-quick-icon{width:39px;height:39px;display:grid;place-items:center;border-radius:13px;background:linear-gradient(145deg,rgba(191,90,242,.15),rgba(94,92,230,.08));color:#d6b0eb}.profile-quick-links strong,.profile-quick-links small{display:block}.profile-quick-links strong{font-size:12px}.profile-quick-links small{margin-top:2px;color:#74727a;font-size:8px}.profile-quick-links b{color:#77727c;font-size:17px;font-weight:400;transition:translate .3s ease}.profile-quick-links>a:hover b{translate:3px 0;color:#d7b5e8}
.profile-class-list{margin-top:20px;padding-top:17px;border-top:1px solid rgba(255,255,255,.055)}.profile-class-list>span{display:block;margin-bottom:9px;color:#74727a;font-size:8px;font-weight:800;letter-spacing:.09em;text-transform:uppercase}.profile-class-list>div{display:flex;flex-wrap:wrap;gap:7px}.profile-class-list b{padding:7px 9px;border:1px solid rgba(191,90,242,.12);border-radius:999px;background:rgba(191,90,242,.06);color:#c8a7da;font-size:9px;font-weight:700}

.profile-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:22px}.profile-detail{min-width:0;padding:14px;border:1px solid rgba(255,255,255,.055);border-radius:16px;background:rgba(255,255,255,.022);transition:transform .4s var(--motion-spring),background .25s ease,border-color .25s ease}.profile-detail:hover{transform:translateY(-2px);background:rgba(255,255,255,.038);border-color:rgba(255,255,255,.1)}.profile-detail span,.profile-detail strong,.profile-detail small{display:block}.profile-detail span{color:#737179;font-size:8px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.profile-detail strong{margin-top:6px;color:#dedce1;font-size:11px;line-height:1.35;overflow-wrap:anywhere}.profile-detail small{margin-top:4px;color:#605e65;font-size:8px}.profile-active-badge{display:inline-flex!important;align-items:center;gap:6px;padding:7px 10px;border:1px solid rgba(48,209,88,.13);border-radius:999px;background:rgba(48,209,88,.065);color:#75dc91!important;font-weight:750}.profile-active-badge i{width:6px;height:6px;border-radius:50%;background:#30d158;box-shadow:0 0 10px rgba(48,209,88,.5)}.profile-logout{margin-top:14px}.profile-logout .cta{width:100%;display:flex;justify-content:space-between;background:rgba(255,255,255,.045);color:#aaa8ae;border:1px solid rgba(255,255,255,.06);box-shadow:none}.profile-logout .cta:hover{background:rgba(255,255,255,.075);color:#fff}.profile-logout b{font-size:16px;font-weight:400}

@keyframes profile-aura{0%,100%{translate:0 0;scale:.9;rotate:0deg}50%{translate:-18px 22px;scale:1.12;rotate:45deg}}
@keyframes profile-online{0%,100%{box-shadow:0 0 0 0 rgba(48,209,88,.25),0 0 14px rgba(48,209,88,.3)}50%{box-shadow:0 0 0 7px rgba(48,209,88,0),0 0 19px rgba(48,209,88,.5)}}
@keyframes profile-coin-float{0%,100%{translate:0 1px;rotate:-3deg}50%{translate:0 -3px;rotate:4deg}}
@keyframes profile-ring-breathe{0%,100%{filter:brightness(1);box-shadow:0 0 26px rgba(191,90,242,.08)}50%{filter:brightness(1.08);box-shadow:0 0 42px rgba(191,90,242,.15)}}
@keyframes profile-progress-flow{0%,100%{background-position:0 50%}50%{background-position:100% 50%}}
@keyframes profile-metric-icon{0%,100%{translate:0 0;rotate:-2deg}50%{translate:0 -3px;rotate:3deg}}

@media(max-width:991.98px){.profile-dashboard{grid-template-columns:1fr}.profile-metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-identity-card,.profile-progress-card,.profile-metric-grid,.profile-activity-card,.profile-details-card{grid-column:1}}
@media(max-width:575.98px){
  .profile-page .page-heading{margin-bottom:20px}.profile-dashboard{gap:12px}.profile-identity-card,.profile-progress-card,.profile-activity-card,.profile-details-card{padding:20px}.profile-identity-card{min-height:328px}.profile-identity-main{align-items:flex-start}.profile-identity-card .profile-avatar{width:72px;height:72px;border-radius:23px;font-size:27px}.profile-identity-copy h2{font-size:24px}.profile-identity-copy p{font-size:9px}.profile-standing{left:20px;right:20px;bottom:20px;grid-template-columns:auto 1fr 1px 1fr;padding:12px;gap:9px}.profile-standing>a{display:none}.profile-coin-icon{width:40px;height:40px}.profile-coin-icon img{width:34px;height:34px}.profile-standing>div strong{font-size:21px}.profile-progress-body{grid-template-columns:112px 1fr;gap:17px;margin-top:22px}.profile-progress-ring{width:112px;height:112px}.profile-progress-ring strong{font-size:29px}.profile-progress-copy>strong{font-size:14px}.profile-progress-copy p{font-size:9px;margin-bottom:13px}.profile-metric-grid{gap:9px}.profile-metric{min-height:144px;padding:17px}.profile-metric-icon{right:13px;top:13px;width:34px;height:34px}.profile-metric>strong{font-size:31px}.profile-quick-links{grid-template-columns:1fr}.profile-detail-grid{grid-template-columns:1fr}.profile-card-heading h2{font-size:21px}
}
@media(prefers-reduced-motion:reduce){.profile-identity-glow,.profile-online-dot,.profile-coin-icon img,.profile-progress-ring,.profile-mini-progress i,.profile-metric-icon{animation:none!important;translate:none!important;rotate:none!important;scale:none!important;filter:none!important}}

/* Profile simplification: fewer surfaces, clearer hierarchy, quieter interaction. */
.profile-dashboard{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px}
.profile-identity-card{grid-column:1/-1;min-height:0;padding:28px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:24px;background:#141416}
.profile-identity-main{gap:16px}.profile-identity-card .profile-avatar{width:72px;height:72px;border-radius:23px;background:#222225;border-color:rgba(255,255,255,.09);box-shadow:none;font-family:inherit;font-size:25px;font-weight:750}.profile-online-dot{width:14px;height:14px;border-width:3px;box-shadow:none;animation:none}.profile-identity-copy h2{margin-bottom:7px;font-size:29px}.profile-identity-copy p{color:#85858b}
.profile-summary-stats{display:grid;grid-template-columns:repeat(3,minmax(92px,1fr));border:1px solid rgba(255,255,255,.07);border-radius:18px;overflow:hidden;background:#19191c}.profile-summary-stats a{min-width:100px;padding:14px 18px;color:inherit}.profile-summary-stats a+a{border-left:1px solid rgba(255,255,255,.065)}.profile-summary-stats span,.profile-summary-stats strong{display:block}.profile-summary-stats span{margin-bottom:5px;color:#77777e;font-size:9px}.profile-summary-stats strong{font-size:21px;letter-spacing:-.035em}.profile-summary-stats a:hover{background:rgba(255,255,255,.035)}
.profile-identity-card>.profile-class-list{grid-column:1/-1;margin:2px 0 0;padding-top:16px}.profile-class-list b{background:#1b1b1e;border-color:rgba(255,255,255,.065);color:#aaa8af;font-weight:650}

.profile-progress-card,.profile-details-card{grid-column:auto;min-height:0;padding:26px;background:#141416}.profile-card-heading{align-items:center}.profile-card-heading>h2{margin:0;font-size:22px;letter-spacing:-.04em}.profile-card-heading>a{padding:0;border:0;background:none;color:#a989bb}.profile-card-heading>a:hover{transform:none;background:none;color:#d1addf}
.profile-progress-body{grid-template-columns:118px minmax(0,1fr);gap:22px;margin-top:24px}.profile-progress-ring{width:118px;height:118px;animation:none;box-shadow:none;background:conic-gradient(#bf5af2 0,#ff375f var(--profile-progress),rgba(255,255,255,.07) var(--profile-progress),rgba(255,255,255,.07) 100%)}.profile-progress-ring::before{inset:8px;background:#141416}.profile-progress-ring strong{font-family:inherit;font-size:27px;font-weight:750}.profile-progress-ring span{letter-spacing:0;text-transform:none;font-size:9px}
.profile-learning-list{display:grid}.profile-learning-list>div{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:10px 0;border-bottom:1px solid rgba(255,255,255,.055)}.profile-learning-list>div:last-child{border-bottom:0}.profile-learning-list span{color:#7f7f86;font-size:11px}.profile-learning-list strong{font-size:12px;font-weight:700;white-space:nowrap}

.profile-detail-list{display:grid;margin-top:18px}.profile-detail-list>div{display:grid;grid-template-columns:120px minmax(0,1fr);gap:18px;padding:11px 0;border-bottom:1px solid rgba(255,255,255,.055)}.profile-detail-list span{color:#76767d;font-size:10px}.profile-detail-list strong{min-width:0;color:#d0d0d4;font-size:11px;font-weight:600;text-align:right;overflow-wrap:anywhere}.profile-active-badge{padding:6px 9px}.profile-logout{margin-top:16px}.profile-logout .cta{min-height:42px;justify-content:center}

.profile-quick-nav{grid-column:1/-1;padding:7px;display:grid;grid-template-columns:repeat(4,1fr);gap:5px;background:#141416}.profile-quick-nav a{min-height:48px;padding:0 13px;display:flex;align-items:center;justify-content:space-between;gap:8px;border-radius:13px;color:#929299;font-size:11px;font-weight:650;transition:background .2s ease,color .2s ease}.profile-quick-nav a:hover{background:#1d1d20;color:#fff}.profile-quick-nav b{font-size:17px;font-weight:400;color:#65656c}

@media(max-width:767.98px){.profile-dashboard{grid-template-columns:1fr}.profile-identity-card{grid-template-columns:1fr;padding:21px;gap:18px}.profile-summary-stats{grid-template-columns:repeat(3,1fr)}.profile-summary-stats a{min-width:0;padding:12px 10px}.profile-summary-stats strong{font-size:18px}.profile-progress-card,.profile-details-card{grid-column:1;padding:21px}.profile-quick-nav{grid-template-columns:1fr 1fr}.profile-progress-body{grid-template-columns:96px minmax(0,1fr);gap:17px}.profile-progress-ring{width:96px;height:96px}.profile-progress-ring strong{font-size:23px}.profile-detail-list>div{grid-template-columns:96px minmax(0,1fr)}}
@media(max-width:420px){.profile-identity-main{align-items:flex-start}.profile-identity-card .profile-avatar{width:62px;height:62px;border-radius:20px;font-size:22px}.profile-identity-copy h2{font-size:23px}.profile-identity-copy p{font-size:9px}.profile-progress-body{grid-template-columns:1fr}.profile-progress-ring{margin:0 auto}.profile-summary-stats span{font-size:8px}.profile-summary-stats strong{font-size:17px}}

/* Student profile — a single, editorial profile surface rather than a card dashboard. */
.student-profile{display:grid;gap:14px}
.student-profile-hero{overflow:hidden;border:1px solid rgba(255,255,255,.075);border-radius:30px;background:#141416;box-shadow:0 24px 60px rgba(0,0,0,.2)}
.student-profile-cover{position:relative;height:118px;overflow:hidden;background:linear-gradient(120deg,#211629,#121520 48%,#19151d)}
.student-profile-cover::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent,rgba(255,255,255,.035),transparent);translate:-100% 0;animation:student-cover-light 8s ease-in-out infinite}
.student-profile-cover span,.student-profile-cover i,.student-profile-cover b{position:absolute;display:block;border-radius:50%;filter:blur(1px);opacity:.45}.student-profile-cover span{left:8%;top:32px;width:92px;height:92px;border:1px solid rgba(191,90,242,.25)}.student-profile-cover i{right:14%;top:-65px;width:190px;height:190px;background:radial-gradient(circle,rgba(94,92,230,.2),transparent 68%)}.student-profile-cover b{right:8%;bottom:18px;width:7px;height:7px;background:#ff375f;box-shadow:-90px -20px 0 #bf5af2,55px -54px 0 #ff9f0a}
.student-profile-header{position:relative;min-height:114px;padding:0 30px 22px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:end;gap:18px}
.student-profile-avatar{position:relative;width:94px;height:94px;margin-top:-38px;padding:5px;border-radius:29px;background:#141416}.student-profile-avatar>span{width:100%;height:100%;display:grid;place-items:center;border:1px solid rgba(255,255,255,.1);border-radius:24px;background:#242427;color:#f2edf5;font-size:29px;font-weight:780}.student-profile-avatar>i{position:absolute;right:1px;bottom:6px;width:16px;height:16px;border:4px solid #141416;border-radius:50%;background:#30d158}
.student-profile-name{padding-bottom:4px}.student-profile-name h2{margin:0 0 6px;font-size:30px;letter-spacing:-.052em}.student-profile-name p{margin:0;color:#818188;font-size:11px}
.student-profile-rank{min-width:128px;padding:12px 14px;display:grid;border:1px solid rgba(255,255,255,.07);border-radius:16px;background:#19191c;color:inherit}.student-profile-rank span{color:#77777e;font-size:8px}.student-profile-rank strong{margin:2px 0 4px;font-size:22px;letter-spacing:-.04em}.student-profile-rank b{color:#9c7cac;font-size:8px;font-weight:650}.student-profile-rank:hover{background:#1d1b20}
.student-profile-classes{padding:0 30px 24px;display:flex;flex-wrap:wrap;gap:7px}.student-profile-classes span{padding:6px 9px;border:1px solid rgba(255,255,255,.065);border-radius:999px;background:#19191c;color:#96949b;font-size:9px;font-weight:650}

.student-profile-stats{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid rgba(255,255,255,.075);border-radius:22px;background:#141416;overflow:hidden}.student-profile-stats>div{padding:18px 22px}.student-profile-stats>div+div{border-left:1px solid rgba(255,255,255,.06)}.student-profile-stats span,.student-profile-stats strong{display:block}.student-profile-stats span{margin-bottom:7px;color:#77777e;font-size:9px}.student-profile-stats strong{font-size:24px;letter-spacing:-.04em}.student-profile-stats small{margin-left:3px;color:#6f6f76;font-size:12px;font-weight:600}

.student-profile-columns{display:grid;grid-template-columns:1fr 1fr;gap:14px}.student-profile-section{padding:26px;border:1px solid rgba(255,255,255,.075);border-radius:24px;background:#141416}.student-profile-section-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:20px}.student-profile-section-head h3{margin:0;font-size:19px;letter-spacing:-.035em}.student-profile-section-head>a{color:#9c7cac;font-size:10px}.student-profile-active{display:inline-flex;align-items:center;gap:6px;color:#76c98c;font-size:9px}.student-profile-active i{width:6px;height:6px;border-radius:50%;background:#30d158}
.student-profile-attendance>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:15px;color:#85858b;font-size:10px}.student-profile-attendance strong{color:#efedf0;font-size:13px}.student-profile-track{height:7px;margin-top:9px;overflow:hidden;border-radius:99px;background:#29292d}.student-profile-track i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#bf5af2,#ff375f)}
.student-profile-activity-list{display:grid;margin-top:14px}.student-profile-activity-list>div,.student-profile-details>div{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:12px 0;border-bottom:1px solid rgba(255,255,255,.055)}.student-profile-activity-list>div:last-child,.student-profile-details>div:last-child{border-bottom:0}.student-profile-activity-list span,.student-profile-details dt{color:#797980;font-size:10px;font-weight:400}.student-profile-activity-list strong,.student-profile-details dd{margin:0;color:#cccbd0;font-size:11px;font-weight:650;text-align:right;overflow-wrap:anywhere}
.student-profile-details{margin:0}.student-profile-details>div{min-height:43px}

.student-profile-links{padding:7px;display:grid;grid-template-columns:repeat(4,1fr);gap:5px;border:1px solid rgba(255,255,255,.075);border-radius:20px;background:#141416}.student-profile-links a{min-height:48px;padding:0 14px;display:flex;align-items:center;justify-content:space-between;border-radius:13px;color:#8d8d94;font-size:11px;font-weight:650;transition:background .2s ease,color .2s ease}.student-profile-links a:hover{background:#1d1d20;color:#fff}.student-profile-links span{color:#65656c;font-size:13px}
.student-profile-logout{text-align:right}.student-profile-logout button{padding:7px 0;border:0;background:none;color:#67676e;font-size:10px}.student-profile-logout button:hover{color:#b8b8bd}
@keyframes student-cover-light{0%,35%{translate:-100% 0}65%,100%{translate:100% 0}}

@media(max-width:767.98px){.student-profile-cover{height:94px}.student-profile-header{padding:0 20px 18px;grid-template-columns:auto minmax(0,1fr);align-items:end;gap:13px}.student-profile-avatar{width:76px;height:76px;margin-top:-30px;border-radius:24px}.student-profile-avatar>span{border-radius:20px;font-size:24px}.student-profile-name h2{font-size:23px}.student-profile-name p{font-size:9px}.student-profile-rank{grid-column:1/-1;width:100%;display:flex;align-items:center;justify-content:space-between}.student-profile-rank strong{margin:0}.student-profile-rank b{display:none}.student-profile-classes{padding:0 20px 19px}.student-profile-stats{grid-template-columns:1fr 1fr}.student-profile-stats>div{padding:15px 17px}.student-profile-stats>div:nth-child(3){border-left:0;border-top:1px solid rgba(255,255,255,.06)}.student-profile-stats>div:nth-child(4){border-top:1px solid rgba(255,255,255,.06)}.student-profile-columns{grid-template-columns:1fr}.student-profile-section{padding:21px}.student-profile-links{grid-template-columns:1fr 1fr}}
@media(prefers-reduced-motion:reduce){.student-profile-cover::after{animation:none!important;translate:none!important}}

/* Final profile composition: one connected identity surface with an editorial rhythm. */
.profile-page .student-profile{width:min(1040px,100%);margin-inline:auto;gap:16px}
.profile-page .game-piece{opacity:.16}
.student-profile-hero{border-radius:32px;background:#131315;box-shadow:0 26px 70px rgba(0,0,0,.24)}
.student-profile-cover{height:132px;background:radial-gradient(circle at 72% 22%,rgba(94,92,230,.17),transparent 34%),radial-gradient(circle at 18% 120%,rgba(191,90,242,.16),transparent 40%),linear-gradient(115deg,#1c1522,#11141b 58%,#171319)}
.student-profile-cover span{left:7%;top:42px;width:70px;height:70px;opacity:.22}.student-profile-cover i{right:11%;opacity:.3}.student-profile-cover b{opacity:.3}
.student-profile-header{padding:0 32px 25px;gap:20px}.student-profile-avatar{width:100px;height:100px;margin-top:-43px;padding:6px;border-radius:31px}.student-profile-avatar>span{border-radius:25px;background:linear-gradient(145deg,#28242d,#1f2025);font-size:30px}.student-profile-name h2{font-size:32px}.student-profile-rank{border-radius:17px;background:#18181b;transition:transform .35s var(--motion-spring),background .2s ease}.student-profile-rank:hover{transform:translateY(-2px)}
.student-profile-classes{padding:0 32px 22px}.student-profile-classes span{background:transparent}
.student-profile-hero>.student-profile-stats{border:0;border-top:1px solid rgba(255,255,255,.065);border-radius:0;background:rgba(255,255,255,.012)}.student-profile-hero>.student-profile-stats>div{padding:20px 32px}.student-profile-hero>.student-profile-stats strong{font-size:25px}
.student-profile-section{padding:29px;border-radius:25px}.student-profile-section-head{margin-bottom:24px}.student-profile-section-head h3{font-size:20px}.student-profile-track{position:relative;height:8px}.student-profile-track b{position:absolute;top:-3px;bottom:-3px;left:80%;width:1px;background:rgba(255,255,255,.42)}.student-profile-scale{display:flex;justify-content:space-between;margin-top:7px;color:#55555c;font-size:8px}.student-profile-scale span:nth-child(2){translate:12px 0;color:#77777e}
.student-profile-activity-list{margin-top:17px}.student-profile-activity-list>div,.student-profile-details>div{padding:14px 0}.student-profile-links{border-radius:21px}.student-profile-logout{padding-right:4px}
@media(max-width:767.98px){.student-profile-cover{height:104px}.student-profile-header{padding:0 20px 19px}.student-profile-avatar{width:78px;height:78px;margin-top:-32px;padding:5px}.student-profile-name h2{font-size:24px}.student-profile-classes{padding:0 20px 18px}.student-profile-hero>.student-profile-stats>div{padding:16px 18px}.student-profile-hero>.student-profile-stats strong{font-size:21px}.student-profile-section{padding:22px}}

/* Profile passport */
.profile-passport{width:min(1080px,100%);margin-inline:auto;display:grid;grid-template-columns:minmax(285px,340px) minmax(0,1fr);gap:16px;align-items:start}
.profile-pass{position:sticky;top:24px;min-height:610px;padding:27px;overflow:hidden;border:1px solid rgba(255,255,255,.09);border-radius:32px;background:radial-gradient(circle at 100% 0%,rgba(191,90,242,.2),transparent 33%),linear-gradient(160deg,#1c1721,#121214 58%);box-shadow:0 30px 75px rgba(0,0,0,.28)}
.profile-pass::before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:linear-gradient(180deg,#bf5af2,#ff375f 55%,#ff9f0a)}
.profile-pass::after{content:"";position:absolute;right:-70px;top:110px;width:210px;height:210px;border:1px solid rgba(255,255,255,.035);border-radius:50%;box-shadow:0 0 0 28px rgba(255,255,255,.012),0 0 0 56px rgba(255,255,255,.009);pointer-events:none}
.profile-pass-top{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;color:#8d8791;font-size:8px;font-weight:850;letter-spacing:.16em}.profile-pass-top i{width:8px;height:8px;border-radius:50%;background:#30d158;box-shadow:0 0 13px rgba(48,209,88,.42)}
.profile-pass-avatar{position:relative;z-index:1;width:112px;height:112px;margin:42px auto 24px;padding:6px;border:1px solid rgba(255,255,255,.1);border-radius:38px;rotate:-3deg;background:rgba(255,255,255,.035);box-shadow:0 22px 45px rgba(0,0,0,.28);transition:rotate .6s var(--motion-spring),scale .6s var(--motion-spring)}.profile-pass:hover .profile-pass-avatar{rotate:0deg;scale:1.025}.profile-pass-avatar span{width:100%;height:100%;display:grid;place-items:center;border-radius:31px;background:linear-gradient(145deg,#3a2945,#222129);color:#f7edfb;font-family:"Lilita One",Impact,sans-serif;font-size:37px}
.profile-pass-name{position:relative;z-index:1;text-align:center}.profile-pass-name h2{margin:0;font-size:28px;line-height:1.05;letter-spacing:-.055em}.profile-pass-name p{margin:8px 0 0;color:#8a858e;font-size:10px;font-weight:700;letter-spacing:.08em}
.profile-pass-meta{position:relative;z-index:1;margin:19px auto 0;display:flex;justify-content:center;gap:7px}.profile-pass-meta span,.profile-pass-classes span{padding:6px 9px;border:1px solid rgba(255,255,255,.07);border-radius:999px;background:rgba(255,255,255,.03);color:#98939c;font-size:9px;font-weight:650}
.profile-pass-score{position:relative;z-index:1;margin-top:28px;display:grid;grid-template-columns:1fr 1fr;border:1px solid rgba(255,255,255,.075);border-radius:20px;background:rgba(12,12,14,.3);overflow:hidden}.profile-pass-score a{padding:16px;color:inherit;text-align:center}.profile-pass-score a+a{border-left:1px solid rgba(255,255,255,.07)}.profile-pass-score small,.profile-pass-score strong{display:block}.profile-pass-score small{margin-bottom:5px;color:#77727d;font-size:8px}.profile-pass-score strong{font-size:24px;letter-spacing:-.045em}.profile-pass-score a:hover{background:rgba(255,255,255,.035)}
.profile-pass-classes{position:relative;z-index:1;margin-top:24px}.profile-pass-classes>small{display:block;margin-bottom:10px;color:#706b74;font-size:8px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}.profile-pass-classes span{display:inline-flex;margin:0 5px 6px 0}
.profile-pass-foot{position:absolute;z-index:1;left:27px;right:27px;bottom:24px;display:flex;align-items:center;justify-content:space-between;padding-top:17px;border-top:1px solid rgba(255,255,255,.06);color:#77727c;font-size:8px}.profile-pass-foot span{display:flex;align-items:center;gap:7px}.profile-pass-foot i{width:6px;height:6px;border-radius:50%;background:#30d158}.profile-pass-foot b{font-weight:700}

.profile-record{overflow:hidden;border:1px solid rgba(255,255,255,.075);border-radius:32px;background:#141416;box-shadow:0 30px 75px rgba(0,0,0,.2)}
.profile-record>section{padding:31px 34px}.profile-record>section+section{border-top:1px solid rgba(255,255,255,.06)}
.profile-record-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.profile-record-heading>div>span{display:block;margin-bottom:7px;color:#8e699f;font-size:8px;font-weight:850;letter-spacing:.14em}.profile-record-heading h2{margin:0;font-size:24px;letter-spacing:-.045em}.profile-record-heading>a{color:#a887b8;font-size:10px;font-weight:650}.profile-record-heading>small{color:#67656b;font-size:9px}
.profile-attendance-score{margin-top:31px;display:flex;align-items:flex-end;justify-content:space-between;gap:20px}.profile-attendance-score>div{display:flex;align-items:flex-start}.profile-attendance-score strong{font-size:72px;line-height:.78;letter-spacing:-.075em}.profile-attendance-score>div>span{margin:1px 0 0 6px;color:#8d8990;font-size:20px}.profile-attendance-score small{align-self:flex-end;margin:0 0 1px -18px;translate:100% 0;color:#6d6971;font-size:9px}.profile-attendance-score p{max-width:180px;margin:0;color:#858188;font-size:10px;line-height:1.45;text-align:right}
.profile-attendance-line{position:relative;height:8px;margin-top:24px;border-radius:99px;background:#29292d}.profile-attendance-line i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#bf5af2,#ff375f,#ff9f0a);box-shadow:0 0 16px rgba(255,55,95,.18)}.profile-attendance-line b{position:absolute;left:80%;top:-4px;bottom:-4px;width:1px;background:rgba(255,255,255,.42)}
.profile-record-stats{margin-top:26px;display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid rgba(255,255,255,.06)}.profile-record-stats>div{padding:20px 12px 0 0}.profile-record-stats>div+div{padding-left:20px;border-left:1px solid rgba(255,255,255,.06)}.profile-record-stats span,.profile-record-stats strong{display:block}.profile-record-stats span{margin-bottom:7px;color:#737078;font-size:8px}.profile-record-stats strong{font-size:13px}
.profile-recent-track{position:relative;margin-top:26px;display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}.profile-recent-track::before{content:"";position:absolute;left:6%;right:6%;top:19px;height:1px;background:#2b2b2f}.profile-recent-track>div{position:relative;z-index:1;min-width:0;text-align:center}.profile-recent-track i{width:39px;height:39px;margin:0 auto 9px;display:grid;place-items:center;border:1px solid #333337;border-radius:50%;background:#202023;color:#696970;font-size:12px;font-style:normal}.profile-recent-track .is-present i{border-color:rgba(48,209,88,.25);background:#17301f;color:#68dd88}.profile-recent-track .is-partial i{border-color:rgba(255,159,10,.25);background:#302516;color:#ffb13c}.profile-recent-track span,.profile-recent-track small{display:block;white-space:nowrap}.profile-recent-track span{color:#a19da4;font-size:9px;font-weight:700}.profile-recent-track small{margin-top:3px;color:#5e5b62;font-size:7px}.profile-empty-copy{margin:24px 0 0;color:#77747b;font-size:11px}
.profile-information dl{margin:22px 0 0;display:grid;grid-template-columns:1fr 1fr}.profile-information dl>div{min-width:0;padding:14px 0;border-bottom:1px solid rgba(255,255,255,.055)}.profile-information dl>div:nth-child(odd){padding-right:24px}.profile-information dl>div:nth-child(even){padding-left:24px;border-left:1px solid rgba(255,255,255,.055)}.profile-information dt{margin-bottom:6px;color:#716e75;font-size:8px;font-weight:650}.profile-information dd{margin:0;color:#cfccd2;font-size:11px;font-weight:650;overflow-wrap:anywhere}
.profile-record-links{padding:8px;display:grid;grid-template-columns:repeat(3,1fr);gap:5px;border-top:1px solid rgba(255,255,255,.06)}.profile-record-links a{min-height:48px;padding:0 14px;display:flex;align-items:center;justify-content:space-between;border-radius:14px;color:#8f8c93;font-size:10px;font-weight:650}.profile-record-links a:hover{background:#1d1d20;color:#fff}.profile-record-links span{font-size:16px;color:#5e5b63}.profile-record-logout{padding:8px 16px 17px;text-align:right}.profile-record-logout button{border:0;background:transparent;color:#5f5c63;font-size:9px}.profile-record-logout button:hover{color:#aaa7ad}

@media(max-width:900px){.profile-passport{grid-template-columns:1fr}.profile-pass{position:relative;top:auto;min-height:0;padding-bottom:78px}.profile-pass-avatar{margin-top:30px}.profile-pass-foot{bottom:22px}}
@media(max-width:575.98px){.profile-pass{padding:21px 21px 73px;border-radius:26px}.profile-pass-avatar{width:94px;height:94px;margin:27px auto 20px;border-radius:31px}.profile-pass-avatar span{border-radius:25px;font-size:31px}.profile-pass-name h2{font-size:25px}.profile-pass-score{margin-top:23px}.profile-pass-foot{left:21px;right:21px}.profile-record{border-radius:26px}.profile-record>section{padding:25px 21px}.profile-attendance-score{align-items:flex-start}.profile-attendance-score strong{font-size:59px}.profile-attendance-score p{font-size:9px}.profile-record-stats{grid-template-columns:1fr}.profile-record-stats>div,.profile-record-stats>div+div{padding:13px 0;border-left:0;border-bottom:1px solid rgba(255,255,255,.055)}.profile-record-stats>div:last-child{border-bottom:0}.profile-record-stats span,.profile-record-stats strong{display:inline}.profile-record-stats strong{float:right}.profile-recent-track{overflow-x:auto;grid-template-columns:repeat(7,58px);padding-bottom:6px}.profile-information dl{grid-template-columns:1fr}.profile-information dl>div:nth-child(odd),.profile-information dl>div:nth-child(even){padding:13px 0;border-left:0}.profile-record-links{grid-template-columns:1fr}.profile-record-links a{min-height:44px}}
@media(prefers-reduced-motion:reduce){.profile-pass-avatar{transition:none!important;rotate:none!important;scale:none!important}}

/* UX refinement: progressive disclosure and a calmer first scan. */
.profile-pass{min-height:0;padding:25px 27px 27px}
.profile-pass-top b{display:flex;align-items:center;gap:6px;color:#78bf8b;font-size:8px;font-weight:700;letter-spacing:0}.profile-pass-top b i{width:6px;height:6px;border-radius:50%;background:#30d158;box-shadow:none}
.profile-pass-avatar{width:104px;height:104px;margin:32px auto 20px}.profile-pass-name h2{font-size:27px}.profile-pass-score{margin-top:24px}.profile-pass-class-count{margin:17px 0 0;color:#716d75;font-size:9px;text-align:center}
.profile-attendance-score{margin-top:27px}.profile-attendance-score strong{font-size:64px}.profile-attendance-score p{max-width:164px}
.profile-record-stats{margin-top:23px}.profile-record-stats>div{padding-top:17px}.profile-record-stats strong,.profile-record-stats span{display:block}.profile-record-stats strong{margin-bottom:5px;font-size:17px}.profile-record-stats span{margin:0;color:#716e75;font-size:8px}
.profile-recent-track{grid-template-columns:repeat(6,minmax(0,1fr))}
.profile-information{border-top:1px solid rgba(255,255,255,.06)}.profile-information>summary{min-height:64px;padding:0 34px;display:flex;align-items:center;justify-content:space-between;cursor:pointer;list-style:none;color:#aaa7ae;font-size:11px;font-weight:650}.profile-information>summary::-webkit-details-marker{display:none}.profile-information>summary b{font-size:18px;font-weight:400;color:#66636a;transition:rotate .3s ease}.profile-information[open]>summary b{rotate:90deg}.profile-information[open]>summary{border-bottom:1px solid rgba(255,255,255,.055)}.profile-information dl{margin:0;padding:10px 34px 4px}.profile-information .profile-record-logout{padding:8px 34px 22px}
@media(max-width:900px){.profile-pass{padding-bottom:27px}}
@media(max-width:575.98px){.profile-pass{padding:21px}.profile-pass-avatar{width:92px;height:92px;margin:25px auto 18px}.profile-attendance-score strong{font-size:54px}.profile-recent-track{grid-template-columns:repeat(6,56px)}.profile-information>summary{padding:0 21px}.profile-information dl{padding-inline:21px}.profile-information .profile-record-logout{padding:8px 21px 19px}}

/* Profile content stays account-focused; progress and rewards belong on Home. */
.profile-pass-identity{position:relative;z-index:1;margin-top:25px;display:grid;grid-template-columns:1fr 1fr;border:1px solid rgba(255,255,255,.075);border-radius:20px;background:rgba(12,12,14,.3);overflow:hidden}.profile-pass-identity>div{padding:16px;text-align:center}.profile-pass-identity>div+div{border-left:1px solid rgba(255,255,255,.07)}.profile-pass-identity small,.profile-pass-identity strong{display:block}.profile-pass-identity small{margin-bottom:6px;color:#77727d;font-size:8px}.profile-pass-identity strong{font-size:13px;line-height:1.3}
.profile-class-rows{margin-top:23px;display:grid;gap:8px}.profile-class-rows>a{min-height:58px;padding:0 16px;display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:13px;border:1px solid rgba(255,255,255,.06);border-radius:17px;background:#19191c;color:inherit;transition:transform .4s var(--motion-spring),background .2s ease,border-color .2s ease}.profile-class-rows>a:hover{transform:translateY(-2px);background:#1d1d20;border-color:rgba(191,90,242,.17)}.profile-class-rows span{font-size:12px;font-weight:680}.profile-class-rows small{padding:5px 8px;border-radius:999px;background:rgba(48,209,88,.07);color:#74c88a;font-size:8px}.profile-class-rows b{color:#66626a;font-size:18px;font-weight:400}
.profile-information-primary{border-top:1px solid rgba(255,255,255,.06)}.profile-information-primary dl{margin:22px 0 0;padding:0}.profile-information-primary .profile-record-heading>a{white-space:nowrap}
.profile-account-panel{border-top:1px solid rgba(255,255,255,.06)}.profile-account-panel>summary{min-height:76px;padding:0 34px;display:flex;align-items:center;justify-content:space-between;cursor:pointer;list-style:none}.profile-account-panel>summary::-webkit-details-marker{display:none}.profile-account-panel>summary span small,.profile-account-panel>summary span strong{display:block}.profile-account-panel>summary small{margin-bottom:5px;color:#775984;font-size:7px;font-weight:850;letter-spacing:.13em}.profile-account-panel>summary strong{font-size:13px}.profile-account-panel>summary>b{color:#656169;font-size:19px;font-weight:400;transition:rotate .3s ease}.profile-account-panel[open]>summary>b{rotate:90deg}.profile-account-panel[open]>summary{border-bottom:1px solid rgba(255,255,255,.055)}.profile-account-content{padding:22px 34px 25px}.profile-account-content>p{max-width:520px;margin:0 0 17px;color:#77747b;font-size:10px;line-height:1.55}.profile-account-content>div{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:11px 0;border-bottom:1px solid rgba(255,255,255,.05)}.profile-account-content>div span{color:#77747b;font-size:9px}.profile-account-content>div strong{font-size:10px}.profile-account-content .is-active{color:#68d683}.profile-account-content .profile-record-logout{padding:16px 0 0}
@media(max-width:575.98px){.profile-pass-identity>div{padding:14px 9px}.profile-class-rows>a{padding-inline:13px}.profile-information-primary dl{padding:0}.profile-account-panel>summary{padding:0 21px}.profile-account-content{padding:19px 21px 22px}}

.profile-record>.profile-information-primary:first-child{border-top:0}

/* Profile proportions follow the shared 1180px shell and 28px card system. */
.profile-page .page-heading{margin-bottom:28px}
.profile-passport{width:100%;margin:0;grid-template-columns:minmax(280px,31%) minmax(0,69%);gap:16px;align-items:stretch}
.profile-pass{position:relative;top:auto;height:100%;padding:28px;border-radius:28px}
.profile-pass-avatar{width:94px;height:94px;margin:28px auto 20px;border-radius:31px}.profile-pass-avatar span{border-radius:25px;font-size:32px}
.profile-pass-name h2{font-size:26px}.profile-pass-meta{margin-top:17px}.profile-pass-identity{margin-top:22px}
.profile-record{height:100%;border-radius:28px}.profile-record>section{padding:28px}.profile-record-heading h2{font-size:24px}.profile-information-primary dl{margin-top:20px}
.profile-account-panel>summary{min-height:72px;padding-inline:28px}.profile-account-content{padding:20px 28px 24px}
@media(max-width:900px){.profile-passport{grid-template-columns:1fr}.profile-pass{height:auto}.profile-record{height:auto}}
@media(max-width:575.98px){.profile-page .page-heading{margin-bottom:22px}.profile-passport{gap:12px}.profile-pass{padding:21px;border-radius:24px}.profile-pass-avatar{width:86px;height:86px;margin:23px auto 17px;border-radius:28px}.profile-pass-avatar span{border-radius:22px;font-size:29px}.profile-pass-name h2{font-size:23px}.profile-record{border-radius:24px}.profile-record>section{padding:21px}.profile-account-panel>summary{min-height:64px;padding-inline:21px}.profile-account-content{padding:18px 21px 21px}}

/* Readable profile type scale: labels 11–12px, values 14px, actions 13px. */
.profile-pass-top{font-size:11px;letter-spacing:.12em}.profile-pass-top b{font-size:11px}
.profile-pass-name h2{font-size:30px;line-height:1.12}.profile-pass-name p{margin-top:9px;font-size:13px;line-height:1.35;letter-spacing:.035em}
.profile-pass-meta{gap:8px}.profile-pass-meta span{padding:7px 11px;font-size:11px}
.profile-pass-identity small{margin-bottom:7px;font-size:11px}.profile-pass-identity strong{font-size:15px;line-height:1.4}.profile-pass-identity>div{padding:18px 14px}
.profile-record-heading>div>span{margin-bottom:8px;font-size:11px;letter-spacing:.12em}.profile-record-heading h2{font-size:28px;line-height:1.18}.profile-record-heading>a{font-size:13px}
.profile-information dt{margin-bottom:7px;font-size:12px;line-height:1.35}.profile-information dd{font-size:14px;line-height:1.45}.profile-information dl>div{padding-block:16px}
.profile-account-panel>summary span small{margin-bottom:6px;font-size:10px}.profile-account-panel>summary span strong{font-size:16px;line-height:1.3}.profile-account-panel>summary>b{font-size:22px}
.profile-account-content>p{max-width:600px;font-size:13px;line-height:1.6}.profile-account-content>div{padding:14px 0}.profile-account-content>div span{font-size:12px}.profile-account-content>div strong{font-size:14px}.profile-record-logout button{font-size:12px}
@media(max-width:575.98px){.profile-pass-top,.profile-pass-top b{font-size:10px}.profile-pass-name h2{font-size:26px}.profile-pass-name p{font-size:12px}.profile-pass-meta span{font-size:10px}.profile-pass-identity small{font-size:10px}.profile-pass-identity strong{font-size:13px}.profile-record-heading>div>span{font-size:10px}.profile-record-heading h2{font-size:24px}.profile-record-heading>a{font-size:12px}.profile-information dt{font-size:11px}.profile-information dd{font-size:13px}.profile-account-panel>summary span strong{font-size:15px}.profile-account-content>p{font-size:12px}.profile-account-content>div span{font-size:11px}.profile-account-content>div strong{font-size:13px}}

.profile-record-footer{padding:16px 28px;display:flex;justify-content:flex-end;border-top:1px solid rgba(255,255,255,.06);background:rgba(255,255,255,.012)}.profile-record-footer button{min-width:124px;min-height:44px;padding:0 16px;display:inline-flex;align-items:center;justify-content:center;gap:9px;border:1px solid rgba(255,86,105,.14);border-radius:13px;background:rgba(255,86,105,.055);color:#c9848e;font-size:13px;font-weight:650;transition:color .2s ease,background .2s ease,border-color .2s ease,transform .25s var(--motion-spring)}.profile-record-footer button svg{width:17px;height:17px}.profile-record-footer button:hover{color:#ffabb5;background:rgba(255,86,105,.1);border-color:rgba(255,86,105,.24);transform:translateY(-1px)}.profile-record-footer button:focus-visible{outline:2px solid rgba(255,86,105,.55);outline-offset:3px}@media(max-width:575.98px){.profile-record-footer{padding:14px 21px}.profile-record-footer form,.profile-record-footer button{width:100%}}
