.duo-hero {
  background:
    radial-gradient(circle at 81% 37%, #eee7ff 0, transparent 43%),
    radial-gradient(circle at 16% 90%, #fff0c6 0, transparent 40%),
    #fffaf2;
  border-bottom: 1px solid #eadff1;
}

.duo-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(28px, 5vw, 74px);
  padding-top: clamp(36px, 4vw, 64px);
  padding-bottom: clamp(52px, 6vw, 88px);
}

.duo-kicker {
  display: inline-block;
  margin: 0 0 18px;
  padding: 6px 12px;
  color: #55348a;
  background: #eee5ff;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 800;
}

.duo-hero h1 {
  font-size: clamp(53px, 6.1vw, 89px);
  line-height: 1.07;
  letter-spacing: -.06em;
  color: #20214c;
}

.duo-hero h1 > span:first-child { color: #5b38bd; }
.duo-period { color: #d09500; }
.duo-description { margin: 24px 0; color: #4e4968; font-size: 16px; line-height: 1.8; }

.duo-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.duo-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 11px 17px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 800;
}
.duo-primary { color: #fff; background: #4931a7; box-shadow: 0 4px 0 #2c2169; }
.duo-primary:hover { background: #382481; }
.duo-actions .duo-secondary { color: #403567; background: #fffdf8; border-color: #e0d6ed; }
.duo-secondary:hover { background: #f4ecff; }
.duo-speech { margin: 20px 0 0; color: #665588; font-size: 13px; min-height: 2.8em; }

.duo-feature {
  justify-self: center;
  width: min(100%, max(420px, calc(100svh - 238px)));
  margin: 0;
  border: 1px solid #dacbec;
  border-radius: 23px;
  padding: 10px;
  background: #fffdfa;
  box-shadow: 7px 9px 0 #dfd3f3;
}
.duo-image-button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #f8f4ff;
}
.duo-image-button img { display: block; width: 100%; height: auto; }
.duo-image-button:focus-visible, .duo-favorite:focus-visible, .duo-actions a:focus-visible {
  outline: 3px solid #7554d3;
  outline-offset: 3px;
}
.duo-caption { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px 10px; padding: 8px 2px 0; }
.duo-names { display: flex; flex-wrap: wrap; gap: 6px; }
.duo-name { padding: 4px 10px; border-radius: 20px; font-size: 12px; font-weight: 800; }
.jekongi-name { color: #533683; background: #eee3fb; }
.jeilkong-name { color: #24408c; background: #e4ebfc; }
.duo-favorite { display: inline-flex; align-items: center; gap: 5px; min-height: 42px; padding: 4px 9px; border: 0; border-radius: 8px; background: transparent; color: #774a80; }
.duo-favorite span { font-size: 20px; line-height: 1; }
.duo-favorite small { font-size: 11px; font-weight: 700; }
.duo-favorite:hover, .duo-favorite[aria-pressed="true"] { background: #faebf6; }

.duo-about { color: #282048; background: #f2edf9; border-block: 1px solid #e4d9ef; }
.duo-about-inner { padding-top: clamp(46px, 6vw, 80px); padding-bottom: clamp(46px, 6vw, 80px); }
.duo-about-heading h2 { margin: 0; font: 400 clamp(32px, 4vw, 47px)/1.2 var(--round); }
.duo-about-heading p { margin: 9px 0 22px; color: #594d6d; font-size: 14px; }
.duo-profiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.duo-profile {
  display: grid;
  grid-template-columns: minmax(94px, .65fr) minmax(0, 1fr);
  align-items: center;
  min-height: 170px;
  border: 1px solid #ddd0ec;
  border-radius: 18px;
  overflow: hidden;
  background: #fffdfc;
}
.duo-profile img { display: block; width: 100%; height: 100%; min-height: 170px; max-height: 220px; object-fit: cover; object-position: center 7%; }
.duo-profile > div { padding: 15px clamp(12px, 2vw, 24px); }
.duo-profile h3 { margin: 0 0 6px; font: 400 28px/1.15 var(--round); }
.duo-profile p { margin: 0; color: #544b69; font-size: 13px; line-height: 1.7; }
.profile-jekongi h3 { color: #55348a; }
.profile-jeilkong h3 { color: #24408c; }
.rps-card .game-open { justify-content: space-between; gap: 8px; }

.site-footer { flex-wrap: wrap; }
.site-footer .site-credit {
  flex: 0 0 100%;
  margin: 0;
  padding: 8px 12px;
  border-radius: 6px;
  background: #f1f1f1;
  color: #595959;
  font-size: 12px;
  text-align: center;
}

@media (max-width: 760px) {
  .duo-hero-inner { grid-template-columns: 1fr; gap: 14px; padding-top: 32px; padding-bottom: 38px; }
  .duo-copy { text-align: center; }
  .duo-kicker { margin-bottom: 13px; font-size: 11px; }
  .duo-hero h1 { font-size: clamp(43px, 9vw, 62px); }
  .duo-description { margin: 13px 0 16px; font-size: 14px; }
  .duo-actions { justify-content: center; }
  .duo-actions a { min-height: 46px; padding: 9px 12px; font-size: 13px; gap: 5px; }
  .duo-speech { min-height: 1.7em; margin-top: 14px; }
  .duo-feature { width: min(100%, 520px); margin: 0 auto; box-shadow: 4px 5px 0 #dfd3f3; }
  .duo-profiles { grid-template-columns: 1fr; }
}

@media (max-width: 390px) {
  .duo-desktop-break { display: none; }
  .duo-caption { gap: 4px; }
  .duo-name { padding-inline: 8px; }
}
