:root {
  --vipes-ease: cubic-bezier(.2,.74,.24,1);
  --vipes-press: 130ms;
  --vipes-reveal: 240ms;
}
.headLogo { width:108px; height:34px; object-fit:contain; object-position:left; }
#access > img { width:112px; height:36px; object-fit:contain; }
button, summary, input, select, a { -webkit-tap-highlight-color:transparent; }
button, summary, nav .icon, .thread, a {
  transition:background-color var(--vipes-press), color var(--vipes-press), box-shadow var(--vipes-press), transform var(--vipes-press) var(--vipes-ease);
}
button:enabled:active, .pill:active { transform:scale(.97); }
:focus-visible { outline:2px solid var(--green); outline-offset:3px; }
dialog {
  transition:opacity .17s ease,transform var(--vipes-reveal) var(--vipes-ease),display var(--vipes-reveal) allow-discrete,overlay var(--vipes-reveal) allow-discrete;
  opacity:0; transform:translateY(6px) scale(.985);
}
dialog[open] { opacity:1; transform:none; }
@starting-style { dialog[open] { opacity:0; transform:translateY(7px) scale(.98); } }
dialog::backdrop { background:rgb(0 9 7 / 68%); }
#options:not([hidden]), [popover]:popover-open {
  transform-origin:top right;
  animation:vipes-menu-in .20s var(--vipes-ease) both;
}
@keyframes vipes-menu-in { from { opacity:0; transform:translateY(-5px) scale(.965); } to { opacity:1; transform:none; } }
#threadlist .thread { animation:vipes-row-in .18s var(--vipes-ease) backwards; }
@keyframes vipes-row-in { from { opacity:.75; transform:translateY(2px); } }
#rings { scrollbar-width:none; scroll-padding-inline:12px; }
.ring { flex:none; min-width:66px; }
.ring > span:first-child, .story-ring {
  border:2.5px solid transparent;
  background:linear-gradient(150deg,#173a30,#0f221d) padding-box, conic-gradient(from -25deg,#b3ffd2,#37e399 30%,#07996c 61%,#3ae9b5 81%,#b3ffd2) border-box;
  box-shadow:none; color:#dcffec;
}
.ring[data-seen=true] > span:first-child { border-color:#497366; }
.call-stage {
  box-sizing:border-box; border:1px solid #ffffff22; border-radius:30px;
  margin:auto; padding:0; width:min(440px,calc(100vw - 28px)); max-height:calc(100dvh - 36px);
  color:#f4fbf7; background:radial-gradient(ellipse at top,#1a4436,#101d19 58%,#0e1716);
  box-shadow:none; overflow:auto;
}
.call-stage::backdrop { backdrop-filter:blur(6px); }
.call-stage-body { padding:34px 22px 22px; text-align:center; }
.call-avatar { display:grid; place-items:center; width:76px; height:76px; margin:0 auto 14px; border:1px solid #82c6a155; border-radius:50%; background:linear-gradient(145deg,#376a50,#234434); color:#deffe8; font:600 34px/1 system-ui; }
.call-stage h2 { margin:0; font-size:26px; font-weight:600; letter-spacing:-.03em; }
.call-mode { margin:6px 0 20px; color:#a6c6b8; font-size:14px; }
.call-stage #people { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(130px,100%),1fr)); gap:8px; }
.call-stage #people article { border:1px solid #ffffff19; border-radius:15px; padding:8px; background:#0c1916; }
.call-stage #people video { width:100%; max-height:28vh; border-radius:10px; }
.call-stage #people video:not([src]) { height:auto; }
.call-stage #feed { max-height:20vh; overflow:auto; text-align:left; }
.call-stage #feed article { margin:8px 0; padding:8px 12px; font-size:14px; background:#19392d; border-radius:12px; }
.call-stage #callTools { display:flex; align-items:center; justify-content:center; gap:8px; flex-wrap:wrap; padding:20px 0 0; margin-top:10px; border-top:1px solid #ffffff18; background:transparent; }
.call-stage #callTools button { border-radius:22px; padding:10px 15px; font-size:13px; background:#284137; color:white; }
.call-stage #callTools #leave { background:#ad3943; }
.call-stage #files:empty { display:none; }
@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after { scroll-behavior:auto!important; animation-duration:.01ms!important; animation-iteration-count:1!important; transition-duration:.01ms!important; }
}
@media(prefers-reduced-motion:reduce) {
  dialog[open] {opacity:1!important;transform:none!important}
  #options:not([hidden]), [popover]:popover-open {animation:none!important}
}

/* Only the artwork moves; finders, quiet zone and all data modules remain still. */
#linkQr .pair-fold{transform-box:fill-box;transform-origin:center}
#linkQr .pair-fold.f0{animation:pair-arrive 3.2s cubic-bezier(.22,.75,.25,1) infinite}
#linkQr .pair-fold.f1{animation:pair-echo 3.2s cubic-bezier(.22,.75,.25,1) infinite}
@keyframes pair-arrive{0%,58%,100%{transform:none}24%{transform:translateY(-3%) rotate(-4deg)}42%{transform:rotate(1deg)}}
@keyframes pair-echo{0%,60%,100%{transform:none}30%{transform:translate(-4%,-3%) rotate(7deg)}48%{transform:rotate(-2deg)}}
@media(prefers-reduced-motion:reduce){#linkQr .pair-fold.f0,#linkQr .pair-fold.f1{animation:none}}
