body[data-page-key="studentProfile"] {
  --ananfx-bg-primary:#0B0B0C;
  --ananfx-bg-secondary:#101011;
  --ananfx-bg-tertiary:#141415;
  --ananfx-card-primary:#1C1C1E;
  --ananfx-card-secondary:#222224;
  --ananfx-card-elevated:#28282B;
  --ananfx-card-hover:#2D2D30;
  --ananfx-card-selected:#252527;
  --ananfx-border-primary:#38383C;
  --ananfx-border-secondary:#303034;
  --ananfx-divider:#28282B;
  --ananfx-border-hover:#4A4A4F;
  --ananfx-yellow-primary:#FFD000;
  --ananfx-yellow-bright:#FFE066;
  --ananfx-yellow-dark:#D9A800;
  --ananfx-text-primary:#F5F5F7;
  --ananfx-text-secondary:#B8B8BD;
  --ananfx-text-muted:#8E8E93;
  --ananfx-text-disabled:#636366;
  --ananfx-success:#42D392;
  --ananfx-danger:#EF5A4C;
  --ananfx-info:#4EA1FF;
  --ananfx-overlay:rgba(0,0,0,.74);
  --ananfx-shadow:rgba(0,0,0,.34);
  --ananfx-focus-ring:rgba(255,208,0,.32);
}
@media (max-width: 767px) {
  body[data-page-key="studentProfile"] { --sp-shadow:0 12px 30px rgba(0,0,0,.34); }
  * { box-sizing:border-box; }
  html { scroll-behavior:smooth; background:#0B0B0C; }
  body[data-page-key="studentProfile"] { margin:0; background:var(--ananfx-bg-primary); color:var(--ananfx-text-primary); overflow-x:hidden; }
  body[data-page-key="studentProfile"].student-profile-layer-open { overflow:hidden; touch-action:none; }
  body[data-page-key="studentProfile"] :focus-visible { outline:3px solid rgba(255,208,0,.55); outline-offset:3px; }
  body[data-page-key="studentProfile"] button, body[data-page-key="studentProfile"] a { -webkit-tap-highlight-color:transparent; }
  .student-profile-mobile-page { display:block; min-height:100vh; overflow:hidden; background:var(--ananfx-bg-primary); }
  .student-profile-desktop-fallback { display:none; }
  .student-profile-container { width:min(100% - 32px, 720px); margin-inline:auto; }
  .student-profile-header { position:sticky; top:0; z-index:60; min-height:64px; border-bottom:1px solid var(--ananfx-divider); background:rgba(11,11,12,.96); backdrop-filter:blur(14px); }
  .student-profile-header__inner { min-height:64px; display:grid; grid-template-columns:52px minmax(0,1fr) auto; align-items:center; gap:8px; padding:0 12px; }
  .student-profile-icon-button,.student-profile-avatar-button { width:44px; height:44px; min-width:44px; min-height:44px; border:0; border-radius:50%; background:transparent; display:grid; place-items:center; padding:0; color:var(--ananfx-text-primary); cursor:pointer; }
  .student-profile-icon-button svg { width:24px; height:24px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
  .student-profile-brand { justify-self:center; display:flex; min-width:0; min-height:44px; max-width:225px; align-items:center; }
  .student-profile-brand img { display:block; width:100%; height:auto; max-height:38px; object-fit:contain; }
  .student-profile-header__actions { display:flex; gap:2px; align-items:center; }
  .student-profile-avatar-button img { width:34px; height:34px; border-radius:50%; border:1px solid var(--ananfx-border-primary); object-fit:cover; background:var(--ananfx-card-secondary); }
  .student-profile-notification-button { position:relative; }
  .student-profile-notification-button > span { position:absolute; top:8px; right:8px; width:8px; height:8px; border-radius:50%; background:var(--ananfx-yellow-bright); border:2px solid var(--ananfx-bg-primary); }
  .student-profile-main { display:block; }
  .student-profile-hero { position:relative; padding:44px 0 34px; overflow:hidden; background:var(--ananfx-bg-primary); }
  .student-profile-hero::after { content:""; position:absolute; inset:auto -20% 8% 42%; height:130px; background:radial-gradient(circle,rgba(255,208,0,.10),transparent 70%); pointer-events:none; }
  .student-profile-hero__grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(130px,42%); align-items:center; gap:14px; }
  .student-profile-breadcrumb { display:flex; gap:8px; flex-wrap:wrap; margin-bottom:14px; color:var(--ananfx-text-muted); }
  .student-profile-breadcrumb a { color:inherit; text-decoration:none; min-height:44px; display:inline-flex; align-items:center; }
  .student-profile-sample-badge,.student-profile-data-label { display:inline-flex; align-items:center; width:max-content; padding:5px 10px; border-radius:999px; background:var(--ananfx-card-secondary); border:1px solid var(--ananfx-yellow-dark); color:var(--ananfx-yellow-bright); font-size:var(--anan-type-badge)!important; font-weight:700!important; }
  .student-profile-hero h1 { margin:12px 0 14px; max-width:420px; }
  .student-profile-hero p { margin:0; max-width:500px; color:var(--ananfx-text-secondary); }
  .student-profile-hero__visual { position:relative; min-height:220px; display:grid; place-items:center; }
  .student-profile-hero__orbit { position:absolute; width:178px; height:178px; border:1px solid rgba(255,208,0,.22); border-radius:50%; box-shadow:0 0 0 28px rgba(255,208,0,.035),0 0 0 58px rgba(255,208,0,.02); }
  .student-profile-hero__profile { position:relative; z-index:2; width:150px; height:150px; object-fit:contain; filter:drop-shadow(0 18px 22px rgba(5,5,5,.12)); }
  .student-profile-hero__shield { position:absolute; z-index:3; width:68px; height:68px; right:5px; bottom:15px; object-fit:contain; filter:drop-shadow(0 10px 15px rgba(5,5,5,.18)); }
  .student-profile-hero__chart { position:absolute; z-index:1; width:165px; height:90px; right:-8px; top:9px; fill:none; stroke:var(--ananfx-yellow-primary); stroke-width:2; opacity:.52; }
  .student-profile-section { padding:16px 0; scroll-margin-top:78px; }
  .student-profile-card { border:1px solid var(--ananfx-border-primary); border-radius:20px; background:var(--ananfx-card-primary); box-shadow:var(--sp-shadow); padding:20px; }
  .student-profile-section-heading { margin-bottom:16px; }
  .student-profile-section-heading--inline { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; }
  .student-profile-section-heading h2 { margin:4px 0 4px; }
  .student-profile-section-heading p { margin:0; color:var(--ananfx-text-muted); }
  .student-profile-section-heading > a { min-height:44px; display:inline-flex; align-items:center; color:var(--ananfx-yellow-primary); text-decoration:none; }
  .student-profile-eyebrow { display:block; color:var(--ananfx-yellow-primary); font-weight:800; letter-spacing:.08em; font-size:var(--anan-type-badge)!important; }
  .student-profile-identity-card { display:grid; grid-template-columns:100px minmax(0,1fr); gap:18px; align-items:center; }
  .student-profile-identity__avatar { position:relative; width:100px; height:100px; }
  .student-profile-identity__avatar > img { width:100px; height:100px; border-radius:50%; object-fit:cover; background:var(--ananfx-card-secondary); border:1px solid var(--ananfx-border-primary); }
  .student-profile-identity__avatar > span { position:absolute; inset:0; display:none; place-items:center; font-size:30px; font-weight:800; }
  .student-profile-identity__avatar > button { position:absolute; right:-3px; bottom:0; width:44px; height:44px; border-radius:50%; border:3px solid var(--ananfx-card-primary); background:var(--ananfx-yellow-primary); display:grid; place-items:center; color:var(--ananfx-bg-primary); }
  .student-profile-identity__avatar button svg { width:19px; height:19px; fill:none; stroke:currentColor; stroke-width:1.8; }
  .student-profile-member-badge { display:inline-flex; padding:4px 9px; border-radius:999px; background:var(--ananfx-card-secondary); color:var(--ananfx-yellow-bright); font-weight:700; }
  .student-profile-identity__primary h2 { margin:8px 0 4px; overflow-wrap:anywhere; }
  .student-profile-identity__primary p { margin:0 0 14px; color:var(--ananfx-text-muted); overflow-wrap:anywhere; }
  .student-profile-outline-button,.student-profile-primary-button,.student-profile-secondary-button,.student-profile-text-button { min-height:44px; border-radius:12px; padding:10px 16px; display:inline-flex; align-items:center; justify-content:center; gap:8px; text-decoration:none; cursor:pointer; }
  .student-profile-outline-button { border:1px solid var(--ananfx-yellow-primary); color:var(--ananfx-text-primary); background:var(--ananfx-card-primary); }
  .student-profile-outline-button svg { width:18px; height:18px; fill:none; stroke:var(--ananfx-yellow-primary); stroke-width:1.8; }
  .student-profile-primary-button { border:1px solid var(--ananfx-yellow-primary); background:var(--ananfx-yellow-primary); color:var(--ananfx-bg-primary); font-weight:800; }
  .student-profile-secondary-button { border:1px solid var(--ananfx-border-primary); background:var(--ananfx-card-primary); color:var(--ananfx-text-primary); }
  .student-profile-text-button { border:0; background:transparent; color:var(--ananfx-yellow-primary); padding-inline:0; }
  .student-profile-identity__details { grid-column:1/-1; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; margin:8px 0 0; }
  .student-profile-identity__details div { padding:13px; border:1px solid var(--ananfx-border-primary); border-radius:14px; background:var(--ananfx-card-secondary); }
  .student-profile-identity__details dt { color:var(--ananfx-text-muted); }
  .student-profile-identity__details dd { margin:4px 0 0; font-weight:700; overflow-wrap:anywhere; }
  .student-profile-identity__details small { display:block; color:var(--ananfx-yellow-bright); }
  .student-profile-data-note { grid-column:1/-1; margin:4px 0 0!important; color:var(--ananfx-text-muted); padding:12px 14px; border-radius:12px; background:var(--ananfx-bg-secondary); }
  .student-profile-summary-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
  .student-profile-summary-grid a { min-height:145px; border:1px solid var(--ananfx-border-primary); border-radius:16px; padding:16px 12px; text-decoration:none; color:var(--ananfx-text-primary); display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; gap:4px; background:var(--ananfx-bg-primary); }
  .student-profile-summary-grid a:last-child { grid-column:1/-1; min-height:126px; }
  .student-profile-summary-icon { display:grid; place-items:center; width:44px; height:44px; border-radius:14px; background:var(--ananfx-card-secondary); color:var(--ananfx-yellow-primary); font-weight:800; }
  .student-profile-summary-grid strong { font-size:var(--anan-type-result)!important; }
  .student-profile-summary-grid a > span:last-child { color:var(--ananfx-text-muted); }
  .student-profile-about-card > p { margin:0 0 12px; color:var(--ananfx-text-secondary); white-space:normal; overflow-wrap:anywhere; }
  .student-profile-interest-tags { display:flex; flex-wrap:wrap; gap:10px; }
  .student-profile-interest-tags span { display:inline-flex; min-height:40px; align-items:center; padding:8px 14px; border:1px solid var(--ananfx-border-secondary); border-radius:999px; background:var(--ananfx-card-secondary); color:var(--ananfx-text-secondary); }
  .student-profile-streak-layout { display:grid; grid-template-columns:132px minmax(0,1fr); gap:20px; align-items:center; }
  .student-profile-streak-ring { width:126px; height:126px; border-radius:50%; display:grid; place-items:center; background:conic-gradient(var(--ananfx-yellow-primary) 0 76%,var(--ananfx-border-secondary) 76%); position:relative; }
  .student-profile-streak-ring::after { content:""; position:absolute; inset:10px; border-radius:50%; background:var(--ananfx-bg-primary); }
  .student-profile-streak-ring span { position:relative; z-index:1; display:grid; text-align:center; }
  .student-profile-streak-ring strong { font-size:36px!important; }
  .student-profile-streak-ring small { color:var(--ananfx-text-muted); }
  .student-profile-streak-layout dl { margin:0; display:grid; gap:10px; }
  .student-profile-streak-layout dl div { border-bottom:1px solid var(--ananfx-border-primary); padding-bottom:10px; }
  .student-profile-streak-layout dt { color:var(--ananfx-text-muted); }
  .student-profile-streak-layout dd { margin:2px 0 0; font-weight:800; }
  .student-profile-week { list-style:none; padding:0; margin:20px 0 0; display:grid; grid-template-columns:repeat(7,1fr); gap:6px; }
  .student-profile-week li { text-align:center; display:grid; gap:6px; }
  .student-profile-week strong { width:36px; height:36px; margin:auto; border-radius:50%; display:grid; place-items:center; background:var(--ananfx-card-secondary); color:var(--ananfx-yellow-primary); }
  .student-profile-week .is-current strong { background:var(--ananfx-yellow-primary); color:var(--ananfx-bg-primary); }
  .student-profile-streak-note { margin:16px 0 0!important; padding:12px; border-radius:12px; background:var(--ananfx-card-secondary); }
  .student-profile-streak-note small { display:block; color:var(--ananfx-text-muted); }
  .student-profile-stats-list { display:grid; gap:10px; }
  .student-profile-stats-list a { min-height:86px; display:grid; grid-template-columns:48px minmax(0,1fr) auto; align-items:center; gap:12px; padding:14px; border:1px solid var(--ananfx-border-primary); border-radius:16px; color:var(--ananfx-text-primary); text-decoration:none; background:var(--ananfx-bg-primary); }
  .student-profile-list-icon { width:46px; height:46px; display:grid; place-items:center; border-radius:14px; background:var(--ananfx-card-secondary); color:var(--ananfx-yellow-primary); font-weight:800; }
  .student-profile-stats-list a div { display:grid; gap:2px; min-width:0; }
  .student-profile-stats-list small { color:var(--ananfx-text-muted); }
  .student-profile-stats-list em { font-style:normal; color:var(--ananfx-yellow-primary); }
  .student-profile-quick-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
  .student-profile-quick-grid a { min-height:120px; padding:15px; border:1px solid var(--ananfx-border-primary); border-radius:16px; background:var(--ananfx-card-primary); text-decoration:none; color:var(--ananfx-bg-primary); display:grid; grid-template-columns:40px minmax(0,1fr); gap:10px; align-content:center; }
  .student-profile-quick-grid a > span { width:40px; height:40px; border-radius:12px; background:var(--ananfx-card-secondary); color:var(--ananfx-yellow-primary); display:grid; place-items:center; font-weight:800; }
  .student-profile-quick-grid a div { min-width:0; }
  .student-profile-quick-grid strong,.student-profile-quick-grid small { display:block; }
  .student-profile-quick-grid small { margin-top:4px; color:var(--ananfx-text-muted); }
  .student-profile-certificate-list { display:grid; gap:12px; }
  .student-profile-certificate-list article { display:grid; grid-template-columns:100px minmax(0,1fr) 44px; align-items:center; gap:12px; padding:12px; border:1px solid var(--ananfx-border-primary); border-radius:16px; background:var(--ananfx-bg-primary); }
  .student-profile-certificate-list img { width:100px; height:76px; object-fit:cover; border-radius:12px; background:var(--ananfx-bg-tertiary); }
  .student-profile-certificate-list h3 { margin:0 0 4px; }
  .student-profile-certificate-list p,.student-profile-certificate-list time { margin:0; color:var(--ananfx-text-muted); display:block; }
  .student-profile-certificate-list div > span { display:inline-flex; margin-top:7px; padding:3px 8px; border-radius:999px; background:rgba(66,211,146,.12); color:var(--ananfx-success); }
  .student-profile-certificate-list button { width:44px; height:44px; border:1px solid var(--ananfx-border-primary); border-radius:12px; background:var(--ananfx-card-primary); color:var(--ananfx-yellow-primary); }
  .student-profile-achievement-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
  .student-profile-achievement-grid article { border:1px solid var(--ananfx-border-primary); border-radius:16px; padding:14px 10px; text-align:center; background:var(--ananfx-bg-primary); }
  .student-profile-achievement-grid article > span { width:44px; height:44px; border-radius:50%; display:grid; place-items:center; margin:0 auto 10px; background:var(--ananfx-card-secondary); color:var(--ananfx-yellow-primary); font-weight:800; }
  .student-profile-achievement-grid h3 { margin:0 0 5px; }
  .student-profile-achievement-grid p,.student-profile-achievement-grid time { margin:0; display:block; color:var(--ananfx-text-muted); }
  .student-profile-achievement-grid + .student-profile-secondary-button { width:100%; margin-top:12px; }
  .student-profile-activity-list { list-style:none; margin:0; padding:0; border:1px solid var(--ananfx-border-primary); border-radius:18px; overflow:hidden; }
  .student-profile-activity-list li + li { border-top:1px solid var(--ananfx-border-primary); }
  .student-profile-activity-list a,.student-profile-activity-list button { width:100%; min-height:86px; border:0; background:var(--ananfx-card-primary); color:var(--ananfx-bg-primary); text-decoration:none; display:grid; grid-template-columns:44px minmax(0,1fr) auto; align-items:center; gap:12px; padding:13px; text-align:left; }
  .student-profile-activity-list a > span,.student-profile-activity-list button > span { width:42px; height:42px; border-radius:13px; background:var(--ananfx-card-secondary); color:var(--ananfx-yellow-primary); display:grid; place-items:center; font-weight:800; }
  .student-profile-activity-list p { margin:2px 0 0; color:var(--ananfx-text-muted); }
  .student-profile-activity-list time { color:var(--ananfx-text-muted); white-space:nowrap; }
  .student-profile-final-cta { margin-top:20px; margin-bottom:24px; padding:30px 22px; border-radius:22px; background:radial-gradient(circle at 15% 100%,rgba(255,208,0,.12),transparent 38%),#0B0B0C; color:var(--ananfx-text-primary); text-align:center; overflow:hidden; position:relative; }
  .student-profile-final-cta::after { content:""; position:absolute; inset:auto -20% -50% 35%; height:180px; border:1px solid rgba(255,208,0,.2); border-radius:50%; transform:rotate(-10deg); }
  .student-profile-final-cta > * { position:relative; z-index:1; }
  .student-profile-final-cta h2 { margin:4px 0 8px; color:var(--ananfx-text-primary); }
  .student-profile-final-cta p { margin:0; color:var(--ananfx-text-secondary); }
  .student-profile-final-cta__actions { display:flex; flex-direction:column; align-items:center; gap:10px; margin-top:20px; }
  .student-profile-dark-link { min-height:44px; color:var(--ananfx-yellow-bright); text-decoration:none; display:inline-flex; align-items:center; }
  .student-profile-footer { border-top:1px solid var(--ananfx-border-primary); background:var(--ananfx-bg-secondary); padding:28px 0 max(28px,env(safe-area-inset-bottom)); }
  .student-profile-footer__brand { display:block; max-width:210px; }
  .student-profile-footer__brand img { display:block; width:100%; height:auto; }
  .student-profile-footer__inner > p { color:var(--ananfx-text-muted); }
  .student-profile-footer__socials { display:flex; gap:10px; margin:14px 0; }
  .student-profile-footer__socials a { min-height:44px; padding:10px 14px; border:1px solid var(--ananfx-border-primary); border-radius:12px; color:var(--ananfx-bg-primary); text-decoration:none; background:var(--ananfx-bg-primary); }
  .student-profile-footer__accordions { display:grid; gap:8px; }
  .student-profile-footer__accordions section { border:1px solid var(--ananfx-border-primary); border-radius:14px; overflow:hidden; background:var(--ananfx-bg-primary); }
  .student-profile-footer__accordions button { width:100%; min-height:50px; border:0; background:var(--ananfx-card-primary); display:flex; align-items:center; justify-content:space-between; padding:10px 14px; text-align:left; }
  .student-profile-footer__accordions [data-footer-panel] { display:grid; gap:2px; padding:0 14px 14px; }
  .student-profile-footer__accordions [data-footer-panel][hidden] { display:none; }
  .student-profile-footer__accordions a,.student-profile-footer__accordions span { min-height:44px; display:flex; align-items:center; color:var(--ananfx-text-secondary); text-decoration:none; border-top:1px solid var(--ananfx-divider); }
  .student-profile-footer__copyright { margin:18px 0 0!important; }
  .student-profile-layer-backdrop { position:fixed; inset:0; z-index:110; background:var(--ananfx-overlay); backdrop-filter:blur(2px); }
  .student-profile-side-panel { position:fixed; z-index:120; inset:0 0 0 auto; width:min(92vw,420px); padding:22px 18px max(24px,env(safe-area-inset-bottom)); background:var(--ananfx-card-primary); overflow:auto; box-shadow:-20px 0 50px rgba(0,0,0,.34); }
  .student-profile-panel__header { display:flex; justify-content:space-between; align-items:flex-start; gap:12px; margin-bottom:18px; }
  .student-profile-panel__header h2 { margin:4px 0 0; }
  .student-profile-panel__header button,.student-profile-dialog__close { width:44px; height:44px; min-width:44px; border:1px solid var(--ananfx-border-primary); border-radius:50%; background:var(--ananfx-card-primary); font-size:28px!important; }
  .student-profile-search-field { display:grid; gap:7px; }
  .student-profile-search-field input { min-height:50px; width:100%; border:1px solid var(--ananfx-border-primary); border-radius:14px; padding:11px 14px; font:inherit; }
  .student-profile-search-status,.student-profile-panel-note { color:var(--ananfx-text-muted); }
  .student-profile-search-results,.student-profile-notification-list { display:grid; gap:8px; }
  .student-profile-search-results a,.student-profile-notification-list a { min-height:52px; border:1px solid var(--ananfx-border-primary); border-radius:14px; padding:12px 14px; color:var(--ananfx-bg-primary); text-decoration:none; background:var(--ananfx-bg-primary); }
  .student-profile-notification-list a { display:grid; gap:3px; }
  .student-profile-notification-list span { color:var(--ananfx-text-muted); }
  .student-profile-search-empty { padding:24px; border:1px dashed var(--ananfx-border-primary); border-radius:16px; text-align:center; display:grid; gap:5px; }
  .student-profile-dialog { position:fixed; z-index:130; left:50%; top:50%; transform:translate(-50%,-50%); width:min(calc(100vw - 32px),560px); max-height:min(86vh,760px); overflow:auto; padding:24px; border:1px solid var(--ananfx-border-primary); border-radius:22px; background:var(--ananfx-card-primary); box-shadow:0 30px 80px rgba(0,0,0,.42); }
  .student-profile-dialog h2 { margin:0 50px 16px 0; }
  .student-profile-dialog__close { position:absolute; right:16px; top:16px; }
  .student-profile-dialog__content p { margin-top:0; }
  .student-profile-dialog form { display:grid; gap:14px; }
  .student-profile-dialog form > div { display:grid; gap:6px; }
  .student-profile-dialog input,.student-profile-dialog textarea { width:100%; border:1px solid var(--ananfx-border-primary); border-radius:12px; padding:11px 13px; font:inherit; }
  .student-profile-dialog input[aria-invalid="true"],.student-profile-dialog textarea[aria-invalid="true"] { border-color:var(--ananfx-danger); }
  .student-profile-dialog [role="alert"] { margin:0; color:var(--ananfx-danger); }
  .student-profile-dialog__actions { display:grid!important; grid-template-columns:1fr 1fr; gap:10px!important; }
  .student-profile-dialog__footer { margin-top:18px; }
  .student-profile-dialog__footer .student-profile-primary-button { width:100%; }
  .student-profile-route-toast { position:fixed; z-index:150; left:16px; right:16px; bottom:max(16px,env(safe-area-inset-bottom)); padding:13px 16px; border-radius:14px; background:var(--ananfx-bg-tertiary); color:var(--ananfx-text-primary); box-shadow:0 12px 30px rgba(0,0,0,.2); text-align:center; }

  body[data-page-key="studentProfile"] input, body[data-page-key="studentProfile"] textarea, body[data-page-key="studentProfile"] select { color:var(--ananfx-text-primary); background-color:var(--ananfx-card-primary); caret-color:var(--ananfx-yellow-primary); }
  body[data-page-key="studentProfile"] input::placeholder, body[data-page-key="studentProfile"] textarea::placeholder { color:var(--ananfx-text-muted); opacity:1; }
  body[data-page-key="studentProfile"] input:focus, body[data-page-key="studentProfile"] textarea:focus, body[data-page-key="studentProfile"] select:focus { border-color:var(--ananfx-yellow-primary); box-shadow:0 0 0 3px var(--ananfx-focus-ring); outline-color:transparent; }
  body[data-page-key="studentProfile"] input:-webkit-autofill, body[data-page-key="studentProfile"] textarea:-webkit-autofill { -webkit-text-fill-color:var(--ananfx-text-primary); box-shadow:0 0 0 1000px var(--ananfx-card-primary) inset; caret-color:var(--ananfx-yellow-primary); }
  body[data-page-key="studentProfile"] .student-profile-outline-button:hover, body[data-page-key="studentProfile"] .student-profile-secondary-button:hover, body[data-page-key="studentProfile"] .student-profile-summary-grid a:hover, body[data-page-key="studentProfile"] .student-profile-quick-grid a:hover, body[data-page-key="studentProfile"] .student-profile-stats-list a:hover, body[data-page-key="studentProfile"] .student-profile-search-results a:hover, body[data-page-key="studentProfile"] .student-profile-notification-list a:hover { background-color:var(--ananfx-card-hover); }
  body[data-page-key="studentProfile"] .student-profile-primary-button:hover { background-color:var(--ananfx-yellow-bright); border-color:var(--ananfx-yellow-bright); }
  body[data-page-key="studentProfile"] button:disabled, body[data-page-key="studentProfile"] a[aria-disabled="true"] { color:var(--ananfx-text-disabled); background-color:var(--ananfx-card-secondary); border-color:var(--ananfx-border-secondary); }
  [hidden] { display:none!important; }
  @media (max-width: 430px) {
    .student-profile-container { width:min(100% - 24px,720px); }
    .student-profile-header__inner { grid-template-columns:48px minmax(0,1fr) auto; padding-inline:8px; }
    .student-profile-brand { max-width:170px; }
    .student-profile-header__actions { gap:0; }
    .student-profile-hero { padding-top:32px; }
    .student-profile-hero__grid { grid-template-columns:minmax(0,1fr) 138px; gap:4px; }
    .student-profile-hero__visual { min-height:180px; }
    .student-profile-hero__profile { width:120px; height:120px; }
    .student-profile-hero__orbit { width:140px; height:140px; }
    .student-profile-hero__shield { width:54px; height:54px; right:0; bottom:8px; }
    .student-profile-hero__chart { width:125px; right:-18px; }
    .student-profile-card { padding:16px; }
    .student-profile-identity-card { grid-template-columns:86px minmax(0,1fr); gap:14px; }
    .student-profile-identity__avatar,.student-profile-identity__avatar > img { width:86px; height:86px; }
    .student-profile-identity__details { grid-template-columns:1fr; }
    .student-profile-streak-layout { grid-template-columns:110px minmax(0,1fr); gap:14px; }
    .student-profile-streak-ring { width:108px; height:108px; }
    .student-profile-achievement-grid { grid-template-columns:1fr; }
    .student-profile-achievement-grid article { display:grid; grid-template-columns:48px minmax(0,1fr); text-align:left; gap:10px; }
    .student-profile-achievement-grid article > span { grid-row:1/4; margin:0; }
    .student-profile-activity-list a,.student-profile-activity-list button { grid-template-columns:42px minmax(0,1fr); }
    .student-profile-activity-list time { grid-column:2; }
  }
  @media (max-width: 359px) {
    .student-profile-header__actions .student-profile-avatar-button { display:none; }
    .student-profile-brand { max-width:160px; }
    .student-profile-hero__grid { grid-template-columns:1fr; }
    .student-profile-hero__visual { min-height:190px; margin-top:10px; }
    .student-profile-hero__profile { width:135px; height:135px; }
    .student-profile-summary-grid,.student-profile-quick-grid { grid-template-columns:1fr; }
    .student-profile-summary-grid a:last-child { grid-column:auto; }
    .student-profile-certificate-list article { grid-template-columns:82px minmax(0,1fr); }
    .student-profile-certificate-list img { width:82px; height:70px; }
    .student-profile-certificate-list button { grid-column:1/-1; width:100%; }
    .student-profile-section-heading--inline { display:grid; }
  }
  @media (prefers-reduced-motion: reduce) { html { scroll-behavior:auto; } *,*::before,*::after { animation-duration:.01ms!important; animation-iteration-count:1!important; transition-duration:.01ms!important; } }
}
@media (min-width:768px){
body[data-page-key="studentProfile"] .student-profile-mobile-page{display:none!important}
body[data-page-key="studentProfile"] .student-profile-desktop-fallback{min-height:100vh;display:grid;place-items:center;padding:32px;background:var(--ananfx-bg-primary);color:var(--ananfx-text-primary);text-align:center}
body[data-page-key="studentProfile"] .student-profile-desktop-fallback section{width:min(560px,100%);padding:36px;border:1px solid var(--ananfx-border-primary);border-radius:20px;background:var(--ananfx-card-primary);box-shadow:0 16px 44px rgba(0,0,0,.34)}
body[data-page-key="studentProfile"] .student-profile-desktop-fallback h2{margin:0 0 10px;font-size:32px}
body[data-page-key="studentProfile"] .student-profile-desktop-fallback p{color:var(--ananfx-text-secondary);line-height:1.7}
body[data-page-key="studentProfile"] .student-profile-desktop-fallback a{display:inline-flex;min-height:48px;align-items:center;justify-content:center;margin-top:12px;padding:10px 18px;border-radius:12px;background:var(--ananfx-yellow-primary);color:var(--ananfx-bg-primary);font-weight:700;text-decoration:none}
}
