@media screen {
  .container { opacity: 1; }
}

* { -webkit-tap-highlight-color: rgba(0,0,0,0); }

.clickable,
[onclick],
[onmousedown],
[data-action] {
  touch-action: manipulation;
  cursor: pointer;
}

#spiders { display: none; }

* { scrollbar-width: none; }
:root { scrollbar-gutter: stable; }

/* Scrollbars: only these are real today */
::-webkit-scrollbar { width: 0; height: 0; background: transparent; }
/* ::-moz-scrollbar is not a thing, remove it */

:root {
  scrollbar-color: transparent transparent;
  scrollbar-width: none; /* 0 is invalid; use none */
}

::placeholder { color: inherit; opacity: .5; }

:focus,
input:focus { outline: none; }

.noselect,
.linkbut,
.edpane {
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none;
  user-select: none;
  -webkit-user-drag: none;     /* WebKit-only */
}

.txtselect {
  -webkit-user-select: text;
  user-select: text;
}

.hs { display: none; }

.backvid {
  position: absolute;
  top: -9999px;
  bottom: -9999px;
  left: -9999px;
  right: -9999px;
  margin: auto;
  width: 100%;
  height: auto;
}

.fadecol { transition: all .8s ease-in 0s; }

.ul { position: relative; }

.but:hover { filter: brightness(1.05); }

.but:active {
  cursor: pointer;
  filter: brightness(1);
  transition: filter 0.2s ease 0s;
}

.hotbut {
  will-change: transform;
  cursor: pointer;
  opacity: .85;
}

.hotbut:hover { opacity: 1; }
.hotbut:active { opacity: .7; }

.itembut:hover { opacity: .95; }

.flex-container { display: flex; flex-wrap: nowrap; }

iframe {
  background-color: rgb(100 100 100 / .2);
  padding: 0;
  outline: 0;
  width: 100%;
}

a:link,
a:visited {
  color: inherit;
  outline: none;
  text-decoration: none;
  transition: color 0.4s ease 0s;
}

a:hover {
  transition: color 0.3s ease 0s;
  cursor: pointer;
}

.dragpan {
  position: absolute;
  z-index: 1;
  display: none;
  cursor: pointer;
  background: none;
}

.refl {
  transform: scaleY(-1);
  -webkit-mask-image: linear-gradient(transparent, black); /* still WebKit-only */
}

/* /////////////////////////ANIMATIONS */

:root{ --v-amp: 10px;--m-spd: 5s;--m-rpt: infinite;--m-lin: linear;--m-dir: normal;--AL-anims: motion,creep,cycle,pulse}

.rot5s { animation: rot 5s infinite linear; }
@keyframes rot {from { transform: rotate(0deg)} to { transform: rotate(360deg)}}

.cycle {animation: cycle var(--m-spd) var(--m-rpt) var(--m-lin) var(--m-dir);animation-fill-mode: backwards; will-change: transform;}
@keyframes cycle{
  0%   { transform: translate(calc(var(--h-amp)*1px),0)rotate(0deg)}
  6.25%{ transform: translate(calc(var(--h-amp)*0.9239px),calc(var(--v-amp)*-0.3827px)) rotate(calc(var(--m-rot)*22.5deg))}
  12.5%{ transform: translate(calc(var(--h-amp)*0.7071px),calc(var(--v-amp)*-0.7071px)) rotate(calc(var(--m-rot)*45deg))}
  18.75%{transform: translate(calc(var(--h-amp)*0.3827px),calc(var(--v-amp)*-0.9239px)) rotate(calc(var(--m-rot)*67.5deg))}
  25%  { transform: translate(0,calc(var(--v-amp)*-1px)) rotate(calc(var(--m-rot)*90deg)) }
  31.25%{transform: translate(calc(var(--h-amp)*-0.3827px),calc(var(--v-amp)*-0.9239px)) rotate(calc(var(--m-rot)*112.5deg))}
  37.5%{ transform: translate(calc(var(--h-amp)*-0.7071px),calc(var(--v-amp)*-0.7071px)) rotate(calc(var(--m-rot)*135deg))}
  43.75%{transform: translate(calc(var(--h-amp)*-0.9239px),calc(var(--v-amp)*-0.3827px)) rotate(calc(var(--m-rot)*157.5deg))}
  50%  { transform: translate(calc(var(--h-amp)*-1px),0) rotate(calc(var(--m-rot)*180deg)) }
  56.25%{transform: translate(calc(var(--h-amp)*-0.9239px),calc(var(--v-amp)*0.3827px)) rotate(calc(var(--m-rot)*202.5deg))}
  62.5%{ transform: translate(calc(var(--h-amp)*-0.7071px),calc(var(--v-amp)*0.7071px)) rotate(calc(var(--m-rot)*225deg))}
  68.75%{transform: translate(calc(var(--h-amp)*-0.3827px),calc(var(--v-amp)*0.9239px)) rotate(calc(var(--m-rot)*247.5deg))}
  75%  { transform: translate(0,calc(var(--v-amp)*1px)) rotate(calc(var(--m-rot)*270deg))}
  81.25%{transform: translate(calc(var(--h-amp)*0.3827px), calc(var(--v-amp)*0.9239px)) rotate(calc(var(--m-rot)*292.5deg))}
  87.5%{ transform: translate(calc(var(--h-amp)*0.7071px), calc(var(--v-amp)*0.7071px)) rotate(calc(var(--m-rot)*315deg))}
  93.75%{transform: translate(calc(var(--h-amp)*0.9239px), calc(var(--v-amp)*0.3827px)) rotate(calc(var(--m-rot)*337.5deg))}
  100% { transform: translate(calc(var(--h-amp)*1px),0)rotate(calc(var(--m-rot)*360deg))}
}

.creep {transform: translate(calc(var(--h-amp)*1px),0) rotate(calc(var(--m-rot)*-.5deg));animation: creep var(--m-spd) var(--m-rpt) var(--m-lin) var(--m-dir);animation-fill-mode: backwards; will-change: transform;}
@keyframes creep{
  0% { transform: translate(calc(var(--h-amp)*1px),0) rotate(calc(var(--m-rot)*-.5deg))}
  6.25%{ transform: translate(calc(var(--h-amp)*0.9239px),calc(var(--v-amp)*-0.3827px))rotate(calc(var(--m-rot)*-.38deg))}
  12.5%{ transform: translate(calc(var(--h-amp)*0.7071px),calc(var(--v-amp)*-0.7071px))rotate(calc(var(--m-rot)*-.25deg))}
  18.75%{transform: translate(calc(var(--h-amp)*0.3827px),calc(var(--v-amp)*-0.9239px))rotate(calc(var(--m-rot)*-.12deg))}
  50% { transform: translate(0,calc(var(--v-amp)*-1px))rotate(0)}
  61.25%{transform: translate(calc(var(--h-amp)*-0.3827px),calc(var(--v-amp)*-0.9239px))rotate(calc(var(--m-rot)*.12deg))}
  77.5%{ transform: translate(calc(var(--h-amp)*-0.7071px),calc(var(--v-amp)*-0.7071px))rotate(calc(var(--m-rot)*.25deg))}
  83.75%{transform: translate(calc(var(--h-amp)*-0.9239px),calc(var(--v-amp)*-0.3827px))rotate(calc(var(--m-rot)*.38deg))}
  100% { transform: translate(calc(var(--h-amp)*-1px),0)rotate(calc(var(--m-rot)*.5deg))}
}

.motion {transform: translate(calc(var(--h-amp)*1px),calc(var(--v-amp)*-1px));animation: motion var(--m-spd) var(--m-rpt) var(--m-lin) var(--m-dir);animation-fill-mode: backwards; will-change: transform;}
@keyframes motion {
  0%   { transform: translate(calc(var(--h-amp)*1px),calc(var(--v-amp)*-1px)) rotate(0)}
  100%  { transform: translate(calc(var(--h-amp)*-1px),calc(var(--v-amp)*1px)) rotate(calc(var(--m-rot)*1deg))}
}

.pulse { animation: pulse var(--m-spd) var(--m-rpt) var(--m-lin) var(--m-dir);animation-fill-mode: backwards; will-change: transform;}
@keyframes pulse {
  0%   { filter: brightness(calc(var(--h-amp)*1))}
  70%  { filter: brightness(calc((1 + var(--v-amp))*1))}
  100%   { filter: calc(var(--h-amp)*1)}
}

/* Editable fields baseline (safe on Android + iOS) */
input, [contenteditable] {
  -webkit-appearance: none;
  appearance: none;
  border: 0;
  border-radius: 0;
  -webkit-user-select: text !important;
  user-select: text !important;
  -webkit-touch-callout: default;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  caret-color: inherit;
}

#map { position: absolute; top: 0; bottom: 0; width: 100%; }

body {
  margin: 0;
  overflow: hidden;
  -webkit-text-size-adjust: none; /* still relevant on iOS */
  top: 0px !important;
}

body > .skiptranslate > iframe.skiptranslate {
  position: absolute !important;
  width: 0 !important;
  height: 0 !important;
  border: 0 !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(100%) !important;
  overflow: hidden !important;
  white-space: nowrap !important;
}

#tl {
  display: block;
  position: fixed;
  width: 100%;
  height: 100%;
  overflow: hidden;
  text-align: center;
}

img[src=""] { display: none; }
img[mousevent] { cursor: pointer; }
img[onclick] { cursor: pointer; }

img,
svg {
  -webkit-user-select: none;
  user-select: none;
  -webkit-user-drag: none;      /* WebKit-only */
  -webkit-touch-callout: none;  /* iOS Safari */
}

#temphtml {
  position: absolute;
  display: none;
  overflow: hidden; /* 'none' is invalid */
}

#usertip {
  position: absolute;
  z-index: auto;
  opacity: 0;
  min-width: 20px;
  text-align: center;
  padding: 8px;
  font: 12px Arial;
  white-space: nowrap;
  pointer-events: none;
}

.toplayer {
  will-change: transform;
  position: fixed;
  display: block;
  z-index: 20;
  background: none;
  top: 0;
  left: 0;
  border: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  overflow: hidden;
  cursor: grab;
}

.toplayer:active { cursor: grabbing; }

#sitewin {
  display: block;
  position: fixed;
  padding: 0;
  border: 0;
  top: 0;
  left: 0;
  background: none;
  will-change: transform;
  transform: scale(1);
  transform-origin: top left;
  backface-visibility: hidden;
}

#layout {
  position: absolute;
  display: block;
  margin: 0;
  width: 765px;
  border: 0;
  will-change: transform;
  min-height: 20px;
}

#header {
  position: relative;
  z-index: 0;
  display: none;
  left: 0;
  padding: 0;
  min-width: 0;
  min-height: 0;
}

#skin { z-index: 1; position: absolute; text-align: center; }

#content {
  z-index: 2;
  min-height: 0;
  position: absolute;
  display: block;
  opacity: 0;
  border-style: solid;
  border: 0;
}

#strip { position: absolute; z-index: 5; display: block; }

#choice {
  position: absolute;
  z-index: 7;
  display: none;
  width: auto;
  white-space: nowrap;
}

#bardiv {
  z-index: 8;
  position: absolute;
  min-width: 0;
  display: none;
  will-change: transform;
}

#viewpan {
  position: fixed;
  z-index: 11;
  left: 0;
  bottom: 0;
  height: 100%;
  width: 100%;
  display: none;
  cursor: auto;
}

#viewer { z-index: 12; position: absolute; display: none; padding: 0; }
#sharestrip { z-index: 9; position: absolute; display: none; }

#addlinks { width: 50%; overflow: hidden; height: 0; }

#sizer {
  position: absolute;
  z-index: 950;
  display: none;
  height: 200px;
  width: 300px;
  background: none;
  pointer-events: none;
  box-sizing: content-box;
  border: 1px solid;
  cursor: pointer;
}

#editpanel { position: absolute; z-index: 3; display: none; min-height: 100px; }

#editpage {
  z-index: 2;
  padding: 8px 15px 10px 25px;
  top: 29px;
  width: 285px;
  border: 1px solid rgb(100 100 100 / .3);
}

#linkmaker {
  z-index: 3;
  cursor: auto;
  padding: 10px 20px 0 20px; /* fixed 'px' */
  top: 29px;
}

#editmess {
  z-index: 4;
  display: none;
  padding: 10px 20px 5px 20px;
  top: 29px;
}

#linktit,
#editprompt {
  display: flex;
  flex-wrap: nowrap;
  height: 25px;
  width: 100%;
  margin: 5px 0 15px 0;
}

#edtabs {
  display: block;
  cursor: pointer;
  height: 16px;
  width: 283px;
  background: none;
}

#editsave {
  display: block;
  position: absolute;
  z-index: 1;
  width: 282px;
  top: 188px;
  height: 40px;
  cursor: auto;
  background: none;
}

.edpane {
  position: absolute;
  width: 285px;
  height: 170px;
  cursor: auto;
}

.menrow {
  display: block;
  height: 25px;
  margin-bottom: 15px;
  width: 100%;
  background: none;
}

.edit-spec {
  display: inline-block;
  margin: 0 3px; /* fixed missing units */
  text-align: center;
  vertical-align: middle;
  background-color: transparent;
  height: 40px;
  width: 40px;
  outline: 0;
}

.edit-button {
  border-style: none;
  vertical-align: middle;
  cursor: pointer;
  height: 100%;
  width: 100%;
  outline: 0;
}

.edit-button-selected { filter: brightness(1.2); }

.edit-buthold {
  box-sizing: border-box;
  margin: -5px 1px 7px 1px; /* fixed missing units */
  display: inline-block;
  vertical-align: middle;
  text-align: center;
  height: 35px;
  width: 45px;
  background: linear-gradient(0deg, #888, #eee);
  outline: 0;
}

.flip-box {
  cursor: pointer;
  width: 325px;
  height: 249px;
  background: none;
  perspective: 1000px;
}

.flip-box-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.45s;
  transform-style: preserve-3d;
}

.flip-box-front {
  position: absolute;
  z-index: -1;
  width: 100%;
  height: 100%;
}

.flip-box-back {
  position: absolute;
  z-index: 10;
  background: none;
  cursor: pointer;
  transform: rotateY(180deg);
  width: 100%;
  height: 100%;
}

.goog-te-banner-frame,
.goog-tooltip,
.goog-tooltip:hover { visibility: hidden !important; }

.goog-text-highlight {
  pointer-events: inherit;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
}
