.feedback-page {
  --feedback-accent: #ff5000;
  --feedback-panel: rgba(255, 255, 255, 0.05);
  color: #fff;
  width: 1520px;
  max-width: calc(100% - 64px);
  margin: 30px auto;
}
.feedback-page * {
  box-sizing: border-box;
}
.feedback-breadcrumb {
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 18px;
  line-height: 24px;
  margin-bottom: 30px;
}
.feedback-breadcrumb a {
  color: inherit;
  text-decoration: none;
}
.feedback-breadcrumb [aria-current] {
  color: var(--feedback-accent);
}
.feedback-form {
  display: flex;
  flex-direction: column;
  gap: 36px;
  padding: 60px clamp(36px, 6.25vw, 120px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 60px;
  background: var(--feedback-panel);
}
.feedback-title,
.feedback-intro,
.feedback-note,
.feedback-section h2 {
  margin: 0;
}
.feedback-title {
  font-size: 24px;
  line-height: 32px;
  text-align: center;
}
.feedback-intro,
.feedback-note {
  color: rgba(255, 255, 255, 0.55);
  font-size: 16px;
  line-height: 22px;
  text-align: center;
}
.feedback-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}
.feedback-section h2 {
  font-size: 18px;
  line-height: 24px;
  font-weight: 500;
}
.feedback-panel,
.feedback-description-box,
.feedback-contact > .feedback-control {
  padding: 24px 36px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background: var(--feedback-panel);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}
.feedback-choices {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.feedback-choices--issues {
  display: flex;
  flex-wrap: wrap;
}
.feedback-choice {
  position: relative;
  min-width: 0;
  cursor: pointer;
}
.feedback-choice input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.feedback-choice span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  font-size: 16px;
  line-height: 22px;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.8);
}
.feedback-choice input:checked + span {
  background: var(--feedback-accent);
  border-color: var(--feedback-accent);
  color: #fff;
}
.feedback-choice input:focus-visible + span,
.feedback-upload:focus-visible {
  outline: 2px solid var(--feedback-accent);
  outline-offset: 3px;
}
.feedback-stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.feedback-label {
  font-size: 20px;
  line-height: 28px;
  color: rgba(255, 255, 255, 0.55);
}
.feedback-address {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.feedback-control {
  width: 100%;
  min-width: 0;
  display: block;
  height: 58px;
  padding: 16px 24px;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  font: inherit;
  font-size: 16px;
  line-height: 24px;
  outline: none;
  box-shadow: none;
}
.feedback-control::placeholder {
  color: rgba(255, 255, 255, 0.4);
  opacity: 1;
}
.feedback-control:focus {
  border-color: var(--feedback-accent);
  outline: none;
}
.feedback-control option {
  background: #242424;
  color: #fff;
}
.feedback-control:invalid {
  box-shadow: none;
}
.feedback-description-box {
  padding: 24px;
}
.feedback-description-box:focus-within {
  border-color: var(--feedback-accent);
}
.feedback-description-box textarea {
  height: 255px;
  padding: 0;
  border: 0;
  border-radius: 0;
  resize: vertical;
}
.feedback-counter {
  display: block;
  color: rgba(255, 255, 255, 0.4);
  text-align: right;
  margin-top: 24px;
  font-size: 14px;
  line-height: 20px;
}
.feedback-upload-list {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.feedback-upload,
.feedback-file {
  width: 300px;
  height: 300px;
  max-width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background: var(--feedback-panel);
  position: relative;
}
.feedback-upload {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 6px;
  cursor: pointer;
  font-size: 14px;
  line-height: 20px;
  color: rgba(255, 255, 255, 0.8);
}
.feedback-upload img {
  margin-bottom: 18px;
}
.feedback-upload small,
.feedback-file-limit {
  font-size: 12px;
  line-height: 18px;
  color: rgba(255, 255, 255, 0.4);
}
.feedback-file-limit {
  margin: 0;
}
.feedback-file {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.feedback-file img,
.feedback-file video {
  width: 100%;
  min-height: 0;
  flex: 1;
  object-fit: contain;
  border-radius: 12px;
}
.feedback-file-name {
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.feedback-file-remove {
  position: absolute;
  right: 8px;
  top: 8px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 0;
  background: #333;
  color: #fff;
  cursor: pointer;
}
.feedback-contact > .feedback-control {
  height: 70px;
  padding: 22px 24px;
  resize: none;
}
.feedback-submit {
  background: var(--feedback-accent);
  border: 0;
  color: #fff;
  border-radius: 999px;
  width: 100%;
  min-height: 58px;
  font-size: 16px;
  cursor: pointer;
}
.feedback-submit:hover {
  background: #e94800;
}
.feedback-submit:disabled {
  opacity: 0.6;
  cursor: wait;
}
.feedback-error {
  color: #ff8863;
  margin: 0;
  font-size: 14px;
}
.feedback-form [hidden] {
  display: none !important;
}
.feedback-mobile-break {
  display: none;
}
@media (max-width: 767px) {
  .feedback-page {
    max-width: calc(100% - 32px);
    margin: 12px auto 18px;
  }
  .feedback-breadcrumb {
    font-size: 12px;
    line-height: 18px;
    margin-bottom: 18px;
  }
  .feedback-form {
    border-radius: 18px;
    padding: 24px 20px;
    gap: 18px;
  }
  .feedback-title,
  .feedback-intro {
    display: none;
  }
  .feedback-section {
    gap: 12px;
  }
  .feedback-section h2 {
    font-size: 16px;
    line-height: 22px;
  }
  .feedback-required {
    color: var(--feedback-accent);
  }
  .feedback-issues {
    order: 0;
  }
  .feedback-network {
    order: 1;
  }
  .feedback-frequency {
    order: 2;
  }
  .feedback-device {
    order: 3;
  }
  .feedback-description {
    order: 4;
  }
  .feedback-files {
    order: 5;
  }
  .feedback-contact {
    order: 6;
  }
  .feedback-error {
    order: 7;
  }
  .feedback-submit {
    order: 8;
  }
  .feedback-note {
    order: 9;
  }
  .feedback-panel {
    border-radius: 18px;
    padding: 24px 18px;
  }
  .feedback-issues .feedback-panel {
    padding: 24px 16px;
  }
  .feedback-choices {
    gap: 10px;
  }
  .feedback-choices--issues {
    gap: 12px 10px;
  }
  .feedback-choice span {
    padding: 12px 8px;
    font-size: 12px;
    line-height: 18px;
    min-height: 42px;
    border-radius: 10px;
  }
  .feedback-choices--issues .feedback-choice span {
    padding: 12px 10px;
  }
  .feedback-frequency .feedback-panel {
    padding: 24px 12px;
  }
  .feedback-frequency .feedback-choice span {
    padding: 12px 2px;
  }
  .feedback-stack {
    gap: 12px;
    padding: 24px 18px;
  }
  .feedback-label {
    font-size: 14px;
    line-height: 20px;
  }
  .feedback-address {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .feedback-control {
    height: 42px;
    padding: 10px 18px;
    font-size: 12px;
    line-height: 20px;
  }
  .feedback-description-box {
    border-radius: 18px;
    padding: 24px;
  }
  .feedback-description-box textarea {
    font-size: 14px;
    line-height: 20px;
  }
  .feedback-upload-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .feedback-upload,
  .feedback-file {
    width: 100%;
    min-width: 0;
    height: 150px;
    border-radius: 18px;
  }
  .feedback-file { padding: 10px; gap: 6px; }
  .feedback-upload { padding: 8px; font-size: 12px; gap: 4px; }
  .feedback-upload small { font-size: 10px; line-height: 16px; }
  .feedback-upload img {
    width: 28px;
    height: 28px;
    margin-bottom: 4px;
  }
  .feedback-mobile-break {
    display: block;
  }
  .feedback-contact > .feedback-control {
    height: 88px;
    font-size: 14px;
    line-height: 20px;
    padding: 24px;
    border-radius: 18px;
  }
  .feedback-note {
    font-size: 12px;
    line-height: 18px;
  }
}

/* Custom selects share the form theme and stay inside the visible viewport. */
.feedback-select-trigger { display:flex; align-items:center; justify-content:space-between; gap:12px; text-align:left; cursor:pointer; }
.feedback-select-trigger::after { content:""; width:8px; height:8px; flex:none; border-right:2px solid currentColor; border-bottom:2px solid currentColor; transform:translateY(-2px) rotate(45deg); }
.feedback-select-trigger[aria-expanded="true"] { border-color:var(--feedback-accent); }
.feedback-select-trigger[aria-expanded="true"]::after { transform:translateY(2px) rotate(225deg); }
.feedback-select-trigger.is-placeholder { color:#aaa; }
.feedback-select-menu { position:fixed; z-index:1100; box-sizing:border-box; padding:6px; border:1px solid #555; border-radius:12px; background:#292929; box-shadow:0 12px 28px rgba(0,0,0,.35); overflow-y:auto; overscroll-behavior:contain; scrollbar-width:thin; scrollbar-color:#666 #292929; }
.feedback-select-menu[hidden] { display:none; }
.feedback-select-menu button { display:block; width:100%; min-height:44px; padding:10px 12px; border:0; border-radius:7px; background:transparent; color:#eee; text-align:left; font:inherit; font-size:14px; line-height:22px; cursor:pointer; }
.feedback-select-menu button:hover,.feedback-select-menu button.is-active { background:#3b3b3b; }
.feedback-select-menu button[aria-selected="true"] { color:#fff; background:#c83f00; }
.feedback-contact > .feedback-control { height:auto; min-height:70px; overflow:hidden; overflow-wrap:anywhere; }
@media(max-width:767px) {
 .feedback-select-trigger { min-height:44px; font-size:14px; }
 .feedback-contact > .feedback-control { min-height:92px; }
}

.feedback-file-status { display:block; font-size:12px; color:#aaa; overflow-wrap:anywhere; }
.feedback-file-retry { border:1px solid #ff5000; border-radius:6px; background:transparent; color:#ff5000; padding:6px 12px; cursor:pointer; }
