/* Shared geometric layout. No full-page blue frame. */
body.poster {
  margin: 0;
  background: #e7e7e7;
  color: #161616;
  font-family: "Arial Narrow", "Noto Sans TC", "PingFang HK", sans-serif;
  padding: 0 0 40px;
}
body.poster .shell,
body.poster .wrap {
  max-width: 1120px;
  margin: 0 auto;
  background: #dedede;
  color: #161616;
  border: 0;
  box-shadow: none;
  padding: 0 0 28px;
  position: relative;
  overflow: hidden;
}
body.poster h1,
body.poster h2,
body.poster .section-title,
body.poster .subtitle,
body.poster .sub,
body.poster .hint,
body.poster label,
body.poster .hint-mini {
  color: #1a1a1a;
}
body.poster .section-title {
  border: 0;
  padding: 0;
  margin: 18px 20px 8px;
  font-size: 1rem;
  letter-spacing: 0.08em;
}

.poster-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  background: #ececec;
  border-bottom: 1px solid #111;
  position: relative;
  z-index: 2;
}
.poster-nav a,
.poster-nav button {
  -webkit-appearance: none;
  appearance: none;
  background-color: transparent !important;
  background: transparent !important;
  color: #111 !important;
  border: 0;
  border-radius: 0;
  width: auto;
  flex: 0 0 auto;
  min-height: 46px;
  padding: 12px 18px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, filter 0.2s ease, transform 0.2s ease;
}
.poster-nav a.on,
.poster-nav button.on {
  background: #3ee0d0 !important;
  color: #111 !important;
}
.poster-nav a:hover,
.poster-nav button:hover {
  transform: translateY(-1px);
  filter: brightness(0.92);
}
.poster-nav a.on:hover,
.poster-nav button.on:hover {
  filter: brightness(1.08);
}

.poster-split {
  display: grid;
  grid-template-columns: minmax(220px, 0.85fr) minmax(240px, 1.15fr);
  min-height: 280px;
  position: relative;
  background: #c8c8c8;
}
.logo-stack {
  position: relative;
  background: #2b2b2b;
  color: #3ee0d0;
  margin: 22px 0 22px 22px;
  padding: 26px 18px 18px 22px;
  z-index: 1;
}
.logo-stack .w {
  display: block;
  font-size: clamp(3.2rem, 7vw, 5rem);
  font-weight: 800;
  line-height: 0.84;
  letter-spacing: -0.03em;
  transform: skewX(-7deg);
}
.logo-stack .w.shift { margin-left: 22px; transform: skewX(-7deg) translateX(8px); }
.figure { position: relative; min-height: 240px; padding: 22px 28px 24px 12px; }
.bars { position: absolute; right: 0; top: 42%; display: flex; flex-direction: column; gap: 10px; pointer-events: none; }
.bars i { display: block; height: 12px; background: #3ee0d0; }
.bars i:nth-child(1) { width: 96px; }
.bars i:nth-child(2) { width: 68px; margin-left: 18px; }
.bars i:nth-child(3) { width: 44px; }
.logo-stack .band {
  display: inline-block;
  margin-top: 14px;
  background: #3ee0d0;
  color: #111;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.22em;
  padding: 3px 8px;
}
.copy-block {
  position: relative;
  padding: 4px 12px 12px 4px;
  z-index: 1;
  max-width: 28em;
}
.copy-block p {
  margin: 0 0 8px;
  max-width: none;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 700;
}
.slate {
  position: relative;
  width: min(100%, 280px);
  margin-left: auto;
  aspect-ratio: 4 / 5;
  background:
    linear-gradient(115deg, transparent 58%, rgba(255,255,255,0.55) 58% 62%, transparent 62%),
    #8d8d8d;
  border: 8px solid #fff;
  box-shadow: 14px 12px 0 #2b2b2b;
}
.poster-split.mast { min-height: 0; background: #d2d2d2; }
.poster-split.mast .logo-stack { margin: 14px 0 14px 16px; padding: 14px 16px 12px; }
.poster-split.mast .logo-stack .w { font-size: clamp(2rem, 4.5vw, 3.1rem); }
.poster-split.mast .figure { min-height: 0; display: flex; align-items: center; padding: 16px 20px; }
.deco-plus,
.deco-l,
.deco-tri {
  position: absolute;
  pointer-events: none;
  z-index: 2;
}
.deco-plus {
  width: 16px;
  height: 16px;
  color: #3ee0d0;
  font-weight: 800;
  line-height: 16px;
  text-align: center;
}
.deco-plus.a { left: auto; right: 12px; top: 8px; }
.deco-plus.b { right: 18px; bottom: 16px; color: #111; }
.deco-l {
  width: 36px;
  height: 36px;
  border-left: 3px solid #fff;
  border-top: 3px solid #fff;
  left: 0;
  top: 0;
}
.deco-tri {
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 14px solid #3ee0d0;
  right: 28%;
  bottom: 18px;
  transform: rotate(18deg);
}
.slash {
  position: absolute;
  width: 74px;
  height: 3px;
  background: #fff;
  transform: rotate(-28deg);
  right: 12%;
  top: 46%;
  pointer-events: none;
}

body.poster .panel,
body.poster .card,
body.poster .info-card,
body.poster .practice-card,
body.poster .metric-card,
body.poster .coach-compare,
body.poster .benchmark-card {
  background: transparent;
  color: #161616;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
body.poster .panel,
body.poster .card {
  margin: 0 20px;
  padding: 14px 0;
  border-top: 1px solid #111;
}
body.poster .setup-card {
  background: #f4f4f4;
  border: 1px solid #111;
  padding: 14px;
  margin: 12px 20px;
}
body.poster .steps {
  display: grid;
  grid-template-columns: 1.15fr 1fr 0.92fr;
  gap: 8px;
  margin: 0 20px 4px;
}
body.poster .step {
  background: #d5d5d5;
  color: #222;
  border: 0;
  border-radius: 0;
  min-height: 74px;
  padding: 12px 16px 12px 14px;
  clip-path: polygon(0 0, 92% 0, 100% 100%, 0 100%);
  transition: background 0.2s ease, transform 0.2s ease;
}
body.poster .step b { color: #111; font-size: 14px; }
body.poster .step.active {
  background: #3ee0d0;
  color: #111;
  transform: translateY(-2px);
}

body.poster .controls {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
}
body.poster .osmo-assist-row,
body.poster .yolo-pose-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  grid-column: auto;
}
body.poster .osmo-assist-row,
body.poster .yolo-pose-row,
body.poster .osmo-assist-row strong,
body.poster .yolo-pose-row strong,
body.poster .osmo-line { color: #222; }
body.poster .hint-mini { display: none; }
body.poster .setup-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
body.poster .setup-actions .cam-launch {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  margin: 0;
  flex: 0 1 auto;
}
body.poster .setup-actions #cam-launch-hint { margin: 0; flex: 1 1 160px; }
body.poster .osmo-line { margin: 0; font-size: 13px; font-weight: 700; }
body.poster input,
body.poster select,
body.poster textarea {
  background: #fff;
  color: #111;
  border: 2px solid #111;
  border-radius: 0;
  min-height: 44px;
}
body.poster button:not(.shutter-btn):not(.shutter-side):not(.btn-close-cam):not(.poster-nav button) {
  background: #fff;
  color: #111;
  border: 2px solid #111;
  border-radius: 0;
  font-weight: 800;
  letter-spacing: 0.04em;
  width: auto;
  min-height: 44px;
  transition: transform 0.18s ease, background 0.18s ease, filter 0.18s ease;
}
body.poster button:not(.shutter-btn):not(.shutter-side):not(.btn-close-cam):hover {
  transform: translate(-1px, -1px);
  filter: brightness(1.04);
}
body.poster button:not(.shutter-btn):active { transform: translate(1px, 1px); }
body.poster .cam-start-btn,
body.poster #btn-sr-flow,
body.poster #btn-lib-learn,
body.poster #btn-acc-create,
body.poster .auth-form button[type="submit"] {
  background: #fff;
  color: #111;
  border: 2px solid #111;
  min-width: 148px;
  font-size: 1rem;
}
body.poster #btn-report,
body.poster .btn-ghost,
body.poster button.ghost {
  background: transparent;
  color: #111;
  border-width: 1px;
  min-height: 34px;
  padding: 6px 10px;
  font-size: 0.82rem;
}
body.poster button.danger { background: #111; color: #fff; }
body.poster .tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  background: #ececec;
  margin: 8px 20px 0;
  padding: 0;
  border-bottom: 1px solid #111;
}
body.poster .tabs button,
body.poster .sr-facing button {
  background: transparent;
  border: 0;
  color: #111;
  border-radius: 0;
}
body.poster .tabs button.active,
body.poster .sr-facing button[aria-pressed="true"],
body.poster .roles button[aria-pressed="true"] {
  background: #3ee0d0;
  color: #111;
}
body.poster table { color: #161616; width: 100%; }
body.poster th { background: #2b2b2b; color: #3ee0d0; }
body.poster td { border-bottom: 1px solid #c8c8c8; }
body.poster a { color: #111; }

body.poster .video-wrap,
body.poster .analysis-player-box,
body.poster .match-preview {
  border: 8px solid #fff;
  border-radius: 0;
  box-shadow: 10px 8px 0 #2b2b2b;
}
body.poster .video-wrap.collapsed,
body.poster .video-wrap.portrait.collapsed,
body.poster .video-wrap.landscape.collapsed {
  width: min(100% - 40px, 720px) !important;
  max-width: 720px !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: 16 / 10 !important;
  margin: 8px 20px !important;
  background: #8d8d8d !important;
}
body.poster .video-wrap.collapsed:not(.preview-live) > canvas,
body.poster .video-wrap.collapsed:not(.preview-live) > video {
  opacity: 0 !important;
  background: transparent !important;
}
body.poster .video-wrap.collapsed.preview-live > video,
body.poster .video-wrap.collapsed.preview-live > canvas {
  opacity: 1 !important;
  filter: none !important;
}
body.poster .video-wrap.collapsed:not(.preview-live)::after {
  content: "";
  position: absolute;
  right: 8%;
  top: 22%;
  width: 38%;
  height: 10px;
  background: #3ee0d0;
  box-shadow: 0 18px 0 #3ee0d0, 0 36px 0 #efefef;
  z-index: 3;
  pointer-events: none;
}
body.poster.cam-fs-active .video-wrap {
  border: none !important;
  box-shadow: none !important;
  margin: 0 !important;
}
body.poster .cam-launch {
  margin: 0 20px;
  padding: 0;
  border: 0;
  background: transparent;
  max-width: none;
  align-items: flex-start;
}
body.poster .cam-launch p,
body.poster #cam-hint {
  margin: 4px 20px 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  text-align: left;
  color: #333;
}
body.poster #realtime-dashboard {
  display: block;
  width: auto;
  max-width: none;
  margin: 12px 20px 0;
  background: #f7f7f7;
  border: 1px solid #111;
}
body.poster #realtime-dashboard summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  cursor: pointer;
  font-weight: 800;
}
body.poster #realtime-dashboard summary::-webkit-details-marker { display: none; }
body.poster #realtime-dashboard .status-grid { display: none; padding: 0 12px 12px; }
body.poster #realtime-dashboard[open] .status-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 16px;
}
body.poster .metric-realtime {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 4px 0;
  color: #111;
  font-size: 14px;
}
body.poster .status-tag {
  background: #2b2b2b !important;
  color: #3ee0d0 !important;
  border-radius: 0;
}
body.poster .rec-active {
  animation: teal-pulse 1.6s ease-in-out infinite;
}
@keyframes teal-pulse {
  50% { box-shadow: 0 0 0 3px rgba(62, 224, 208, 0.45); }
}
body.poster .auth-form {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 12px;
  align-items: end;
  margin: 0;
  padding: 16px 20px 8px;
  border-top: 1px solid #111;
  background: #f4f4f4;
}
body.poster #form-register {
  grid-template-columns: 1fr 1fr;
}
body.poster #form-register .roles,
body.poster #form-register button[type="submit"],
body.poster #form-register #msg,
body.poster #msg { grid-column: 1 / -1; }
body.poster .auth-form label { display: block; font-size: 12px; font-weight: 800; letter-spacing: 0.06em; margin: 0 0 4px; }
body.poster .auth-form input { width: 100%; }
body.poster .stat {
  background: #f4f4f4;
  color: #111;
  border: 1px solid #111;
  border-radius: 0;
}
body.poster .stat span { color: #333; }
body.poster .sr-cam-wrap,
body.poster .lib-player {
  border-radius: 0;
  border: 8px solid #fff;
  box-shadow: 10px 8px 0 #2b2b2b;
}
body.poster .badge { border-radius: 0; background: #3ee0d0; color: #111; border: 0; }
body.poster .active-page { animation: none; }
body.poster .hint {
  background: transparent;
  border: 0;
  border-radius: 0;
  margin: 8px 20px 0;
  padding: 0;
  max-width: none;
  text-align: left;
}
body.poster, body.poster * { box-sizing: border-box; }
body.poster .roles { display: flex; gap: 8px; }
body.poster .roles button { flex: 1; }

@media (prefers-reduced-motion: no-preference) {
  body.login .deco-plus,
  body.login .deco-tri,
  body.login .slash {
    animation: drift 6.5s ease-in-out infinite;
  }
  body.login .slate { animation: breathe 7s ease-in-out infinite; }
  body.poster.leaving .wrap {
    animation: fly-out 0.45s ease-in both;
  }
  body.poster.arrive .shell {
    animation: fly-in 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
  }
  body.poster.cam-fs-active .shell,
  body.poster.cam-fs-active .video-wrap,
  body.poster.cam-fs-active .poster-split {
    animation: none !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.poster.arrive .shell { animation: fade-in 0.2s ease both; }
  body.poster.leaving .wrap { animation: fade-in 0.2s ease reverse both; }
}
@keyframes drift {
  50% { transform: translate(6px, -4px) rotate(-18deg); opacity: 0.72; }
}
@keyframes breathe {
  50% { opacity: 0.82; }
}
@keyframes fly-out {
  to { opacity: 0; transform: scale(0.92) translate(4%, -3%); }
}
@keyframes fly-in {
  from { opacity: 0; transform: translate(7%, 18px) skewX(-3deg); }
  to { opacity: 1; transform: none; }
}
@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (min-width: 900px) {
  body.poster #realtime-dashboard[open] .status-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 800px) {
  .poster-split { grid-template-columns: 1fr; }
  .logo-stack { margin: 16px 16px 0; }
  .figure { min-height: 0; padding: 12px 16px 18px; }
  .slate { width: min(78%, 260px); margin: 8px 0 0 auto; }
  .copy-block { padding: 8px 0 4px; }
  .bars { top: auto; bottom: 24px; }
  .poster-split.mast .slash,
  .poster-split.mast .deco-tri { display: none; }
  body.poster .controls,
  body.poster .auth-form,
  body.poster #form-register { grid-template-columns: 1fr; }
  body.poster .steps { grid-template-columns: 1fr; }
  body.poster .step { clip-path: none; }
  body.poster #realtime-dashboard .status-grid,
  body.poster #realtime-dashboard[open] .status-grid { grid-template-columns: 1fr; }
  body.poster .video-wrap.collapsed,
  body.poster .video-wrap.portrait.collapsed {
    width: calc(100% - 32px) !important;
    aspect-ratio: 4 / 3 !important;
  }
}

/* Login only: split intro and form card. Practice and admin stay on the light poster. */
body.login {
  background: #2b2b2b;
  color: #f3f3f3;
  min-height: 100vh;
  padding: 0;
}
body.login .wrap {
  position: relative;
  max-width: none;
  min-height: 100vh;
  margin: 0;
  display: grid;
  grid-template-columns: minmax(280px, 1.08fr) minmax(320px, 0.92fr);
  background: #2b2b2b;
  padding: 0;
}
body.login .login-float {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
body.login .gf {
  position: absolute;
  display: block;
  pointer-events: none;
}
body.login .gf > b { display: block; }
body.login .gf .bar { height: 11px; background: #3ee0d0; }
body.login .gf .bar.wide { width: 118px; }
body.login .gf .bar.mid { width: 74px; }
body.login .gf .bar.short { width: 46px; }
body.login .gf .slab { width: 88px; height: 46px; background: #3ee0d0; transform: skewX(-18deg); }
body.login .gf .slab.outline { background: transparent; border: 3px solid #fff; }
body.login .gf .plus { color: #3ee0d0; font-size: 30px; font-weight: 800; line-height: 0.8; }
body.login .gf .plus.light { color: #fff; font-size: 22px; }
body.login .gf .tri {
  width: 0; height: 0;
  border-left: 11px solid transparent;
  border-right: 11px solid transparent;
  border-bottom: 16px solid #fff;
}
body.login .gf .tri.teal { border-bottom-color: #3ee0d0; }
body.login .gf .slashline { width: 78px; height: 3px; background: #fff; transform: rotate(-32deg); }
body.login .gf .slashline.teal { width: 56px; background: #3ee0d0; transform: rotate(24deg); }
body.login .gf .corner { width: 30px; height: 30px; border-left: 3px solid #3ee0d0; border-bottom: 3px solid #3ee0d0; }
body.login .gf .diamond { width: 16px; height: 16px; background: #3ee0d0; transform: rotate(45deg); }
body.login .gf .ring { width: 52px; height: 52px; border: 3px solid rgba(255,255,255,0.85); transform: rotate(14deg); }
body.login .gf .tick { width: 3px; height: 52px; background: #3ee0d0; }
body.login .gf.w1 { left: 58%; top: 8%; }
body.login .gf.w2 { left: 76%; top: 13%; }
body.login .gf.w3 { right: 7%; bottom: 12%; }
body.login .gf.w4 { left: 64%; top: 70%; }
body.login .gf.w5 { left: 84%; top: 28%; }
body.login .gf.w6 { left: 55%; top: 40%; }
body.login .gf.w7 { right: 5%; top: 58%; }
body.login .gf.w8 { left: 6%; bottom: 6%; }
body.login .gf.w9 { left: 72%; top: 46%; }
body.login .gf.w10 { left: 3%; top: 5%; }
body.login .gf.w11 { left: 52%; top: 22%; }
body.login .gf.w12 { right: 14%; bottom: 24%; }
body.login .gf.w13 { left: 2%; bottom: 3%; }
body.login .gf.w14 { right: 8%; top: 7%; }
body.login .gf.w15 { left: 68%; bottom: 7%; }
body.login .gf.w16 { left: 51%; top: 56%; }
body.login .gf.w17 { right: 18%; top: 18%; }
body.login .gf.w18 { right: 10%; bottom: 8%; }
body.login .login-hero {
  position: relative;
  z-index: 1;
  padding: 48px 46px 40px;
  overflow: hidden;
}
body.login .login-pane { z-index: 1; }
body.login .login-kicker {
  margin: 0 0 12px;
  color: #f4f4f4;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.28em;
}
body.login .logo-stack {
  margin: 0;
  padding: 0;
  background: transparent;
}
body.login .logo-stack .w {
  color: #3ee0d0;
  font-size: 33vh;
  line-height: 0.95;
}
body.login .logo-line {
  display: flex;
  align-items: flex-end;
  gap: 0.06em;
}
body.login .logo-line .w {
  display: block;
  width: auto;
}
body.login .logo-stack .w.shift {
  font-size: 16vh;
  line-height: 0.92;
  margin-left: 0;
  transform: skewX(-7deg);
}
body.login .login-lead {
  margin: 18px 0 14px;
  max-width: 18em;
  color: #f7f7f7;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.4;
}
body.login .login-points {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 28em;
  position: relative;
  z-index: 1;
}
body.login .login-points li {
  margin: 0 0 8px;
  padding: 10px 12px 10px 14px;
  background: #3a3a3a;
  color: #f3f3f3;
  border-left: 4px solid #3ee0d0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
}
body.login .slate { display: none; }
body.login .bars { top: 18%; }
body.login .deco-l { left: 16px; top: 16px; }
body.login .deco-plus.c {
  right: 18%;
  top: 22%;
  color: #fff;
  font-size: 22px;
}
body.login .login-pane {
  position: relative;
  display: flex;
  align-items: safe center;
  justify-content: center;
  padding: 36px 32px;
}
body.login .login-block {
  position: absolute;
  width: 128px;
  height: 74px;
  top: 42px;
  right: 36px;
  background: #3ee0d0;
  transform: skewX(-16deg);
  pointer-events: none;
}
body.login .login-card {
  position: relative;
  z-index: 1;
  width: min(100%, 420px);
  background: #fff;
  color: #111;
  border: 2px solid #111;
  border-radius: 2px;
  box-shadow: 10px 10px 0 #0c0c0c;
  padding: 26px 22px 18px;
}
body.login .login-card h2 {
  margin: 0 0 8px;
  font-size: 1.7rem;
  letter-spacing: 0.04em;
  color: #111;
}
body.login .login-note {
  margin: 0 0 4px;
  color: #222;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}
body.login .login-tabs,
body.login .roles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 14px 0;
  border: 2px solid #111;
}
body.login .login-tabs button,
body.login .roles button {
  width: 100%;
  border: 0 !important;
  border-radius: 0;
  background: #fff;
  color: #111;
  min-height: 46px;
}
body.login .login-tabs button + button,
body.login .roles button + button {
  border-left: 2px solid #111 !important;
}
body.login .login-tabs button.on,
body.login .roles button[aria-pressed="true"] {
  background: #3ee0d0 !important;
  color: #111 !important;
}
body.login .auth-form,
body.login #form-register {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  align-items: stretch;
}
body.login .auth-form button[type="submit"] {
  width: 100%;
  min-width: 0;
  margin-top: 4px;
}
body.login #msg { margin: 12px 0 0; color: #333; }
@media (prefers-reduced-motion: no-preference) {
  body.login .login-block { animation: breathe 7s ease-in-out infinite; }
  body.login .deco-plus.c { animation: drift 6.5s ease-in-out infinite; }
  body.login .gf.roam-a { animation: roam-a 15s ease-in-out infinite; }
  body.login .gf.roam-b { animation: roam-b 18s ease-in-out infinite; }
  body.login .gf.roam-c { animation: roam-c 12s ease-in-out infinite; }
  body.login .gf.roam-d { animation: roam-d 21s ease-in-out infinite; }
  body.login .gf.roam-edge { animation: roam-edge 13s ease-in-out infinite; }
  body.login .gf.w2 { animation-delay: -3s; }
  body.login .gf.w5 { animation-delay: -6s; }
  body.login .gf.w7 { animation-delay: -4s; }
  body.login .gf.w9 { animation-delay: -8s; }
  body.login .gf.w12 { animation-delay: -2s; }
  body.login .gf.w14 { animation-delay: -9s; }
  body.login .gf.w17 { animation-delay: -5s; }
  body.login .gf.w18 { animation-delay: -7s; }
  body.login.leaving .login-float .gf,
  body.login.leaving .logo-stack .w { animation-play-state: paused; }
  body.login .roam-ken { animation: title-ken 14s ease-in-out infinite; }
  body.login .roam-do { animation: title-do 11s ease-in-out infinite; animation-delay: -4s; }
  body.login .roam-ai { animation: title-ai 17s ease-in-out infinite; animation-delay: -9s; }
}
@keyframes title-ken {
  0% { transform: skewX(-7deg) translate(0, 0); }
  25% { transform: skewX(-7deg) translate(-18px, 30px) rotate(-2deg); }
  55% { transform: skewX(-7deg) translate(16px, -20px) rotate(1.5deg); }
  80% { transform: skewX(-7deg) translate(-10px, 16px); }
  100% { transform: skewX(-7deg) translate(0, 0); }
}
@keyframes title-do {
  0% { transform: skewX(-7deg) translate(0, 0); }
  30% { transform: skewX(-7deg) translate(24px, -22px) rotate(3deg); }
  65% { transform: skewX(-7deg) translate(-20px, 18px) rotate(-2deg); }
  100% { transform: skewX(-7deg) translate(0, 0); }
}
@keyframes title-ai {
  0% { transform: skewX(-7deg) translate(0, 0); }
  35% { transform: skewX(-7deg) translate(-22px, 20px) rotate(-4deg); }
  70% { transform: skewX(-7deg) translate(16px, -24px) rotate(3deg); }
  100% { transform: skewX(-7deg) translate(0, 0); }
}
@keyframes title-ken-s {
  0% { transform: skewX(-7deg) translate(0, 0); }
  50% { transform: skewX(-7deg) translate(-6px, 14px) rotate(-1deg); }
  100% { transform: skewX(-7deg) translate(0, 0); }
}
@keyframes title-do-s {
  0% { transform: skewX(-7deg) translate(0, 0); }
  50% { transform: skewX(-7deg) translate(8px, -12px) rotate(2deg); }
  100% { transform: skewX(-7deg) translate(0, 0); }
}
@keyframes title-ai-s {
  0% { transform: skewX(-7deg) translate(0, 0); }
  50% { transform: skewX(-7deg) translate(-8px, 12px) rotate(-2deg); }
  100% { transform: skewX(-7deg) translate(0, 0); }
}
@keyframes roam-a {
  0% { transform: translate(0, 0); }
  25% { transform: translate(42px, 26px); }
  50% { transform: translate(-22px, 54px); }
  75% { transform: translate(30px, -24px); }
  100% { transform: translate(0, 0); }
}
@keyframes roam-b {
  0% { transform: translate(0, 0) rotate(0deg); }
  35% { transform: translate(-48px, 18px) rotate(-16deg); }
  70% { transform: translate(28px, 46px) rotate(12deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}
@keyframes roam-c {
  0% { transform: translate(0, 0); }
  50% { transform: translate(58px, -40px); }
  100% { transform: translate(0, 0); }
}
@keyframes roam-d {
  0% { transform: translate(0, 0) rotate(0deg); }
  30% { transform: translate(16px, 50px) rotate(18deg); }
  60% { transform: translate(-40px, 14px) rotate(-10deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}
@keyframes roam-edge {
  0% { transform: translate(0, 0); }
  50% { transform: translate(16px, 12px); }
  100% { transform: translate(0, 0); }
}
@media (max-width: 860px) {
  body.login .wrap { grid-template-columns: 1fr; }
  body.login .login-hero { padding: 18px 16px 8px; }
  body.login .logo-stack .w { font-size: min(33vh, 62vw); }
  body.login .logo-line .w { font-size: min(28vh, 42vw); }
  body.login .logo-stack .w.shift { font-size: min(14vh, 20vw); }
  body.login .login-lead { margin: 12px 0 10px; font-size: 1.02rem; }
  body.login .login-points li { padding: 8px 10px; margin-bottom: 6px; }
  body.login .slate,
  body.login .bars,
  body.login .deco-tri,
  body.login .deco-plus.b,
  body.login .login-block,
  body.login .gf.desk { display: none; }
  body.login .gf.w5 { left: auto; right: 12px; top: auto; bottom: 16px; }
  body.login .gf.w7 { right: 16px; top: 8px; }
  body.login .gf.w17 { right: 54px; top: 18px; }
  body.login .roam-ken { animation-name: title-ken-s; }
  body.login .roam-do { animation-name: title-do-s; }
  body.login .roam-ai { animation-name: title-ai-s; }
  body.login .login-pane { align-items: stretch; padding: 8px 16px 28px; }
  body.login .login-card { width: 100%; box-shadow: 6px 6px 0 #0c0c0c; }
}
