.gform {
  width: min(760px, calc(100% - 28px));
  margin: 112px auto 72px;
  color: #f3f5f8;
}

.gform__banner {
  position: relative;
  height: 230px;
  margin-bottom: 12px;
  overflow: hidden;
  border-radius: 18px;
  background: #111;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.gform__banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
  -webkit-user-drag: none;
  user-select: none;
  -webkit-touch-callout: none;
}

.gform__shield {
  position: absolute;
  inset: 0;
  border-radius: 18px;
  background: transparent;
}

.gform__card {
  background: #121418;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}

.gform__intro {
  padding: 22px 24px 18px;
  border-top: 10px solid #0067ed;
}

.gform__intro h1 {
  margin: 0 0 12px;
  font-size: 2rem;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.gform__intro p {
  margin: 0 0 12px;
  color: #c5ccd6;
  font-size: 0.98rem;
  line-height: 1.55;
}

.gform__rule {
  height: 1px;
  margin: 16px 0;
  background: rgba(255, 255, 255, 0.12);
  transform-origin: left center;
  animation: gform-line 0.7s ease 0.2s both;
}

.gform__anon {
  margin: 0;
  color: #8b95a3;
  font-size: 0.86rem;
}

.gform__block {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.gform__section {
  padding: 16px 24px;
  border-top: 10px solid #0067ed;
}

.gform__section h2 {
  margin: 0;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.gform__question {
  padding: 20px 24px 16px;
}

.gform__question h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.45;
}

.gform__num {
  margin-right: 6px;
}

.gform__star {
  margin-left: 4px;
  color: #d93025;
  text-decoration: none;
}

.gform__scale {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  margin-top: 22px;
}

.gform__scale-end {
  width: 72px;
  color: #8b95a3;
  font-size: 0.82rem;
}

.gform__scale-end:last-child {
  text-align: right;
}

.gform__scale label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #c5ccd6;
  font-size: 0.86rem;
  cursor: pointer;
  transition: transform 0.2s ease, color 0.2s ease;
}

.gform__scale label:hover {
  transform: translateY(-2px);
}

.gform__scale label:has(input:checked) {
  color: #7eb6ff;
  transform: translateY(-3px);
}

.gform__choices {
  display: grid;
  gap: 2px;
  margin-top: 14px;
}

.gform__choice {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 40px;
  margin: 0 -8px;
  padding: 4px 8px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.22s ease, transform 0.22s ease;
}

.gform__choice:hover {
  background: rgba(255, 255, 255, 0.04);
}

.gform__choice:has(input:checked) {
  background: rgba(0, 103, 237, 0.18);
  animation: gform-select 0.28s ease;
}

.gform__choice span,
.gform__scale label span {
  color: #f3f5f8;
}

.gform input[type='radio'] {
  appearance: none;
  width: 20px;
  height: 20px;
  margin: 0;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  background: transparent;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.gform input[type='radio']:hover {
  border-color: #7eb6ff;
}

.gform input[type='radio']:checked {
  border-color: #0067ed;
  transform: scale(1.06);
}

.gform input[type='radio']:checked::after {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #0067ed;
  animation: gform-pop 0.18s ease;
}

.gform input[type='radio']:focus-visible {
  outline: 2px solid #0067ed;
  outline-offset: 2px;
}

.gform textarea {
  width: 100%;
  margin-top: 16px;
  padding: 8px 0 10px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 0;
  background: transparent;
  color: #f3f5f8;
  font: inherit;
  font-size: 1rem;
  line-height: 1.45;
  resize: vertical;
}

.gform textarea:focus {
  outline: none;
  border-bottom: 2px solid #0067ed;
}

.gform textarea::placeholder {
  color: #8b95a3;
}

.gform__error {
  display: none;
  margin: 12px 0 0;
  color: #d93025;
  font-size: 0.84rem;
}

.gform__question.is-invalid {
  border-left: 4px solid #d93025;
}

.gform__question.is-invalid .gform__error {
  display: block;
}

.gform__form {
  position: relative;
}

.gform__trap {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.gform__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
}

.gform__status {
  margin: 0;
  color: #f6aea9;
  font-size: 0.92rem;
}

.gform__submit {
  border: 0;
  border-radius: 4px;
  padding: 10px 24px;
  background: #0067ed;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.gform__submit {
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.gform__submit:hover {
  background: #1a78f2;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0, 103, 237, 0.35);
}

.gform__submit:active {
  transform: translateY(0) scale(0.97);
  box-shadow: none;
}

.gform__submit:disabled {
  opacity: 0.7;
  cursor: progress;
  transform: none;
}

.gform__banner,
.gform__intro,
.gform__section,
.gform__question,
.gform__actions {
  animation: gform-rise 0.55s ease both;
}

.gform__banner {
  animation-delay: 0.02s;
}

.gform__intro {
  animation-delay: 0.08s;
}

.gform__section,
.gform__question {
  animation-delay: calc(var(--d, 1) * 35ms);
}

.gform__actions {
  animation-delay: 0.45s;
}

.gform__question {
  transition: border-color 0.25s ease, background 0.25s ease;
}

.gform__question:hover {
  border-color: rgba(0, 103, 237, 0.45);
  background: #171b22;
}

@keyframes gform-rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes gform-line {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@keyframes gform-pop {
  from {
    transform: scale(0.3);
  }
  to {
    transform: scale(1);
  }
}

@keyframes gform-select {
  from {
    transform: translateX(8px);
  }
  to {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gform__banner,
  .gform__intro,
  .gform__section,
  .gform__question,
  .gform__actions,
  .gform__rule,
  .ffeed__slide.is-shown,
  .gform input[type='radio']:checked::after,
  .gform__choice:has(input:checked) {
    animation: none;
  }
}

.gform__thanks {
  margin-top: 12px;
  padding: 28px 24px;
  border-top: 10px solid #0067ed;
}

.gform__thanks h2 {
  margin: 0 0 8px;
  font-size: 1.35rem;
}

.gform__thanks p {
  margin: 0 0 16px;
  color: #c5ccd6;
  line-height: 1.5;
}

.gform__thanks a {
  color: #0067ed;
  font-weight: 700;
}

.ffeed {
  width: min(820px, calc(100% - 28px));
  margin: 112px auto 72px;
}

.ffeed__head h1 {
  margin: 0 0 6px;
  font-size: 2rem;
  letter-spacing: -0.03em;
}

.ffeed__head p,
.ffeed__empty {
  margin: 0;
  color: #a0a8b5;
}

.ffeed__pager,
.ffeed__card {
  margin-top: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: #121418;
}

.ffeed__pager {
  padding: 22px 22px 14px;
}

.ffeed__pager h1 {
  margin: 0;
  font-size: 1.7rem;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.ffeed__rule {
  height: 1px;
  margin: 18px 0 12px;
  background: rgba(255, 255, 255, 0.14);
}

.ffeed__pager-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.ffeed__nav,
.ffeed__tools {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ffeed__nav p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #c5ccd6;
}

.ffeed__countbox {
  min-width: 36px;
  padding: 4px 8px;
  border-bottom: 2px solid #0067ed;
  color: #fff;
  text-align: center;
}

.ffeed__pager button,
.ffeed__tools button {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #d5dbe3;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.ffeed__pager button svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.ffeed__pager button:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.08);
  transform: scale(1.08);
}

.ffeed__pager button:active:not(:disabled) {
  transform: scale(0.94);
}

.ffeed__pager button:disabled {
  opacity: 0.35;
  cursor: default;
}

.ffeed__tools [data-delete]:hover {
  color: #ff8d8d;
  background: rgba(218, 55, 60, 0.16);
}

.ffeed__status {
  min-height: 1.2em;
  margin: 8px 0 0;
  color: #f6aea9;
  font-size: 0.88rem;
}

.ffeed__card {
  padding: 8px 22px 10px;
  border-top: 8px solid #0067ed;
}

.ffeed__slide.is-shown {
  animation: gform-rise 0.35s ease;
}

.ffeed__meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  margin-bottom: 8px;
}

.ffeed__meta h2 {
  margin: 0;
  font-size: 1.15rem;
}

.ffeed__meta time {
  color: #a0a8b5;
  font-size: 0.86rem;
  white-space: nowrap;
}

.ffeed__section {
  padding: 8px 0 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.ffeed__section h3 {
  margin: 12px 0 8px;
  color: #7eb6ff;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
}

.ffeed__qa {
  margin: 0 0 14px;
}

.ffeed__q {
  margin: 0 0 4px;
  color: #c5ccd6;
  font-size: 0.92rem;
  line-height: 1.4;
}

.ffeed__a {
  margin: 0;
  white-space: pre-wrap;
  line-height: 1.45;
}

.ffeed__a.is-empty {
  color: #6d7682;
}

@media (max-width: 640px) {
  .gform__banner {
    height: 160px;
  }

  .gform__intro,
  .gform__section,
  .gform__question,
  .gform__thanks {
    padding-left: 16px;
    padding-right: 16px;
  }

  .gform__intro h1 {
    font-size: 1.6rem;
  }

  .gform__scale {
    gap: 4px;
  }

  .gform__scale-end {
    width: auto;
    font-size: 0.72rem;
  }

  .ffeed__meta,
  .ffeed__pager-row {
    flex-direction: column;
    align-items: flex-start;
  }
}
