/* [BLOCK yourchoice-theme] */
:root {
  --yc-primary: #8B5A2B;
  --yc-primary-light: #A97C50;
  --yc-secondary: #6D4C41;
  --yc-dark: #4E342E;
  --yc-light: #F9F5EB;
  --yc-accent: #7B1FA2;
  --yc-border: #D7CCC8;
  --yc-card-bg: rgba(255, 253, 245, 0.94);
  --yc-card-soft: rgba(255, 253, 245, 0.08);
  --yc-gold-gradient: linear-gradient(155deg, #FBF4E6 0%, #F2DFC0 36%, #E3C295 70%, #D1AB7A 100%);
  --yc-shadow: 0 18px 38px rgba(24, 12, 9, 0.24);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--yc-light);
  background:
    radial-gradient(circle at 20% 20%, rgba(123, 31, 162, 0.12), transparent 30%),
    radial-gradient(circle at 85% 75%, rgba(139, 90, 43, 0.16), transparent 32%),
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="%234E342E"/><path d="M0 0L100 100" stroke="%236D4C41" stroke-width="1"/><path d="M100 0L0 100" stroke="%236D4C41" stroke-width="1"/></svg>');
  background-color: var(--yc-dark);
}

.temple-border::before,
.temple-border::after {
  content: none;
  display: none;
}

.temple-border::before {
  left: auto;
}

.temple-border::after {
  right: auto;
}

.yc-container {
  width: min(1100px, calc(100% - 28px));
  margin: 0 auto;
  padding: 20px 0 28px;
}
/* [END BLOCK yourchoice-theme] */

/* [BLOCK yourchoice-header] */
.yc-site-header {
  text-align: center;
  padding: 10px 0 22px;
}

.yc-monk-link {
  width: 94px;
  height: 94px;
  margin: 0 auto 12px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.yc-monk-link:hover {
  transform: scale(1.04);
  border-color: rgba(255, 255, 255, 0.24);
}

.yc-monk-link img {
  width: 76%;
  height: 76%;
  object-fit: contain;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.25));
}

.yc-eyebrow {
  margin: 0 0 8px;
  color: #F5D8A8;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.yc-country-badge {
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 12px;
  padding: 6px 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #4E342E;
  background: var(--yc-gold-gradient);
  border: 1px solid rgba(139, 90, 43, 0.28);
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(24, 12, 9, 0.16);
  font-size: 0.86rem;
  font-weight: 800;
}

.yc-country-badge img {
  width: 45px;
  height: 30px;
  display: block;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(78, 52, 46, 0.22);
}

.yc-site-header h1 {
  margin: 0;
  color: var(--yc-light);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.4rem, 8vw, 4.8rem);
  line-height: 0.95;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.34);
}

.yc-subtitle {
  max-width: 720px;
  margin: 18px auto 10px;
  font-size: clamp(1rem, 2.4vw, 1.35rem);
  line-height: 1.45;
  color: rgba(255, 249, 237, 0.95);
}

.yc-poll-note {
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  padding: 9px 14px;
  color: #4E342E;
  background: var(--yc-gold-gradient);
  border: 1px solid rgba(139, 90, 43, 0.28);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
}
/* [END BLOCK yourchoice-header] */

/* [BLOCK yourchoice-panels] */
.yc-panel {
  margin: 18px auto;
  padding: clamp(18px, 3.4vw, 34px);
  color: var(--yc-dark);
  background: var(--yc-card-bg);
  border: 1px solid rgba(215, 184, 141, 0.44);
  border-radius: 22px;
  box-shadow: var(--yc-shadow);
}

.yc-panel-heading {
  max-width: 760px;
  margin: 0 auto 20px;
  text-align: center;
}

.yc-panel-heading h2 {
  margin: 0 0 8px;
  color: var(--yc-primary);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.55rem, 4vw, 2.2rem);
}

.yc-panel-heading p {
  margin: 0;
  color: #6D4C41;
  line-height: 1.55;
}
/* [END BLOCK yourchoice-panels] */

/* [BLOCK yourchoice-slider] */
.yc-choice-stage {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(10px, 2vw, 20px);
  min-height: 265px;
  padding: 20px 8px 6px;
  border-radius: 24px;
  transition: box-shadow 0.25s ease;
}

.yc-choice-stage.is-attention {
  box-shadow: 0 0 0 4px rgba(123, 31, 162, 0.18), 0 0 0 9px rgba(255, 253, 245, 0.84);
}

.yc-country-picker {
  width: min(360px, 100%);
  margin: 0 auto 16px;
  display: grid;
  gap: 7px;
  color: #5A321B;
  font-weight: 800;
}

.yc-country-picker[hidden] {
  display: none;
}

.yc-country-picker select {
  border: 1px solid rgba(139, 90, 43, 0.26);
  border-radius: 12px;
  padding: 10px 12px;
  color: var(--yc-dark);
  background: rgba(255, 253, 245, 0.78);
  font: inherit;
}

.yc-choice-card {
  appearance: none;
  border: 1px solid rgba(139, 90, 43, 0.22);
  border-radius: 24px;
  padding: 16px 12px;
  min-height: 220px;
  display: grid;
  grid-template-rows: 42px minmax(170px, 1fr) 54px 32px;
  align-items: center;
  justify-items: center;
  gap: 8px;
  color: var(--yc-dark);
  background: rgba(251, 244, 230, 0.74);
  box-shadow: 0 8px 20px rgba(78, 52, 46, 0.12);
  cursor: pointer;
  transform: translateY(12px) scale(0.9);
  opacity: 0.72;
  transition: transform 0.35s cubic-bezier(.2,.8,.2,1), opacity 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.yc-choice-card.is-active {
  z-index: 2;
  transform: translateY(-8px) scale(1.08);
  opacity: 1;
  border-color: rgba(123, 31, 162, 0.62);
  box-shadow: 0 18px 34px rgba(78, 52, 46, 0.24), 0 0 0 5px rgba(123, 31, 162, 0.10);
}

.yc-choice-card.is-active .yc-choice-image-wrap {
  width: min(168px, 82%);
}

.yc-choice-image-wrap {
  width: min(150px, 70%);
  aspect-ratio: 1;
  overflow: hidden;
  background: rgba(255, 253, 245, 0.5);
  border-radius: 16px;
  transition: width 0.35s cubic-bezier(.2,.8,.2,1);
  display: grid;
  place-items: center;
}

.yc-choice-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: drop-shadow(0 8px 12px rgba(78, 52, 46, 0.2));
}

.yc-choice-identity {
  width: 100%;
  height: 100%;
  max-width: 100%;
  display: grid;
  grid-template-rows: minmax(2.35em, 1fr) minmax(1.2em, auto);
  gap: 2px;
  align-items: center;
  align-content: center;
  justify-items: center;
  line-height: 1.12;
  text-align: center;
}

.yc-choice-leader {
  width: 100%;
  min-height: 2.35em;
  display: grid;
  place-items: end center;
  color: #6D4C41;
  font-size: 0.68rem;
  font-weight: 700;
}

.yc-choice-name {
  width: 100%;
  display: grid;
  place-items: center;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.1rem, 2.6vw, 1.5rem);
  font-weight: 700;
}

.yc-choice-ideology {
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(123, 31, 162, 0.12);
  color: #5A321B;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.yc-slider-wrap {
  position: relative;
  max-width: 760px;
  margin: 18px auto 0;
}

.yc-slider {
  width: 100%;
  accent-color: var(--yc-accent);
}

.yc-selected-box {
  width: min(520px, 100%);
  margin: 18px auto 0;
  padding: 13px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--yc-gold-gradient);
  border: 1px solid rgba(139, 90, 43, 0.28);
  border-radius: 15px;
}

.yc-selected-ideology {
  padding: 6px 10px;
  color: #fff;
  background: linear-gradient(90deg, var(--yc-primary), var(--yc-accent));
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.yc-mini-ranking {
  margin: 24px auto 0;
  padding: 16px;
  max-width: 760px;
  background: rgba(139, 90, 43, 0.06);
  border: 1px solid rgba(139, 90, 43, 0.16);
  border-radius: 16px;
}

.yc-mini-ranking h3 {
  margin: 0 0 6px;
  color: var(--yc-primary);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.25rem;
  text-align: center;
}

.yc-mini-ranking p {
  margin: 0 0 12px;
  color: #6D4C41;
  font-size: 0.86rem;
  text-align: center;
}

.yc-ranking-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.yc-ranking-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  background: rgba(255, 253, 245, 0.72);
  border: 1px solid rgba(139, 90, 43, 0.14);
  border-radius: 12px;
  font-weight: 700;
}

.yc-ranking-list small {
  color: #6D4C41;
  font-weight: 600;
}
/* [END BLOCK yourchoice-slider] */

/* [BLOCK yourchoice-form] */
.yc-form {
  max-width: 760px;
  margin: 0 auto;
}

.yc-form label {
  display: grid;
  gap: 7px;
  color: #5A321B;
  font-weight: 800;
}

.yc-form textarea,
.yc-form input,
.yc-form select {
  width: 100%;
  border: 1px solid rgba(139, 90, 43, 0.26);
  border-radius: 12px;
  padding: 12px 13px;
  color: var(--yc-dark);
  background: rgba(255, 253, 245, 0.78);
  font: inherit;
}

.yc-form textarea:focus,
.yc-form input:focus,
.yc-form select:focus {
  outline: 3px solid rgba(123, 31, 162, 0.18);
  border-color: rgba(123, 31, 162, 0.6);
}

.yc-form textarea.is-invalid {
  border-color: rgba(123, 31, 162, 0.78);
  background: rgba(255, 248, 251, 0.96);
  box-shadow: 0 0 0 4px rgba(123, 31, 162, 0.16);
}

.yc-count-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 7px 0 16px;
  color: #6D4C41;
  font-size: 0.84rem;
}

.yc-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 16px;
}

.yc-check {
  grid-template-columns: auto 1fr !important;
  align-items: start;
  gap: 10px !important;
  margin-bottom: 14px;
  font-weight: 600 !important;
}

.yc-check input {
  width: 20px;
  height: 20px;
  margin-top: 1px;
  accent-color: var(--yc-accent);
}

.yc-privacy-line {
  margin: 0 0 16px;
  padding: 12px 14px;
  color: #5A321B;
  background: rgba(123, 31, 162, 0.08);
  border: 1px solid rgba(123, 31, 162, 0.16);
  border-radius: 13px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.yc-submit,
.yc-filter-row button {
  appearance: none;
  border: 0;
  border-radius: 12px;
  padding: 12px 18px;
  color: #fff;
  background: linear-gradient(90deg, var(--yc-primary), var(--yc-accent));
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(78, 52, 46, 0.18);
}

.yc-submit:disabled {
  opacity: 0.58;
  cursor: wait;
}

.yc-form-message {
  min-height: 24px;
  margin: 12px 0 0;
  color: #5A321B;
  font-weight: 700;
}

.yc-form-message.is-success {
  color: #2f6d4f;
  font-weight: 800;
}

.yc-form-message.is-error {
  color: #7B1FA2;
}

.yc-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}
/* [END BLOCK yourchoice-form] */

/* [BLOCK yourchoice-opinions] */
.yc-filter-row {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  max-width: 100%;
  overflow-x: auto;
  padding: 4px 0 12px;
  scrollbar-color: #8b5a2b #f3e7db;
  gap: 10px;
  margin-bottom: 18px;
}

.yc-filter-row button {
  flex: 0 0 auto;
  white-space: nowrap;
  padding: 9px 14px;
  color: #5A321B;
  background: rgba(139, 90, 43, 0.12);
  border: 1px solid rgba(139, 90, 43, 0.2);
  box-shadow: none;
}

.yc-filter-row button.is-active {
  color: #fff;
  background: linear-gradient(90deg, var(--yc-primary), var(--yc-accent));
}

.yc-opinion-list {
  display: grid;
  gap: 14px;
}

.yc-year-picker {
  width: fit-content;
  margin: 10px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #6D4C41;
  font-size: 0.72rem;
  font-weight: 700;
}

.yc-year-picker[hidden] {
  display: none;
}

.yc-year-picker select {
  border: 1px solid rgba(139, 90, 43, 0.24);
  border-radius: 8px;
  padding: 5px 8px;
  color: #4E342E;
  background: rgba(255, 253, 245, 0.9);
  font: inherit;
}

.yc-opinion-card {
  padding: 16px;
  background: var(--yc-gold-gradient);
  border: 1px solid rgba(139, 90, 43, 0.2);
  border-radius: 16px;
}

.yc-opinion-meta {
  display: grid;
  gap: 5px;
  margin-bottom: 12px;
  color: #6D4C41;
  font-size: 0.84rem;
  font-weight: 800;
}

.yc-opinion-identity {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.yc-opinion-tags {
  display: block;
  font-style: italic;
  font-weight: 650;
}

.yc-opinion-date {
  display: block;
  font-weight: 750;
}

.yc-pill {
  padding: 4px 8px;
  border-radius: 999px;
  color: #fff;
  background: rgba(123, 31, 162, 0.82);
}

.yc-opinion-card blockquote {
  margin: 0;
  color: var(--yc-dark);
  line-height: 1.58;
  white-space: pre-wrap;
}

.yc-reaction-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  min-height: 28px;
  position: relative;
}

.yc-reaction-message {
  position: absolute;
  left: 100px;
  top: 50%;
  max-width: calc(100% - 100px);
  margin: 0;
  opacity: 0;
  transform: translate(-4px, -50%);
  color: #7B1FA2;
  font-size: 0.68rem;
  font-weight: 750;
  line-height: 1.22;
  pointer-events: none;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.yc-reaction-message.is-visible {
  opacity: 1;
  transform: translate(0, -50%);
}

.yc-reaction-message[hidden] {
  display: none;
}

.yc-reaction-message.is-error {
  color: #7B1FA2;
}

.yc-reaction-button {
  appearance: none;
  position: relative;
  min-width: 42px;
  height: 28px;
  border: 1px solid rgba(107, 48, 38, 0.24);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: rgba(107, 48, 38, 0.74);
  background: rgba(255, 253, 245, 0.38);
  cursor: pointer;
  overflow: visible;
  transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.yc-reaction-button:hover {
  color: #8A1F2D;
  border-color: rgba(138, 31, 45, 0.34);
  transform: translateY(-1px);
}

.yc-reaction-button:disabled {
  cursor: wait;
  opacity: 0.58;
}

.yc-reaction-button.is-active {
  color: #8A1F2D;
  background: rgba(138, 31, 45, 0.08);
  border-color: rgba(138, 31, 45, 0.38);
}

.yc-reaction-icon {
  width: 15px;
  height: 15px;
  overflow: visible;
}

.yc-heart-shape {
  fill: transparent;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linejoin: round;
}

.yc-reaction-button.is-active .yc-heart-shape {
  fill: currentColor;
  stroke: currentColor;
}

.yc-heart-crack {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.yc-reaction-button.is-active .yc-heart-crack {
  stroke: #F9F5EB;
}

.yc-reaction-count {
  min-width: 0.8em;
  color: inherit;
  font-size: 0.68rem;
  font-weight: 850;
  line-height: 1;
}

.yc-reaction-burst {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 34px;
  height: 34px;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.45);
  transform-origin: center;
  z-index: 2;
}

.yc-reaction-burst::before {
  content: "";
  position: absolute;
  inset: -5px;
  border: 1px solid rgba(138, 31, 45, 0.28);
  border-radius: 999px;
}

.yc-reaction-burst svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.yc-reaction-burst path:first-child {
  fill: rgba(138, 31, 45, 0.9);
  stroke: rgba(88, 28, 28, 0.26);
  stroke-width: 0.8;
  stroke-linejoin: round;
}

.yc-reaction-burst.is-heart {
  animation: yc-heart-aura 860ms ease-out forwards;
}

.yc-reaction-burst.is-heart::before {
  animation: yc-heart-ring 860ms ease-out forwards;
}

.yc-reaction-burst.is-broken-heart {
  animation: yc-broken-heart-pop 860ms ease-out forwards;
}

.yc-reaction-burst.is-broken-heart::before {
  border-style: dashed;
  animation: yc-heart-ring 860ms ease-out forwards;
}

.yc-reaction-burst.is-broken-heart path:first-child {
  fill: rgba(124, 35, 35, 0.88);
}

.yc-reaction-burst.is-broken-heart path:last-child {
  fill: none;
  stroke: #FFF8ED;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@keyframes yc-heart-aura {
  0% {
    opacity: 0;
    transform: translate(-50%, -45%) scale(0.35);
  }
  22% {
    opacity: 1;
    transform: translate(-50%, -72%) scale(0.92);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -155%) scale(1.42);
  }
}

@keyframes yc-broken-heart-pop {
  0% {
    opacity: 0;
    transform: translate(-50%, -45%) rotate(0deg) scale(0.36);
  }
  22% {
    opacity: 1;
    transform: translate(-50%, -68%) rotate(-4deg) scale(0.92);
  }
  62% {
    opacity: 0.72;
    transform: translate(-50%, -120%) rotate(6deg) scale(1.16);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -158%) rotate(12deg) scale(1.34);
  }
}

@keyframes yc-heart-ring {
  0% {
    opacity: 0;
    transform: scale(0.45);
  }
  25% {
    opacity: 0.68;
  }
  100% {
    opacity: 0;
    transform: scale(1.75);
  }
}

.yc-muted {
  color: #6D4C41;
  text-align: center;
}

.yc-disclosure {
  margin: 18px auto 0;
  padding: 18px;
  color: rgba(255, 249, 237, 0.92);
  background: rgba(83, 48, 37, 0.72);
  border: 1px solid rgba(215, 184, 141, 0.32);
  border-radius: 18px;
  line-height: 1.55;
  text-align: center;
}

.yc-disclosure p {
  margin: 0 auto 10px;
  max-width: 880px;
}

.yc-disclosure p:last-child {
  margin-bottom: 0;
}

.yc-disclosure a {
  color: #F5D8A8;
  font-weight: 800;
}
/* [END BLOCK yourchoice-opinions] */

/* [BLOCK yourchoice-single-card-product-layout] */
.yc-shell {
  width: min(100%, 1060px);
  margin: 0 auto 38px;
}

.yc-panel {
  position: relative;
  margin: 18px 0;
  padding: 20px;
  border: 2px solid var(--yc-border);
  border-radius: 14px;
  box-shadow: 0 8px 20px -5px var(--yc-shadow);
}

.yc-panel::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 8px;
  right: 8px;
  bottom: 8px;
  border: 1px solid var(--yc-border);
  border-radius: 10px;
  pointer-events: none;
  opacity: 0.5;
}

.yc-brand,
.yc-panel-heading,
.yc-country-buttons,
.yc-mini-ranking,
.yc-choice-stage,
.yc-slider-wrap,
.yc-selected-box,
.yc-form-section,
.yc-opinions-section,
.yc-disclosure {
  position: relative;
  z-index: 1;
}

.yc-brand {
  display: grid;
  place-items: center;
  gap: 8px;
  margin-bottom: 16px;
  text-align: center;
}

.yc-title {
  margin: 10px 0 0;
  color: var(--yc-primary);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
}

.yc-subtitle {
  max-width: 820px;
  margin: 0 auto;
  color: #6D4C41;
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  font-weight: 700;
  line-height: 1.4;
}

.yc-poll-note {
  margin: 2px auto 0;
  padding: 8px 12px;
  font-size: 0.82rem;
}

.yc-panel-heading {
  margin-bottom: 10px;
}

.yc-panel-heading h2 {
  margin-bottom: 5px;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
}

.yc-panel-heading p {
  font-size: 0.9rem;
}

.yc-panel-heading .yc-yearly-note {
  width: min(760px, 100%);
  margin: 7px auto 0;
  padding: 7px 10px;
  color: #6D4C41;
  background: rgba(139, 90, 43, 0.055);
  border: 1px solid rgba(139, 90, 43, 0.12);
  border-radius: 10px;
  font-size: 0.7rem;
  line-height: 1.45;
  text-wrap: balance;
}

.yc-yearly-note > span {
  display: block;
}

.yc-yearly-note .yc-keep-together {
  display: inline-block;
  white-space: nowrap;
}

.yc-country-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 10px auto 22px;
}

.yc-country-button {
  appearance: none;
  border: 1px solid rgba(139, 90, 43, 0.28);
  border-radius: 999px;
  padding: 7px 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #4E342E;
  background: var(--yc-gold-gradient);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(24, 12, 9, 0.14);
}

.yc-country-button.is-active {
  outline: 3px solid rgba(123, 31, 162, 0.18);
  border-color: rgba(123, 31, 162, 0.52);
}

.yc-country-button img {
  width: 45px;
  height: 30px;
  display: block;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(78, 52, 46, 0.22);
}

.yc-mini-ranking {
  width: min(760px, 100%);
  margin: 0 auto 18px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.yc-ranking-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
  gap: 8px;
  align-items: start;
}

.yc-ranking-list li {
  min-height: auto;
  padding: 0 4px;
  display: grid;
  gap: 2px;
  justify-items: center;
  color: #4E342E;
  background: transparent;
  border: 0;
  border-radius: 0;
  font-size: 0.78rem;
  line-height: 1.2;
  text-align: center;
}

.yc-rank-title {
  display: grid;
  gap: 1px;
  justify-items: center;
  min-width: 0;
}

.yc-rank-title strong {
  font-size: 0.95rem;
  font-weight: 900;
}

.yc-rank-title span {
  max-width: 100%;
  overflow-wrap: anywhere;
  font-weight: 800;
}

.yc-ranking-list small {
  color: #6D4C41;
  font-size: 0.64rem;
  font-weight: 700;
  line-height: 1.1;
  white-space: nowrap;
}

.yc-choice-stage {
  min-height: 236px;
  padding-top: 10px;
}

.yc-choice-card {
  min-height: 195px;
}

.yc-form-section,
.yc-opinions-section {
  width: min(760px, 100%);
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(139, 90, 43, 0.16);
}

.yc-form-heading,
.yc-opinions-heading {
  margin-bottom: 16px;
}

.yc-disclosure {
  width: 100%;
  margin: 24px auto 0;
  padding: 13px 15px;
  color: #5A321B;
  background: rgba(139, 90, 43, 0.06);
  border: 1px solid rgba(139, 90, 43, 0.14);
  border-radius: 13px;
}

.yc-disclosure p {
  max-width: 100%;
  font-size: 0.82rem;
  white-space: nowrap;
}

.yc-disclosure .yc-disclosure-privacy {
  width: min(100%, 860px);
  white-space: normal;
}
/* [END BLOCK yourchoice-single-card-product-layout] */

/* [BLOCK yourchoice-card-ranking-selection] */
.yc-card-rank {
  min-height: 39px;
  margin-bottom: 2px;
  display: grid;
  gap: 2px;
  place-items: center;
  color: #4E342E;
  line-height: 1.1;
  text-align: center;
}

.yc-card-rank strong {
  font-size: 0.9rem;
  font-weight: 900;
}

.yc-card-rank small {
  color: #6D4C41;
  font-size: 0.64rem;
  font-weight: 800;
  white-space: nowrap;
}

.yc-choice-stage.is-neutral .yc-choice-card {
  transform: none;
  opacity: 1;
}

.yc-choice-stage.is-neutral .yc-choice-card .yc-choice-image-wrap {
  width: min(142px, 72%);
}

.yc-selected-box[hidden] {
  display: none;
}

/* [END BLOCK yourchoice-card-ranking-selection] */

/* [BLOCK yourchoice-responsive] */
@media (max-width: 820px) {
  .yc-shell {
    width: var(--trm-mobile-tool-width, min(100%, 680px));
  }

  .yc-panel {
    padding: 20px 14px;
  }

  .yc-container {
    width: var(--trm-mobile-tool-width, min(100%, 680px));
  }

  .yc-choice-stage {
    align-items: stretch;
    gap: 5px;
    min-height: 230px;
    padding: 12px 2px 8px;
  }

  .yc-panel-heading .yc-yearly-note {
    width: calc(100% + 18px);
    max-width: calc(100vw - 48px);
    margin-left: -9px;
    margin-right: -9px;
    text-wrap: balance;
  }

  .yc-choice-card {
    width: 100%;
    min-width: 0;
    min-height: 188px;
    padding: 9px 4px 10px;
    grid-template-rows: 36px 84px 46px 26px;
    gap: 4px;
    overflow: hidden;
    border-radius: 16px;
    transform: translateY(10px) scale(0.82);
    opacity: 0.58;
  }

  .yc-card-rank {
    min-height: 34px;
  }

  .yc-choice-card.is-active {
    transform: translateY(-6px) scale(1.12);
    opacity: 1;
  }

  .yc-choice-stage.is-neutral .yc-choice-card {
    transform: none;
    opacity: 1;
  }

  .yc-choice-image-wrap {
    width: min(76px, 82%);
    max-width: 100%;
  }

  .yc-choice-card.is-active .yc-choice-image-wrap {
    width: min(84px, 90%);
    max-width: 100%;
  }

  .yc-choice-name {
    max-width: 100%;
    overflow-wrap: anywhere;
    font-size: clamp(0.72rem, 3.2vw, 1.05rem);
  }

  .yc-choice-leader {
    max-width: 100%;
    overflow-wrap: anywhere;
    font-size: clamp(0.5rem, 2.25vw, 0.64rem);
  }

  .yc-choice-identity {
    grid-template-rows: minmax(2.4em, 1fr) minmax(1.2em, auto);
  }

  .yc-choice-ideology {
    max-width: 100%;
    padding: 4px 6px;
    font-size: 0.62rem;
  }

  .yc-country-buttons {
    margin-bottom: 10px;
  }

  .yc-prompt-first-line,
  .yc-prompt-second-line {
    display: block;
  }

  .yc-prompt-second-line {
    white-space: nowrap;
  }

  .yc-slider-wrap {
    margin-top: 8px;
  }

  .yc-slider {
    min-height: 42px;
  }

  .yc-country-badge {
    margin-bottom: 10px;
  }

  .yc-form-grid {
    grid-template-columns: 1fr;
  }

  .yc-selected-box {
    flex-direction: column;
    gap: 8px;
  }

  .yc-disclosure p {
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
/* [END BLOCK yourchoice-responsive] */

/* [BLOCK yourchoice-large-country-selection] Consistent catalogue for every country. */
.yc-country-scope {
  margin: 0 0 4px;
  color: #674b42;
  font-size: 13px;
  line-height: 20px;
}

.yc-choice-stage.has-many-choices {
  grid-auto-flow: column;
  grid-auto-columns: 160px;
  grid-template-columns: none;
  justify-content: start;
  justify-content: safe center;
  gap: 12px;
  min-height: 0;
  padding: 8px 4px 16px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-color: #8b5a2b #f3e7db;
  scrollbar-width: auto;
  border-radius: 0;
}

.yc-choice-stage.has-many-choices .yc-choice-card {
  width: 100%;
  height: 344px;
  min-height: 0;
  padding: 12px 8px;
  grid-template-rows: 34px 112px 102px 40px;
  gap: 6px;
  transform: none;
  opacity: 1;
  overflow: hidden;
  border-radius: 8px;
  scroll-snap-align: start;
}

.yc-choice-stage.has-many-choices .yc-choice-card.is-active {
  transform: none;
  box-shadow: inset 0 0 0 2px #7a236f;
}

.yc-choice-stage.has-many-choices .yc-choice-image-wrap,
.yc-choice-stage.has-many-choices .yc-choice-card.is-active .yc-choice-image-wrap {
  width: 112px;
  max-width: 100%;
  border-radius: 8px;
}

.yc-choice-stage.has-many-choices .yc-choice-identity {
  grid-template-rows: 36px 36px 30px;
  align-items: center;
  gap: 0;
}

.yc-choice-stage.has-many-choices .yc-choice-leader {
  min-height: 0;
  font-size: 12px;
  line-height: 16px;
  overflow-wrap: anywhere;
}

.yc-choice-stage.has-many-choices .yc-choice-name {
  font-size: 14px;
  line-height: 18px;
  overflow-wrap: normal;
}

.yc-choice-stage.has-many-choices .yc-choice-role {
  display: block;
  margin: 0;
  color: #674b42;
  font-size: 10px;
  line-height: 14px;
  font-weight: 400;
  white-space: pre-line;
  overflow-wrap: normal;
}

.yc-choice-stage.has-many-choices .yc-choice-ideology {
  padding: 4px 6px;
  font-size: 10px;
  line-height: 14px;
  white-space: normal;
  overflow-wrap: normal;
  border-radius: 4px;
  letter-spacing: 0;
}

.yc-disclosure a {
  color: #62305c;
  text-decoration: underline;
}

.yc-country-button:disabled {
  cursor: wait;
}

[data-yc-country-sources][hidden] {
  display: none;
}

@media (max-width: 820px) {
  .yc-choice-stage.has-many-choices {
    grid-auto-columns: 148px;
    gap: 8px;
  }
}
/* [END BLOCK yourchoice-large-country-selection] */

/* [BLOCK yourchoice-photo-credits-footer] */
.yc-photo-credits-footer {
  margin: 20px 0 -8px;
  text-align: center;
  font-size: 12px;
  line-height: 20px;
}

.yc-photo-credits-footer a {
  display: inline-block;
  min-height: 24px;
  padding: 4px 8px;
  color: #f4e8d8;
  text-decoration: underline;
}

.yc-photo-credits-footer a:focus-visible {
  outline: 2px solid #f4e8d8;
  outline-offset: 3px;
}
/* [END BLOCK yourchoice-photo-credits-footer] */

/* [BLOCK yourchoice-party-shortlist] */
.yc-catalogue-tools {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 0 0 8px;
  min-width: 0;
}

.yc-shortlist-label {
  flex: 1 1 220px;
  color: #674b42;
  font-size: 12px;
  line-height: 18px;
}

.yc-more-parties {
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid #b99b85;
  border-radius: 6px;
  background: #fffaf4;
  color: #62305c;
  font: 600 13px/20px "Inter", sans-serif;
  letter-spacing: 0;
  cursor: pointer;
}

.yc-more-parties:hover,
.yc-more-parties[aria-expanded="true"] {
  border-color: #7a236f;
  background: #f2e7f1;
}

.yc-party-search {
  flex: 1 0 100%;
  display: grid;
  gap: 4px;
  min-width: 0;
  color: #674b42;
  font-size: 12px;
  line-height: 18px;
}

.yc-party-search input {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  max-width: 420px;
  height: 44px;
  padding: 10px 12px;
  border: 1px solid #b99b85;
  border-radius: 6px;
  background: #fffdf9;
  color: #35211c;
  font: 14px/20px "Inter", sans-serif;
  letter-spacing: 0;
}

.yc-more-parties:focus-visible,
.yc-party-search input:focus-visible {
  outline: 2px solid #7a236f;
  outline-offset: 3px;
}

.yc-catalogue-tools[hidden],
.yc-party-search[hidden] {
  display: none;
}

.yc-no-matches {
  min-height: 344px;
  margin: 0;
  display: flex;
  align-items: center;
  font-size: 14px;
  line-height: 22px;
}

.yc-slider:disabled {
  cursor: default;
  opacity: 0.45;
}
/* [END BLOCK yourchoice-party-shortlist] */
