.annoying-ui-page,
.annoying-ui-page * {
  box-sizing: border-box;
}

.annoying-ui-page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  background: #fff;
  color: #111827;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Noto Sans JP", sans-serif;
}

.annoying-ui-page + .seeda-section--footer .seeda-footer {
  margin-top: 0;
}

.annoying-hero {
  margin-bottom: 40px;
}

.annoying-hero__eyebrow {
  margin: 0;
  color: #f97316;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.annoying-hero h1 {
  margin: 8px 0 12px;
  color: #111827;
  font-size: clamp(32px, 5vw, 56px);
  letter-spacing: 0;
  line-height: 1.12;
}

.annoying-hero p {
  max-width: 680px;
  color: #6b7280;
  line-height: 1.8;
}

.annoying-hero__anchors {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.annoying-hero__anchors a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 16px;
  border: 1px solid #fed7aa;
  border-radius: 999px;
  background: #fff3e8;
  color: #f97316;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.annoying-hero__anchors a:hover,
.annoying-hero__anchors a:focus-visible {
  background: #f97316;
  color: #fff;
}

.annoy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.annoy-category-heading {
  grid-column: 1 / -1;
  padding-top: 10px;
  scroll-margin-top: 96px;
}

.annoy-category-heading span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 12px;
  border-radius: 999px;
  background: #fff3e8;
  color: #f97316;
  font-size: 12px;
  font-weight: 800;
}

.annoy-card {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  padding: 24px 24px 118px;
  border: 1px solid #fed7aa;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(249, 115, 22, .12);
}

.annoy-card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.annoy-card__num {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: #f97316;
  color: #fff;
  font-weight: 800;
}

.annoy-card__tag {
  padding: 6px 12px;
  border-radius: 999px;
  background: #fff3e8;
  color: #f97316;
  font-size: 12px;
  font-weight: 700;
}

.annoy-card h2 {
  margin: 0 0 8px;
  color: #111827;
  font-size: 24px;
  line-height: 1.35;
}

.annoy-card p {
  margin: 0;
  color: #6b7280;
  line-height: 1.7;
}

.annoy-demo {
  position: relative;
  margin-top: 22px;
  min-height: 170px;
  padding: 22px;
  border-radius: 22px;
  background: #f9fafb;
  overflow: hidden;
}

.ui-label {
  margin-bottom: 16px;
  color: #111827;
  font-weight: 700;
}

.annoy-card .annoy-comment {
  position: absolute;
  right: 22px;
  bottom: 20px;
  z-index: 3;
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 14px;
  max-width: min(100%, 360px);
  margin: 0;
  padding: 0;
  color: #111827;
  font-size: 13px;
  font-family: "Yomogi", "Hiragino Maru Gothic ProN", "Tsukushi A Round Gothic", "Comic Sans MS", cursive;
  font-weight: 400;
  line-height: 1.5;
}

.annoy-card .annoy-comment::before {
  content: "";
  flex: 0 0 auto;
  width: 58px;
  height: 68px;
  background: url("../img/annoying-ui-comment.png") center / contain no-repeat;
  filter: drop-shadow(0 8px 14px rgba(17, 24, 39, .12));
}

.annoy-card .annoy-comment > span {
  display: inline-block;
  position: relative;
  z-index: 2;
  max-width: calc(100% - 72px);
  padding: 11px 16px;
  border: 1px solid #fed7aa;
  border-radius: 18px;
  background: #fff;
  color: #111827;
  box-shadow: 0 12px 24px rgba(17, 24, 39, .08);
}

.volume-ui {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.volume-ui__icon {
  flex: 0 0 auto;
  color: #f97316;
  font-weight: 800;
}

.volume-ui__track {
  position: relative;
  width: 72%;
  max-width: calc(100% - 28px);
  height: 12px;
  border-radius: 999px;
  background: #e5e7eb;
  cursor: ew-resize;
  transition: width .45s ease;
}

.volume-ui__fill {
  width: 48%;
  height: 100%;
  border-radius: inherit;
  background: #f97316;
}

.volume-ui__thumb {
  position: absolute;
  top: 50%;
  left: 48%;
  width: 28px;
  height: 28px;
  border: 4px solid #f97316;
  border-radius: 50%;
  background: #fff;
  transform: translate(-50%, -50%);
  transition: left .45s ease;
}

.volume-ui__track:hover,
.volume-ui__track:active {
  width: 100%;
}

.volume-ui__track:hover .volume-ui__thumb,
.volume-ui__track:active .volume-ui__thumb {
  left: 78%;
}

.search-ui {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 92%;
  height: 48px;
  padding: 0 16px;
  border: 1px solid #d1d5db;
  border-radius: 999px;
  background: #fff;
  cursor: text;
  transition: width .45s ease;
  overflow: hidden;
}

.search-ui__icon {
  flex: 0 0 auto;
  color: #f97316;
  font-size: 24px;
  line-height: 1;
  transform: scaleX(-1);
}

.search-ui__placeholder {
  color: #9ca3af;
  white-space: nowrap;
}

.search-ui:hover,
.search-ui:focus-within {
  width: 34%;
}

.toggle-ui {
  width: 88px;
  height: 48px;
  padding: 5px;
  border-radius: 999px;
  background: #d1d5db;
  cursor: pointer;
  transition: background .3s ease;
}

.toggle-ui span {
  display: block;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .16);
  transition: transform .35s ease;
}

.toggle-ui:hover,
.toggle-ui:active {
  background: #f97316;
}

.toggle-ui:hover span,
.toggle-ui:active span {
  transform: translateX(40px);
}

.modal-ui {
  position: relative;
  min-height: 120px;
  padding: 24px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(17, 24, 39, .12);
}

.modal-ui strong {
  color: #111827;
}

.modal-ui p {
  margin-top: 8px;
  font-size: 14px;
}

.modal-ui__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: #f97316;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: transform .25s ease;
}

.modal-ui__close:hover,
.modal-ui__close:focus-visible {
  transform: translate(-54px, 44px) rotate(12deg);
}

.progress-ui {
  width: 100%;
  height: 18px;
  border-radius: 999px;
  background: #e5e7eb;
  cursor: progress;
  overflow: hidden;
}

.progress-ui__bar {
  width: 24%;
  height: 100%;
  border-radius: inherit;
  background: #f97316;
}

.progress-ui__text {
  margin-top: 12px;
  color: #6b7280;
  font-size: 14px;
}

.progress-ui:hover .progress-ui__bar,
.progress-ui:active .progress-ui__bar {
  animation: annoying-progress 1.4s ease both;
}

@keyframes annoying-progress {
  0% {
    width: 24%;
  }

  45% {
    width: 99%;
  }

  70% {
    width: 62%;
  }

  100% {
    width: 38%;
  }
}

.checkbox-ui {
  display: grid;
  gap: 10px;
}

.checkbox-ui label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: #fff;
  color: #374151;
  cursor: pointer;
  font-size: 14px;
}

.checkbox-ui label span {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  border: 2px solid #f97316;
  border-radius: 4px;
}

.checkbox-ui__extra {
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity .3s ease, transform .3s ease;
}

.checkbox-ui:has(label:first-child:hover) .checkbox-ui__extra,
.checkbox-ui:has(label:first-child:active) .checkbox-ui__extra {
  opacity: 1;
  transform: translateY(0);
}

.password-ui {
  position: relative;
  display: flex;
  align-items: center;
  height: 48px;
  padding: 0 52px 0 16px;
  border: 1px solid #d1d5db;
  border-radius: 999px;
  background: #fff;
  overflow: hidden;
}

.password-ui__hidden,
.password-ui__visible {
  position: absolute;
  left: 16px;
  transition: opacity .12s ease;
}

.password-ui__hidden {
  opacity: 1;
}

.password-ui__visible {
  opacity: 0;
  color: #111827;
}

.password-ui__eye {
  position: absolute;
  right: 16px;
  cursor: pointer;
}

.password-ui:has(.password-ui__eye:hover) .password-ui__hidden,
.password-ui:has(.password-ui__eye:active) .password-ui__hidden {
  animation: password-hidden 1.1s ease both;
}

.password-ui:has(.password-ui__eye:hover) .password-ui__visible,
.password-ui:has(.password-ui__eye:active) .password-ui__visible {
  animation: password-visible 1.1s ease both;
}

@keyframes password-hidden {
  0%,
  35% {
    opacity: 1;
  }

  36%,
  55% {
    opacity: 0;
  }

  56%,
  100% {
    opacity: 1;
  }
}

@keyframes password-visible {
  0%,
  35% {
    opacity: 0;
  }

  36%,
  55% {
    opacity: 1;
  }

  56%,
  100% {
    opacity: 0;
  }
}

.date-ui {
  position: relative;
  display: flex;
  gap: 10px;
  max-width: 100%;
}

.date-ui button {
  position: relative;
  z-index: 2;
  width: 80px;
  height: 46px;
  border: 1px solid #fed7aa;
  border-radius: 14px;
  background: transparent;
  color: #111827;
  cursor: pointer;
  font-weight: 700;
}

.date-ui__highlight {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 90px;
  width: 80px;
  height: 46px;
  border: 1px solid #f97316;
  border-radius: 14px;
  background: #ffedd5;
  transition: transform .35s ease;
}

.date-ui:has(button:hover) .date-ui__highlight,
.date-ui:has(button:focus-visible) .date-ui__highlight {
  transform: translateX(90px);
}

.brightness-ui {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
}

.brightness-ui span {
  color: #f97316;
}

.brightness-ui__track {
  width: 78%;
  height: 12px;
  border-radius: 999px;
  background: #e5e7eb;
  cursor: ew-resize;
  overflow: hidden;
}

.brightness-ui__fill {
  width: 46%;
  height: 100%;
  border-radius: inherit;
  background: #f97316;
}

.brightness-ui__glare {
  pointer-events: none;
  position: absolute;
  inset: -30%;
  z-index: 1;
  opacity: 0;
  background: radial-gradient(circle, rgba(255, 255, 210, .95), rgba(255, 255, 255, 0) 58%);
  transition: opacity .35s ease;
}

.annoy-demo:has(.brightness-ui__track:hover) .brightness-ui__glare,
.annoy-demo:has(.brightness-ui__track:active) .brightness-ui__glare {
  opacity: 1;
}

.map-ui {
  position: relative;
  height: 130px;
  border-radius: 18px;
  background:
    linear-gradient(30deg, transparent 48%, #e5e7eb 50%, transparent 52%),
    linear-gradient(120deg, transparent 48%, #e5e7eb 50%, transparent 52%),
    #f8fafc;
  overflow: hidden;
}

.map-ui__pin {
  position: absolute;
  top: 48px;
  left: 48%;
  cursor: grab;
  font-size: 34px;
  transition: transform .35s ease;
}

.map-ui__pin:hover,
.map-ui__pin:active {
  transform: translate(44px, -18px) rotate(8deg);
}

.send-ui {
  display: flex;
  gap: 10px;
}

.send-ui input {
  min-width: 0;
  flex: 1;
  height: 46px;
  padding: 0 14px;
  border: 1px solid #d1d5db;
  border-radius: 999px;
  background: #fff;
  color: #111827;
}

.send-ui button {
  flex: 0 0 auto;
  height: 46px;
  padding: 0 18px;
  border: none;
  border-radius: 999px;
  background: #f97316;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.send-ui__action {
  display: grid;
  flex: 0 0 auto;
  justify-items: center;
  gap: 8px;
}

.send-ui__count {
  min-height: 18px;
  color: #f97316;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.5;
}

.send-ui button:disabled {
  opacity: .65;
  cursor: wait;
}

.back-ui {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.back-ui span {
  position: relative;
  z-index: 2;
  padding: 10px 6px;
  border-radius: 12px;
  background: #fff;
  color: #6b7280;
  font-size: 12px;
  text-align: center;
}

.back-ui__marker {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  width: calc((100% - 24px) / 4);
  height: 100%;
  border: 1px solid #f97316;
  border-radius: 12px;
  background: #ffedd5;
  transition: transform .45s ease;
}

.back-ui__button {
  border: none;
  border-radius: 999px;
  padding: 10px 18px;
  background: #f3f4f6;
  color: #111827;
  cursor: pointer;
  font-weight: 800;
}

.annoy-demo:has(.back-ui__button:hover) .back-ui__marker,
.annoy-demo:has(.back-ui__button:focus-visible) .back-ui__marker {
  transform: translateX(calc(-300% - 24px));
}

.shrink-ui {
  display: grid;
  min-height: 106px;
  place-items: center;
}

.shrink-ui button {
  min-width: 168px;
  height: 52px;
  border: none;
  border-radius: 999px;
  background: #f97316;
  color: #fff;
  cursor: pointer;
  font-weight: 800;
  transition: transform .35s ease, box-shadow .35s ease;
}

.shrink-ui button:hover,
.shrink-ui button:focus-visible {
  box-shadow: 0 8px 22px rgba(249, 115, 22, .18);
  transform: scale(.68);
}

.tabs-ui {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: #e5e7eb;
}

.tabs-ui button {
  position: relative;
  z-index: 2;
  height: 42px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: #374151;
  cursor: pointer;
  font-weight: 800;
}

.tabs-ui__highlight {
  position: absolute;
  z-index: 1;
  top: 6px;
  left: 6px;
  width: calc((100% - 24px) / 3);
  height: 42px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(17, 24, 39, .1);
  transition: transform .38s ease;
}

.tabs-ui:has(button:hover) .tabs-ui__highlight,
.tabs-ui:has(button:focus-visible) .tabs-ui__highlight {
  transform: translateX(calc(100% + 6px));
}

.badge-ui {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 88px;
  height: 88px;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(17, 24, 39, .08);
  cursor: pointer;
}

.badge-ui__bell {
  font-size: 34px;
}

.badge-ui__count {
  position: absolute;
  top: 14px;
  right: 12px;
  display: inline-grid;
  min-width: 26px;
  height: 26px;
  place-items: center;
  padding: 0 7px;
  border-radius: 999px;
  background: #f97316;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.badge-ui:hover .badge-ui__count,
.badge-ui:focus-within .badge-ui__count {
  font-size: 0;
}

.badge-ui:hover .badge-ui__count::after,
.badge-ui:focus-within .badge-ui__count::after {
  content: attr(data-many);
  font-size: 12px;
}

.rating-ui {
  display: inline-flex;
  gap: 8px;
  padding: 14px 18px;
  border-radius: 18px;
  background: #fff;
  color: #f97316;
  cursor: pointer;
  font-size: 34px;
  line-height: 1;
}

.rating-ui span {
  transition: opacity .35s ease, transform .35s ease;
}

.rating-ui:hover span:nth-last-child(-n+2),
.rating-ui:focus-within span:nth-last-child(-n+2) {
  opacity: .18;
  transform: translateY(3px);
}

.accordion-ui {
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
}

.accordion-ui button {
  width: 100%;
  height: 48px;
  border: none;
  background: #fff;
  color: #111827;
  cursor: pointer;
  font-weight: 800;
  text-align: left;
  padding: 0 18px;
}

.accordion-ui__body {
  max-height: 0;
  overflow: hidden;
  border-top: 1px solid transparent;
  transition: max-height .45s ease, border-color .45s ease;
}

.accordion-ui__body p {
  padding: 10px 18px 18px;
  color: #6b7280;
  font-size: 14px;
}

.accordion-ui:hover .accordion-ui__body,
.accordion-ui:focus-within .accordion-ui__body {
  max-height: 34px;
  border-color: #fed7aa;
}

.required-ui {
  display: grid;
  gap: 10px;
}

.required-ui label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #111827;
  font-weight: 800;
}

.required-ui__badge {
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity .3s ease, transform .3s ease;
  padding: 3px 8px;
  border-radius: 999px;
  background: #fff3e8;
  color: #f97316;
  font-size: 12px;
}

.required-ui input {
  height: 48px;
  border: 1px solid #d1d5db;
  border-radius: 999px;
  background: #fff;
  color: #111827;
  padding: 0 16px;
}

.required-ui:hover .required-ui__badge,
.required-ui:focus-within .required-ui__badge {
  opacity: 1;
  transform: translateX(0);
}

.copy-ui {
  display: flex;
  align-items: center;
  gap: 10px;
}

.copy-ui code {
  min-width: 0;
  flex: 1;
  padding: 14px 16px;
  border-radius: 16px;
  background: #111827;
  color: #fff7ed;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.copy-ui button {
  flex: 0 0 auto;
  height: 46px;
  border: none;
  border-radius: 999px;
  background: #f97316;
  color: #fff;
  cursor: pointer;
  font-weight: 800;
  padding: 0 16px;
}

.upload-ui {
  display: grid;
  min-height: 120px;
  place-items: center;
  gap: 8px;
  border: 2px dashed #fed7aa;
  border-radius: 20px;
  background: #fff;
  color: #6b7280;
  cursor: copy;
  font-weight: 800;
  transition: transform .35s ease, border-color .35s ease;
}

.upload-ui__icon {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 999px;
  background: #fff3e8;
  color: #f97316;
  font-size: 22px;
}

.upload-ui:hover,
.upload-ui:focus-within {
  border-color: #f97316;
  transform: translateX(34px);
}

.delete-ui {
  padding: 20px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(17, 24, 39, .08);
}

.delete-ui strong {
  color: #111827;
}

.delete-ui p {
  margin-top: 6px;
  font-size: 14px;
}

.delete-ui__actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.delete-ui__actions button {
  height: 42px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  padding: 0 16px;
}

.delete-ui__cancel {
  background: #f3f4f6;
  color: #111827;
}

.delete-ui__danger {
  background: #f97316;
  color: #fff;
  transition: transform .25s ease, box-shadow .25s ease;
}

.delete-ui__danger:hover,
.delete-ui__danger:focus-visible {
  animation: delete-temptation .42s ease infinite alternate;
  box-shadow: 0 0 0 6px rgba(249, 115, 22, .14), 0 0 24px rgba(249, 115, 22, .5);
  transform: scale(1.12);
}

.annoy-related-ui {
  width: 100vw;
  margin: 56px calc(50% - 50vw) 0;
  padding: 44px max(20px, calc((100vw - 1120px) / 2));
  border: 0;
  border-radius: 0;
  background: #fff3e8;
  box-shadow: none;
}

.annoy-related-ui__eyebrow {
  margin: 0 0 8px;
  color: #f97316;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.annoy-related-ui h2 {
  margin: 0 0 10px;
  color: #111827;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.35;
  letter-spacing: 0;
}

.annoy-related-ui p {
  max-width: 720px;
  margin: 0;
  color: #6b7280;
  line-height: 1.8;
}

.annoy-related-ui a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 20px;
  padding: 10px 18px;
  border-radius: 999px;
  background: #f97316;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.annoy-related-ui a:hover,
.annoy-related-ui a:focus-visible {
  background: #111827;
  outline: none;
}

@keyframes delete-temptation {
  0% {
    transform: scale(1.08) rotate(-1deg);
  }

  100% {
    transform: scale(1.16) rotate(1deg);
  }
}

@media (max-width: 720px) {
  .annoy-grid {
    grid-template-columns: 1fr;
  }

  .annoying-ui-page {
    padding: 0 16px;
  }

  .annoy-card {
    min-height: 320px;
    padding: 20px 20px 112px;
  }

  .annoy-demo {
    padding: 18px;
  }

  .annoy-related-ui {
    margin-top: 40px;
    padding: 34px 16px;
  }

  .date-ui {
    gap: 8px;
  }

  .date-ui button,
  .date-ui__highlight {
    width: 72px;
  }

  .date-ui__highlight {
    left: 80px;
  }

  .date-ui:has(button:hover) .date-ui__highlight,
  .date-ui:has(button:focus-visible) .date-ui__highlight {
    transform: translateX(80px);
  }
}

@media (max-width: 420px) {
  .send-ui {
    flex-direction: column;
  }

  .send-ui button {
    width: 100%;
  }

  .send-ui__action {
    width: 100%;
  }

  .back-ui span {
    font-size: 11px;
  }
}
