:root {
  --left-rgb: 226, 27, 77;
  --right-rgb: 29, 25, 172;
}

.prelogin-stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  display: none;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(1200px 700px at 18% 12%, rgba(64, 42, 169, 0.40) 0%, rgba(64, 42, 169, 0) 58%),
    radial-gradient(900px 640px at 84% 82%, rgba(64, 42, 169, 0.35) 0%, rgba(64, 42, 169, 0) 62%),
    linear-gradient(145deg, #0B092F 0%, #18104D 48%, #2B1D7A 100%);
}

.prelogin-stage.is-visible {
  display: flex;
}

.prelogin-stage__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(32px);
  opacity: 0.65;
}

.prelogin-stage__glow--a {
  width: 42vmax;
  height: 42vmax;
  left: -12vmax;
  top: -10vmax;
  background: radial-gradient(circle at center, rgba(85, 64, 210, 0.45) 0%, rgba(85, 64, 210, 0) 70%);
}

.prelogin-stage__glow--b {
  width: 38vmax;
  height: 38vmax;
  right: -10vmax;
  bottom: -12vmax;
  background: radial-gradient(circle at center, rgba(46, 115, 230, 0.35) 0%, rgba(46, 115, 230, 0) 72%);
}

.prelogin-stage__center {
  position: relative;
  z-index: 1;
  width: min(66vw, 420px);
  max-width: 86vw;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translateY(clamp(-120px, -14vh, -56px));
}

.prelogin-stage__logo {
  width: 100%;
  height: auto;
  opacity: 0.93;
  filter: drop-shadow(0 14px 34px rgba(0, 0, 0, 0.38));
}

@media (max-width: 680px) {
  .prelogin-stage__center {
    transform: translateY(clamp(-90px, -12vh, -42px));
  }
}

  body {
	margin: 0;
	padding-top: env(safe-area-inset-top);
	padding-bottom: env(safe-area-inset-bottom);
	height: 100vh;
	background: #222;
	transition: background 0.35s ease;
	font-family: -apple-system, BlinkMacSystemFont, sans-serif;
	overflow: hidden;
  }
  
  
  /* MAIN APP WRAPPER */
 .app-container {
   height: 100vh;
   display: flex;
   align-items: center;
   justify-content: center;
 }
 
 .layout {
   display: flex;
   flex-direction: column;
   align-items: center;
   gap: 40px;
 }
 
 @media (orientation: landscape) {
   .layout {
	 flex-direction: row;
	 width: 100%;
	 height: 100vh;
   }

   .left-panel,
   .right-panel {
	 width: 50%;
	 display: flex;
	 flex-direction: column;
	 align-items: center;
	 justify-content: center;
   }
 
   .left-panel {
	 flex-direction: column;
	 gap: 30px;
   }
 
   .logo {
	 max-width: 70%;
   }
 }

/* Overscan container */
  #video-wrapper {
	position: fixed;
	top: -20px;
	left: -20px;
	width: calc(100vw + 40px);
	height: calc(100vh + 40px);
	overflow: hidden;
	z-index: -1;
  isolation: isolate;
  }
  
  /* Video fills wrapper */
  #video-wrapper video {
	width: 100%;
	height: 100%;
	object-fit: cover;
  }

  #video-wrapper::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    background:
      radial-gradient(120% 90% at 18% 10%, var(--video-overlay-main, rgba(11, 9, 47, 0.42)) 0%, rgba(0, 0, 0, 0) 60%),
      radial-gradient(110% 85% at 84% 86%, var(--video-overlay-def, rgba(64, 42, 169, 0.36)) 0%, rgba(0, 0, 0, 0) 62%),
      linear-gradient(145deg, var(--video-overlay-main, rgba(11, 9, 47, 0.32)) 0%, var(--video-overlay-def, rgba(64, 42, 169, 0.28)) 100%);
  }
 

.logo-wrapper {
  width: 100%;
  text-align: center;
  margin-bottom: 0px; /* space above slider */
}

.vote-closed-card {
  width: min(72vw, 680px);
  max-width: calc(100% - 24px);
  margin: 0 auto;
  padding: 20px 24px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  box-sizing: border-box;
  text-align: center;
}

#vote-closed-card #vote-closed-title {
  margin-bottom: 12px;
  height: auto;
  line-height: 1.15;
  white-space: normal;
  overflow-wrap: anywhere;
}

#vote-closed-card #vote-closed-text {
  line-height: 1.4;
  white-space: normal;
  overflow-wrap: anywhere;
}

@media (max-width: 800px) {
  .vote-closed-card {
    width: min(92vw, 620px);
    padding: 16px 16px;
    border-radius: 18px;
  }
}

@media (orientation: landscape) {
  .vote-closed-card {
    width: min(94%, 620px);
    max-width: calc(100% - 20px);
    padding: 14px 16px;
  }
}

.logo {
  width: 70%;
  max-width: 250px;
  opacity: 0.95;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.35));
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.logo:hover {
  opacity: 1;
  transform: scale(1.02);
}


.logo.is-breathing {
  animation:
	logoBreath 3.5s ease-in-out infinite,
	logoGlowSweep 5s linear infinite;
}

@keyframes logoBreath {
  0%, 100% {
	opacity: 0.9;
	transform: scale(1);
	filter:
	  drop-shadow(0 4px 12px rgba(0,0,0,0.35))
	  drop-shadow(0 0 6px rgba(180,220,255,0.15));
  }
  50% {
	opacity: 1;
	transform: scale(1.015);
	filter:
	  drop-shadow(0 6px 18px rgba(0,0,0,0.4))
	  drop-shadow(0 0 14px rgba(180,220,255,0.35));
  }
}

@keyframes logoGlowSweep {
  0% {
	filter:
	  drop-shadow(0 4px 12px rgba(0,0,0,0.35))
	  drop-shadow(-30px 0 12px rgba(200,230,255,0));
  }

  70% {
	filter:
	  drop-shadow(0 4px 12px rgba(0,0,0,0.35))
	  drop-shadow(-30px 0 12px rgba(200,230,255,0));
  }

  85% {
	filter:
	  drop-shadow(0 6px 18px rgba(0,0,0,0.4))
	  drop-shadow(30px 0 18px rgba(200,230,255,0.55));
  }

  100% {
	filter:
	  drop-shadow(0 4px 12px rgba(0,0,0,0.35))
	  drop-shadow(30px 0 12px rgba(200,230,255,0));
  }
}


@keyframes rotate360 {
	from {
		transform: rotate(0deg);
	}
	to {
		transform: rotate(360deg);
	}
}

.rotate {
	animation: rotate360 0.6s linear;
}



.hold-button {
  pointer-events: none;
  -webkit-touch-callout: none; /* Disable the long-press menu */
  user-select: none; /* Prevent selection */
  position:relative;
  margin:auto;
  top: 20%;
  z-index: 2;
  color: white;
  font-weight: bold;
  font-size: 24px;
}

  /* --- Switch Container --- */
  .switch-wrapper {
	width: 260px;
	height: 100px;
	border-radius: 60px;
	position: relative;
	backdrop-filter: blur(20px);
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.15);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
	overflow: hidden;
  }

  /* --- Background Track --- */
  .track {
	width: 100%;
	height: 100%;
	background: linear-gradient(
	  to right,
	  rgba(var(--left-rgb), 0.7),
	  rgba(255, 255, 255, 0.15),
	  rgba(var(--right-rgb), 0.7)
	);

	border-radius: 60px;
  }

  /* --- Thumb / Handle --- */
  .thumb {
	width: 70px;
	height: 70px;
	background: rgba(255, 255, 255, 0.35);
	backdrop-filter: blur(15px);
	-webkit-backdrop-filter: blur(15px);

	border: 1px solid rgba(255, 255, 255, 0.65);
	border-radius: 50%;
	position: absolute;
	top: 15px;
	left: calc(50% - 35px);

	transition: left 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
	box-shadow:
	  0 6px 20px rgba(0, 0, 0, 0.25),
	  0 0 10px rgba(255, 255, 255, 0.6) inset;
	touch-action: none;
  }

  .thumb:active {
	background: rgba(255, 255, 255, 0.5);
	box-shadow:
	  0 4px 12px rgba(0, 0, 0, 0.25),
	  0 0 15px rgba(255, 255, 255, 0.9) inset;
  }
  
  /* --- Loading State --- */
@property --angle {
	syntax: "<angle>";
	inherits: false;
	initial-value: 0deg;
  }


.switch-wrapper.is-loading::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 60px;
	pointer-events: none;
	padding: 2px;
  
	background: conic-gradient(
	  from var(--angle),
	  transparent 0deg,
	  rgba(255, 255, 255, 0.9) 40deg,
	  transparent 80deg
	);
  
	-webkit-mask:
	  linear-gradient(#fff 0 0) content-box,
	  linear-gradient(#fff 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
  
	animation: glowSweep 1.4s linear infinite;
  }

@keyframes glowSweep {
	to {
	  --angle: 360deg;
	}
  }

.switch-wrapper.is-loading .thumb {
	pointer-events: none;
	animation: thumbPulse 1.2s ease-in-out infinite;
	box-shadow:
	  0 0 22px rgba(140,190,255,0.8),
	  0 0 14px rgba(255,255,255,0.9) inset;
  }
  
  @keyframes thumbPulse {
	0%, 100% {
	  transform: scale(1);
	  opacity: 0.85;
	}
	50% {
	  transform: scale(1.05);
	  opacity: 1;
	}
  }
  
  .switch-wrapper.is-disabled {
	pointer-events: none;
	opacity: 0.85;
  }

.thumb-text {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-weight: bold;
	color: #fff;
	font-size: 25px;
	pointer-events: none;
  }

.like-layout {
  gap: 72px;
}

#like-vote-active .right-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  text-align: center;
}

#like-vote-active .like-title-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
}

#like-vote-active .like-title {
  height: auto;
  max-width: 320px;
  color: var(--like-title-color, #ffffff) !important;
  margin-bottom: 12px !important;
}

#like-vote-active #like-ptcp-title {
  display: block;
  width: 100%;
  text-align: center;
  color: inherit !important;
}

#like-vote-active .like-logo.like-participant-photo {
  width: var(--like-action-size, 200px);
  height: var(--like-action-size, 200px);
  object-fit: cover;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.35));
  opacity: 1;
}

#like-vote-active .like-logo.like-participant-photo--circle {
  border-radius: 999px;
}

#like-vote-active .like-logo.like-participant-photo--rounded {
  border-radius: 22px;
}

#vote-active #logo.vote-participant-photo,
#poll-vote-active .poll-logo.vote-participant-photo,
#checklist-vote-active .checklist-logo.vote-participant-photo,
#params-vote-active .params-logo.vote-participant-photo,
#star-vote-active .star-logo.vote-participant-photo {
  width: var(--like-action-size, 200px);
  max-width: var(--like-action-size, 200px);
  height: var(--like-action-size, 200px);
  object-fit: cover;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.35));
  opacity: 1;
}

#vote-active #logo.vote-participant-photo--circle,
#poll-vote-active .poll-logo.vote-participant-photo--circle,
#checklist-vote-active .checklist-logo.vote-participant-photo--circle,
#params-vote-active .params-logo.vote-participant-photo--circle,
#star-vote-active .star-logo.vote-participant-photo--circle {
  border-radius: 999px;
}

#vote-active #logo.vote-participant-photo--rounded,
#poll-vote-active .poll-logo.vote-participant-photo--rounded,
#checklist-vote-active .checklist-logo.vote-participant-photo--rounded,
#params-vote-active .params-logo.vote-participant-photo--rounded,
#star-vote-active .star-logo.vote-participant-photo--rounded {
  border-radius: 22px;
}

#like-action-stage {
  --like-action-size: 200px;
  position: relative;
  width: var(--like-action-size);
  height: var(--like-action-size);
  display: flex;
  align-items: center;
  justify-content: center;
}

#like-vote-active .like-action-state {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.96);
  visibility: hidden;
  pointer-events: none;
  transition: opacity 220ms ease, transform 220ms ease, visibility 0s linear 220ms;
}

#like-vote-active .like-action-state.is-active {
  opacity: 1;
  transform: scale(1);
  visibility: visible;
  pointer-events: auto;
  transition: opacity 220ms ease, transform 220ms ease;
}

#like-vote-active.like-logo-hidden .left-panel {
  display: none;
}

#like-vote-active.like-logo-hidden .right-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  text-align: center;
}

#like-vote-active.like-logo-hidden .like-title {
  margin-bottom: 8px !important;
}

#like-vote-active.like-logo-hidden .like-layout {
  width: 100%;
  justify-content: center;
}

#like-vote-active.like-logo-hidden #like-action-stage {
  margin-left: auto;
  margin-right: auto;
}

@media (orientation: landscape) {
  .like-layout {
    gap: 28px;
  }

  #like-vote-active .right-panel {
    width: 50%;
  }

  #like-vote-active .like-title-wrap {
    width: 100%;
  }

  #like-vote-active.like-logo-hidden .like-layout {
    flex-direction: column;
    height: auto;
  }

#like-vote-active.like-logo-hidden .right-panel {
    width: 100%;
  }
}

.poll-layout {
  gap: 54px;
}

.checklist-layout {
  gap: 54px;
}

.params-layout {
  gap: 54px;
}

.star-layout {
  gap: 54px;
}

.question-layout {
  gap: 54px;
}

#poll-vote-active .poll-right-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: min(100%, 500px);
  text-align: center;
  position: relative;
}

#star-vote-active .star-right-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: min(100%, 420px);
  text-align: center;
  position: relative;
}

#checklist-vote-active .checklist-right-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: min(100%, 500px);
  text-align: center;
  position: relative;
}

#params-vote-active .params-right-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: min(100%, 500px);
  text-align: center;
  position: relative;
}

#question-vote-active .question-right-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: min(100%, 420px);
  text-align: center;
  position: relative;
}

#poll-vote-active .poll-title-wrap {
  width: 100%;
}

#star-vote-active .star-title-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
}

#checklist-vote-active .checklist-title-wrap {
  width: 100%;
}

#params-vote-active .params-title-wrap {
  width: 100%;
}

#question-vote-active .question-title-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
}

#poll-vote-active .poll-title {
  height: auto;
  max-width: 440px;
  color: var(--poll-title-color, #ffffff) !important;
  margin-bottom: 0 !important;
}

#poll-vote-active .poll-title a {
  color: inherit !important;
}

#star-vote-active .star-title {
  height: auto;
  max-width: 360px;
  width: 100%;
  text-align: center;
  color: var(--star-title-color, #ffffff) !important;
  margin-bottom: 0 !important;
}

#star-vote-active #star-ptcp-title {
  color: inherit !important;
}

#star-vote-active .star-title a {
  color: inherit !important;
}

#checklist-vote-active .checklist-title {
  height: auto;
  max-width: 440px;
  color: var(--checklist-title-color, #ffffff) !important;
  margin-bottom: 0 !important;
}

#checklist-vote-active .checklist-title a {
  color: inherit !important;
}

#params-vote-active .params-title {
  height: auto;
  max-width: 440px;
  color: var(--params-title-color, #ffffff) !important;
  margin-bottom: 0 !important;
}

#params-vote-active .params-title a {
  color: inherit !important;
}

#question-vote-active .question-title {
  height: auto;
  max-width: 360px;
  width: 100%;
  text-align: center;
  color: var(--question-title-color, #ffffff) !important;
  margin-bottom: 0 !important;
}

#question-vote-active .question-title a {
  color: inherit !important;
}

#poll-vote-active .poll-options {
  width: min(100%, 440px);
  display: grid;
  gap: 12px;
  max-height: min(46vh, 360px);
  overflow-y: auto;
  padding-right: 4px;
  overscroll-behavior: contain;
}

#checklist-vote-active .checklist-options {
  width: min(100%, 440px);
  display: grid;
  gap: 12px;
  max-height: min(46vh, 360px);
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 4px;
  overscroll-behavior: contain;
  touch-action: pan-y;
}

#params-vote-active .params-options {
  width: min(100%, 440px);
  display: grid;
  gap: 12px;
  max-height: min(46vh, 360px);
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 4px;
  overscroll-behavior: contain;
}

.params-submit-wrap {
  width: min(100%, 440px);
  margin-top: 12px;
}

#star-vote-active .star-options {
  width: min(100%, 360px);
  display: flex;
  justify-content: center;
  align-items: center;
}

.poll-option {
  width: 100%;
  display: block;
  position: relative;
  padding: 3px;
  border-radius: 22px;
  border: 0;
  background: conic-gradient(from 0deg, var(--poll-accent, #22c55e) var(--poll-progress, 0%), rgba(255,255,255,0.12) 0%);
  box-shadow: none;
  cursor: pointer;
  transition: transform 0.18s ease, opacity 0.18s ease, background 0.18s ease;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  touch-action: manipulation;
}

.star-rating {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 18px;
  border-radius: 999px;
  background: var(--star-surface-bg, rgba(255,255,255,0.08));
  border: 1px solid var(--star-surface-border, rgba(255,255,255,0.14));
  box-shadow: 0 12px 30px rgba(0,0,0,0.16);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  touch-action: manipulation;
}

.star-rating__button {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--star-idle-color, rgba(255,255,255,0.24));
  cursor: pointer;
  transition: transform 0.18s ease, color 0.18s ease, opacity 0.18s ease;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  touch-action: manipulation;
}

.star-rating__button:hover {
  transform: translateY(-1px) scale(1.03);
}

.star-rating__button:disabled {
  cursor: default;
}

.star-rating__button.is-selected,
.star-rating__button.is-hover,
.star-rating__button.is-submitting {
  color: var(--star-accent, #F59E0B);
}

.star-rating__button.is-hover .star-rating__icon {
  filter: drop-shadow(0 0 10px rgba(var(--star-accent-rgb, 245,158,11), 0.55)) drop-shadow(0 8px 18px rgba(0,0,0,0.18));
}

.star-rating__icon {
  font-size: 52px;
  line-height: 1;
  -webkit-text-stroke: 1px var(--star-idle-stroke-color, rgba(255,255,255,0.45));
  filter: var(--star-idle-shadow, drop-shadow(0 10px 20px rgba(0,0,0,0.22)));
}

.poll-option:disabled {
  cursor: default;
  opacity: 0.65;
}

.poll-option__surface {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 19px;
  border: 1px solid var(--poll-option-surface-border, rgba(255,255,255,0.14));
  background: var(--poll-option-surface-bg, rgba(255,255,255,0.08));
  color: var(--poll-option-text, #fff);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-sizing: border-box;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
  user-select: none;
  -webkit-user-select: none;
}

.poll-option.is-selected .poll-option__surface {
  border-color: rgba(var(--poll-accent-rgb, 34,197,94), 0.85);
  background: rgba(var(--poll-accent-rgb, 34,197,94), 0.22);
  box-shadow: 0 0 0 1px rgba(var(--poll-accent-rgb, 34,197,94), 0.22) inset;
}

.poll-option.is-holding .poll-option__surface {
  border-color: rgba(255,255,255,0.26);
  background: rgba(255,255,255,0.12);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.12) inset;
}

.poll-option.is-submitting {
  opacity: 0.85;
}

.poll-option__index {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.14);
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
}

.poll-option__label {
  text-align: left;
  font-size: 20px;
  line-height: 1.25;
}

.checklist-option {
  width: 100%;
  display: block;
  position: relative;
  padding: 3px;
  box-sizing: border-box;
  border-radius: 22px;
  border: 0;
  background: rgba(255,255,255,0.12);
  box-shadow: none;
  cursor: pointer;
  transition: transform 0.18s ease, opacity 0.18s ease, background 0.18s ease;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  touch-action: pan-y;
}

.checklist-option__checkbox {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.checklist-option__surface {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 19px;
  border: 1px solid var(--checklist-option-surface-border, rgba(255,255,255,0.14));
  background: var(--checklist-option-surface-bg, rgba(255,255,255,0.08));
  color: var(--checklist-option-text, #fff);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-sizing: border-box;
  overflow: hidden;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.checklist-option.is-selected .checklist-option__surface {
  border-color: rgba(var(--checklist-accent-rgb, 34,197,94), 0.85);
  background: rgba(var(--checklist-accent-rgb, 34,197,94), 0.22);
  box-shadow: 0 0 0 1px rgba(var(--checklist-accent-rgb, 34,197,94), 0.22) inset;
}

.checklist-option__box {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255,255,255,0.14);
  font-size: 19px;
  font-weight: 800;
  line-height: 1;
  flex-shrink: 0;
}

.checklist-option__label {
  flex: 1;
  min-width: 0;
  text-align: left;
  font-size: 20px;
  line-height: 1.25;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.checklist-submit-button {
  width: 100%;
  height: 56px;
  margin-top: 6px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(123,63,228,0.95), rgba(62,199,255,0.95));
  color: #fff;
  font: 700 20px/1 -apple-system, BlinkMacSystemFont, sans-serif;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(0,0,0,0.22);
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.checklist-submit-wrap {
  width: min(100%, 440px);
  margin-top: 12px;
}

.checklist-submit-button:disabled,
.checklist-submit-button.is-loading {
  opacity: 0.6;
  cursor: default;
  transform: none;
}

.params-option {
  width: 100%;
  padding: 14px 16px;
  border-radius: 19px;
  border: 1px solid var(--params-option-surface-border, rgba(255,255,255,0.14));
  background: var(--params-option-surface-bg, rgba(255,255,255,0.08));
  color: var(--params-option-text, #fff);
  box-sizing: border-box;
  box-shadow: none;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.params-option__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.params-option__label {
  text-align: left;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 600;
}

.params-option__value {
  font-size: 15px;
  line-height: 1;
  font-weight: 700;
  color: var(--params-accent, #4ade80);
  white-space: nowrap;
}

.params-option__slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--params-accent-dark, #15803d) var(--params-progress, 0%), var(--params-track-bg, rgba(255,255,255,0.20)) var(--params-progress, 0%));
  outline: none;
}

.params-option__slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.85);
  background: var(--params-accent, #22c55e);
  box-shadow: 0 8px 16px rgba(0,0,0,0.28);
  cursor: pointer;
}

.params-option__slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.85);
  background: var(--params-accent, #22c55e);
  box-shadow: 0 8px 16px rgba(0,0,0,0.28);
  cursor: pointer;
}

.params-submit-button {
  width: 100%;
  height: 56px;
  margin-top: 6px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(123,63,228,0.95), rgba(62,199,255,0.95));
  color: #fff;
  font: 700 20px/1 -apple-system, BlinkMacSystemFont, sans-serif;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(0,0,0,0.22);
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.params-submit-button:disabled,
.params-submit-button.is-loading {
  opacity: 0.6;
  cursor: default;
  transform: none;
}

@media (hover: hover) and (pointer: fine) {
  .poll-option:hover {
    transform: translateY(-1px);
  }

  .poll-option:hover .poll-option__surface {
    border-color: rgba(var(--poll-accent-rgb, 34,197,94), 0.5);
    background: rgba(var(--poll-accent-rgb, 34,197,94), 0.14);
  }

  .checklist-option:hover {
    transform: translateY(-1px);
  }

  .checklist-option:hover .checklist-option__surface {
    border-color: rgba(var(--checklist-accent-rgb, 34,197,94), 0.5);
    background: rgba(var(--checklist-accent-rgb, 34,197,94), 0.14);
  }
}

#poll-vote-active .poll-postvote {
  width: min(100%, 440px);
}

#checklist-vote-active .checklist-postvote {
  width: min(100%, 440px);
}

#params-vote-active .params-postvote {
  width: min(100%, 440px);
}

#star-vote-active .star-postvote {
  width: min(100%, 360px);
}

#question-vote-active .question-form-stage,
#question-vote-active .question-feedback-stage {
  width: min(100%, 360px);
}

.question-form-stage {
  display: grid;
  gap: 14px;
}

.question-input-shell {
  display: block;
  width: 100%;
  padding: 14px;
  box-sizing: border-box;
  border-radius: 26px;
  background: var(--question-surface-bg, rgba(255,255,255,0.08));
  border: 1px solid var(--question-surface-border, rgba(255,255,255,0.14));
  box-shadow: 0 12px 30px rgba(0,0,0,0.16);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.question-input {
  width: 100%;
  min-height: 148px;
  padding: 0;
  border: 0;
  resize: none;
  outline: none;
  background: transparent;
  color: var(--question-text-color, #ffffff);
  font: 500 22px/1.35 -apple-system, BlinkMacSystemFont, sans-serif;
  box-sizing: border-box;
}

.question-input::placeholder {
  color: var(--question-placeholder-color, rgba(255,255,255,0.45));
}

.question-form-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.question-char-counter {
  font-size: 14px;
  color: var(--question-muted-color, rgba(255,255,255,0.72));
}

.question-send-button {
  min-width: 124px;
  height: 54px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(123,63,228,0.95), rgba(62,199,255,0.95));
  color: #fff;
  font: 700 18px/1 -apple-system, BlinkMacSystemFont, sans-serif;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(0,0,0,0.22);
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.question-send-button:hover {
  transform: translateY(-1px);
}

.question-send-button:disabled,
.question-send-button.is-loading {
  opacity: 0.6;
  cursor: default;
  transform: none;
}

.question-feedback-stage {
  min-height: 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.question-thank-you-text {
  margin: 0;
  color: var(--question-text-color, #ffffff);
  font: 700 28px/1.2 -apple-system, BlinkMacSystemFont, sans-serif;
  text-align: center;
}

#poll-vote-active .poll-feedback-card {
  width: 100%;
}

#checklist-vote-active .checklist-feedback-card {
  width: 100%;
}

#params-vote-active .params-feedback-card {
  width: 100%;
}

#star-vote-active .star-feedback-card {
  width: 100%;
}

#poll-vote-done {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 220px;
}

#checklist-vote-done {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 220px;
}

#params-vote-done {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 220px;
}

#star-vote-done {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 220px;
}

.poll-results-list {
  display: grid;
  gap: 14px;
  max-height: min(46vh, 360px);
  overflow-y: auto;
  padding-right: 4px;
  overscroll-behavior: contain;
}

.checklist-results-list {
  display: grid;
  gap: 14px;
  max-height: min(46vh, 360px);
  overflow-y: auto;
  padding-right: 4px;
  overscroll-behavior: contain;
}

.params-results-list {
  display: grid;
  gap: 14px;
  max-height: min(46vh, 360px);
  overflow-y: auto;
  padding-right: 4px;
  overscroll-behavior: contain;
}

body.params-results-scroll {
  overflow-y: auto;
}

#params-vote-active.params-mode-results {
  align-items: flex-start;
  justify-content: center;
  padding-top: max(12px, env(safe-area-inset-top));
  padding-bottom: max(12px, env(safe-area-inset-bottom));
  box-sizing: border-box;
}

#params-vote-active.params-mode-results .params-layout {
  gap: 16px;
}

#params-vote-active.params-mode-results .params-right-panel {
  justify-content: flex-start;
  gap: 12px;
}

#params-vote-active.params-mode-results .params-postvote {
  display: block !important;
}

#params-vote-active.params-mode-results #params-results {
  display: block !important;
}

#params-vote-active.params-mode-results .params-results-list {
  max-height: min(52vh, 430px);
}

.star-results-summary {
  display: none;
}

.star-results-list {
  display: flex;
  justify-content: center;
}

.star-average-meta {
  font-size: 14px;
  color: #fff;
  opacity: 0.9;
}

.star-average-card {
  width: min(100%, 400px);
  padding: 22px 22px 18px;
  border-radius: 28px;
  background: var(--star-results-surface-bg, rgba(0,0,0,0.16));
  border: 1px solid var(--star-results-surface-border, rgba(255,255,255,0.12));
  box-shadow: 0 12px 30px rgba(0,0,0,0.16);
  text-align: center;
  color: #fff;
}

.star-average-visual {
  width: 100%;
  margin: 0 auto;
}

.star-average-row {
  width: min(100%, 300px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  align-items: center;
}

.star-average-star {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  display: block;
}

.star-average-star__svg {
  display: block;
  width: 100%;
  height: 100%;
}

.star-average-star__base {
  fill: rgba(255,255,255,0.24);
}

.star-average-star__fill {
  fill: var(--star-accent, #F59E0B);
}

.star-average-meta--inside {
  margin-top: 12px;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  opacity: 1;
}

.poll-result-item {
  padding: 14px 16px;
  border-radius: 22px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  text-align: left;
}

.poll-result-item.is-selected {
  border-color: rgba(var(--poll-accent-rgb, 34,197,94), 0.8);
  box-shadow: 0 0 0 1px rgba(var(--poll-accent-rgb, 34,197,94), 0.22) inset;
}

.poll-result-item__meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.poll-result-item__label {
  font-size: 17px;
  line-height: 1.25;
  color: var(--poll-result-text, #fff);
}

.poll-result-item__value {
  font-size: 17px;
  font-weight: 700;
  color: var(--poll-accent, #4ade80);
}

.poll-result-item__bar {
  height: 10px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255,255,255,0.12);
}

.poll-result-item__fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--poll-accent-dark, #15803d), var(--poll-accent, #4ade80));
}

.poll-result-item__count {
  margin-top: 8px;
  font-size: 12px;
  opacity: 0.8;
  color: var(--poll-result-text, #fff);
}

.checklist-result-item {
  padding: 14px 16px;
  border-radius: 22px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  text-align: left;
}

.checklist-result-item.is-selected {
  border-color: rgba(var(--checklist-accent-rgb, 34,197,94), 0.8);
  box-shadow: 0 0 0 1px rgba(var(--checklist-accent-rgb, 34,197,94), 0.22) inset;
}

.checklist-result-item__meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.checklist-result-item__label {
  font-size: 17px;
  line-height: 1.25;
  color: var(--checklist-result-text, #fff);
}

.checklist-result-item__value {
  font-size: 17px;
  font-weight: 700;
  color: var(--checklist-accent, #4ade80);
}

.checklist-result-item__bar {
  height: 10px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255,255,255,0.12);
}

.checklist-result-item__fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--checklist-accent-dark, #15803d), var(--checklist-accent, #4ade80));
}

.checklist-result-item__count {
  margin-top: 8px;
  font-size: 12px;
  opacity: 0.8;
  color: var(--checklist-result-text, #fff);
}

.params-result-item {
  padding: 14px 16px;
  border-radius: 22px;
  background: var(--params-result-surface-bg, rgba(255,255,255,0.08));
  border: 1px solid var(--params-result-surface-border, rgba(255,255,255,0.12));
  text-align: left;
}

.params-result-item__meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.params-result-item__label {
  font-size: 17px;
  line-height: 1.25;
  color: var(--params-result-text, #fff);
}

.params-result-item__value {
  font-size: 17px;
  font-weight: 700;
  color: var(--params-accent, #4ade80);
}

.params-result-item__bar {
  height: 10px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255,255,255,0.12);
}

.params-result-item__fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--params-accent-dark, #15803d), var(--params-accent, #4ade80));
}

.params-result-item__count {
  margin-top: 8px;
  font-size: 12px;
  opacity: 0.8;
  color: var(--params-result-text, #fff);
}

@media (orientation: portrait) {
  #poll-vote-active .poll-right-panel,
  #checklist-vote-active .checklist-right-panel,
  #params-vote-active .params-right-panel {
    width: clamp(320px, 70vw, 760px);
  }

  #poll-vote-active .poll-title,
  #checklist-vote-active .checklist-title,
  #params-vote-active .params-title {
    max-width: clamp(320px, 70vw, 760px);
  }

  #poll-vote-active .poll-options,
  #poll-vote-active .poll-postvote,
  #checklist-vote-active .checklist-options,
  #checklist-vote-active .checklist-postvote,
  #params-vote-active .params-options,
  #params-vote-active .params-postvote {
    width: clamp(320px, 70vw, 760px);
  }
}

@media (orientation: landscape) {
  .poll-layout {
    gap: 28px;
  }

  .checklist-layout {
    gap: 28px;
  }

  .params-layout {
    gap: 28px;
  }

  .star-layout {
    gap: 28px;
  }

  #poll-vote-active.poll-mode-checkmark .poll-right-panel {
    min-height: 420px;
  }

  #star-vote-active.star-mode-checkmark .star-right-panel {
    min-height: 420px;
  }

  #checklist-vote-active.checklist-mode-checkmark .checklist-right-panel {
    min-height: 420px;
  }

  #params-vote-active.params-mode-checkmark .params-right-panel {
    min-height: 420px;
  }

  #poll-vote-active.poll-mode-checkmark .poll-title-wrap {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(100%, 360px);
    transform: translate(-50%, -190px);
    margin: 0;
  }

  #star-vote-active.star-mode-checkmark .star-title-wrap {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(100%, 360px);
    transform: translate(-50%, -190px);
    margin: 0;
  }

  #checklist-vote-active.checklist-mode-checkmark .checklist-title-wrap {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(100%, 360px);
    transform: translate(-50%, -190px);
    margin: 0;
  }

  #params-vote-active.params-mode-checkmark .params-title-wrap {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(100%, 360px);
    transform: translate(-50%, -190px);
    margin: 0;
  }

  #poll-vote-active.poll-mode-checkmark .poll-postvote {
    width: 100%;
    min-height: 420px;
    display: flex !important;
    align-items: center;
    justify-content: center;
  }

  #star-vote-active.star-mode-checkmark .star-postvote {
    width: 100%;
    min-height: 420px;
    display: flex !important;
    align-items: center;
    justify-content: center;
  }

  #checklist-vote-active.checklist-mode-checkmark .checklist-postvote {
    width: 100%;
    min-height: 420px;
    display: flex !important;
    align-items: center;
    justify-content: center;
  }

  #params-vote-active.params-mode-checkmark .params-postvote {
    width: 100%;
    min-height: 420px;
    display: flex !important;
    align-items: center;
    justify-content: center;
  }

  #poll-vote-active.poll-mode-checkmark #poll-vote-done {
    min-height: 0;
  }

  #star-vote-active.star-mode-checkmark #star-vote-done {
    min-height: 0;
  }

  #checklist-vote-active.checklist-mode-checkmark #checklist-vote-done {
    min-height: 0;
  }

  #params-vote-active.params-mode-checkmark #params-vote-done {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  #poll-vote-active .poll-right-panel {
    width: clamp(300px, 70vw, 520px);
    gap: 14px;
  }

  #checklist-vote-active .checklist-right-panel {
    width: clamp(300px, 70vw, 520px);
    gap: 14px;
  }

  #star-vote-active .star-right-panel {
    width: min(100%, 88vw);
    gap: 14px;
  }

  #params-vote-active .params-right-panel {
    width: clamp(300px, 70vw, 520px);
    gap: 14px;
  }

  #params-vote-active.params-mode-results .left-panel .logo {
    width: min(44vw, 180px);
    height: min(44vw, 180px);
  }

  #params-vote-active.params-mode-results .params-title {
    max-width: clamp(300px, 70vw, 520px);
  }

  #poll-vote-active .poll-options,
  #poll-vote-active .poll-postvote {
    width: clamp(300px, 70vw, 520px);
  }

  #checklist-vote-active .checklist-options,
  #checklist-vote-active .checklist-postvote {
    width: clamp(300px, 70vw, 520px);
  }

  #params-vote-active .params-options,
  #params-vote-active .params-postvote {
    width: clamp(300px, 70vw, 520px);
  }

  #star-vote-active .star-options,
  #star-vote-active .star-postvote {
    width: min(100%, 88vw);
  }

  .poll-option {
    border-radius: 18px;
  }

  .poll-option__surface {
    padding: 14px 15px;
    gap: 12px;
    border-radius: 15px;
  }

  .poll-option__label {
    font-size: 17px;
  }

  .checklist-option {
    border-radius: 18px;
  }

  .checklist-option__surface {
    padding: 14px 15px;
    gap: 12px;
    border-radius: 15px;
  }

  .checklist-option__label {
    font-size: 17px;
  }

  .checklist-result-item__label,
  .checklist-result-item__value {
    font-size: 15px;
  }

  .poll-result-item__label,
  .poll-result-item__value {
    font-size: 15px;
  }

  #poll-vote-active .poll-options,
  .poll-results-list {
    max-height: min(42vh, 320px);
  }

  #checklist-vote-active .checklist-options,
  .checklist-results-list {
    max-height: min(42vh, 320px);
  }

  #params-vote-active .params-options {
    max-height: min(42vh, 320px);
  }

  .star-rating {
    gap: 6px;
    padding: 12px 14px;
  }

  .star-rating__button {
    width: 44px;
    height: 44px;
  }

  .star-rating__icon {
    font-size: 38px;
  }

  .star-average-card {
    padding: 18px 16px;
  }

  .star-average-row {
    width: min(100%, 240px);
    gap: 8px;
  }

  .star-average-meta--inside {
    font-size: 16px;
  }
}


  @font-face {
	src: url("../fonts/SansSerifBookFLF.ttf");
	font-family: "AmstelvarAlpha";
	font-style: normal;
  }
  
  @font-face {
	  font-family: "Owners";
	  src: url("../fonts/Owners-Medium.eot");
	  src: url("../fonts/Owners-Medium.eot?#iefix") format('embedded-opentype'),
		  url("../fonts/Owners-Medium.woff2") format('woff2'),
		  url("../fonts/Owners-Medium.woff") format('woff'),
		  url("../fonts/Owners-Medium.ttf") format('truetype'),
		  url("../fonts/Owners-Medium.svg#Owners-Medium") format('svg');
	  font-weight: 500;
	  font-style: normal;
	  font-display: swap;
  }
  
  @font-face {
	  font-family: 'Painting With Chocolate';
	  src: url('../fonts/PaintingWithChocolate.eot');
	  src: url('../fonts/PaintingWithChocolate.eot?#iefix') format('embedded-opentype'),
		  url('../fonts/PaintingWithChocolate.woff2') format('woff2'),
		  url('../fonts/PaintingWithChocolate.woff') format('woff'),
		  url('../fonts/PaintingWithChocolate.ttf') format('truetype'),
		  url('../fonts/PaintingWithChocolate.svg#PaintingWithChocolate') format('svg');
	  font-weight: normal;
	  font-style: normal;
	  font-display: swap;
  }
  
  .RealServerTime{
  font-family:'Painting With Chocolate';
  font-size: 50pt;
  color:white;
  }
  
 
.title_ptcp {
	font-family:"Owners";
	font-size: 12pt;
	font-style: normal;
	color:#ffffff;
	margin: 0;
	padding: 0;
	line-height: 1; 
	height: 12pt;
	overflow: hidden;
	}

#vote-active .title_ptcp,
#vote-active .title_ptcp a {
  color: var(--switch-title-color, #ffffff) !important;
}
	
  .title_ptcp_big {
	font-family:"Owners";
	font-size: 21pt;
	font-style: normal;
	color:#ffffff;
	margin: 0;
	padding: 0;
	line-height: 1; 
	height: 21pt;
	overflow: hidden;
	}
	
	.title_ptcp_vs {
	font-family:"Painting With Chocolate";
	font-size: 31pt;
	font-style: normal;
	color:#ffffff;
	margin: 0;
	padding: 0;
	line-height: 1; 
	height: 31pt;
	overflow: hidden;
	}

#vote-active .title_ptcp_vs {
  color: var(--switch-vs-color, #ffffff) !important;
}
	
  
  .topic {
	font: 2rem "AmstelvarAlpha", sans-serif;
	font-style: oblique 0deg;
	color:#ffffff;
	margin: 0;
	padding: 0;
	line-height: 1; 
	height: 2rem;
	overflow: hidden;
  }
  
  .text {
  font-family: Helvetica;
  font-weight: lighter;
  font-size: 12pt;
  font-style: normal;
  color:#ffffff;
  margin: 0;
  padding: 0;
  line-height: 120%; 
  }
  
#hold-vote {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;     /* vertical centering */
	justify-content: center; /* horizontal centering */
	text-align: center;
  }
  
#fixed-icon {
	position: fixed;
	top: 12px;
	right: 156px;
	z-index: 2000;        /* Ensures it stays above other elements */
	pointer-events: auto;
  }

#fixed-icon a,
#fixed-pages-icon a,
#fixed-logout-icon a,
#fixed-geo-icon a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgba(22, 26, 36, 0.22);
	border: 1px solid rgba(255, 255, 255, 0.12);
	backdrop-filter: blur(3px);
	-webkit-backdrop-filter: blur(3px);
	box-shadow: 0 1px 5px rgba(0, 0, 0, 0.14);
	transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.12s ease;
}

#fixed-icon a:hover,
#fixed-pages-icon a:hover,
#fixed-logout-icon a:hover,
#fixed-geo-icon a:hover {
	background: rgba(22, 26, 36, 0.32);
	border-color: rgba(255, 255, 255, 0.16);
}

#fixed-icon a:active,
#fixed-pages-icon a:active,
#fixed-logout-icon a:active,
#fixed-geo-icon a:active {
	transform: scale(0.98);
}
  
  #fixed-icon img {
	width: 29px;
	height: 29px;
  }

#fixed-logout-icon {
	position: fixed;
	top: 12px;
	right: 12px;
	z-index: 2000;
	pointer-events: auto;
}

#fixed-logout-icon img {
	width: 29px;
	height: 29px;
}

#fixed-pages-icon {
	position: fixed;
	top: 12px;
	right: 84px;
	z-index: 2000;
	pointer-events: auto;
	display: none;
}

#fixed-pages-icon img {
	width: 29px;
	height: 29px;
}
  
#fixed-geo-icon {
	  position: fixed;
	  top: 12px;
	  right: 228px;
	  z-index: 2000;        /* Ensures it stays above other elements */
	  pointer-events: auto;
	  width: 40px;
	  height: 40px;
	  display: block;
}
	
#fixed-geo-icon img {
	  width: 29px;
	  height: 29px;
}

#fixed-geo-icon.geo-icon-loading::after {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.18);
  border-top-color: #61c2ff;
  animation: geoSpin 0.9s linear infinite;
  pointer-events: none;
}

@keyframes geoSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.event-pages-dropdown {
  position: fixed;
  min-width: 220px;
  max-width: min(80vw, 360px);
  background: rgba(30, 30, 30, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  z-index: 4200;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform-origin: top right;
  animation: pagesDropdownIn 0.2s ease-out;
}

@keyframes pagesDropdownIn {
  from { opacity: 0; transform: translateY(-6px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.event-pages-dropdown-list {
  max-height: min(52vh, 340px);
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
}

.event-pages-dropdown-item {
  width: 100%;
  text-align: left;
  border: none;
  background: transparent;
  color: #fff;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 16px;
  padding: 12px 12px;
  cursor: pointer;
}

.event-pages-dropdown-item:hover,
.event-pages-dropdown-item:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  outline: none;
}

.event-pages-dropdown-footer {
  width: 100%;
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 15px;
  font-weight: 600;
  padding: 11px 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: flex-start;
}

.event-pages-dropdown-footer img {
  width: 18px;
  height: 18px;
}

.event-pages-dropdown-footer:hover,
.event-pages-dropdown-footer:focus-visible {
  background: rgba(255, 70, 70, 0.18);
  outline: none;
}

.event-pages-content {
  color: rgba(255, 255, 255, 0.96);
  font-family: Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.45;
  text-align: left;
}

.event-pages-content h1,
.event-pages-content h2,
.event-pages-content h3,
.event-pages-content h4 {
  margin: 0 0 10px;
  color: #fff;
}

.event-pages-content p,
.event-pages-content li {
  color: rgba(255, 255, 255, 0.94);
}

.event-pages-content img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.event-pages-content table {
  width: 100%;
  border-collapse: collapse;
}

.event-pages-content table th,
.event-pages-content table td {
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 8px;
}
  
/*FullScreen Modal*/
.mdl_full {
	display: none; /* Controlled by JS */
	position: fixed;
	z-index: 9999;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	justify-content: center;
	align-items: center; 
	background-color: rgba(0,0,0,0.3);
	-webkit-backdrop-filter: blur(3px);
	backdrop-filter: blur(3px);
}

#loc-mdl.loc-sheet-mode {
  align-items: flex-end;
  background-color: rgba(0, 0, 0, 0.38);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

#loc-mdl.loc-sheet-mode .mdl-full-content {
  width: min(760px, 100%);
  min-width: 0;
  margin: 0;
  padding: 0;
  background-color: #1E1E1E;
  height: auto;
  max-height: 90vh;
  border-radius: 22px 22px 0 0;
  border-bottom: none;
  overflow: hidden;
  box-shadow: 0 -12px 38px rgba(0, 0, 0, 0.42);
  transform: translateY(110%);
  opacity: 0.9;
  transition: transform 0.5s cubic-bezier(0.22, 0.84, 0.24, 1), opacity 0.4s ease;
}

#loc-mdl.loc-sheet-mode.loc-sheet-open .mdl-full-content {
  transform: translateY(0);
  opacity: 1;
}

.location-sheet {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.location-sheet-handle {
  width: 100%;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: ns-resize;
  touch-action: none;
}

.location-sheet-grabber {
  width: 54px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.44);
}

.location-sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px 10px 16px;
}

.location-sheet-title {
  display: flex;
  align-items: center;
  height: auto;
  line-height: 1.1;
}

.location-sheet-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.location-sheet-close-spacer {
  display: inline-block;
  width: 36px;
  height: 36px;
}

.location-sheet-body {
  flex: 1;
  overflow-y: auto;
  padding: 6px 18px 28px 18px;
  text-align: center;
}

.location-sheet-heading {
  height: auto;
  line-height: 1.1;
  margin: 2px 0 10px 0;
}

.location-sheet-text {
  margin: 0 auto;
  max-width: 560px;
  white-space: normal;
  line-height: 1.4;
}

.pwa-lang-switch {
  display: inline-flex;
  gap: 6px;
  margin: 2px auto 12px auto;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.pwa-lang-btn {
  border: 0;
  min-width: 44px;
  padding: 6px 10px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.92);
  background: transparent;
  font-size: 11pt;
  font-family: Helvetica, Arial, sans-serif;
  cursor: pointer;
}

.pwa-lang-btn.is-active {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.location-sheet-action {
  margin-top: 12px;
}

.location-sheet-info {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  padding: 4px 2px 18px 2px;
  text-align: left;
  color: #fff;
}

/* Modal Content Box */
.mdl-full-content {
	background-color: rgba(0,0,0,0.8);
	padding: 20px;
	border: 1px solid #555555;
	width: 90%;
	
	/* Fixes the landscape cutoff */
	max-height: 90vh; 
	overflow-y: auto; 
	
	box-sizing: border-box; /* Ensures padding doesn't add to height */
	border-radius: 20px;
}
  
  /* Fullscreen Modal Content */
  .mdl-full-content {
	  background-color: rgba(0,0,0,0.8);
	  margin: auto;
	  padding: 10px;
	  border: 1px solid #555555;
	  width: 90%;
	  height: 80%;
	  min-width: 320px;
	  border-collapse: collapse;
	  border-radius: 20px;
  }
  
.input_field_big {
  padding: 5px 8px;
  font-family: Helvetica; 
  font-weight: lighter;
  font-size: 23pt; 
  color: #FFFFFF; 
  border: 0;
  outline: 0;
  background: transparent;
  border-top: none;
  border-left: none;
  border-right: none;
  border-bottom: 1px solid white;
  -webkit-appearance: none;
  }

.login-form-shell {
  display: inline-flex;
  align-items: center;
}

.login-form-shake {
  animation: loginFieldShake 0.42s ease-in-out 1;
}

@keyframes loginFieldShake {
  0% { transform: translateX(0); }
  15% { transform: translateX(-10px); }
  30% { transform: translateX(9px); }
  45% { transform: translateX(-8px); }
  60% { transform: translateX(7px); }
  75% { transform: translateX(-5px); }
  100% { transform: translateX(0); }
}

.qr-login-scan-btn,
.qr-scan-action-btn {
  border: 0;
  border-radius: 12px;
  padding: 11px 18px;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 13pt;
  color: #ffffff;
  cursor: pointer;
  background: linear-gradient(90deg, #aa22cc 0%, #5ba9d5 100%);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.28);
}

.qr-login-scan-btn.is-active {
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.login-qr-inline {
  margin-top: 16px;
}

.login-qr-inline-wrap {
  margin-top: 12px;
}

.login-qr-inline-shell {
  width: min(82vw, 360px);
}

.login-qr-inline-status {
  margin-top: 10px;
  margin-bottom: 0;
  max-width: 420px;
}

.qr-scan-shell {
  position: relative;
  width: min(78vw, 360px);
  aspect-ratio: 1 / 1;
  margin: 8px auto 0 auto;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
}

.qr-scan-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.qr-scan-frame {
  position: absolute;
  inset: 12%;
  border-radius: 18px;
  border: 3px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.22);
  pointer-events: none;
}

.qr-scan-actions {
  display: flex;
  justify-content: center;
  margin-top: 14px;
}

.qr-scan-back-btn {
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
}
  
  
#vote-button .button-container {
	position: relative;
	width: 200px;
	height: 200px;
	margin: 0 auto;
  }
  
  #vote-button .button-container-center {
	position: relative;
	background-color: #4f4f4f;
	width: 170px;
	height: 170px;
	border-radius: 50%;
	margin:auto;
	text-align: center;
	z-index:9999;
  }
  
  #vote-button .like-hold-button {
	position: relative;
	width: 200px;
	height: 200px;
	background-color: var(--like-idle-color, #3a3a3a);
	border-radius: 50%;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	display: flex;
	justify-content: center;
	align-items: center;
	cursor: pointer;
	overflow: hidden;
	top: 0;
	pointer-events: auto;
	touch-action: none;
  }
  
  #vote-button .like-hold-button .progress-circle{
	position: absolute;
	width: 100%;
	height: 100%;
	border-radius: 50%;
	background: conic-gradient(#ebb821 0%, #ddd 0%);
	z-index: 1;
	will-change: background;
  }
  
  #vote-button .like-hold-button .button-text {
	pointer-events: none;
	-webkit-touch-callout: none; /* Disable the long-press menu */
	user-select: none; /* Prevent selection */
	position:relative;
	margin:auto;
	top: 20%;
	z-index: 2;
	color: white;
	font-weight: bold;
	font-size: 24px;
  }
  
  #vote-button .like-hold-button.held .progress-circle {
	background: conic-gradient(#2ecc71 100%, #ddd 0%);
  }
  
#vote-done .wrapper,
#poll-vote-done .wrapper,
#checklist-vote-done .wrapper,
#params-vote-done .wrapper,
#star-vote-done .wrapper,
#question-feedback-stage .wrapper {
	width: 200px;
	height: 200px;
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 0 auto;
  }
  
  #vote-done .checkmark,
  #poll-vote-done .checkmark,
  #checklist-vote-done .checkmark,
  #params-vote-done .checkmark,
  #star-vote-done .checkmark,
  #question-feedback-stage .checkmark {
	width: 180px;
	height: 180px;
	border-radius: 50%;
	display: block;
	stroke-width: 2;
	stroke: #fff;
	stroke-miterlimit: 10;
	margin: 10% auto;
	box-shadow: inset 0px 0px 0px var(--poll-accent, var(--checklist-accent, var(--params-accent, var(--star-accent, #7ac142))));
	animation: fill 0.4s ease-in-out 0.4s forwards, 
			   scale 0.3s ease-in-out 0.9s both;
  }

  #star-vote-done .wrapper {
	width: 126px;
	height: 126px;
  }

  #star-vote-done .checkmark {
	width: 112px;
	height: 112px;
	margin: 0 auto;
	box-shadow: none;
  }

  #star-vote-done .checkmark__circle {
	display: none;
	animation: none;
	stroke: transparent;
	stroke-width: 0;
  }
  
  #vote-done .checkmark__circle,
  #poll-vote-done .checkmark__circle,
  #checklist-vote-done .checkmark__circle,
  #params-vote-done .checkmark__circle,
  #star-vote-done .checkmark__circle,
  #question-feedback-stage .checkmark__circle {
	stroke-dasharray: 166;
	stroke-dashoffset: 166;
	stroke-width: 2;
	stroke-miterlimit: 10;
	stroke: var(--poll-accent, var(--checklist-accent, var(--params-accent, var(--star-accent, #7ac142))));
	fill: none;
	animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
  }
  
  #vote-done .checkmark__check,
  #poll-vote-done .checkmark__check,
  #checklist-vote-done .checkmark__check,
  #params-vote-done .checkmark__check,
  #star-vote-done .checkmark__check,
  #question-feedback-stage .checkmark__check {
	transform-origin: 50% 50%;
	stroke-dasharray: 48;
	stroke-dashoffset: 48;
	animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
  }
  
  /* Animations */
  @keyframes stroke {
	100% {
	  stroke-dashoffset: 0;
	}
  }
  
  @keyframes scale {
	0%, 100% {
	  transform: none;
	}
	50% {
	  transform: scale3d(1.1, 1.1, 1);
	}
  }

@media (orientation: landscape) {
  .question-layout {
    gap: 28px;
  }

  #question-vote-active .question-right-panel {
    width: 50%;
  }
}

@media screen and (max-width: 640px) {
  #question-vote-active .question-right-panel {
    width: min(100%, 340px);
  }

  .question-input {
    min-height: 132px;
    font-size: 20px;
  }

  .question-thank-you-text {
    font-size: 24px;
  }

  .question-form-meta {
    flex-direction: column;
    align-items: stretch;
  }

  .question-send-button {
    width: 100%;
  }
}
  
  @keyframes fill {
	100% {
	  box-shadow: inset 0px 0px 0px 180px #7ac142;
	}
  }

.app-info-modal-content {
  line-height: 1.6;
  white-space: normal;
}

.app-info-modal-content h1,
.app-info-modal-content h2,
.app-info-modal-content h3,
.app-info-modal-content p,
.app-info-modal-content ul,
.app-info-modal-content ol,
.app-info-modal-content blockquote {
  margin: 0 0 14px;
}

.app-info-modal-content h1 {
  font-size: 1.9rem;
  line-height: 1.15;
}

.app-info-modal-content h2 {
  font-size: 1.45rem;
  line-height: 1.2;
}

.app-info-modal-content h3 {
  font-size: 1.15rem;
  line-height: 1.25;
}

.app-info-modal-content ul,
.app-info-modal-content ol {
  padding-left: 22px;
}

.app-info-modal-content blockquote {
  padding-left: 14px;
  border-left: 3px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.88);
}

.push-prompt-wrap {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.push-prompt-head {
  min-height: 40px;
  display: flex;
  align-items: center;
}

.push-prompt-title {
  display: flex;
  align-items: center;
}

.push-prompt-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.push-prompt-topic {
  margin: 10px 0 6px 0;
  height: auto;
  line-height: 1.1;
}

.push-prompt-text {
  margin: 0 16px 20px 16px;
  max-width: 420px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.92);
}

.push-prompt-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.push-prompt-btn {
  min-width: 132px;
  border: 0;
  border-radius: 12px;
  padding: 11px 18px;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 13pt;
  color: #fff;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.push-prompt-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.push-prompt-btn:active {
  transform: translateY(0);
}

.push-prompt-btn-allow {
  background: linear-gradient(90deg, #aa22cc 0%, #5ba9d5 100%);
  box-shadow: 0 8px 20px rgba(57, 88, 170, 0.45);
}

.push-prompt-btn-later {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}
