/* Personal Education themes. Application surfaces only: status colours, scene lighting,
   photography, diagrams and document paper are deliberately left to their components.
   UArts colours verified from https://www.uarts.school/public/app.min.css (20 Oct 2026):
   #f0b80e navigation/buttons; #1c1121, #1f2029 and #1c1f26 dark surfaces. */

html[data-ag-theme="badkiss"]{
  --theme-bg:#080e15;
  --theme-panel:#111b25;
  --theme-raised:#1b2934;
  --theme-text:#f3eee5;
  --theme-muted:#aeb8c0;
  --theme-accent:#d9b98b;
  --theme-on-accent:#101419;
  --theme-line:#35424e;
  --theme-radius:8px;
  --theme-font:Space,Arial,sans-serif;
  --theme-display:Space,Arial,sans-serif;
  --theme-scheme:dark;
  --theme-panel-opacity:.97;
  --theme-motion:.36s;
  --theme-ambient:radial-gradient(ellipse at 86% 0%,#d9b98b0d,transparent 42%),radial-gradient(ellipse at 0% 70%,#314f6912,transparent 55%);
  --theme-edge:linear-gradient(90deg,transparent 3%,#d9b98b40 24%,#efd3a8 58%,#d9b98b25 87%,transparent);
  --theme-display-tracking:-.035em;
  --theme-display-weight:400;
  --theme-feedback:ag-theme-lustre;
}

html[data-ag-theme="gears"]{
  --theme-bg:#111214;
  --theme-panel:#1e2023;
  --theme-raised:#2c2d30;
  --theme-text:#f2eeeb;
  --theme-muted:#b9b9b9;
  --theme-accent:#f17d76;
  --theme-on-accent:#211113;
  --theme-line:#4d4d50;
  --theme-radius:2px;
  --theme-font:Space,Arial,sans-serif;
  --theme-display:Barlow,'Arial Narrow',sans-serif;
  --theme-scheme:dark;
  --theme-panel-opacity:.99;
  --theme-motion:.18s;
  --theme-ambient:linear-gradient(120deg,#ffffff03,transparent 28%),repeating-linear-gradient(135deg,transparent 0 88px,#ffffff02 88px 89px);
  --theme-edge:linear-gradient(90deg,#f17d76 0 12%,#56565d 12% 44%,transparent 44% 45%,#f17d7655 45% 100%);
  --theme-display-tracking:.015em;
  --theme-display-weight:600;
  --theme-feedback:ag-theme-forge;
}

html[data-ag-theme="sierra-117"]{
  --theme-bg:#0a1617;
  --theme-panel:#152729;
  --theme-raised:#20383a;
  --theme-text:#e8f1e8;
  --theme-muted:#a3beb7;
  --theme-accent:#b9d483;
  --theme-on-accent:#14201c;
  --theme-line:#3c5a54;
  --theme-radius:5px;
  --theme-font:Space,Arial,sans-serif;
  --theme-display:'Courier New',monospace;
  --theme-scheme:dark;
  --theme-panel-opacity:.95;
  --theme-motion:.3s;
  --theme-ambient:radial-gradient(ellipse at 75% 0%,#61c8d412,transparent 45%),linear-gradient(115deg,#b9d48304,transparent 50%);
  --theme-edge:repeating-linear-gradient(90deg,#b9d483aa 0 32px,#b9d48322 32px 40px);
  --theme-display-tracking:-.035em;
  --theme-display-weight:400;
  --theme-feedback:ag-theme-target;
}

html[data-ag-theme="cyberpunk"]{
  --theme-bg:#10111c;
  --theme-panel:#1a1c2c;
  --theme-raised:#28283b;
  --theme-text:#f0f3f6;
  --theme-muted:#b2b9d0;
  --theme-accent:#f2eb66;
  --theme-on-accent:#171720;
  --theme-line:#4a496b;
  --theme-radius:1px;
  --theme-font:Space,Arial,sans-serif;
  --theme-display:Barlow,'Arial Narrow',sans-serif;
  --theme-scheme:dark;
  --theme-panel-opacity:.96;
  --theme-motion:.16s;
  --theme-ambient:radial-gradient(ellipse at 92% 2%,#e1559b12,transparent 42%),radial-gradient(ellipse at 5% 40%,#24a7d40c,transparent 48%);
  --theme-edge:linear-gradient(90deg,#f2eb66 0 72%,transparent 72% 73%,#ff78bf 73% 92%,#58d9e0 92% 100%);
  --theme-display-tracking:.015em;
  --theme-display-weight:600;
  --theme-feedback:ag-theme-trace;
}

html[data-ag-theme="mass-effect"]{
  --theme-bg:#091220;
  --theme-panel:#142238;
  --theme-raised:#20334c;
  --theme-text:#edf4fa;
  --theme-muted:#a7bbcf;
  --theme-accent:#8bcdf4;
  --theme-on-accent:#0c1c2c;
  --theme-line:#3b5571;
  --theme-radius:7px;
  --theme-font:Space,Arial,sans-serif;
  --theme-display:Space,Arial,sans-serif;
  --theme-scheme:dark;
  --theme-panel-opacity:.96;
  --theme-motion:.32s;
  --theme-ambient:radial-gradient(ellipse at 90% 0%,#4389c71a,transparent 48%),radial-gradient(ellipse at 0% 60%,#8b363308,transparent 50%);
  --theme-edge:linear-gradient(90deg,#8bcdf4 0 72%,#8bcdf433 72% 91%,#d65d67 91% 96%,transparent 96%);
  --theme-display-tracking:-.025em;
  --theme-display-weight:400;
  --theme-feedback:ag-theme-orbit;
}

html[data-ag-theme="marathon"]{
  --theme-bg:#101315;
  --theme-panel:#1b2123;
  --theme-raised:#2a3435;
  --theme-text:#f1f4e6;
  --theme-muted:#acbab4;
  --theme-accent:#d7f269;
  --theme-on-accent:#182015;
  --theme-line:#465758;
  --theme-radius:0px;
  --theme-font:Space,Arial,sans-serif;
  --theme-display:'Courier New',monospace;
  --theme-scheme:dark;
  --theme-panel-opacity:.99;
  --theme-motion:.2s;
  --theme-ambient:radial-gradient(ellipse at 100% 0%,#b6d02c0a,transparent 40%),repeating-linear-gradient(90deg,transparent 0 95px,#d7f26903 95px 96px);
  --theme-edge:repeating-linear-gradient(90deg,#d7f269 0 6px,transparent 6px 8px,#d7f26955 8px 42px,transparent 42px 45px);
  --theme-display-tracking:-.045em;
  --theme-display-weight:400;
  --theme-feedback:ag-theme-trace;
}

html[data-ag-theme="valorant"]{
  --theme-bg:#101c28;
  --theme-panel:#1c2a38;
  --theme-raised:#2c3b49;
  --theme-text:#f0eee7;
  --theme-muted:#b4bdc7;
  --theme-accent:#ff8a92;
  --theme-on-accent:#29131d;
  --theme-line:#43505d;
  --theme-radius:1px;
  --theme-font:Space,Arial,sans-serif;
  --theme-display:Barlow,'Arial Narrow',sans-serif;
  --theme-scheme:dark;
  --theme-panel-opacity:.98;
  --theme-motion:.19s;
  --theme-ambient:linear-gradient(135deg,#ff8a9207,transparent 36%),radial-gradient(ellipse at 100% 80%,#6b91b40a,transparent 50%);
  --theme-edge:linear-gradient(90deg,#ff8a92 0 14%,#ff8a9220 14% 76%,transparent 76% 78%,#ff8a92 78% 80%,transparent 80%);
  --theme-display-tracking:.01em;
  --theme-display-weight:600;
  --theme-feedback:ag-theme-cut;
}

html[data-ag-theme="alan-wake"]{
  --theme-bg:#151914;
  --theme-panel:#20271e;
  --theme-raised:#2c3528;
  --theme-text:#edeade;
  --theme-muted:#b9c1ac;
  --theme-accent:#d8c087;
  --theme-on-accent:#241f16;
  --theme-line:#4d5947;
  --theme-radius:4px;
  --theme-font:Space,Arial,sans-serif;
  --theme-display:Georgia,'Times New Roman',serif;
  --theme-scheme:dark;
  --theme-panel-opacity:.94;
  --theme-motion:.6s;
  --theme-ambient:radial-gradient(ellipse at 15% 0%,#d8c0870e,transparent 45%),radial-gradient(ellipse at 100% 80%,#6487640b,transparent 60%);
  --theme-edge:linear-gradient(90deg,transparent,#d8c08733 20%,#d8c087bb 48%,#d8c08722 72%,transparent);
  --theme-display-tracking:-.045em;
  --theme-display-weight:400;
  --theme-feedback:ag-theme-mist;
}

html[data-ag-theme="scott-pilgrim"]{
  --theme-bg:#181326;
  --theme-panel:#282039;
  --theme-raised:#3a2e4b;
  --theme-text:#f7ecf5;
  --theme-muted:#c6b4cf;
  --theme-accent:#f5a3d1;
  --theme-on-accent:#2c1633;
  --theme-line:#61496e;
  --theme-radius:3px;
  --theme-font:Space,Arial,sans-serif;
  --theme-display:'Courier New',monospace;
  --theme-scheme:dark;
  --theme-panel-opacity:.98;
  --theme-motion:.2s;
  --theme-ambient:radial-gradient(ellipse at 88% 0%,#df72c313,transparent 44%),radial-gradient(ellipse at 0% 80%,#738de511,transparent 48%);
  --theme-edge:repeating-linear-gradient(90deg,#f5a3d1 0 12px,#b79dea 12px 24px,#8bd3da 24px 36px,transparent 36px 40px);
  --theme-display-tracking:-.05em;
  --theme-display-weight:400;
  --theme-feedback:ag-theme-pixel;
}

html[data-ag-theme="mirrors-edge"]{
  --theme-bg:#f0f4f5;
  --theme-panel:#ffffff;
  --theme-raised:#e3eaed;
  --theme-text:#18232b;
  --theme-muted:#566770;
  --theme-accent:#b5283c;
  --theme-on-accent:#ffffff;
  --theme-line:#bac8ce;
  --theme-radius:0px;
  --theme-font:Space,Arial,sans-serif;
  --theme-display:Space,Arial,sans-serif;
  --theme-scheme:light;
  --theme-panel-opacity:.99;
  --theme-motion:.3s;
  --theme-ambient:linear-gradient(138deg,#cfdee54d,transparent 38%),radial-gradient(ellipse at 100% 70%,#ffffff,transparent 55%);
  --theme-edge:linear-gradient(90deg,#b5283c 0 15%,#b5283c20 15% 16%,transparent 16% 86%,#bac8ce 86%);
  --theme-display-tracking:-.045em;
  --theme-display-weight:400;
  --theme-feedback:ag-theme-cut;
}

html[data-ag-theme="outer-wilds"]{
  --theme-bg:#091d27;
  --theme-panel:#132e38;
  --theme-raised:#23404b;
  --theme-text:#f2e8d6;
  --theme-muted:#aec5c8;
  --theme-accent:#f2be88;
  --theme-on-accent:#201b17;
  --theme-line:#41616c;
  --theme-radius:10px;
  --theme-font:Space,Arial,sans-serif;
  --theme-display:Space,Arial,sans-serif;
  --theme-scheme:dark;
  --theme-panel-opacity:.95;
  --theme-motion:.55s;
  --theme-ambient:radial-gradient(circle at 9% 24%,#e9cf9d25 0 1px,transparent 1.5px),radial-gradient(circle at 83% 9%,#d1e9eb24 0 1px,transparent 1.5px),radial-gradient(ellipse at 55% 0%,#2b657714,transparent 50%);
  --theme-edge:linear-gradient(90deg,transparent,#f2be8830 28%,#f2be88 48%,#f2be8860 62%,transparent);
  --theme-display-tracking:-.03em;
  --theme-display-weight:400;
  --theme-feedback:ag-theme-orbit;
}

html[data-ag-theme="inscryption"]{
  --theme-bg:#12190f;
  --theme-panel:#202a19;
  --theme-raised:#303b25;
  --theme-text:#ece8d1;
  --theme-muted:#bec6aa;
  --theme-accent:#c6d998;
  --theme-on-accent:#1d2616;
  --theme-line:#52633d;
  --theme-radius:3px;
  --theme-font:Space,Arial,sans-serif;
  --theme-display:Georgia,'Times New Roman',serif;
  --theme-scheme:dark;
  --theme-panel-opacity:.98;
  --theme-motion:.48s;
  --theme-ambient:radial-gradient(ellipse at 50% 0%,#b2bc750d,transparent 52%),repeating-linear-gradient(0deg,transparent 0 40px,#d8ddac03 40px 41px);
  --theme-edge:repeating-linear-gradient(90deg,#c6d99866 0 13px,#c6d99822 13px 16px);
  --theme-display-tracking:-.035em;
  --theme-display-weight:400;
  --theme-feedback:ag-theme-deal;
}

html[data-ag-theme="chicle"]{
  --theme-bg:#f5edf4;
  --theme-panel:#fffafd;
  --theme-raised:#f0dce9;
  --theme-text:#3e2940;
  --theme-muted:#6c576d;
  --theme-accent:#a72e73;
  --theme-on-accent:#ffffff;
  --theme-line:#d5b9d0;
  --theme-radius:14px;
  --theme-font:Space,Arial,sans-serif;
  --theme-display:Space,Arial,sans-serif;
  --theme-scheme:light;
  --theme-panel-opacity:.98;
  --theme-motion:.38s;
  --theme-ambient:radial-gradient(ellipse at 0% 0%,#e4aaca25,transparent 44%),radial-gradient(ellipse at 95% 35%,#c9b6f124,transparent 50%);
  --theme-edge:linear-gradient(90deg,#df9ec3,#b88aca 42%,#a72e73 72%,#df9ec3);
  --theme-display-tracking:-.045em;
  --theme-display-weight:400;
  --theme-feedback:ag-theme-soft;
}

html[data-ag-theme="uarts"]{
  --theme-bg:#101014;
  --theme-panel:#1c1b24;
  --theme-raised:#292735;
  --theme-text:#ffffff;
  --theme-muted:#c0bac9;
  --theme-accent:#f0b80e;
  --theme-on-accent:#1c1121;
  --theme-line:#4b4655;
  --theme-radius:2px;
  --theme-font:Space,Arial,sans-serif;
  --theme-display:Barlow,'Arial Narrow',sans-serif;
  --theme-scheme:dark;
  --theme-panel-opacity:.99;
  --theme-motion:.24s;
  --theme-ambient:radial-gradient(ellipse at 100% 0%,#f0b80e0d,transparent 42%),linear-gradient(135deg,#ffffff03,transparent 45%);
  --theme-edge:linear-gradient(90deg,#f0b80e 0 28%,#f0b80e88 28% 76%,#f0b80e22 76%);
  --theme-display-tracking:.005em;
  --theme-display-weight:600;
  --theme-feedback:ag-theme-trace;
}

html[data-ag-theme="silent-hill"]{
  --theme-bg:#1c2422;
  --theme-panel:#29312e;
  --theme-raised:#38413b;
  --theme-text:#edf0e6;
  --theme-muted:#b9c3bb;
  --theme-accent:#c5ceba;
  --theme-on-accent:#202b24;
  --theme-line:#57665a;
  --theme-radius:2px;
  --theme-font:Space,Arial,sans-serif;
  --theme-display:Georgia,'Times New Roman',serif;
  --theme-scheme:dark;
  --theme-panel-opacity:.92;
  --theme-motion:.7s;
  --theme-ambient:radial-gradient(ellipse at 70% 2%,#d4e1d50d,transparent 56%),radial-gradient(ellipse at 0% 65%,#a6bcb30b,transparent 60%);
  --theme-edge:linear-gradient(90deg,transparent,#c5ceba18 18%,#c5ceba99 52%,#c5ceba0d 90%,transparent);
  --theme-display-tracking:-.04em;
  --theme-display-weight:400;
  --theme-feedback:ag-theme-mist;
}

html[data-ag-theme="resident-evil"]{
  --theme-bg:#10171b;
  --theme-panel:#1b272d;
  --theme-raised:#2a3a41;
  --theme-text:#edf4f1;
  --theme-muted:#a9c2c6;
  --theme-accent:#9ad2d7;
  --theme-on-accent:#12252c;
  --theme-line:#3f5c63;
  --theme-radius:3px;
  --theme-font:Space,Arial,sans-serif;
  --theme-display:'Courier New',monospace;
  --theme-scheme:dark;
  --theme-panel-opacity:.98;
  --theme-motion:.26s;
  --theme-ambient:radial-gradient(ellipse at 90% 0%,#74b1bc0c,transparent 48%),linear-gradient(90deg,#ffffff02,transparent 45%);
  --theme-edge:repeating-linear-gradient(90deg,#9ad2d7bb 0 72px,#9ad2d722 72px 75px,transparent 75px 78px);
  --theme-display-tracking:-.04em;
  --theme-display-weight:400;
  --theme-feedback:ag-theme-target;
}

/* Static atmosphere adds depth without occupying another rendering loop. */
html[data-ag-theme] body{background-image:var(--theme-ambient);background-repeat:no-repeat;background-size:100% 100%;}
html[data-ag-theme] ::selection{background:var(--theme-accent);color:var(--theme-on-accent);}
html[data-ag-theme] :is(h1,h2,h3,h4){letter-spacing:var(--theme-display-tracking);}
html[data-ag-theme] .ag-campus-header::after{content:"";position:absolute;bottom:-1px;left:0;right:0;height:2px;background-image:var(--theme-edge);pointer-events:none;transform-origin:left center;opacity:.85;}
html[data-ag-theme="badkiss"] .ag-campus-header::after,
html[data-ag-theme="mirrors-edge"] .ag-campus-header::after,
html[data-ag-theme="silent-hill"] .ag-campus-header::after{height:1px;}
html[data-ag-theme="uarts"] .ag-campus-header::after{height:3px;}
html[data-ag-theme="sierra-117"] .ag-primary-links a,
html[data-ag-theme="marathon"] .ag-primary-links a,
html[data-ag-theme="resident-evil"] .ag-primary-links a{font-variant-numeric:tabular-nums;}
html[data-ag-theme="scott-pilgrim"] .ag-primary-links a[aria-current="page"]::after{border-radius:0;box-shadow:3px -2px 0 -1px var(--theme-accent);}
html[data-ag-theme="inscryption"] .ag-primary-links a[aria-current="page"]::after{height:3px;background:repeating-linear-gradient(90deg,var(--theme-accent) 0 8px,transparent 8px 10px);}
html[data-ag-theme="badkiss"] .ag-primary-links a[aria-current="page"]::after{height:1px;}
html[data-ag-theme="chicle"] .ag-primary-links a[aria-current="page"]::after{border-radius:4px;height:3px;}

/* Feedback is finite and only triggered by interaction, never an endless scan or flicker. */
@media (hover:hover) and (prefers-reduced-motion:no-preference){
  html[data-ag-theme] .ag-campus-header:is(:hover,:focus-within)::after{animation:var(--theme-feedback) var(--theme-motion) ease-out both;}
  html[data-ag-theme="badkiss"] .ag-profile-shortcut:hover{box-shadow:0 0 0 4px #d9b98b0c;}
  html[data-ag-theme="chicle"] .ag-profile-shortcut:hover{transform:translateY(-1px);}
  html[data-ag-theme="mass-effect"] .ag-profile-shortcut:hover{box-shadow:0 0 0 4px #8bcdf411;}
  html[data-ag-theme="cyberpunk"] .ag-profile-shortcut:hover{box-shadow:2px 0 0 #ff78bf,-2px 0 0 #58d9e0;}
}
@keyframes ag-theme-lustre{from{opacity:.35;transform:scaleX(.72);}to{opacity:.95;transform:scaleX(1);}}
@keyframes ag-theme-forge{from{opacity:.5;transform:translateY(-2px);}to{opacity:1;transform:translateY(0);}}
@keyframes ag-theme-target{from{opacity:.4;transform:scaleX(.92);}to{opacity:1;transform:scaleX(1);}}
@keyframes ag-theme-trace{from{opacity:.45;clip-path:inset(0 16% 0 0);}to{opacity:1;clip-path:inset(0);}}
@keyframes ag-theme-orbit{from{opacity:.35;transform:scaleX(.85);}to{opacity:.95;transform:scaleX(1);}}
@keyframes ag-theme-cut{from{opacity:.65;transform:translateX(-6px);}to{opacity:1;transform:translateX(0);}}
@keyframes ag-theme-mist{from{opacity:.3;}to{opacity:.9;}}
@keyframes ag-theme-pixel{from{opacity:.55;transform:translateX(-4px);}to{opacity:1;transform:translateX(0);}}
@keyframes ag-theme-deal{from{opacity:.45;transform:scaleX(.96);}to{opacity:1;transform:scaleX(1);}}
@keyframes ag-theme-soft{from{opacity:.5;transform:scaleX(.94);}to{opacity:1;transform:scaleX(1);}}
@media (prefers-reduced-motion:reduce){
  html[data-ag-theme]{--theme-motion:0s;}
  html[data-ag-theme] .ag-campus-header::after,
  html[data-ag-theme] .ag-profile-shortcut{animation:none!important;transition:none!important;transform:none!important;}
}
@media print{
  html[data-ag-theme] body{background-image:none!important;}
  html[data-ag-theme] .ag-campus-header::after{display:none!important;}
}

