.dhn-app,
.dhn-compact {
  --dhn-primary: #1769aa;
  --dhn-primary-dark: #0d548f;
  --dhn-accent: #ff9f43;
  --dhn-accent-light: #fff2dd;
  --dhn-sky: #eaf7ff;
  --dhn-bg: #f4faff;
  --dhn-text: #19334a;
  --dhn-muted: #536574;
  --dhn-border: #c9d9e6;
  --dhn-warning: #fff4d6;
  --dhn-danger: #b42318;
  --dhn-success: #18704c;
  box-sizing: border-box;
  width: 100%;
  max-width: 760px;
  margin: 2rem auto;
  color: var(--dhn-text);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.dhn-app *,
.dhn-app *::before,
.dhn-app *::after,
.dhn-compact *,
.dhn-compact *::before,
.dhn-compact *::after {
  box-sizing: border-box;
}

.dhn-app [hidden] {
  display: none !important;
}

.dhn-start,
.dhn-wizard,
.dhn-result__inner,
.dhn-compact {
  position: relative;
  overflow: hidden;
  padding: clamp(1.25rem, 4vw, 2.5rem);
  border: 2px solid #cfe8f8;
  border-radius: 26px;
  background: linear-gradient(150deg, #fff 0%, #fbfdff 55%, #eef9ff 100%);
  box-shadow: 0 14px 38px rgb(30 104 157 / 12%);
}

.dhn-start::before,
.dhn-compact::before {
  position: absolute;
  z-index: 0;
  top: -95px;
  right: -80px;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: rgb(96 187 245 / 11%);
  content: "";
}

.dhn-start::after,
.dhn-compact::after {
  position: absolute;
  z-index: 0;
  bottom: -80px;
  left: -65px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgb(255 178 92 / 10%);
  content: "";
}

.dhn-start > *,
.dhn-compact > * {
  position: relative;
  z-index: 1;
}

.dhn-character-hero {
  display: grid;
  grid-template-columns: minmax(110px, 0.8fr) minmax(190px, 1.3fr) minmax(100px, 0.72fr);
  gap: 0.4rem;
  align-items: center;
  margin: -0.5rem 0 1.4rem;
}

.dhn-character-hero__person {
  position: relative;
  margin: 0;
  text-align: center;
}

.dhn-character-hero__person img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 50%;
  filter: drop-shadow(0 8px 12px rgb(28 101 157 / 14%));
}

.dhn-character-hero__person figcaption {
  display: inline-block;
  margin-top: -0.2rem;
  padding: 0.16rem 0.55rem;
  border-radius: 999px;
  background: #fff;
  color: var(--dhn-primary-dark);
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: 0 3px 10px rgb(27 88 133 / 12%);
}

.dhn-character-hero__person--yuu {
  transform: rotate(-2deg);
}

.dhn-character-hero__person--denparu {
  transform: rotate(3deg);
}

.dhn-character-hero__bubble {
  position: relative;
  padding: 0.9rem 1rem;
  border: 2px solid #afd9f4;
  border-radius: 18px;
  background: #fff;
  text-align: center;
  box-shadow: 0 7px 18px rgb(37 112 166 / 10%);
}

.dhn-character-hero__bubble::before,
.dhn-character-hero__bubble::after {
  position: absolute;
  top: 50%;
  width: 12px;
  height: 12px;
  border: solid #afd9f4;
  background: #fff;
  content: "";
  transform: translateY(-50%) rotate(45deg);
}

.dhn-character-hero__bubble::before {
  left: -8px;
  border-width: 0 0 2px 2px;
}

.dhn-character-hero__bubble::after {
  right: -8px;
  border-width: 2px 2px 0 0;
}

.dhn-character-hero__bubble strong,
.dhn-character-hero__bubble span {
  display: block;
}

.dhn-character-hero__bubble strong {
  color: var(--dhn-primary-dark);
  font-size: 1rem;
  line-height: 1.55;
}

.dhn-character-hero__bubble span {
  margin-top: 0.25rem;
  color: var(--dhn-muted);
  font-size: 0.78rem;
}

.dhn-eyebrow {
  display: inline-flex;
  margin: 0 0 0.65rem;
  padding: 0.24rem 0.7rem;
  border-radius: 999px;
  background: var(--dhn-accent-light);
  color: var(--dhn-primary);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.dhn-title,
.dhn-result__title,
.dhn-compact__title {
  margin: 0;
  color: var(--dhn-text);
  font-size: clamp(1.45rem, 5vw, 2rem);
  line-height: 1.4;
}

.dhn-lead,
.dhn-compact__text {
  margin: 1rem 0 0;
  color: var(--dhn-muted);
}

.dhn-privacy {
  margin: 1.25rem 0 0;
  padding: 1rem;
  border-radius: 12px;
  background: var(--dhn-bg);
}

.dhn-privacy strong {
  display: block;
  color: var(--dhn-primary-dark);
}

.dhn-privacy p,
.dhn-caution,
.dhn-admin-notice,
.dhn-noscript {
  margin: 0.4rem 0 0;
  font-size: 0.9rem;
}

.dhn-caution {
  margin: 1rem 0;
  color: var(--dhn-muted);
}

.dhn-admin-notice {
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
  border-left: 4px solid #b7791f;
  background: var(--dhn-warning);
}

.dhn-button {
  display: inline-flex;
  min-height: 48px;
  max-width: 100%;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.25rem;
  border: 2px solid transparent;
  border-radius: 10px;
  font: inherit;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.dhn-button--primary {
  border-color: var(--dhn-primary);
  background: linear-gradient(135deg, #1984df, var(--dhn-primary));
  color: #fff;
  box-shadow: 0 6px 14px rgb(23 105 170 / 22%);
}

.dhn-button--primary:hover {
  border-color: var(--dhn-primary-dark);
  background: var(--dhn-primary-dark);
  color: #fff;
  box-shadow: 0 8px 18px rgb(23 105 170 / 26%);
}

.dhn-button--secondary {
  border-color: var(--dhn-primary);
  background: #fff;
  color: var(--dhn-primary-dark);
}

.dhn-button--secondary:hover {
  background: var(--dhn-bg);
  color: var(--dhn-primary-dark);
}

.dhn-button--text {
  min-height: 44px;
  background: transparent;
  color: var(--dhn-primary-dark);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.dhn-button:hover {
  transform: translateY(-1px);
}

.dhn-button:focus-visible,
.dhn-date:focus-visible,
.dhn-option__input:focus-visible + .dhn-option__marker,
.dhn-related__link:focus-visible,
.dhn-copy-fallback:focus-visible,
.dhn-title:focus-visible,
.dhn-question__title:focus-visible,
.dhn-result__title:focus-visible {
  outline: 3px solid #f0a000;
  outline-offset: 3px;
}

.dhn-button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.dhn-guide {
  display: grid;
  grid-template-columns: 116px 1fr;
  gap: 0.85rem;
  align-items: center;
  margin: -0.35rem 0 1.35rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid #bfddf1;
  border-radius: 16px;
  background: linear-gradient(135deg, #eef9ff, #fff);
}

.dhn-guide--serious {
  border-color: #f0c982;
  background: linear-gradient(135deg, #fff7e8, #fff);
}

.dhn-guide--happy {
  border-color: #b9e4ca;
  background: linear-gradient(135deg, #eefaf3, #fff);
}

.dhn-guide__characters {
  position: relative;
  height: 72px;
}

.dhn-guide__characters img {
  position: absolute;
  top: 0;
  display: block;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #fff;
  object-fit: cover;
  box-shadow: 0 4px 10px rgb(26 88 134 / 14%);
}

.dhn-guide__characters img:first-child {
  left: 0;
  z-index: 2;
}

.dhn-guide__characters img:last-child {
  right: 0;
  z-index: 1;
}

.dhn-guide__message {
  position: relative;
  margin: 0;
  padding: 0.65rem 0.8rem;
  border-radius: 12px;
  background: #fff;
  color: var(--dhn-primary-dark);
  font-weight: 700;
  line-height: 1.65;
  box-shadow: 0 3px 12px rgb(31 96 145 / 8%);
}

.dhn-guide__message::before {
  position: absolute;
  top: 50%;
  left: -7px;
  width: 14px;
  height: 14px;
  background: #fff;
  content: "";
  transform: translateY(-50%) rotate(45deg);
}

.dhn-progress {
  margin-bottom: 1.5rem;
}

.dhn-progress__meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.45rem;
  color: var(--dhn-muted);
  font-size: 0.875rem;
  font-weight: 700;
}

.dhn-progress__track {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #e6eef5;
}

.dhn-progress__track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--dhn-primary);
  transition: width 180ms ease;
}

.dhn-question {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.dhn-question__title {
  display: block;
  width: 100%;
  margin: 0 0 1rem;
  padding: 0;
  color: var(--dhn-text);
  font-size: clamp(1.25rem, 4vw, 1.55rem);
  font-weight: 700;
  line-height: 1.5;
}

.dhn-question__help {
  margin: -0.35rem 0 1rem;
  color: var(--dhn-muted);
  font-size: 0.925rem;
}

.dhn-options {
  display: grid;
  gap: 0.75rem;
}

.dhn-option {
  position: relative;
  display: grid;
  min-height: 52px;
  grid-template-columns: 24px 1fr;
  gap: 0.75rem;
  align-items: center;
  padding: 0.75rem 0.9rem;
  border: 2px solid var(--dhn-border);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}

.dhn-option:hover {
  border-color: #7ba8c9;
  background: var(--dhn-bg);
}

.dhn-option__input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.dhn-option__marker {
  display: inline-grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border: 2px solid #7892a5;
  border-radius: 50%;
}

.dhn-option__input:checked + .dhn-option__marker {
  border-color: var(--dhn-primary);
  background: var(--dhn-primary);
  box-shadow: inset 0 0 0 4px #fff;
}

.dhn-option:has(.dhn-option__input:checked) {
  border-color: var(--dhn-primary);
  background: #edf6fc;
  box-shadow: 0 0 0 1px var(--dhn-primary);
}

.dhn-option__input:checked ~ .dhn-option__text {
  color: var(--dhn-primary-dark);
  font-weight: 700;
}

.dhn-date {
  display: block;
  width: 100%;
  max-width: 24rem;
  min-height: 52px;
  padding: 0.7rem 0.8rem;
  border: 2px solid var(--dhn-border);
  border-radius: 10px;
  background: #fff;
  color: var(--dhn-text);
  font: inherit;
}

.dhn-error {
  min-height: 1.75em;
  margin: 0.75rem 0 0;
  color: var(--dhn-danger);
  font-weight: 700;
}

.dhn-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
  margin-top: 1rem;
}

.dhn-result__title {
  font-size: clamp(1.4rem, 4.8vw, 1.9rem);
}

.dhn-result-characters {
  display: grid;
  grid-template-columns: 168px 1fr;
  gap: 0.85rem;
  align-items: center;
  margin: -0.35rem 0 1.25rem;
  padding: 0.8rem 1rem;
  border: 2px solid #bfe1f6;
  border-radius: 18px;
  background: linear-gradient(135deg, #ecf8ff, #fff);
}

.dhn-result-characters--happy {
  border-color: #b9e4ca;
  background: linear-gradient(135deg, #ecfaf2, #fff);
}

.dhn-result-characters--caution {
  border-color: #f2cf8c;
  background: linear-gradient(135deg, #fff6e4, #fff);
}

.dhn-result-characters--worried {
  border-color: #f1c7a0;
  background: linear-gradient(135deg, #fff3e9, #fff);
}

.dhn-result-characters__portraits {
  position: relative;
  height: 108px;
}

.dhn-result-characters__image {
  position: absolute;
  top: 0;
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background: #fff;
  object-fit: cover;
  box-shadow: 0 5px 13px rgb(31 99 150 / 15%);
}

.dhn-result-characters__image--yuu {
  left: 0;
  z-index: 2;
  transform: rotate(-2deg);
}

.dhn-result-characters__image--denparu {
  right: 0;
  z-index: 1;
  transform: rotate(3deg);
}

.dhn-result-characters__message {
  position: relative;
  margin: 0;
  padding: 0.75rem 0.85rem;
  border-radius: 13px;
  background: #fff;
  color: var(--dhn-primary-dark);
  font-weight: 700;
  line-height: 1.7;
  box-shadow: 0 3px 12px rgb(33 96 144 / 8%);
}

.dhn-result-characters__message::before {
  position: absolute;
  top: 50%;
  left: -7px;
  width: 14px;
  height: 14px;
  background: #fff;
  content: "";
  transform: translateY(-50%) rotate(45deg);
}

.dhn-result__days {
  display: inline-block;
  margin: 1rem 0 0;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: #e8f3fb;
  color: var(--dhn-primary-dark);
  font-weight: 700;
}

.dhn-result__section {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--dhn-border);
}

.dhn-result__subtitle {
  margin: 0 0 0.75rem;
  color: var(--dhn-text);
  font-size: 1.18rem;
  line-height: 1.5;
}

.dhn-result__text,
.dhn-list,
.dhn-timeline,
.dhn-related {
  margin-top: 0;
  margin-bottom: 0;
}

.dhn-list {
  padding-left: 1.4rem;
}

.dhn-list__item + .dhn-list__item {
  margin-top: 0.5rem;
}

.dhn-timeline {
  position: relative;
  padding: 0;
  list-style: none;
}

.dhn-timeline__item {
  position: relative;
  padding: 0 0 1.25rem 1.6rem;
  border-left: 2px solid #a9c8df;
}

.dhn-timeline__item:last-child {
  padding-bottom: 0;
  border-left-color: transparent;
}

.dhn-timeline__item::before {
  position: absolute;
  top: 0.4rem;
  left: -7px;
  width: 12px;
  height: 12px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--dhn-primary);
  box-shadow: 0 0 0 1px var(--dhn-primary);
  content: "";
}

.dhn-timeline__label {
  display: block;
  color: var(--dhn-primary-dark);
  font-weight: 700;
}

.dhn-timeline__text {
  margin: 0.2rem 0 0;
}

.dhn-temporary {
  padding: 1.15rem;
  border: 0;
  border-radius: 12px;
  background: var(--dhn-bg);
}

.dhn-temporary--high {
  background: var(--dhn-warning);
}

.dhn-temporary--low {
  background: #edf8f2;
}

.dhn-temporary__title {
  margin: 0 0 0.35rem;
  font-weight: 700;
}

.dhn-related {
  padding-left: 1.2rem;
}

.dhn-related__item + .dhn-related__item {
  margin-top: 0.5rem;
}

.dhn-related__link {
  color: var(--dhn-primary-dark);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.dhn-disclosure {
  margin: 0 0 1rem;
  padding: 0.75rem;
  border-radius: 8px;
  background: #f7f7f7;
  color: var(--dhn-muted);
  font-size: 0.85rem;
}

.dhn-cta + .dhn-cta {
  margin-top: 1rem;
}

.dhn-cta__note {
  margin: 0 0 0.5rem;
  color: var(--dhn-muted);
  font-size: 0.925rem;
}

.dhn-cta .dhn-button,
.dhn-affiliate .dhn-button,
.dhn-result__section > .dhn-button {
  width: 100%;
}

.dhn-result__notice {
  margin: 1.75rem 0 0;
  padding: 1rem;
  border-radius: 10px;
  background: #f5f5f5;
  color: var(--dhn-muted);
  font-size: 0.875rem;
}

.dhn-result__controls {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.dhn-copy-status {
  min-height: 1.75em;
  margin: 0;
  color: var(--dhn-success);
  font-weight: 700;
}

.dhn-copy-fallback {
  width: 100%;
  max-width: 100%;
  padding: 0.75rem;
  border: 2px solid var(--dhn-border);
  border-radius: 8px;
  color: var(--dhn-text);
  font: inherit;
}

.dhn-date-summary {
  display: grid;
  grid-template-columns: minmax(8rem, 1fr) 1fr;
  margin: 1.25rem 0 0;
  overflow: hidden;
  border: 1px solid var(--dhn-border);
  border-radius: 10px;
}

.dhn-date-summary__term,
.dhn-date-summary__value {
  margin: 0;
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid var(--dhn-border);
}

.dhn-date-summary__term {
  background: var(--dhn-bg);
  font-weight: 700;
}

.dhn-date-summary__term:nth-last-of-type(1),
.dhn-date-summary__value:last-child {
  border-bottom: 0;
}

.dhn-compact {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 0.8rem 1rem;
  align-items: center;
}

.dhn-compact__characters {
  position: relative;
  height: 112px;
}

.dhn-compact__character {
  position: absolute;
  display: block;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: #fff;
  object-fit: cover;
  box-shadow: 0 5px 13px rgb(31 99 150 / 14%);
}

.dhn-compact__character--yuu {
  top: 0;
  left: 0;
  z-index: 2;
  transform: rotate(-4deg);
}

.dhn-compact__character--denparu {
  right: 0;
  bottom: 0;
  z-index: 1;
  transform: rotate(5deg);
}

.dhn-compact__badge {
  display: inline-block;
  margin: 0 0 0.45rem;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  background: var(--dhn-accent-light);
  color: #9b5200;
  font-size: 0.78rem;
  font-weight: 700;
}

.dhn-compact .dhn-button {
  grid-column: 1 / -1;
  width: 100%;
  margin-top: 0.25rem;
}

/* 全身が見えるシーン画像。丸いアイコン表示にはしない。 */
.dhn-scene-hero {
  display: grid;
  grid-template-columns: minmax(250px, 1.15fr) minmax(200px, 0.85fr);
  gap: 1rem;
  align-items: center;
  margin: -0.4rem 0 1.5rem;
}

.dhn-scene-hero > img {
  display: block;
  width: 100%;
  height: auto;
  border: 2px solid #cce7f8;
  border-radius: 20px;
  object-fit: contain;
  box-shadow: 0 10px 24px rgb(29 102 156 / 13%);
}

.dhn-scene-hero__bubble {
  position: relative;
  margin: 0;
  padding: 1rem 1.05rem;
  border: 2px solid #afd9f4;
  border-radius: 18px;
  background: #fff;
  color: var(--dhn-primary-dark);
  text-align: left;
  box-shadow: 0 7px 18px rgb(37 112 166 / 10%);
}

.dhn-scene-hero__bubble::before {
  position: absolute;
  top: 50%;
  left: -8px;
  width: 14px;
  height: 14px;
  border: solid #afd9f4;
  border-width: 0 0 2px 2px;
  background: #fff;
  content: "";
  transform: translateY(-50%) rotate(45deg);
}

.dhn-scene-hero__bubble strong,
.dhn-scene-hero__bubble span {
  display: block;
}

.dhn-scene-hero__bubble strong {
  font-size: 1.05rem;
  line-height: 1.65;
}

.dhn-scene-hero__bubble span {
  margin-top: 0.35rem;
  color: var(--dhn-muted);
  font-size: 0.82rem;
}

.dhn-guide {
  grid-template-columns: minmax(150px, 200px) 1fr;
  gap: 1rem;
  padding: 0.8rem;
}

.dhn-guide__scene {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #c8e3f4;
  border-radius: 14px;
  background: #fff;
  object-fit: contain;
  box-shadow: 0 5px 14px rgb(28 95 145 / 12%);
}

.dhn-result-characters {
  grid-template-columns: minmax(190px, 250px) 1fr;
  gap: 1rem;
  padding: 0.85rem;
}

.dhn-result-characters__scene {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgb(125 180 216 / 48%);
  border-radius: 15px;
  background: #fff;
  object-fit: contain;
  box-shadow: 0 6px 16px rgb(28 96 147 / 12%);
}

.dhn-compact {
  grid-template-columns: minmax(130px, 190px) 1fr;
  gap: 0.9rem 1.1rem;
}

.dhn-compact__scene img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #c8e4f5;
  border-radius: 14px;
  background: #fff;
  object-fit: contain;
  box-shadow: 0 6px 16px rgb(29 98 149 / 12%);
}

.dhn-noscript {
  padding: 1rem;
  border: 1px solid #d7a928;
  border-radius: 8px;
  background: var(--dhn-warning);
}

@media (max-width: 480px) {
  .dhn-app,
  .dhn-compact {
    margin: 1.25rem auto;
  }

  .dhn-start,
  .dhn-wizard,
  .dhn-result__inner,
  .dhn-compact {
    padding: 1.1rem;
    border-radius: 14px;
  }

  .dhn-character-hero {
    grid-template-columns: 1fr 1fr;
    gap: 0.35rem;
    max-width: 310px;
    margin: -0.25rem auto 1.2rem;
  }

  .dhn-character-hero__person {
    width: min(100%, 124px);
    justify-self: center;
  }

  .dhn-character-hero__person--yuu {
    grid-column: 1;
    grid-row: 1;
  }

  .dhn-character-hero__person--denparu {
    grid-column: 2;
    grid-row: 1;
  }

  .dhn-character-hero__bubble {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .dhn-character-hero__bubble::before,
  .dhn-character-hero__bubble::after {
    display: none;
  }

  .dhn-guide {
    grid-template-columns: 88px 1fr;
    gap: 0.6rem;
    padding: 0.6rem;
  }

  .dhn-guide__characters {
    height: 58px;
  }

  .dhn-guide__characters img {
    width: 58px;
    height: 58px;
  }

  .dhn-guide__message {
    padding: 0.55rem 0.65rem;
    font-size: 0.88rem;
  }

  .dhn-result-characters {
    grid-template-columns: 1fr;
    gap: 0.4rem;
    padding: 0.7rem;
  }

  .dhn-result-characters__portraits {
    width: 158px;
    height: 92px;
    margin: 0 auto;
  }

  .dhn-result-characters__image {
    width: 92px;
    height: 92px;
  }

  .dhn-result-characters__message {
    text-align: center;
  }

  .dhn-result-characters__message::before {
    display: none;
  }

  .dhn-compact {
    grid-template-columns: 92px 1fr;
    gap: 0.65rem;
  }

  .dhn-compact__characters {
    height: 86px;
  }

  .dhn-compact__character {
    width: 66px;
    height: 66px;
  }

  .dhn-compact__title {
    font-size: 1.2rem;
  }

  .dhn-compact__text {
    font-size: 0.9rem;
  }

  .dhn-scene-hero {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-top: -0.2rem;
  }

  .dhn-scene-hero > img {
    width: min(100%, 340px);
    justify-self: center;
  }

  .dhn-scene-hero__bubble {
    text-align: center;
  }

  .dhn-scene-hero__bubble::before {
    display: none;
  }

  .dhn-guide {
    grid-template-columns: minmax(105px, 125px) 1fr;
    gap: 0.65rem;
  }

  .dhn-result-characters {
    grid-template-columns: 1fr;
  }

  .dhn-result-characters__scene {
    width: min(100%, 320px);
    justify-self: center;
  }

  .dhn-compact {
    grid-template-columns: minmax(100px, 125px) 1fr;
  }

  .dhn-actions {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  }

  .dhn-actions .dhn-button {
    width: 100%;
    padding-right: 0.65rem;
    padding-left: 0.65rem;
  }

  .dhn-date-summary {
    grid-template-columns: 1fr;
  }

  .dhn-date-summary__term,
  .dhn-date-summary__value {
    border-bottom: 0;
  }

  .dhn-date-summary__value {
    border-bottom: 1px solid var(--dhn-border);
  }
}

@media (prefers-reduced-motion: reduce) {
  .dhn-app *,
  .dhn-compact * {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
