.idx-community-section {
  padding-top: 12px;
  padding-bottom: 56px;
}

.idx-community-panel {
  --community-accent: #ef5d99;
  --community-accent-2: #ff8f82;
  --community-soft: rgba(255, 90, 165, .08);
  --community-focus: rgba(255, 90, 165, .2);
  position: relative;
  padding: 12px 15px 15px;
  overflow: hidden;
  border: 2px solid rgba(123, 92, 255, .1);
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(249, 246, 255, .97) 52%, rgba(247, 253, 255, .98)),
    linear-gradient(135deg, rgba(123, 92, 255, .08), rgba(53, 208, 186, .07));
  box-shadow: 0 6px 20px rgba(36, 43, 72, .05);
  transition: border-color .3s ease;
}

.idx-community-panel[data-active-tab="poll"] {
  --community-accent: #7258e8;
  --community-accent-2: #a16df0;
  --community-soft: rgba(123, 92, 255, .08);
  --community-focus: rgba(123, 92, 255, .22);
}

.idx-community-panel[data-active-tab="request"] {
  --community-accent: #20bfa7;
  --community-accent-2: #55d7a9;
  --community-soft: rgba(53, 208, 186, .09);
  --community-focus: rgba(53, 208, 186, .23);
}

.idx-community-panel::before {
  position: absolute;
  top: -126px;
  right: -108px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 255, 255, .88) 0 3px, transparent 4px) 0 0 / 28px 28px,
    linear-gradient(135deg, rgba(123, 92, 255, .12), rgba(255, 90, 165, .05));
  content: "";
  opacity: .68;
  pointer-events: none;
  transform: rotate(12deg);
}

.idx-community-tabs {
  position: relative;
  z-index: 2;
  display: grid;
  margin-bottom: 13px;
  padding: 7px 7px 5px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  border: 1px solid rgba(24, 32, 51, .065);
  border-radius: 20px;
  background: rgba(255, 255, 255, .84);
  box-shadow: 0 7px 24px rgba(50, 56, 86, .055);
}

.idx-community-tab {
  --tab-color: #ef5d99;
  --tab-color-2: #ff8f82;
  --tab-soft: rgba(255, 90, 165, .09);
  --tab-shadow: rgba(255, 90, 165, .2);
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 48px;
  padding: 9px 6px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid transparent;
  border-radius: 14px;
  color: rgba(24, 32, 51, .62);
  background: transparent;
  font-family: inherit;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
  transition:
    color .22s ease,
    background .22s ease,
    border-color .22s ease,
    box-shadow .28s ease,
    transform .28s cubic-bezier(.34, 1.56, .64, 1);
}

.idx-community-tab[data-community-tab="poll"] {
  --tab-color: #7258e8;
  --tab-color-2: #a16df0;
  --tab-soft: rgba(123, 92, 255, .1);
  --tab-shadow: rgba(123, 92, 255, .23);
}

.idx-community-tab[data-community-tab="request"] {
  --tab-color: #20bfa7;
  --tab-color-2: #55d7a9;
  --tab-soft: rgba(53, 208, 186, .11);
  --tab-shadow: rgba(53, 208, 186, .24);
}

.idx-community-tab:hover {
  color: var(--tab-color);
  background: var(--tab-soft);
  transform: translateY(-2px);
}

.idx-community-tab:focus-visible {
  outline: 3px solid var(--tab-soft);
  outline-offset: 2px;
}

.idx-community-tab[aria-selected="true"] {
  z-index: 1;
  color: #fff;
  border-color: rgba(255, 255, 255, .52);
  background: linear-gradient(135deg, var(--tab-color), var(--tab-color-2));
  box-shadow: 0 3px 5px var(--tab-shadow);
  transform: translateY(-2px) scale(1.025);
}

.idx-community-tab[aria-selected="true"]::before,
.idx-community-tab[aria-selected="true"]::after {
  position: absolute;
  z-index: 2;
  color: var(--tab-color);
  content: "✦";
  font-size: 10px;
  pointer-events: none;
  text-shadow: 0 2px 7px rgba(255, 255, 255, .85);
}

.idx-community-tab[aria-selected="true"]::before {
  top: -9px;
  left: 12%;
  animation: idxCommunitySparkle 1.9s ease-in-out infinite;
}

.idx-community-tab[aria-selected="true"]::after {
  right: 10%;
  bottom: -9px;
  animation: idxCommunitySparkle 1.9s .5s ease-in-out infinite reverse;
}

.idx-community-tab.is-bouncing {
  animation: idxCommunityTabBounce .52s cubic-bezier(.34, 1.56, .64, 1);
}

.idx-community-tab-icon {
  display: inline-grid;
  width: 25px;
  height: 25px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 9px;
  color: var(--tab-color);
  background: var(--tab-soft);
  font-size: 13px;
  line-height: 1;
  transition: color .2s ease, background .2s ease, transform .3s cubic-bezier(.34, 1.56, .64, 1);
}

.idx-community-tab[aria-selected="true"] .idx-community-tab-icon {
  background: rgba(255, 255, 255, .92);
  transform: rotate(-7deg) scale(1.08);
}

.idx-community-content {
  position: relative;
  z-index: 1;
}

.idx-community-content.is-switching {
  animation: idxCommunityPanelIn .62s cubic-bezier(.34, 1.56, .64, 1);
}

.idx-community-content [hidden] {
  display: none !important;
}

.idx-community-card {
  position: relative;
  min-height: 238px;
  padding: 26px 22px 24px;
  overflow: hidden;
  border: 1px solid var(--community-soft);
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .99), var(--community-soft));
  box-shadow: 0 12px 34px rgba(47, 55, 94, .085), inset 0 1px 0 rgba(255, 255, 255, .8);
  transition: background .3s ease, border-color .3s ease;
}

.idx-community-card::before {
  position: absolute;
  top: -72px;
  right: -68px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--community-soft), transparent 68%);
  content: "";
  pointer-events: none;
}

.idx-community-intro {
  position: absolute;
  z-index: 3;
  inset: 0;
  display: flex;
  padding: 28px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  visibility: hidden;
  color: var(--community-accent);
  background:
    radial-gradient(circle at 50% 35%, var(--community-soft), transparent 34%),
    linear-gradient(160deg, rgba(255, 255, 255, .99), var(--community-soft));
  opacity: 0;
  text-align: center;
  pointer-events: none;
}

.idx-community-intro strong {
  max-width: 680px;
  font-family: "M PLUS Rounded 1c", "M PLUS 2", sans-serif;
  font-size: clamp(21px, 3.2vw, 31px);
  font-weight: 900;
  letter-spacing: .02em;
  line-height: 1.55;
}

.idx-community-intro span {
  display: inline-flex;
  padding: 6px 13px;
  border: 1px solid var(--community-focus);
  border-radius: 999px;
  color: var(--community-accent);
  background: rgba(255, 255, 255, .78);
  font-size: 13px;
  font-weight: 900;
}

.idx-community-card.is-introducing .idx-community-intro {
  visibility: visible;
  animation: idxCommunityIntro 1.7s ease-in-out both;
}

.idx-community-card.is-introducing .idx-community-inner {
  visibility: hidden;
  opacity: 0;
}

.idx-community-card.is-content-entering .idx-community-inner {
  animation: idxCommunityContentIn .56s cubic-bezier(.34, 1.56, .64, 1) both;
}

.idx-community-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.idx-community-field {
  margin-bottom: 14px;
}

.idx-community-field > label,
.idx-community-field-legend {
  display: flex;
  margin-bottom: 7px;
  align-items: center;
  gap: 6px;
  color: #35405b;
  font-size: 13px;
  font-weight: 900;
}

.idx-community-required,
.idx-community-optional {
  display: inline-flex;
  padding: 3px 6px;
  align-items: center;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
}

.idx-community-required {
  color: #d8467f;
  background: rgba(255, 90, 165, .11);
}

.idx-community-optional {
  color: #71809c;
  background: rgba(113, 128, 156, .09);
}

.idx-community-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.idx-community-input-icon {
  position: absolute;
  left: 9px;
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 8px;
  color: var(--community-accent);
  background: var(--community-soft);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
}

.idx-community-input,
.idx-community-textarea {
  width: 100%;
  border: 1px solid rgba(24, 32, 51, .09);
  border-radius: 14px;
  outline: 0;
  color: #182033;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 2px 6px rgba(42, 49, 78, .04);
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.idx-community-input {
  height: 46px;
  padding: 0 14px 0 44px;
}

.idx-community-textarea {
  min-height: 100px;
  padding: 12px 14px;
  line-height: 1.7;
  resize: vertical;
}

.idx-community-input:focus,
.idx-community-textarea:focus {
  border-color: var(--community-accent);
  background: #fff;
  box-shadow: 0 0 0 4px var(--community-soft);
}

.idx-community-counter {
  margin-top: 5px;
  color: rgba(91, 100, 122, .5);
  font-size: 11px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.idx-community-field-toggle {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 5px 11px 5px 5px;
  align-items: center;
  gap: 7px;
  border: 0;
  border-radius: 999px;
  color: rgba(91, 100, 122, .78);
  background: rgba(255, 255, 255, .72);
  box-shadow: inset 0 0 0 1px rgba(24, 32, 51, .06);
  font-family: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.idx-community-field-toggle::before {
  display: grid;
  width: 21px;
  height: 21px;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: var(--community-accent);
  content: "＋";
  font-size: 12px;
  line-height: 1;
  transition: transform .3s cubic-bezier(.34, 1.56, .64, 1);
}

.idx-community-field-toggle[aria-expanded="true"]::before {
  content: "−";
  transform: rotate(180deg);
}

.idx-community-extra {
  animation: idxCommunityFieldIn .42s cubic-bezier(.34, 1.56, .64, 1);
}

.idx-community-permission {
  display: flex;
  padding: 12px 13px;
  align-items: flex-start;
  gap: 10px;
  border: 1px dashed rgba(255, 90, 165, .28);
  border-radius: 14px;
  color: rgba(50, 59, 82, .8);
  background: rgba(255, 90, 165, .05);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.65;
  cursor: pointer;
}

.idx-community-permission[hidden] {
  display: none;
}

.idx-community-permission input {
  width: 17px;
  height: 17px;
  margin: 1px 0 0;
  flex: 0 0 auto;
  accent-color: #ef5d99;
}

.idx-community-type-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.idx-community-type-chip {
  display: flex;
  min-height: 42px;
  padding: 9px 12px;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(24, 32, 51, .08);
  border-radius: 13px;
  color: rgba(50, 59, 82, .74);
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 3px 10px rgba(42, 49, 78, .035);
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease, background .2s ease, transform .25s cubic-bezier(.34, 1.56, .64, 1);
}

.idx-community-type-chip:hover {
  color: var(--community-accent);
  border-color: var(--community-focus);
  transform: translateY(-2px);
}

.idx-community-type-chip:has(input:checked) {
  color: var(--community-accent);
  border-color: var(--community-accent);
  background: var(--community-soft);
}

.idx-community-type-chip input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: #20bfa7;
}

.idx-community-submit-area {
  margin-top: 18px;
  text-align: center;
}

.idx-community-submit {
  position: relative;
  display: inline-flex;
  min-width: 240px;
  min-height: 48px;
  padding: 12px 26px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--community-accent), var(--community-accent-2));
  box-shadow: 0 12px 26px var(--community-focus);
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
  transition: transform .3s cubic-bezier(.34, 1.56, .64, 1), box-shadow .22s ease, opacity .2s ease;
}

.idx-community-submit::after {
  position: absolute;
  top: -60%;
  left: -45%;
  width: 35%;
  height: 220%;
  background: rgba(255, 255, 255, .26);
  content: "";
  transform: rotate(20deg);
  transition: left .55s ease;
}

.idx-community-submit:hover {
  box-shadow: 0 16px 30px var(--community-focus);
  transform: translateY(-2px) scale(1.02);
}

.idx-community-submit:hover::after {
  left: 115%;
}

.idx-community-submit:focus-visible {
  outline: 3px solid var(--community-focus);
  outline-offset: 3px;
}

.idx-community-submit:disabled {
  opacity: .6;
  cursor: wait;
  transform: none;
}

.idx-community-submit-note {
  margin: 10px 0 0;
  color: rgba(91, 100, 122, .55);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.6;
}

.idx-community-message {
  display: flex;
  margin-top: 14px;
  padding: 12px 14px;
  align-items: center;
  gap: 10px;
  border-radius: 14px;
  color: #157b6b;
  background: rgba(53, 208, 186, .11);
  box-shadow: inset 0 0 0 1px rgba(53, 208, 186, .2);
  font-size: 13px;
  font-weight: 900;
  text-align: left;
  animation: idxCommunityFieldIn .45s cubic-bezier(.34, 1.56, .64, 1);
}

.idx-community-message[hidden] {
  display: none;
}

.idx-community-message::before {
  display: grid;
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: #35d0ba;
  content: "✓";
}

.idx-community-message.is-error {
  color: #a7355f;
  background: rgba(255, 90, 165, .09);
  box-shadow: inset 0 0 0 1px rgba(255, 90, 165, .2);
}

.idx-community-message.is-error::before {
  background: #ef5d99;
  content: "!";
}

.idx-community-poll-question {
  margin: 0 0 18px;
  font-family: "M PLUS Rounded 1c", "M PLUS 2", sans-serif;
  font-size: clamp(21px, 2.9vw, 29px);
  font-weight: 900;
  line-height: 1.42;
  text-align: center;
}

.idx-community-poll-options {
  display: grid;
  gap: 8px;
}

.idx-community-poll-option {
  --fill: 0%;
  position: relative;
  display: grid;
  width: 100%;
  min-height: 58px;
  padding: 10px 14px;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  overflow: hidden;
  border: 1px solid rgba(24, 32, 51, .07);
  border-radius: 17px;
  color: #182033;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 5px 16px rgba(42, 49, 78, .045);
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  isolation: isolate;
  transition: border-color .22s ease, box-shadow .25s ease, transform .28s cubic-bezier(.34, 1.56, .64, 1);
}

.idx-community-poll-option::before {
  position: absolute;
  z-index: -1;
  inset: 0 auto 0 0;
  width: var(--fill);
  background: linear-gradient(90deg, rgba(123, 92, 255, .22), rgba(58, 166, 255, .11));
  content: "";
  transition: width .8s cubic-bezier(.22, 1, .36, 1);
}

.idx-community-poll-option:hover:not(:disabled) {
  border-color: #7258e8;
  box-shadow: 0 9px 24px rgba(47, 55, 94, .09);
  transform: translateX(3px) scale(1.008);
}

.idx-community-poll-option:focus-visible {
  outline: 3px solid rgba(123, 92, 255, .22);
  outline-offset: 2px;
}

.idx-community-poll-option.is-selected {
  border-color: #7258e8;
  box-shadow: 0 10px 26px rgba(123, 92, 255, .14), inset 0 0 0 1px rgba(255, 255, 255, .7);
  transform: translateX(4px);
}

.idx-community-poll-option:disabled {
  color: #182033;
  cursor: default;
}

.idx-community-option-letter {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 10px;
  color: #7258e8;
  background: rgba(123, 92, 255, .1);
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-size: 14px;
  font-weight: 900;
}

.is-selected .idx-community-option-letter {
  color: #fff;
  background: linear-gradient(135deg, #7258e8, #a16df0);
  transform: rotate(-7deg) scale(1.08);
}

.idx-community-option-name {
  min-width: 0;
  font-family: "M PLUS Rounded 1c", "M PLUS 2", sans-serif;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.45;
}

.idx-community-option-percent {
  color: #6546c7;
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-size: 18px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  opacity: 0;
  transform: translateX(10px);
  transition: opacity .3s ease, transform .38s cubic-bezier(.34, 1.56, .64, 1);
}

.idx-community-poll-options.is-results .idx-community-option-percent {
  opacity: 1;
  transform: translateX(0);
}

.idx-community-poll-empty {
  display: grid;
  min-height: 150px;
  place-items: center;
  color: rgba(91, 100, 122, .64);
  font-size: 14px;
  font-weight: 900;
  text-align: center;
}

.idx-community-reward {
  display: flex;
  margin-top: 13px;
  padding: 11px 16px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--community-soft);
  border-radius: 15px;
  color: var(--community-accent);
  background: linear-gradient(160deg, rgba(255, 255, 255, .99), var(--community-soft));
  box-shadow: 0 8px 22px rgba(47, 55, 94, .055), inset 0 1px 0 rgba(255, 255, 255, .8);
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.5;
  text-align: center;
  transition: color .3s ease, background .3s ease, border-color .3s ease;
}

.idx-community-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

@keyframes idxCommunitySparkle {
  0%, 100% { opacity: .25; transform: translateY(3px) rotate(0) scale(.5); }
  50% { opacity: 1; transform: translateY(-2px) rotate(90deg) scale(1.25); }
}

@keyframes idxCommunityTabBounce {
  0% { transform: translateY(-2px) scale(1.025); }
  36% { transform: translateY(-7px) scale(.96, 1.12) rotate(-1deg); }
  66% { transform: translateY(1px) scale(1.06, .95) rotate(1deg); }
  100% { transform: translateY(-2px) scale(1.025); }
}

@keyframes idxCommunityPanelIn {
  0% { opacity: .35; transform: translateY(13px) scale(.975, .96); }
  48% { opacity: 1; transform: translateY(-4px) scale(1.012, 1.025); }
  72% { transform: translateY(2px) scale(.995, .99); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes idxCommunityFieldIn {
  0% { opacity: 0; transform: translateY(8px) scale(.97); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes idxCommunityIntro {
  0% { opacity: 0; transform: translateY(10px) scale(.975); }
  12% { opacity: 1; transform: translateY(0) scale(1); }
  78% { opacity: 1; transform: translateY(0) scale(1); }
  100% { opacity: 0; transform: translateY(-8px) scale(1.015); }
}

@keyframes idxCommunityContentIn {
  0% { opacity: 0; transform: translateY(10px) scale(.985); }
  62% { opacity: 1; transform: translateY(-2px) scale(1.004); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 680px) {
  .idx-community-section {
    padding-bottom: 42px;
  }

  .idx-community-panel {
    padding: 10px 11px 12px;
    border-radius: 22px;
  }

  .idx-community-tabs {
    display: flex;
    margin-right: -11px;
    margin-left: -11px;
    padding-right: 11px;
    padding-left: 11px;
    overflow-x: auto;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .idx-community-tabs::-webkit-scrollbar {
    display: none;
  }

  .idx-community-tab {
    min-width: 152px;
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  .idx-community-card {
    min-height: 260px;
    padding: 20px 15px 18px;
    border-radius: 18px;
  }

  .idx-community-type-grid {
    grid-template-columns: 1fr;
  }

  .idx-community-submit {
    width: 100%;
  }

  .idx-community-intro {
    padding: 20px;
  }

  .idx-community-intro strong {
    font-size: 21px;
  }

  .idx-community-reward {
    padding: 10px 12px;
    font-size: 12px;
  }

  .idx-community-option-name {
    font-size: 13px;
  }

  .idx-community-option-percent {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .idx-community-tab,
  .idx-community-tab::before,
  .idx-community-tab::after,
  .idx-community-content,
  .idx-community-inner,
  .idx-community-message,
  .idx-community-poll-option,
  .idx-community-option-percent {
    animation: none !important;
    transition: none !important;
  }

  .idx-community-card.is-introducing .idx-community-intro {
    visibility: visible;
    opacity: 1;
    animation: none !important;
  }
}
