Files
GC-XH/GC-UI/frontend/courseware/assets/style.css
T
远影科技 355ca89a68 feat(courseware): Flutter WebView 还原等高线课件并去除授权验证
- 原课件 HTML/JS/CSS/图片/视频完整搬入 Flutter assets,相对路径可直接离线运行
- 新增 CoursewarePage:本地 HttpServer + Range 支持,避免 file:// 与 CSP 限制
- 导航新增「等高线课件」,后端未就绪也可打开
- 补齐 macOS WebView 插件、Podfile、entitlements 与 Xcode 工程配置
2026-11-21 07:30:48 +08:00

1383 lines
29 KiB
CSS

:root {
color-scheme: light;
--blue: #0878ff;
--blue-deep: #0667e8;
--blue-soft: #eaf4ff;
--ink: #071d36;
--ink-soft: #29445f;
--muted: #65798d;
--glass: rgba(244, 250, 255, 0.76);
--glass-strong: rgba(251, 253, 255, 0.88);
--line: rgba(255, 255, 255, 0.82);
--shadow: 0 26px 70px rgba(9, 42, 76, 0.20), inset 0 1px 0 rgba(255, 255, 255, 0.86);
--radius: 15px;
font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Microsoft YaHei", sans-serif;
}
* {
box-sizing: border-box;
}
[hidden] {
display: none !important;
}
html,
body {
width: 100%;
height: 100%;
margin: 0;
overflow: hidden;
background: #9fc7ed;
}
button,
video {
font: inherit;
}
button {
-webkit-tap-highlight-color: transparent;
}
button:focus-visible {
outline: 3px solid rgba(8, 120, 255, 0.42);
outline-offset: 3px;
}
.app-shell {
position: relative;
isolation: isolate;
width: 100%;
height: 100%;
min-width: 320px;
min-height: 560px;
overflow: hidden;
color: var(--ink);
background: #9fc7ed;
}
.media-stage {
position: absolute;
inset: 0;
z-index: -2;
overflow: hidden;
background-color: #76a8d2;
background-image: linear-gradient(145deg, rgba(157, 201, 239, .18), rgba(16, 47, 79, .10));
background-position: center;
background-size: cover;
background-repeat: no-repeat;
}
.stage-media {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
object-fit: cover;
object-position: center center;
opacity: 0;
transition: opacity 320ms ease;
user-select: none;
}
.stage-video {
z-index: 0;
}
.stage-image {
z-index: 1;
transition: none;
}
.workflow-step-background {
object-position: center center;
}
.stage-media.is-visible {
opacity: 1;
}
.stage-image.is-revealing {
will-change: clip-path;
animation: scanner-image-reveal 1.02s cubic-bezier(.2, .72, .22, 1) both;
}
.workflow-diagram {
position: absolute;
z-index: 6;
top: 132px;
right: auto;
left: 508px;
display: block;
height: auto;
overflow: visible;
pointer-events: none;
transform-origin: top left;
animation: workflow-diagram-enter 460ms cubic-bezier(.2, .78, .22, 1) both;
}
.workflow-diagram--projection {
width: clamp(238px, 18.9vw, 300px);
}
.workflow-diagram--density {
width: clamp(300px, 23.2vw, 368px);
}
.workflow-diagram .diagram-card {
stroke: rgba(255, 255, 255, .9);
stroke-width: 1.5;
vector-effect: non-scaling-stroke;
}
.workflow-diagram .diagram-heading,
.workflow-diagram .diagram-footer,
.workflow-diagram .density-callout text {
font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Microsoft YaHei", sans-serif;
}
.workflow-diagram .diagram-heading {
fill: #071a2d;
font-size: 18px;
font-weight: 760;
}
.projection-layer {
fill: rgba(188, 239, 255, .08);
stroke: url(#projection-layer-stroke);
stroke-width: 1.4;
vector-effect: non-scaling-stroke;
stroke-dasharray: 700;
stroke-dashoffset: 700;
animation: projection-draw 760ms cubic-bezier(.2, .72, .22, 1) calc(var(--i) * 45ms) forwards;
}
.projection-column {
fill: none;
stroke: url(#projection-beam);
stroke-width: 1.25;
stroke-linecap: round;
vector-effect: non-scaling-stroke;
opacity: .68;
}
.projection-grid {
fill: none;
stroke: #8eadd2;
stroke-width: .75;
vector-effect: non-scaling-stroke;
opacity: .38;
}
.projection-contour {
fill: rgba(83, 143, 255, .018);
stroke: #4385ff;
stroke-width: 1.35;
vector-effect: non-scaling-stroke;
opacity: .95;
stroke-dasharray: 700;
stroke-dashoffset: 700;
animation: projection-draw 720ms ease calc(180ms + var(--i) * 55ms) forwards;
}
.projection-landings circle,
.projection-crossings circle {
fill: #fff;
stroke: #4bdcff;
stroke-width: 1.2;
vector-effect: non-scaling-stroke;
}
.workflow-diagram .diagram-footer {
fill: #304258;
font-size: 18px;
font-weight: 720;
}
.density-contour {
fill: none;
stroke: url(#density-contour-stroke);
stroke-width: 1.35;
stroke-linecap: round;
stroke-linejoin: round;
vector-effect: non-scaling-stroke;
stroke-dasharray: 1000;
stroke-dashoffset: 1000;
animation: density-draw 760ms cubic-bezier(.2, .72, .22, 1) calc(var(--i) * 42ms) forwards;
}
.density-callout > path {
fill: none;
stroke-width: 2;
stroke-linecap: round;
vector-effect: non-scaling-stroke;
}
.density-callout > circle {
stroke: #fff;
stroke-width: 2;
vector-effect: non-scaling-stroke;
filter: url(#density-dot-glow);
}
.density-callout > rect {
stroke: none;
}
.density-callout text {
font-size: 17px;
font-weight: 730;
}
.density-callout--gentle > rect {
fill: rgba(235, 247, 255, .72);
}
.density-callout--gentle > path {
stroke: #0874ff;
}
.density-callout--gentle > circle {
fill: #0874ff;
}
.density-callout--gentle text {
fill: #0874ff;
}
.density-callout--steep > rect {
fill: rgba(255, 244, 226, .76);
}
.density-callout--steep > path {
stroke: #f58a0a;
}
.density-callout--steep > circle {
fill: #f58a0a;
}
.density-callout--steep text {
fill: #e87500;
}
.app-shell.has-workflow-visual .media-label {
opacity: 0;
transform: translateY(8px);
}
@keyframes workflow-diagram-enter {
from { opacity: 0; transform: translateY(12px) scale(.965); }
to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes projection-draw {
to { stroke-dashoffset: 0; }
}
@keyframes projection-flow {
to { stroke-dashoffset: -30; }
}
@keyframes density-draw {
to { stroke-dashoffset: 0; }
}
@keyframes scanner-image-reveal {
from { clip-path: inset(0 0 100% 0); }
to { clip-path: inset(0 0 0 0); }
}
.media-shade {
position: absolute;
inset: 0;
z-index: 2;
pointer-events: none;
background:
linear-gradient(180deg, rgba(195, 225, 250, .28) 0%, rgba(156, 198, 232, .04) 22%, transparent 46%),
linear-gradient(90deg, rgba(9, 42, 74, .14) 0%, transparent 43%),
linear-gradient(0deg, rgba(4, 25, 45, .19) 0%, transparent 23%);
}
.scan-effect {
position: absolute;
inset: 0;
z-index: 3;
overflow: hidden;
pointer-events: none;
opacity: 0;
}
.scan-grid {
position: absolute;
inset: 0;
opacity: 0;
background-image:
linear-gradient(rgba(94, 216, 255, .14) 1px, transparent 1px),
linear-gradient(90deg, rgba(94, 216, 255, .12) 1px, transparent 1px);
background-size: 32px 32px;
mask-image: linear-gradient(180deg, transparent, #000 15%, #000 85%, transparent);
}
.scan-beam {
position: absolute;
top: -18%;
right: -4%;
left: -4%;
height: 142px;
background: linear-gradient(180deg, transparent 0%, rgba(51, 196, 255, .04) 25%, rgba(48, 205, 255, .28) 68%, rgba(218, 251, 255, .82) 86%, rgba(255,255,255,.96) 90%, rgba(26, 174, 255, .16) 94%, transparent 100%);
filter: drop-shadow(0 0 16px #2bd2ff) drop-shadow(0 0 38px rgba(0, 128, 255, .78));
}
.scan-beam::before,
.scan-beam::after {
content: "";
position: absolute;
right: 0;
left: 0;
border-radius: 50%;
}
.scan-beam::before {
bottom: 13px;
height: 2px;
background: #e8fdff;
box-shadow: 0 0 8px #fff, 0 0 20px #24c9ff, 0 0 38px #0878ff;
}
.scan-beam::after {
bottom: 9px;
height: 9px;
border-top: 1px solid rgba(164, 241, 255, .8);
background: linear-gradient(90deg, transparent, rgba(102, 222, 255, .25), transparent);
}
.app-shell.is-scanning .scan-effect {
opacity: 1;
}
.app-shell.is-scanning .scan-grid {
animation: grid-flash 1.02s ease both;
}
.app-shell.is-scanning .scan-beam {
animation: scan-sweep 1.02s cubic-bezier(.2, .72, .22, 1) both;
}
.terrain-annotation {
position: absolute;
inset: 0;
z-index: 7;
overflow: hidden;
pointer-events: none;
}
#terrain-annotation-canvas {
position: absolute;
inset: 0;
display: block;
width: 100%;
height: 100%;
opacity: 0;
filter: drop-shadow(0 0 7px rgba(246, 178, 26, .52));
transition: opacity 240ms ease;
z-index: 0;
}
.terrain-annotation.is-visible #terrain-annotation-canvas {
opacity: 1;
}
.terrain-callout-connector {
position: absolute;
inset: 0;
z-index: 1;
display: block;
width: 100%;
height: 100%;
overflow: visible;
opacity: 0;
filter: drop-shadow(0 4px 6px rgba(2, 27, 49, .20));
transition: opacity 220ms ease;
}
.terrain-callout-connector polygon {
fill: rgba(249, 253, 255, .98);
stroke: rgba(20, 121, 255, .46);
stroke-width: 2;
stroke-linejoin: round;
vector-effect: non-scaling-stroke;
}
.terrain-annotation.is-callout-visible .terrain-callout-connector {
opacity: 1;
}
.terrain-callout {
position: absolute;
top: var(--callout-y, 45%);
left: var(--callout-x, 72%);
display: flex;
z-index: 2;
width: min(280px, calc(100vw - 28px));
padding: 15px 18px 16px;
flex-direction: column;
gap: 3px;
border: 3px solid #1479ff;
border-radius: 20px;
color: #082742;
background: rgba(249, 253, 255, .94);
box-shadow: 0 16px 40px rgba(2, 27, 49, .24), inset 0 1px 0 rgba(255, 255, 255, .96);
backdrop-filter: blur(16px) saturate(1.12);
-webkit-backdrop-filter: blur(16px) saturate(1.12);
opacity: 0;
transition: opacity 220ms ease, transform 280ms cubic-bezier(.2, .8, .2, 1);
}
.terrain-callout::before {
display: none;
}
.terrain-annotation[data-side="right"] .terrain-callout {
transform: translate(0, -50%) scale(.97);
}
.terrain-annotation[data-side="right"] .terrain-callout::before {
top: calc(50% + var(--pointer-offset-y, 0px) - 28px);
left: -56px;
border-right-color: rgba(249, 253, 255, .97);
}
.terrain-annotation[data-side="left"] .terrain-callout {
transform: translate(-100%, -50%) scale(.97);
}
.terrain-annotation[data-side="left"] .terrain-callout::before {
top: calc(50% + var(--pointer-offset-y, 0px) - 28px);
right: -56px;
border-left-color: rgba(249, 253, 255, .97);
}
.terrain-annotation[data-side="below"] .terrain-callout {
transform: translate(-50%, 0) scale(.97);
}
.terrain-annotation[data-side="below"] .terrain-callout::before {
top: -56px;
left: calc(50% + var(--pointer-offset-x, 0px) - 28px);
border-bottom-color: rgba(249, 253, 255, .97);
}
.terrain-annotation[data-side="above"] .terrain-callout {
transform: translate(-50%, -100%) scale(.97);
}
.terrain-annotation[data-side="above"] .terrain-callout::before {
bottom: -56px;
left: calc(50% + var(--pointer-offset-x, 0px) - 28px);
border-top-color: rgba(249, 253, 255, .97);
}
.terrain-annotation.is-callout-visible[data-side="right"] .terrain-callout {
opacity: 1;
transform: translate(0, -50%) scale(1);
}
.terrain-annotation.is-callout-visible[data-side="left"] .terrain-callout {
opacity: 1;
transform: translate(-100%, -50%) scale(1);
}
.terrain-annotation.is-callout-visible[data-side="below"] .terrain-callout {
opacity: 1;
transform: translate(-50%, 0) scale(1);
}
.terrain-annotation.is-callout-visible[data-side="above"] .terrain-callout {
opacity: 1;
transform: translate(-50%, -100%) scale(1);
}
.terrain-callout-kicker {
color: #0878ff;
font-size: 10px;
font-weight: 800;
letter-spacing: .11em;
}
.terrain-callout strong {
font-size: 20px;
line-height: 1.34;
letter-spacing: .015em;
}
.terrain-callout p {
margin: 3px 0 0;
color: #435e75;
font-size: 13px;
line-height: 1.55;
}
.terrain-annotation[data-tone="warning"] #terrain-annotation-canvas {
filter: drop-shadow(0 0 7px rgba(246, 178, 26, .52));
}
.terrain-annotation[data-tone="warning"] .terrain-callout {
border-color: #1479ff;
}
.terrain-annotation[data-tone="warning"] .terrain-callout-kicker {
color: #0878ff;
}
@keyframes scan-sweep {
from { top: -18%; }
to { top: 108%; }
}
@keyframes grid-flash {
0%, 100% { opacity: 0; }
28%, 70% { opacity: .36; }
}
.media-loading {
position: absolute;
inset: 0;
z-index: 5;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 12px;
color: #fff;
font-size: 14px;
letter-spacing: .08em;
background: linear-gradient(145deg, #91bee7, #356e9f);
transition: opacity 400ms ease, visibility 400ms ease;
}
.media-loading.is-hidden {
opacity: 0;
visibility: hidden;
}
.loading-ring {
width: 34px;
height: 34px;
border: 3px solid rgba(255,255,255,.35);
border-top-color: #fff;
border-radius: 50%;
animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.media-label {
position: absolute;
z-index: 6;
top: 42%;
right: 8.4%;
display: flex;
min-width: 122px;
max-width: 260px;
padding: 13px 16px 14px;
flex-direction: column;
gap: 3px;
border: 1px solid rgba(255,255,255,.82);
border-radius: 12px;
color: var(--ink);
background: rgba(248, 252, 255, .84);
box-shadow: 0 16px 40px rgba(5, 34, 61, .18), inset 0 1px 0 rgba(255,255,255,.9);
backdrop-filter: blur(18px) saturate(1.2);
-webkit-backdrop-filter: blur(18px) saturate(1.2);
transition: transform 360ms ease, opacity 360ms ease;
}
.media-label-kicker {
font-size: 11px;
font-weight: 700;
color: var(--blue);
letter-spacing: .08em;
}
.media-label strong {
font-size: 17px;
line-height: 1.35;
}
.media-label small {
margin-top: 2px;
color: #536b82;
font-size: 11px;
line-height: 1.5;
}
.app-shell.is-landform .media-label {
opacity: 0;
transform: translateY(8px);
}
.video-progress {
position: absolute;
z-index: 5;
right: 0;
bottom: 0;
left: 0;
height: 3px;
background: rgba(255,255,255,.18);
}
.video-progress span {
display: block;
width: 0;
height: 100%;
background: linear-gradient(90deg, #29d8ff, #0878ff);
box-shadow: 0 0 12px #1ec9ff;
transition: width 120ms linear;
}
.topbar {
position: absolute;
z-index: 10;
top: 17px;
right: 30px;
left: 29px;
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 24px;
}
.heading-group {
display: flex;
align-items: flex-start;
gap: 22px;
min-width: 0;
}
.subject-chip {
display: inline-flex;
align-items: center;
justify-content: center;
height: 46px;
margin-top: 1px;
padding: 0 16px;
flex: 0 0 auto;
border: 1px solid rgba(255,255,255,.78);
border-radius: 12px;
color: #0872f6;
font-size: 17px;
font-weight: 750;
background: rgba(248, 252, 255, .76);
box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 10px 25px rgba(11,54,91,.08);
backdrop-filter: blur(18px);
-webkit-backdrop-filter: blur(18px);
}
.heading-copy {
min-width: 0;
}
.heading-copy h1 {
margin: 0;
color: #051b34;
font-size: clamp(27px, 2.45vw, 39px);
font-weight: 760;
line-height: 1.18;
letter-spacing: .015em;
text-shadow: 0 1px 0 rgba(255,255,255,.38);
}
.heading-copy p {
margin: 10px 0 0;
color: #38536c;
font-size: clamp(13px, 1.2vw, 19px);
font-weight: 500;
letter-spacing: .055em;
}
.top-actions,
.experiment-actions {
display: flex;
align-items: center;
gap: 18px;
flex: 0 0 auto;
}
.glass-button,
.primary-button {
border: 1px solid rgba(255,255,255,.82);
border-radius: 13px;
cursor: pointer;
transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}
.glass-button:hover,
.primary-button:hover {
transform: translateY(-2px);
}
.glass-button:active,
.primary-button:active {
transform: translateY(0) scale(.985);
}
.glass-button {
display: inline-flex;
height: 52px;
padding: 0 18px;
align-items: center;
justify-content: center;
gap: 10px;
color: #0b1826;
font-size: 15px;
font-weight: 700;
background: rgba(251, 253, 255, .85);
box-shadow: 0 12px 28px rgba(10,42,70,.13), inset 0 1px 0 rgba(255,255,255,.95);
backdrop-filter: blur(20px) saturate(1.15);
-webkit-backdrop-filter: blur(20px) saturate(1.15);
}
.glass-button svg {
width: 21px;
height: 21px;
fill: none;
stroke: currentColor;
stroke-width: 1.9;
stroke-linecap: round;
stroke-linejoin: round;
}
.top-actions .glass-button:first-child {
min-width: 137px;
}
.top-actions .glass-button:last-child {
min-width: 123px;
}
.control-panel {
position: absolute;
z-index: 9;
top: 132px;
bottom: 131px;
left: 29px;
width: min(458px, calc(100vw - 58px));
padding: 17px 9px 14px 10px;
overflow: hidden;
border: 1px solid rgba(255,255,255,.84);
border-radius: 18px;
background: var(--glass);
box-shadow: var(--shadow);
backdrop-filter: blur(28px) saturate(1.12);
-webkit-backdrop-filter: blur(28px) saturate(1.12);
transition: transform 360ms cubic-bezier(.2,.8,.2,1), opacity 280ms ease;
}
.control-panel.is-collapsed {
transform: translateX(calc(-100% - 38px));
opacity: 0;
pointer-events: none;
}
.panel-scroll {
height: 100%;
padding: 0 10px 4px;
overflow-y: auto;
overscroll-behavior: contain;
scrollbar-width: none;
}
.panel-scroll::-webkit-scrollbar {
display: none;
}
.section-heading,
.card-title-row {
display: flex;
align-items: center;
justify-content: space-between;
gap: 10px;
}
.section-heading h2 {
margin: 0;
font-size: 16px;
font-weight: 760;
letter-spacing: .02em;
}
.panel-close {
display: none;
width: 28px;
height: 28px;
padding: 0 0 2px;
border: 0;
border-radius: 8px;
color: #526a81;
font-size: 24px;
line-height: 1;
cursor: pointer;
background: rgba(255,255,255,.58);
}
.flow-track {
position: relative;
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 0;
margin-top: 17px;
padding: 0 0 8px;
}
.flow-line {
position: absolute;
top: 17px;
right: 11.5%;
left: 11.5%;
height: 2px;
overflow: hidden;
background: #abc1d9;
}
.flow-line i {
display: block;
width: 0;
height: 100%;
background: var(--blue);
transition: width 320ms ease;
}
.flow-step {
position: relative;
z-index: 1;
display: flex;
padding: 0;
flex-direction: column;
align-items: center;
gap: 8px;
border: 0;
color: #415970;
cursor: pointer;
background: transparent;
}
.step-dot {
display: grid;
width: 35px;
height: 35px;
place-items: center;
border: 3px solid rgba(237,246,255,.92);
border-radius: 50%;
color: #fff;
font-size: 16px;
font-weight: 750;
background: #92a9c2;
box-shadow: 0 2px 7px rgba(17, 55, 88, .13);
transition: background 200ms ease, transform 200ms ease, box-shadow 200ms ease;
}
.step-name {
font-size: 13px;
font-weight: 650;
white-space: nowrap;
}
.flow-step.is-active,
.flow-step.is-complete {
color: var(--blue);
}
.flow-step.is-active .step-dot,
.flow-step.is-complete .step-dot {
background: var(--blue);
}
.flow-step.is-active .step-dot {
transform: scale(1.06);
box-shadow: 0 0 0 5px rgba(8,120,255,.12), 0 6px 15px rgba(8,90,190,.24);
}
.glass-card {
margin-top: 10px;
padding: 12px 13px;
border: 1px solid rgba(255,255,255,.72);
border-radius: var(--radius);
background: rgba(248, 252, 255, .53);
box-shadow: inset 0 1px 0 rgba(255,255,255,.75), 0 6px 20px rgba(12,50,82,.06);
}
.card-eyebrow {
display: block;
color: #132b43;
font-size: 13px;
font-weight: 750;
letter-spacing: .035em;
}
.task-card h3,
.observation-copy h3 {
margin: 6px 0 4px;
color: var(--blue);
font-size: 24px;
line-height: 1.25;
}
.task-card > p,
.observation-copy > p {
margin: 0;
color: #506981;
font-size: 12px;
line-height: 1.6;
}
.fixed-condition {
display: flex;
min-height: 36px;
margin-top: 9px;
padding: 0 11px;
align-items: center;
justify-content: space-between;
gap: 8px;
border-radius: 9px;
color: #536b82;
font-size: 12px;
background: rgba(226, 239, 251, .72);
}
.fixed-condition span {
display: inline-flex;
align-items: center;
gap: 6px;
}
.fixed-condition i {
width: 7px;
height: 7px;
border-radius: 50%;
background: var(--blue);
box-shadow: 0 0 0 3px rgba(8,120,255,.12);
}
.fixed-condition strong {
color: #233d57;
font-size: 12px;
}
.text-action {
padding: 2px 0;
border: 0;
color: var(--blue);
font-size: 12px;
font-weight: 700;
cursor: pointer;
background: transparent;
}
.terrain-tabs {
display: grid;
grid-template-columns: repeat(5, minmax(0, 1fr));
gap: 9px;
margin-top: 9px;
}
.terrain-tab {
display: flex;
min-width: 0;
height: 76px;
padding: 8px 4px 7px;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 5px;
border: 1px solid rgba(184,205,226,.6);
border-radius: 10px;
color: #314a65;
cursor: pointer;
background: rgba(248,252,255,.72);
box-shadow: inset 0 1px 0 rgba(255,255,255,.84);
transition: color 180ms ease, border-color 180ms ease, background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}
.terrain-tab:hover {
transform: translateY(-2px);
color: var(--blue);
border-color: rgba(8,120,255,.38);
}
.terrain-tab.is-active {
color: var(--blue);
border-color: var(--blue);
background: rgba(244,249,255,.95);
box-shadow: 0 0 0 2px rgba(8,120,255,.11), 0 7px 15px rgba(8,83,173,.13), inset 0 1px 0 #fff;
}
.terrain-tab svg {
width: 37px;
height: 31px;
overflow: visible;
fill: none;
stroke: currentColor;
stroke-width: 1.75;
stroke-linecap: round;
stroke-linejoin: round;
}
.terrain-tab svg .solid {
fill: currentColor;
stroke: none;
}
.terrain-tab svg .accent {
stroke: #0cb2ed;
}
.terrain-tab span {
font-size: 13px;
font-weight: 680;
white-space: nowrap;
}
.observation-card {
display: grid;
min-height: 187px;
grid-template-columns: minmax(0, 1.05fr) minmax(145px, .95fr);
gap: 12px;
align-items: stretch;
}
.observation-copy {
min-width: 0;
}
.observation-copy h3 {
font-size: 22px;
}
.feature-list {
display: grid;
gap: 4px;
margin: 7px 0 0;
padding: 0;
list-style: none;
}
.feature-list li {
position: relative;
padding-left: 12px;
color: #38546d;
font-size: 11px;
line-height: 1.42;
}
.feature-list li::before {
content: "";
position: absolute;
top: .52em;
left: 0;
width: 5px;
height: 5px;
border-radius: 50%;
background: var(--blue);
box-shadow: 0 0 0 2px rgba(8,120,255,.1);
}
.top-view-card {
position: relative;
display: flex;
min-height: 160px;
padding: 24px 5px 3px;
align-items: center;
justify-content: center;
overflow: hidden;
border: 1px solid rgba(180,205,229,.68);
border-radius: 11px;
color: inherit;
font: inherit;
text-align: left;
cursor: pointer;
background: rgba(240,248,255,.70);
box-shadow: inset 0 1px 0 rgba(255,255,255,.82);
transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}
.top-view-card:not(:disabled):hover {
transform: translateY(-2px);
border-color: rgba(8,120,255,.58);
background: rgba(244,250,255,.9);
box-shadow: 0 8px 18px rgba(8,82,160,.12), inset 0 1px 0 #fff;
}
.top-view-card.is-active {
border-color: var(--blue);
background: rgba(232,244,255,.94);
box-shadow: 0 0 0 2px rgba(8,120,255,.10), inset 0 1px 0 #fff;
}
.top-view-card:disabled {
cursor: default;
}
.top-view-card > span {
position: absolute;
top: 8px;
left: 10px;
color: #607990;
font-size: 10px;
font-weight: 750;
letter-spacing: .08em;
z-index: 2;
padding: 3px 6px;
border-radius: 6px;
background: rgba(244,250,255,.86);
box-shadow: 0 2px 7px rgba(5,36,64,.10);
}
.top-view-card > small {
position: absolute;
top: 7px;
right: 9px;
color: var(--blue);
font-size: 9px;
font-weight: 700;
z-index: 2;
padding: 3px 5px;
border-radius: 6px;
background: rgba(244,250,255,.86);
}
#top-view-thumbnail {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
object-fit: cover;
object-position: center;
filter: saturate(.92) brightness(.94);
transition: transform 240ms ease, filter 240ms ease;
}
.top-view-card:not(:disabled):hover #top-view-thumbnail {
transform: scale(1.035);
filter: saturate(1.05) brightness(1);
}
.panel-open {
position: absolute;
z-index: 12;
top: 138px;
left: 29px;
display: grid;
width: 46px;
height: 46px;
padding: 12px;
gap: 4px;
border: 1px solid rgba(255,255,255,.85);
border-radius: 13px;
cursor: pointer;
background: rgba(248,252,255,.84);
box-shadow: 0 14px 35px rgba(5,39,70,.18);
backdrop-filter: blur(18px);
}
.panel-open span {
display: block;
height: 2px;
border-radius: 2px;
background: #1e4669;
}
.experiment-actions {
position: absolute;
z-index: 11;
top: 109px;
right: 35px;
}
.primary-button {
display: inline-flex;
min-width: 211px;
height: 63px;
padding: 0 23px;
align-items: center;
justify-content: center;
gap: 12px;
border-color: rgba(73,166,255,.8);
color: #fff;
font-size: 18px;
font-weight: 700;
background: linear-gradient(180deg, #338bff 0%, #0874f6 100%);
box-shadow: 0 14px 30px rgba(0,88,210,.28), inset 0 1px 0 rgba(255,255,255,.32);
}
.primary-button:hover {
box-shadow: 0 18px 38px rgba(0,88,210,.34), inset 0 1px 0 rgba(255,255,255,.32);
}
.round-icon {
display: grid;
width: 37px;
height: 37px;
flex: 0 0 auto;
place-items: center;
border-radius: 50%;
color: var(--blue);
background: #fff;
box-shadow: 0 3px 10px rgba(0,52,123,.15);
}
.round-icon svg {
width: 23px;
height: 23px;
fill: currentColor;
stroke: none;
}
.reset-button {
min-width: 151px;
height: 63px;
font-size: 18px;
}
.reset-button svg {
width: 27px;
height: 27px;
}
.hint-bar {
position: absolute;
z-index: 9;
bottom: 36px;
left: 29px;
display: inline-flex;
max-width: min(610px, calc(100vw - 58px));
min-height: 51px;
padding: 0 19px;
align-items: center;
gap: 11px;
border: 1px solid rgba(255,255,255,.8);
border-radius: 13px;
color: #395671;
font-size: 14px;
font-weight: 560;
letter-spacing: .025em;
background: rgba(247,251,255,.78);
box-shadow: 0 14px 35px rgba(5,36,64,.15), inset 0 1px 0 rgba(255,255,255,.9);
backdrop-filter: blur(20px) saturate(1.15);
-webkit-backdrop-filter: blur(20px) saturate(1.15);
}
.hint-bar svg {
width: 22px;
height: 22px;
flex: 0 0 auto;
fill: none;
stroke: currentColor;
stroke-width: 1.8;
stroke-linecap: round;
}
.toast {
position: absolute;
z-index: 30;
right: 30px;
bottom: 28px;
max-width: 360px;
padding: 12px 16px;
border: 1px solid rgba(255,255,255,.78);
border-radius: 11px;
color: #15304a;
font-size: 13px;
background: rgba(248,252,255,.92);
box-shadow: 0 16px 42px rgba(5,35,61,.2);
opacity: 0;
transform: translateY(12px);
pointer-events: none;
transition: opacity 200ms ease, transform 200ms ease;
}
.toast.is-visible {
opacity: 1;
transform: none;
}
@media (max-width: 1250px), (max-height: 820px) {
.topbar { top: 15px; right: 22px; left: 22px; }
.heading-group { gap: 14px; }
.subject-chip { height: 42px; padding: 0 13px; font-size: 15px; }
.heading-copy p { margin-top: 5px; }
.top-actions { gap: 10px; }
.top-actions .glass-button { min-width: 0; height: 46px; padding: 0 14px; }
.control-panel { top: 108px; bottom: 88px; left: 22px; width: 420px; }
.experiment-actions { top: 82px; right: 22px; gap: 10px; }
.primary-button { min-width: 184px; height: 56px; font-size: 16px; }
.reset-button { min-width: 125px; height: 56px; font-size: 16px; }
.hint-bar { bottom: 22px; left: 22px; min-height: 46px; }
.observation-card { min-height: 178px; }
.workflow-diagram { top: 108px; right: auto; left: 458px; }
.workflow-diagram--projection { width: min(250px, 21vw); }
.workflow-diagram--density { width: min(320px, 27vw); }
}
@media (max-width: 920px) {
.heading-copy h1 { font-size: 24px; }
.heading-copy p { display: none; }
.top-actions .glass-button span { display: none; }
.top-actions .glass-button { width: 46px; padding: 0; }
.control-panel { top: 94px; bottom: 82px; width: 400px; }
.experiment-actions { top: 72px; }
.primary-button { min-width: 165px; }
.media-label { right: 24px; }
.workflow-diagram { top: 94px; right: auto; left: 436px; }
.workflow-diagram--projection { width: min(220px, 28vw); }
.workflow-diagram--density { width: min(278px, 35vw); }
.terrain-callout { width: min(250px, calc(100vw - 30px)); }
}
@media (max-width: 680px) {
.stage-image { object-fit: contain; }
.workflow-step-background { object-fit: cover; }
.topbar { right: 14px; left: 14px; }
.subject-chip { display: none; }
.heading-copy h1 { max-width: calc(100vw - 122px); font-size: 19px; line-height: 1.32; }
.control-panel {
top: 112px;
right: 12px;
bottom: 12px;
left: 12px;
width: auto;
padding-top: 13px;
}
.panel-close { display: block; }
.panel-open { top: 88px; left: 14px; }
.experiment-actions { top: 64px; right: 14px; }
.primary-button { min-width: 142px; height: 48px; padding: 0 14px; font-size: 14px; }
.round-icon { width: 30px; height: 30px; }
.reset-button { min-width: 48px; width: 48px; height: 48px; padding: 0; }
.reset-button span { display: none; }
.hint-bar { display: none; }
.media-label { display: none; }
.workflow-diagram { top: 112px; right: 10px; left: auto; transform-origin: top right; }
.workflow-diagram--projection { width: min(190px, 48vw); }
.workflow-diagram--density { width: min(235px, 60vw); }
.terrain-callout { width: min(210px, calc(100vw - 20px)); padding: 12px 14px 13px; }
.terrain-callout strong { font-size: 17px; }
.terrain-callout p { font-size: 12px; }
.observation-card { grid-template-columns: 1fr; }
.top-view-card { min-height: 150px; }
}
@media (prefers-reduced-motion: reduce) {
*, *::before, *::after {
scroll-behavior: auto !important;
animation-duration: .01ms !important;
animation-iteration-count: 1 !important;
transition-duration: .01ms !important;
}
.scan-effect { display: none; }
#terrain-annotation-canvas { transition: none; }
.terrain-callout-connector { transition: none; }
.terrain-callout { transition: none; }
}