OpenTalon / website / src / sync-diagram.css
| 1 | /* Private connection diagram: AI agent <-> (MCP, local) <-> Mac app <-> your iCloud <-> iPhone, |
| 2 | with third-party clouds crossed out. Each site sets the --sd-* tokens; layout and motion are shared. */ |
| 3 | .sd { |
| 4 | --sd-fg: var(--text); |
| 5 | --sd-muted: var(--muted); |
| 6 | --sd-line: var(--line-2); |
| 7 | --sd-surface: color-mix(in srgb, var(--surface) 72%, var(--bg)); |
| 8 | --sd-frame: #9fb0c2; |
| 9 | --sd-screen: #0a0f15; |
| 10 | --sd-screen-lit: #17303f; |
| 11 | --sd-link: var(--sky); |
| 12 | --sd-bad: #ff5f57; |
| 13 | --sd-rim: rgba(160, 232, 245, 0.7); |
| 14 | --sd-icon-glow: drop-shadow(0 0 5px color-mix(in srgb, var(--sky) 85%, transparent)) drop-shadow(0 0 14px color-mix(in srgb, var(--sky) 45%, transparent)); |
| 15 | --sd-mono: var(--mono); |
| 16 | margin: 18px 0 0; |
| 17 | padding: 44px 40px 34px; |
| 18 | border: 1px solid var(--sd-line); |
| 19 | border-radius: 22px; |
| 20 | background: var(--sd-surface); |
| 21 | color: var(--sd-fg); |
| 22 | text-align: center; |
| 23 | } |
| 24 | .sd-head { |
| 25 | max-width: 660px; |
| 26 | margin: 0 auto 50px; |
| 27 | } |
| 28 | .sd-eyebrow { |
| 29 | display: inline-flex; |
| 30 | align-items: center; |
| 31 | gap: 8px; |
| 32 | margin-bottom: 14px; |
| 33 | padding: 5px 13px; |
| 34 | border: 1px solid var(--sd-line); |
| 35 | border-radius: 999px; |
| 36 | font-family: var(--sd-mono); |
| 37 | font-size: 11px; |
| 38 | letter-spacing: 0.08em; |
| 39 | text-transform: uppercase; |
| 40 | color: var(--sd-muted); |
| 41 | } |
| 42 | .sd-head h3 { |
| 43 | font-size: clamp(22px, 2.6vw, 30px); |
| 44 | line-height: 1.2; |
| 45 | letter-spacing: -0.02em; |
| 46 | font-weight: 600; |
| 47 | text-wrap: balance; |
| 48 | } |
| 49 | .sd-head p { |
| 50 | margin-top: 12px; |
| 51 | color: var(--sd-muted); |
| 52 | font-size: 15px; |
| 53 | line-height: 1.6; |
| 54 | text-wrap: pretty; |
| 55 | } |
| 56 | |
| 57 | /* One chain, left to right: seven tracks (node, link, node, link, node, link, node). */ |
| 58 | .sd-diagram { |
| 59 | display: grid; |
| 60 | grid-template-columns: minmax(0, 1fr) minmax(60px, 0.9fr) minmax(0, 1fr) minmax(40px, 0.56fr) minmax(0, 1fr) minmax(40px, 0.56fr) minmax(0, 1fr); |
| 61 | align-items: center; |
| 62 | max-width: 980px; |
| 63 | margin: 0 auto; |
| 64 | } |
| 65 | .sd-p1 { --p: 1; } |
| 66 | .sd-p2 { --p: 2; } |
| 67 | .sd-p3 { --p: 3; } |
| 68 | .sd-p4 { --p: 4; } |
| 69 | .sd-p5 { --p: 5; } |
| 70 | .sd-p6 { --p: 6; } |
| 71 | .sd-p7 { --p: 7; } |
| 72 | .sd-node, |
| 73 | .sd-link { |
| 74 | grid-column: var(--p); |
| 75 | grid-row: 2; |
| 76 | } |
| 77 | .sd-node { |
| 78 | position: relative; |
| 79 | display: flex; |
| 80 | flex-direction: column; |
| 81 | align-items: center; |
| 82 | gap: 4px; |
| 83 | min-width: 0; |
| 84 | } |
| 85 | .sd-art { |
| 86 | display: grid; |
| 87 | place-items: center; |
| 88 | height: 108px; |
| 89 | margin-bottom: 10px; |
| 90 | } |
| 91 | .sd-art svg { |
| 92 | display: block; |
| 93 | height: 100%; |
| 94 | width: auto; |
| 95 | overflow: visible; |
| 96 | } |
| 97 | .sd-agent .sd-art svg { |
| 98 | height: 86%; |
| 99 | } |
| 100 | .sd-node b { |
| 101 | font-size: 15px; |
| 102 | font-weight: 600; |
| 103 | line-height: 1.3; |
| 104 | } |
| 105 | .sd-node span { |
| 106 | font-family: var(--sd-mono); |
| 107 | font-size: 11px; |
| 108 | line-height: 1.45; |
| 109 | letter-spacing: 0.02em; |
| 110 | color: var(--sd-muted); |
| 111 | } |
| 112 | .sd-frame { |
| 113 | fill: none; |
| 114 | stroke: var(--sd-frame); |
| 115 | stroke-width: 2.4; |
| 116 | stroke-linejoin: round; |
| 117 | } |
| 118 | .sd-agent .sd-frame { |
| 119 | fill: var(--sd-screen); |
| 120 | } |
| 121 | .sd-base, |
| 122 | .sd-dot { |
| 123 | fill: var(--sd-frame); |
| 124 | } |
| 125 | .sd-dot { |
| 126 | opacity: 0.7; |
| 127 | } |
| 128 | .sd-rule { |
| 129 | fill: none; |
| 130 | stroke: var(--sd-frame); |
| 131 | stroke-width: 2.2; |
| 132 | stroke-linecap: round; |
| 133 | opacity: 0.4; |
| 134 | } |
| 135 | .sd-prompt { |
| 136 | fill: none; |
| 137 | stroke: var(--sd-link); |
| 138 | stroke-width: 3.2; |
| 139 | stroke-linecap: round; |
| 140 | stroke-linejoin: round; |
| 141 | } |
| 142 | .sd-cursor, |
| 143 | .sd-spark { |
| 144 | fill: var(--sd-link); |
| 145 | } |
| 146 | .sd-cursor { |
| 147 | animation: sd-blink 1.3s steps(2, jump-none) infinite; |
| 148 | } |
| 149 | @keyframes sd-blink { |
| 150 | to { opacity: 0.15; } |
| 151 | } |
| 152 | .sd-screen { |
| 153 | fill: var(--sd-screen); |
| 154 | } |
| 155 | .sd-notch { |
| 156 | fill: var(--sd-frame); |
| 157 | opacity: 0.55; |
| 158 | } |
| 159 | /* The app icon: a rounded square like the real icon, with a rim and glow so it never sinks into the screen. */ |
| 160 | .sd-app { |
| 161 | filter: var(--sd-icon-glow); |
| 162 | } |
| 163 | .sd-app-rim { |
| 164 | fill: none; |
| 165 | stroke: var(--sd-rim); |
| 166 | stroke-width: 0.9; |
| 167 | } |
| 168 | .sd-icloud .sd-art svg { |
| 169 | height: 94%; |
| 170 | filter: drop-shadow(0 10px 22px rgba(47, 134, 240, 0.35)); |
| 171 | } |
| 172 | |
| 173 | /* The local zone: the agent and the Mac app talk over MCP without leaving the Mac. */ |
| 174 | .sd-zone { |
| 175 | grid-column: 1 / 4; |
| 176 | grid-row: 2; |
| 177 | align-self: stretch; |
| 178 | position: relative; |
| 179 | margin: -26px -4px -20px; |
| 180 | border: 1.5px dashed color-mix(in srgb, var(--sd-link) 42%, var(--sd-line)); |
| 181 | border-radius: 20px; |
| 182 | background: color-mix(in srgb, var(--sd-link) 5%, transparent); |
| 183 | pointer-events: none; |
| 184 | } |
| 185 | .sd-zone span { |
| 186 | position: absolute; |
| 187 | top: 0; |
| 188 | left: 50%; |
| 189 | transform: translate(-50%, -50%); |
| 190 | padding: 3px 11px; |
| 191 | border-radius: 999px; |
| 192 | background: var(--sd-surface); |
| 193 | font-family: var(--sd-mono); |
| 194 | font-size: 10.5px; |
| 195 | letter-spacing: 0.08em; |
| 196 | text-transform: uppercase; |
| 197 | white-space: nowrap; |
| 198 | color: color-mix(in srgb, var(--sd-link) 70%, var(--sd-fg)); |
| 199 | } |
| 200 | |
| 201 | /* The return leg: the agent's phone app drives the agent on the Mac, which closes the chain into a loop. */ |
| 202 | .sd-loop { |
| 203 | --sd-loop-line: color-mix(in srgb, var(--sd-link) 60%, transparent); |
| 204 | grid-column: 1 / 8; |
| 205 | grid-row: 1; |
| 206 | position: relative; |
| 207 | z-index: 1; |
| 208 | height: 58px; |
| 209 | margin: 0 8.3% -2px; |
| 210 | border: 2px dashed var(--sd-loop-line); |
| 211 | border-bottom: 0; |
| 212 | border-radius: 24px 24px 0 0; |
| 213 | } |
| 214 | .sd-loop::after { |
| 215 | content: ''; |
| 216 | position: absolute; |
| 217 | left: -6px; |
| 218 | bottom: -8px; |
| 219 | border: 5px solid transparent; |
| 220 | border-top: 9px solid var(--sd-link); |
| 221 | border-bottom: 0; |
| 222 | } |
| 223 | .sd-loop-tag { |
| 224 | position: absolute; |
| 225 | z-index: 1; |
| 226 | left: 50%; |
| 227 | top: -1px; |
| 228 | transform: translate(-50%, -50%); |
| 229 | display: inline-flex; |
| 230 | align-items: center; |
| 231 | gap: 7px; |
| 232 | padding: 6px 13px 6px 9px; |
| 233 | border: 1.5px solid var(--sd-link); |
| 234 | border-radius: 999px; |
| 235 | background: var(--sd-surface); |
| 236 | box-shadow: 0 0 0 4px var(--sd-surface), 0 0 14px color-mix(in srgb, var(--sd-link) 30%, transparent); |
| 237 | font-family: var(--sd-mono); |
| 238 | font-size: 10.5px; |
| 239 | line-height: 1; |
| 240 | letter-spacing: 0.08em; |
| 241 | text-transform: uppercase; |
| 242 | white-space: nowrap; |
| 243 | } |
| 244 | .sd-loop-tag svg { |
| 245 | width: 15px; |
| 246 | height: 15px; |
| 247 | fill: none; |
| 248 | stroke: currentColor; |
| 249 | stroke-width: 2; |
| 250 | stroke-linecap: round; |
| 251 | stroke-linejoin: round; |
| 252 | } |
| 253 | .sd-loop-tag, |
| 254 | .sd-loop-tag b { |
| 255 | font-weight: 700; |
| 256 | color: color-mix(in srgb, var(--sd-link) 80%, var(--sd-fg)); |
| 257 | } |
| 258 | .sd-loop-tag em { |
| 259 | padding-left: 8px; |
| 260 | border-left: 1px solid var(--sd-line); |
| 261 | font-style: normal; |
| 262 | font-weight: 500; |
| 263 | color: var(--sd-muted); |
| 264 | } |
| 265 | .sd-agent-tile { |
| 266 | fill: var(--sd-link); |
| 267 | } |
| 268 | .sd-agent-glyph { |
| 269 | fill: #fff; |
| 270 | } |
| 271 | |
| 272 | /* The return leg: each dot rides the whole path in one piece (phone side, long run, agent side), so |
| 273 | there are no hand-offs to glitch. Each <i> is a box the size of the path that moves by transform |
| 274 | only, and its ::after is the dot. Dots fade in as they leave one device and fade out into the next. */ |
| 275 | .sd-seg { |
| 276 | position: absolute; |
| 277 | inset: -1px -1px 0 -1px; |
| 278 | pointer-events: none; |
| 279 | } |
| 280 | .sd-seg i { |
| 281 | position: absolute; |
| 282 | right: 100%; |
| 283 | bottom: 100%; |
| 284 | width: 100%; |
| 285 | height: 100%; |
| 286 | opacity: 0; |
| 287 | animation-name: sd-loop-out; |
| 288 | animation-duration: 9s; |
| 289 | animation-timing-function: linear; |
| 290 | animation-iteration-count: infinite; |
| 291 | } |
| 292 | .sd-seg i::after { |
| 293 | content: ''; |
| 294 | position: absolute; |
| 295 | right: -4px; |
| 296 | bottom: -4px; |
| 297 | width: 8px; |
| 298 | height: 8px; |
| 299 | border-radius: 50%; |
| 300 | background: var(--sd-link); |
| 301 | box-shadow: 0 0 9px var(--sd-link); |
| 302 | } |
| 303 | /* A train of three goes phone to agent, then a train of three comes back. */ |
| 304 | .sd-seg i:nth-child(n+4) { animation-name: sd-loop-back; } |
| 305 | .sd-seg i:nth-child(2) { animation-delay: -8.4s; } |
| 306 | .sd-seg i:nth-child(3) { animation-delay: -7.8s; } |
| 307 | .sd-seg i:nth-child(4) { animation-delay: -4.5s; } |
| 308 | .sd-seg i:nth-child(5) { animation-delay: -3.9s; } |
| 309 | .sd-seg i:nth-child(6) { animation-delay: -3.3s; } |
| 310 | @keyframes sd-loop-out { |
| 311 | 0% { transform: translate(100%, 100%); opacity: 0; } |
| 312 | 4% { transform: translate(100%, 0); } |
| 313 | 9% { opacity: 1; } |
| 314 | 41% { opacity: 1; } |
| 315 | 46% { transform: translate(0, 0); } |
| 316 | 50%, 100% { transform: translate(0, 100%); opacity: 0; } |
| 317 | } |
| 318 | @keyframes sd-loop-back { |
| 319 | 0% { transform: translate(0, 100%); opacity: 0; } |
| 320 | 4% { transform: translate(0, 0); } |
| 321 | 9% { opacity: 1; } |
| 322 | 41% { opacity: 1; } |
| 323 | 46% { transform: translate(100%, 0); } |
| 324 | 50%, 100% { transform: translate(100%, 100%); opacity: 0; } |
| 325 | } |
| 326 | /* The two-way link: a dashed track with dots running both directions and a label. */ |
| 327 | .sd-link { |
| 328 | position: relative; |
| 329 | height: 2px; |
| 330 | margin: 0 4px 46px; |
| 331 | background: repeating-linear-gradient(90deg, color-mix(in srgb, var(--sd-link) 55%, transparent) 0 6px, transparent 6px 12px); |
| 332 | } |
| 333 | .sd-link i { |
| 334 | position: absolute; |
| 335 | top: 0; |
| 336 | right: 100%; |
| 337 | width: 100%; |
| 338 | height: 100%; |
| 339 | opacity: 0; |
| 340 | animation: sd-run 6s linear infinite; |
| 341 | } |
| 342 | .sd-link i::after { |
| 343 | content: ''; |
| 344 | position: absolute; |
| 345 | right: -4.5px; |
| 346 | top: 50%; |
| 347 | width: 9px; |
| 348 | height: 9px; |
| 349 | margin-top: -4.5px; |
| 350 | border-radius: 50%; |
| 351 | background: var(--sd-link); |
| 352 | box-shadow: 0 0 10px var(--sd-link); |
| 353 | } |
| 354 | .sd-link i:nth-of-type(n+4) { |
| 355 | animation-name: sd-run-back; |
| 356 | } |
| 357 | /* Three well-spaced pulses go in, then three come back out, so traffic reads as in, out, in, out. */ |
| 358 | .sd-link i:nth-of-type(2) { animation-delay: -5.3s; } |
| 359 | .sd-link i:nth-of-type(3) { animation-delay: -4.6s; } |
| 360 | .sd-link i:nth-of-type(4) { animation-delay: -3s; } |
| 361 | .sd-link i:nth-of-type(5) { animation-delay: -2.3s; } |
| 362 | .sd-link i:nth-of-type(6) { animation-delay: -1.6s; } |
| 363 | .sd-tag { |
| 364 | position: absolute; |
| 365 | left: 50%; |
| 366 | bottom: 12px; |
| 367 | transform: translateX(-50%); |
| 368 | font-family: var(--sd-mono); |
| 369 | font-size: 10.5px; |
| 370 | line-height: 1; |
| 371 | letter-spacing: 0.08em; |
| 372 | text-transform: uppercase; |
| 373 | white-space: nowrap; |
| 374 | color: var(--sd-muted); |
| 375 | } |
| 376 | /* MCP is the named hop, so its label sits on the line like a connector. */ |
| 377 | .sd-link-mcp .sd-tag { |
| 378 | z-index: 1; |
| 379 | bottom: auto; |
| 380 | top: 50%; |
| 381 | transform: translate(-50%, -50%); |
| 382 | display: inline-flex; |
| 383 | align-items: center; |
| 384 | gap: 5px; |
| 385 | padding: 6px 11px 6px 8px; |
| 386 | font-size: 11.5px; |
| 387 | box-shadow: 0 0 14px color-mix(in srgb, var(--sd-link) 35%, transparent); |
| 388 | border: 1.5px solid var(--sd-link); |
| 389 | border-radius: 999px; |
| 390 | background: var(--sd-surface); |
| 391 | font-weight: 700; |
| 392 | color: color-mix(in srgb, var(--sd-link) 80%, var(--sd-fg)); |
| 393 | } |
| 394 | .sd-tag svg { |
| 395 | width: 15px; |
| 396 | height: 15px; |
| 397 | fill: none; |
| 398 | stroke: currentColor; |
| 399 | stroke-width: 2.2; |
| 400 | stroke-linecap: round; |
| 401 | stroke-linejoin: round; |
| 402 | } |
| 403 | @keyframes sd-run { |
| 404 | 0% { transform: translateX(0); opacity: 0; } |
| 405 | 6% { opacity: 1; } |
| 406 | 20% { opacity: 1; } |
| 407 | 26.67%, 100% { transform: translateX(100%); opacity: 0; } |
| 408 | } |
| 409 | @keyframes sd-run-back { |
| 410 | 0% { transform: translateX(100%); opacity: 0; } |
| 411 | 6% { opacity: 1; } |
| 412 | 20% { opacity: 1; } |
| 413 | 26.67%, 100% { transform: translateX(0); opacity: 0; } |
| 414 | } |
| 415 | |
| 416 | /* The crossed-out third-party cloud, hanging under iCloud with a cut line. */ |
| 417 | .sd-block { |
| 418 | grid-column: 4 / 7; |
| 419 | grid-row: 3; |
| 420 | justify-self: center; |
| 421 | position: relative; |
| 422 | display: flex; |
| 423 | align-items: center; |
| 424 | gap: 16px; |
| 425 | width: max-content; |
| 426 | max-width: none; |
| 427 | margin-top: 62px; |
| 428 | padding: 12px 26px 12px 14px; |
| 429 | border: 1px solid color-mix(in srgb, var(--sd-bad) 45%, transparent); |
| 430 | border-radius: 999px; |
| 431 | background: color-mix(in srgb, var(--sd-bad) 9%, transparent); |
| 432 | text-align: left; |
| 433 | } |
| 434 | .sd-block::before { |
| 435 | content: ''; |
| 436 | position: absolute; |
| 437 | left: 50%; |
| 438 | bottom: 100%; |
| 439 | height: 44px; |
| 440 | border-left: 2px dashed color-mix(in srgb, var(--sd-bad) 60%, transparent); |
| 441 | } |
| 442 | .sd-block::after { |
| 443 | content: '\00d7'; |
| 444 | position: absolute; |
| 445 | left: 50%; |
| 446 | bottom: calc(100% + 12px); |
| 447 | transform: translateX(-50%); |
| 448 | width: 20px; |
| 449 | height: 20px; |
| 450 | border-radius: 50%; |
| 451 | background: var(--sd-bad); |
| 452 | color: #fff; |
| 453 | font: 700 15px/20px var(--sd-mono); |
| 454 | text-align: center; |
| 455 | } |
| 456 | .sd-block svg { |
| 457 | flex: none; |
| 458 | width: 72px; |
| 459 | height: 72px; |
| 460 | overflow: visible; |
| 461 | } |
| 462 | .sd-hood { |
| 463 | fill: #2a0f0d; |
| 464 | } |
| 465 | .sd-face { |
| 466 | fill: #0d0403; |
| 467 | } |
| 468 | .sd-eyes { |
| 469 | fill: none; |
| 470 | stroke: #fff; |
| 471 | stroke-width: 1.15; |
| 472 | stroke-linecap: round; |
| 473 | } |
| 474 | .sd-ban { |
| 475 | fill: none; |
| 476 | stroke: var(--sd-bad); |
| 477 | stroke-width: 3.4; |
| 478 | stroke-linecap: round; |
| 479 | } |
| 480 | .sd-slash { |
| 481 | stroke-width: 2.8; |
| 482 | } |
| 483 | .sd-block b { |
| 484 | display: block; |
| 485 | font-size: 15px; |
| 486 | font-weight: 600; |
| 487 | color: var(--sd-bad); |
| 488 | } |
| 489 | .sd-block span { |
| 490 | display: block; |
| 491 | margin-top: 2px; |
| 492 | font-family: var(--sd-mono); |
| 493 | font-size: 11px; |
| 494 | color: var(--sd-muted); |
| 495 | } |
| 496 | |
| 497 | .sd-nos { |
| 498 | display: flex; |
| 499 | flex-wrap: wrap; |
| 500 | align-items: center; |
| 501 | justify-content: center; |
| 502 | gap: 10px; |
| 503 | margin: 30px 0 0; |
| 504 | padding: 0; |
| 505 | list-style: none; |
| 506 | } |
| 507 | .sd-nos li { |
| 508 | display: inline-flex; |
| 509 | align-items: center; |
| 510 | gap: 8px; |
| 511 | padding: 7px 15px; |
| 512 | border: 1px solid var(--sd-line); |
| 513 | border-radius: 999px; |
| 514 | font-size: 13px; |
| 515 | font-weight: 500; |
| 516 | color: var(--sd-fg); |
| 517 | } |
| 518 | .sd-nos li::before { |
| 519 | content: ''; |
| 520 | width: 14px; |
| 521 | height: 14px; |
| 522 | border-radius: 50%; |
| 523 | background: |
| 524 | linear-gradient(45deg, transparent 44%, #fff 44% 56%, transparent 56%), |
| 525 | linear-gradient(-45deg, transparent 44%, #fff 44% 56%, transparent 56%), |
| 526 | var(--sd-bad); |
| 527 | } |
| 528 | .sd-nos li.sd-nos-lead { |
| 529 | padding: 0 2px 0 0; |
| 530 | border: 0; |
| 531 | background: none; |
| 532 | font-family: var(--sd-mono); |
| 533 | font-size: 11px; |
| 534 | letter-spacing: 0.08em; |
| 535 | text-transform: uppercase; |
| 536 | color: var(--sd-muted); |
| 537 | } |
| 538 | .sd-nos li.sd-nos-lead::before { |
| 539 | content: none; |
| 540 | } |
| 541 | .sd-note { |
| 542 | max-width: 640px; |
| 543 | margin: 18px auto 0; |
| 544 | font-size: 12.5px; |
| 545 | line-height: 1.55; |
| 546 | color: var(--sd-muted); |
| 547 | text-wrap: pretty; |
| 548 | } |
| 549 | |
| 550 | /* Stacked chain for narrow screens: the same seven steps, top to bottom. */ |
| 551 | @media (max-width: 880px) { |
| 552 | .sd { |
| 553 | padding: 34px 20px 28px; |
| 554 | border-radius: 18px; |
| 555 | } |
| 556 | .sd-head { |
| 557 | margin-bottom: 50px; |
| 558 | } |
| 559 | .sd-diagram { |
| 560 | grid-template-columns: minmax(0, 1fr); |
| 561 | max-width: 300px; |
| 562 | } |
| 563 | .sd-node, |
| 564 | .sd-link { |
| 565 | grid-column: 1; |
| 566 | grid-row: var(--p); |
| 567 | } |
| 568 | /* The return leg becomes a rail down the left side, from the phone back up to the agent. */ |
| 569 | .sd-loop { |
| 570 | grid-column: 1; |
| 571 | grid-row: 1 / 8; |
| 572 | justify-self: start; |
| 573 | align-self: stretch; |
| 574 | width: calc(50% - 66px); |
| 575 | height: auto; |
| 576 | margin: 46px 0 106px; |
| 577 | border: 2px dashed var(--sd-loop-line); |
| 578 | border-right: 0; |
| 579 | border-radius: 20px 0 0 20px; |
| 580 | } |
| 581 | .sd-loop::before { |
| 582 | content: ''; |
| 583 | position: absolute; |
| 584 | left: 100%; |
| 585 | bottom: -2px; |
| 586 | width: 30px; |
| 587 | border-top: 2px dashed var(--sd-loop-line); |
| 588 | } |
| 589 | .sd-loop::after { |
| 590 | left: 100%; |
| 591 | top: -6px; |
| 592 | bottom: auto; |
| 593 | border: 5px solid transparent; |
| 594 | border-left: 9px solid var(--sd-link); |
| 595 | border-right: 0; |
| 596 | } |
| 597 | .sd-seg { inset: -1px -30px -1px -1px; } |
| 598 | .sd-seg i { animation-name: sd-rail-out; } |
| 599 | .sd-seg i:nth-child(n+4) { animation-name: sd-rail-back; } |
| 600 | .sd-loop-tag { |
| 601 | left: -1px; |
| 602 | top: 50%; |
| 603 | transform: translate(-50%, -50%) rotate(-90deg); |
| 604 | } |
| 605 | .sd-art { |
| 606 | height: 92px; |
| 607 | } |
| 608 | .sd-zone { |
| 609 | grid-column: 1; |
| 610 | grid-row: 1 / 4; |
| 611 | margin: -24px 16px -20px; |
| 612 | } |
| 613 | .sd-link { |
| 614 | justify-self: center; |
| 615 | width: 2px; |
| 616 | height: 52px; |
| 617 | margin: 14px 0; |
| 618 | background: repeating-linear-gradient(180deg, color-mix(in srgb, var(--sd-link) 55%, transparent) 0 6px, transparent 6px 12px); |
| 619 | } |
| 620 | .sd-link i { |
| 621 | top: auto; |
| 622 | right: auto; |
| 623 | left: 0; |
| 624 | bottom: 100%; |
| 625 | animation-name: sd-run-v; |
| 626 | } |
| 627 | .sd-link i::after { |
| 628 | top: auto; |
| 629 | right: auto; |
| 630 | bottom: -4.5px; |
| 631 | left: 50%; |
| 632 | margin: 0 0 0 -4.5px; |
| 633 | } |
| 634 | .sd-link i:nth-of-type(n+4) { |
| 635 | animation-name: sd-run-v-back; |
| 636 | } |
| 637 | .sd-tag { |
| 638 | left: 16px; |
| 639 | bottom: auto; |
| 640 | top: 50%; |
| 641 | transform: translateY(-50%); |
| 642 | } |
| 643 | .sd-link-mcp .sd-tag { |
| 644 | left: 50%; |
| 645 | transform: translate(-50%, -50%); |
| 646 | } |
| 647 | .sd-link-mcp { |
| 648 | height: 104px; |
| 649 | margin-top: 26px; |
| 650 | } |
| 651 | .sd-block { |
| 652 | grid-column: 1; |
| 653 | grid-row: 8; |
| 654 | max-width: 100%; |
| 655 | width: auto; |
| 656 | margin-top: 40px; |
| 657 | padding-right: 20px; |
| 658 | } |
| 659 | /* Stacked, the blocked cloud stands on its own instead of hanging off the last device. */ |
| 660 | .sd-block::before, |
| 661 | .sd-block::after { |
| 662 | content: none; |
| 663 | } |
| 664 | .sd-nos li.sd-nos-lead { |
| 665 | flex-basis: 100%; |
| 666 | justify-content: center; |
| 667 | padding: 0; |
| 668 | } |
| 669 | } |
| 670 | @keyframes sd-rail-out { |
| 671 | 0% { transform: translate(100%, 100%); opacity: 0; } |
| 672 | 6% { transform: translate(0, 100%); } |
| 673 | 11% { opacity: 1; } |
| 674 | 39% { opacity: 1; } |
| 675 | 44% { transform: translate(0, 0); } |
| 676 | 50%, 100% { transform: translate(100%, 0); opacity: 0; } |
| 677 | } |
| 678 | @keyframes sd-rail-back { |
| 679 | 0% { transform: translate(100%, 0); opacity: 0; } |
| 680 | 6% { transform: translate(0, 0); } |
| 681 | 11% { opacity: 1; } |
| 682 | 39% { opacity: 1; } |
| 683 | 44% { transform: translate(0, 100%); } |
| 684 | 50%, 100% { transform: translate(100%, 100%); opacity: 0; } |
| 685 | } |
| 686 | @keyframes sd-run-v { |
| 687 | 0% { transform: translateY(0); opacity: 0; } |
| 688 | 6% { opacity: 1; } |
| 689 | 20% { opacity: 1; } |
| 690 | 26.67%, 100% { transform: translateY(100%); opacity: 0; } |
| 691 | } |
| 692 | @keyframes sd-run-v-back { |
| 693 | 0% { transform: translateY(100%); opacity: 0; } |
| 694 | 6% { opacity: 1; } |
| 695 | 20% { opacity: 1; } |
| 696 | 26.67%, 100% { transform: translateY(0); opacity: 0; } |
| 697 | } |
| 698 | @media (prefers-reduced-motion: reduce) { |
| 699 | .sd-link i, |
| 700 | .sd-seg i { |
| 701 | animation: none; |
| 702 | opacity: 0; |
| 703 | } |
| 704 | .sd-cursor { |
| 705 | animation: none; |
| 706 | } |
| 707 | } |