/* Cream paper, cobalt ink and the orange accent from the original studio mark. */
body[data-profile] {--night:#f5ead2;--glow:#24449a;--light:#14234c;--divider:#bcb095;background:#18274f;color:#14234c}
.terminal-case {--edge:clamp(10px,1.7vw,26px);padding-bottom:55px;border-radius:22px;background:linear-gradient(128deg,#3657ab 0%,#233f87 24%,#15275e 72%,#344b86);box-shadow:inset 2px 2px 2px #7992cc,inset -3px -4px 3px #101b43}
.screen-rim {--lip:5px;clip-path:none;border-radius:12px;background:#112047;box-shadow:0 1px #7086b2,inset 0 2px 4px #0c1438}
.terminal-screen {background:#f6ecd7;scrollbar-color:#8e98ae #e2d6bb;border-radius:7px}
.screen-rim::after {border-radius:7px;box-shadow:inset 0 0 5px #392c1a40;background:repeating-linear-gradient(0deg,transparent 0 4px,#3c301005 4px 5px)}
body[data-profile] header {background:#18274f;box-shadow:0 2px #e88d46}
.header,.header a,.header .groupword {color:#fff4dd}
.studio-profile {--gutter:clamp(14px,3vw,46px)}
.return-studios {margin-block-start:16px;color:#263b74}
.trail-cover {margin:14px var(--gutter) 0;min-height:clamp(260px,26vw,380px);display:grid;grid-template-columns:minmax(0,.86fr) minmax(0,1.2fr);border:2px solid #1b3067;border-radius:19px 8px 19px 8px;overflow:hidden;box-shadow:3px 4px #c5b797;background:#fbf0d8}
.trail-stage {position:relative;isolation:isolate;display:grid;place-items:center;overflow:hidden;background-color:#dce6f5;background-image:radial-gradient(#7d9dcc 1px,transparent 1px);background-size:13px 13px;border-right:2px solid #263e77}
.trail-loop {position:absolute;left:-19%;top:58%;width:128%;height:30%;border:3px dashed #526fae;border-radius:50%;transform:rotate(-13deg);opacity:.8}
.trail-stage::after {content:'';position:absolute;left:63%;top:32%;height:12%;width:4px;transform:rotate(31deg);background:#eb8838;box-shadow:9px -6px 0 -1px #eb8838;border-radius:4px;z-index:-1}
.trail-pal {position:relative;display:grid;place-items:center;width:clamp(150px,18vw,265px);padding:0;aspect-ratio:1;border:0;border-radius:40%;box-shadow:none;outline-offset:3px;background:transparent;transform-origin:50% 90%}
.trail-hop {display:block;transform-origin:50% 90%}
.trail-pal img {display:block;width:100%;height:auto;filter:drop-shadow(0 2px 0 #eeecd7)}
.trail-dot {position:absolute;left:18%;bottom:20%;width:13px;aspect-ratio:1;border-radius:50%;background:#f68a30;border:2px solid #21386a;pointer-events:none}
.trail-title {display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:clamp(21px,3.6vw,62px);min-width:0}
.trail-wordmark {width:min(100%,560px);overflow:hidden;mix-blend-mode:multiply;mask-image:linear-gradient(to right,transparent,#000 4%,#000 95%,transparent),linear-gradient(to bottom,transparent,#000 13%,#000 89%,transparent);mask-composite:intersect}
.trail-wordmark .profile-banner {width:148%;max-width:none;margin-left:-45%;height:auto;display:block;background:none;border:0;animation:none}
.trail-title p,.studio-notes p {font:400 clamp(14px,1.25vw,19px)/1.6 GroupSans,Arial,sans-serif;color:#293754}
.trail-title p {margin:6px 0 16px}
.trail-community {border-bottom:2px solid #dc772f;color:#1e3673;font:12px/1.7 TerminalType,monospace}
.trail-community:hover {color:#0a214f;border-color:#253d7e}
.studio-workspace {background:transparent;border:0;gap:clamp(18px,3vw,44px)}
.scene-editor {border:2px solid #233a72;border-radius:10px;overflow:hidden;background:#1d3056;box-shadow:3px 3px #c7bba0}
.editor-title {background:#283f79;border-color:#1c2f60}.editor-title h2,.editor-glyph {color:#fff3d9}.editor-title i {border-color:#899ec4}
.editor-tools button,.editor-modes .tab,#filename,.mesh-status {color:#edf0f5}
.editor-tools button[aria-pressed=true],.editor-modes .tab.active {background:#f0dfb8;border-color:#e8cb93;color:#19294c}
.studio-notes {border:0;border-top:3px solid #e4883b;padding:17px 0 0}
.studio-notes h2 {color:#172952}.studio-notes p {font-size:16px}
body footer.frame {border-top:1px solid #c0b294;color:#20376e;flex-wrap:wrap;gap:12px}
footer.frame>div {flex-wrap:wrap;gap:12px}
footer .trail-run-link {position:static;width:auto;height:auto;display:inline-block;transform:none;animation:none;border:0;padding:3px 0;background:none;color:var(--glow);font:inherit;text-decoration:underline;text-underline-offset:4px}
.case-rail {height:48px;bottom:2px}.case-rail:after {display:none}.trail-case-mark {display:block;height:34px;width:34px;object-fit:contain;transform:rotate(-9deg)}
.case-rail i.power-led {background:#ffb263;box-shadow:0 0 6px #e98941}.monitor-keys {border-radius:20px;background:#112554}
.monitor-keys button::before {border-radius:7px;background:linear-gradient(#657bb0,#425988);box-shadow:inset 0 1px #a7b2ce,0 2px 1px #101d42}
.monitor-keys .power-key {color:#ffcd9a}
@media(prefers-reduced-motion:no-preference) {
  .trail-pal {animation:trail-rock 3.7s ease-in-out infinite}
  .trail-dot {animation:trail-bounce 3.7s ease-in-out infinite}
  @keyframes trail-rock {0%,100% {transform:rotate(-3deg)} 48% {transform:translateY(-4px) rotate(3deg)}}
  @keyframes trail-bounce {0%,100% {transform:none} 48% {transform:translate(4px,-5px)}}
  :is(.motion-paused,.standby) :is(.trail-pal,.trail-dot) {animation-play-state:paused}
}
@media(max-width:600px) {
 .trail-cover {grid-template-columns:minmax(0,1fr);min-height:0}
 .trail-stage {height:clamp(138px,35vw,200px);border:0;border-bottom:2px solid #233a72}
 .trail-pal {width:clamp(120px,30vw,160px)}
 .trail-title {padding:12px 20px 17px}
 .trail-wordmark {max-width:300px}.trail-title p {margin:4px 0 9px}.trail-loop {top:54%;height:38%}
 .trail-case-mark {width:26px;height:26px}.case-rail {gap:6px}
}
