/* Kihya Camera additions on top of the shared Kihya family stylesheet. */

body {
  background: var(--paper);
  overflow-wrap: break-word;
}

html[lang="ko"] body {
  line-break: strict;
  word-break: keep-all;
}

html[lang="ja"] body,
html[lang="zh-CN"] body {
  line-break: strict;
  overflow-wrap: normal;
  word-break: normal;
}

@supports (word-break: auto-phrase) {
  html[lang="ja"] body {
    word-break: auto-phrase;
  }
}

.camera-hero .hero-title,
.section-title,
.cta-card h2,
.family-card h2,
.assist-card h3,
.camera-name-story h2 {
  text-wrap: balance;
}

.camera-hero p,
.feature-card p,
.filter-card p,
.assist-card p,
.family-card p,
.privacy-band p,
.legal-section p {
  text-wrap: pretty;
}

.cta-card p,
.family-card p {
  text-wrap: balance;
}

body::before,
.hero-grid,
.guide-hero::before {
  background-image: none;
}

.legal-hero,
.guide-hero {
  background: #fff8f2;
}

.file-ticker::before,
.file-ticker::after {
  background: transparent;
}

.privacy-band::before {
  top: -12rem;
  right: -10rem;
  width: 30rem;
  border: 6rem solid rgba(255, 51, 71, .2);
  background: transparent;
}

.cta-card {
  background: #171214;
}

.cta-card::before {
  background: rgba(255, 51, 71, .68);
}

.cta-card::after {
  background: rgba(255, 191, 47, .25);
}

.camera-hero {
  background: #fff8f2;
}

.camera-hero::before,
.camera-hero::after {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.camera-hero::before {
  top: 10%;
  right: -11rem;
  width: 34rem;
  height: 34rem;
  border: 7rem solid rgba(255, 191, 47, .24);
}

.camera-hero::after {
  left: -12rem;
  bottom: -14rem;
  width: 30rem;
  height: 30rem;
  background: rgba(255, 51, 71, .1);
}

.camera-hero .hero-title {
  max-width: 12ch;
  font-size: clamp(3.25rem, 7vw, 6.8rem);
  line-height: .93;
}

html[lang="ko"] .camera-hero .hero-title,
html[lang="ja"] .camera-hero .hero-title,
html[lang="zh-CN"] .camera-hero .hero-title {
  max-width: 9em;
  font-size: clamp(3rem, 5.3vw, 4.8rem);
  line-height: 1.02;
}

.hero-note {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: #6a6064;
  font-size: .83rem;
  font-weight: 800;
  text-wrap: balance;
}

.hero-note::before {
  width: .48rem;
  height: .48rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #39b66e;
  content: "";
  box-shadow: 0 0 0 5px rgba(57, 182, 110, .13);
}

.camera-stage {
  position: relative;
  min-height: clamp(37rem, 58vw, 47rem);
  isolation: isolate;
  perspective: 1400px;
}

.camera-stage__spot {
  position: absolute;
  top: 8%;
  left: 8%;
  width: min(34rem, 86%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 38px 90px rgba(255, 51, 71, .2);
}

.camera-device {
  position: absolute;
  z-index: 2;
  overflow: hidden;
  border: 7px solid #151114;
  background: #090709;
  box-shadow: 0 38px 84px rgba(48, 25, 30, .26);
}

.camera-device--ios {
  top: 1%;
  left: 25%;
  width: min(17rem, 43vw);
  aspect-ratio: 1124 / 2436;
  transform: rotate(-4deg);
  border-radius: 2.9rem;
}

.camera-device--android {
  z-index: 3;
  top: 15%;
  right: 0;
  width: min(15rem, 38vw);
  aspect-ratio: 720 / 1640;
  transform: rotate(5deg);
  border-color: #f4f0ef;
  border-radius: 2.5rem;
  background: #fff;
  box-shadow: 0 34px 76px rgba(48, 25, 30, .2);
}

.camera-device__photo,
.camera-device__capture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.camera-device__photo {
  z-index: 1;
}

.camera-device--ios .camera-device__photo {
  object-position: 50% 50%;
}

.camera-device--android .camera-device__photo {
  object-position: 43% 50%;
}

.camera-device__capture {
  z-index: 4;
  pointer-events: none;
}

.camera-device__capture--top {
  clip-path: inset(0 0 84% 0);
}

.camera-device__capture--bottom {
  clip-path: inset(79.5% 0 0 0);
}

.camera-device--android .camera-device__capture--top {
  clip-path: inset(0 0 79.25% 0);
}

.camera-device--android .camera-device__capture--bottom {
  clip-path: inset(79.25% 0 0 0);
}

.camera-device__grid {
  position: absolute;
  z-index: 2;
  top: 16%;
  right: 0;
  bottom: 20.5%;
  left: 0;
  pointer-events: none;
}

.camera-device--android .camera-device__grid {
  top: 20.75%;
  bottom: 20.75%;
}

.camera-device__grid::before,
.camera-device__grid::after {
  position: absolute;
  content: "";
  opacity: .5;
}

.camera-device__grid::before {
  top: 0;
  bottom: 0;
  left: 33.333%;
  width: 33.333%;
  border-inline: 1px solid rgba(255, 255, 255, .62);
}

.camera-device__grid::after {
  left: 0;
  right: 0;
  top: 33.333%;
  height: 33.333%;
  border-block: 1px solid rgba(255, 255, 255, .62);
}

.camera-device__level {
  position: absolute;
  z-index: 3;
  top: 51%;
  left: 50%;
  width: 3.5rem;
  height: 1px;
  transform: translate(-50%, -50%) rotate(5deg);
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 0 0 1px rgba(24, 19, 22, .12);
}

.camera-device__level::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: .48rem;
  height: .48rem;
  transform: translate(-50%, -50%);
  border: 2px solid #fff;
  border-radius: 50%;
  background: rgba(24, 19, 22, .42);
  content: "";
}

.camera-app-badge {
  position: absolute;
  z-index: 5;
  right: 2%;
  bottom: 5%;
  width: 5.8rem;
  transform: rotate(5deg);
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 1.65rem;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 22px 48px rgba(48, 25, 30, .18);
  padding: .55rem;
  backdrop-filter: blur(18px);
}

.camera-app-badge img {
  display: block;
  width: 100%;
  border-radius: 1.15rem;
}

.camera-speed-card {
  position: absolute;
  z-index: 5;
  left: 2%;
  bottom: 12%;
  border: 1px solid rgba(24, 19, 22, .1);
  border-radius: 1.15rem;
  background: #fff;
  box-shadow: 0 18px 44px rgba(48, 25, 30, .14);
  padding: .8rem 1rem;
  color: #5f5559;
  font-size: .76rem;
  font-weight: 900;
  animation: camera-float 4.5s ease-in-out infinite;
}

.camera-speed-card strong {
  display: block;
  color: var(--red-dark);
  font-size: 1.15rem;
}

@keyframes camera-float {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-9px) rotate(1deg); }
}

.filter-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .filter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.filter-card {
  position: relative;
  overflow: hidden;
  min-height: 10.5rem;
  border: 1px solid rgba(24, 19, 22, .11);
  border-radius: 1.65rem;
  background: #fff;
  box-shadow: 0 18px 50px rgba(48, 25, 30, .05);
  padding: 1.35rem;
}

.filter-card::after {
  position: absolute;
  right: -2.1rem;
  bottom: -2.1rem;
  width: 7rem;
  height: 7rem;
  border: 1.5rem solid color-mix(in srgb, var(--filter-color) 32%, transparent);
  border-radius: 50%;
  content: "";
}

.filter-card__swatch {
  display: block;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: var(--filter-color);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .55), 0 8px 18px color-mix(in srgb, var(--filter-color) 28%, transparent);
}

.filter-card strong {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 1.2rem;
  font-size: 1.02rem;
  line-height: 1.35;
}

.filter-card p {
  position: relative;
  z-index: 1;
  margin-top: .42rem;
  color: var(--muted);
  font-size: .84rem;
  line-height: 1.55;
}

.feature-symbol {
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  border: 1px solid rgba(255, 51, 71, .13);
  border-radius: 1rem;
  background: #fff0f1;
  color: var(--red-dark);
  font-size: 1.2rem;
  font-weight: 900;
}

.assist-section {
  position: relative;
  overflow: hidden;
  border-block: 1px solid rgba(24, 19, 22, .07);
  background: #fff1f2;
  isolation: isolate;
}

.assist-section::before {
  position: absolute;
  z-index: -1;
  top: -13rem;
  right: -8rem;
  width: 30rem;
  height: 30rem;
  border: 5.5rem solid rgba(255, 191, 47, .2);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.assist-heading {
  max-width: 63rem;
}

.assist-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.1rem, 2.2vw, 2rem);
}

.assist-card {
  position: relative;
  overflow: hidden;
  min-width: 0;
  border: 1px solid rgba(24, 19, 22, .1);
  border-radius: clamp(1.8rem, 3.5vw, 2.7rem);
  background: #fff;
  box-shadow: 0 26px 70px rgba(66, 34, 40, .1);
}

.assist-card__body {
  position: relative;
  z-index: 2;
  padding: clamp(1.55rem, 3.4vw, 3rem);
}

.assist-label {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--red-dark);
  font-size: .76rem;
  font-weight: 950;
  letter-spacing: .08em;
}

.assist-label::before {
  width: .52rem;
  height: .52rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--red);
  content: "";
  box-shadow: 0 0 0 5px rgba(255, 51, 71, .11);
}

.assist-card h3 {
  max-width: 12ch;
  margin-top: 1rem;
  font-size: clamp(2rem, 4vw, 3.45rem);
  font-weight: 950;
  line-height: 1.03;
  letter-spacing: -.05em;
}

html[lang="ko"] .assist-card h3,
html[lang="ja"] .assist-card h3,
html[lang="zh-CN"] .assist-card h3 {
  max-width: 13em;
  line-height: 1.12;
}

.assist-card__body > p:not(.assist-note) {
  max-width: 48rem;
  margin-top: 1.25rem;
  color: #655b5f;
  font-size: 1rem;
  line-height: 1.78;
}

.assist-art {
  position: relative;
  overflow: hidden;
  height: clamp(13rem, 22vw, 19rem);
}

.assist-art--portrait {
  background:
    radial-gradient(circle at 77% 22%, rgba(255, 255, 255, .85) 0 7%, transparent 7.5%),
    linear-gradient(135deg, #ffd4d9, #ffe9d6 58%, #fff6e9);
}

.portrait-face {
  position: absolute;
  left: 50%;
  bottom: -3.4rem;
  width: clamp(10.5rem, 21vw, 15rem);
  height: clamp(13.8rem, 26vw, 18rem);
  transform: translateX(-50%);
  border: 2px solid rgba(111, 62, 67, .17);
  border-radius: 48% 48% 44% 44% / 40% 40% 56% 56%;
  background: linear-gradient(150deg, #ffe9df, #f6c9bc);
  box-shadow: 0 30px 55px rgba(116, 60, 68, .18), inset 0 0 0 12px rgba(255, 255, 255, .16);
}

.portrait-face::before {
  position: absolute;
  top: -8%;
  right: -4%;
  left: -4%;
  height: 42%;
  border-radius: 50% 50% 34% 42%;
  background: #4d3036;
  content: "";
  transform: rotate(-3deg);
}

.portrait-face::after {
  position: absolute;
  top: 47%;
  left: 50%;
  width: 39%;
  height: 14%;
  transform: translateX(-50%);
  border-bottom: 2px solid rgba(107, 53, 62, .28);
  border-radius: 50%;
  content: "";
}

.portrait-face i,
.portrait-face i::after {
  position: absolute;
  z-index: 1;
  top: 42%;
  width: .5rem;
  height: .5rem;
  border-radius: 50%;
  background: #5c3a40;
  content: "";
}

.portrait-face i { left: 31%; }
.portrait-face i::after { top: 0; left: clamp(3.8rem, 8vw, 5.4rem); }

.portrait-glow {
  position: absolute;
  right: 20%;
  bottom: 26%;
  width: 4.5rem;
  height: 2rem;
  border-radius: 50%;
  background: rgba(255, 111, 131, .24);
  filter: blur(8px);
}

.portrait-spark {
  position: absolute;
  color: #fff;
  font-size: clamp(1.4rem, 3vw, 2.5rem);
  text-shadow: 0 8px 20px rgba(115, 64, 71, .16);
}

.portrait-spark--one { top: 23%; left: 19%; }
.portrait-spark--two { top: 47%; right: 14%; font-size: 1.15rem; }

.retouch-presets {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-top: 1.45rem;
}

.retouch-presets span {
  border: 1px solid rgba(24, 19, 22, .09);
  border-radius: 999px;
  background: #fff8f3;
  padding: .52rem .78rem;
  color: #5f5559;
  font-size: .74rem;
  font-weight: 900;
}

.retouch-presets span:nth-child(2) {
  border-color: rgba(255, 51, 71, .3);
  background: #ff3347;
  color: #fff;
  box-shadow: 0 8px 20px rgba(255, 51, 71, .17);
}

.privacy-pill,
.level-pill {
  display: flex;
  width: fit-content;
  max-width: 100%;
  align-items: center;
  gap: .55rem;
  margin-top: 1.35rem;
  border-radius: .95rem;
  padding: .7rem .85rem;
  font-size: .76rem;
  font-weight: 900;
  line-height: 1.45;
}

.privacy-pill {
  background: #eef9f2;
  color: #18743f;
}

.privacy-pill span {
  color: #2e9c5c;
  font-size: .64rem;
}

.assist-note {
  margin-top: .9rem;
  color: #8a7f83;
  font-size: .76rem;
  font-weight: 700;
  line-height: 1.65;
}

.assist-art--level {
  background: linear-gradient(165deg, #272026 0 48%, #171316 48.2% 100%);
}

.level-sky {
  position: absolute;
  top: -7rem;
  right: -4rem;
  width: 18rem;
  height: 18rem;
  border: 3.5rem solid rgba(255, 191, 47, .25);
  border-radius: 50%;
}

.level-horizon {
  position: absolute;
  right: 12%;
  bottom: 43%;
  left: 12%;
  height: 2px;
  border-radius: 99px;
  background: #ffcf43;
  box-shadow: 0 0 22px rgba(255, 207, 67, .55);
}

.level-reticle {
  position: absolute;
  bottom: calc(43% - .56rem);
  left: 50%;
  width: 1.2rem;
  height: 1.2rem;
  transform: translateX(-50%);
  border: 3px solid #ffcf43;
  border-radius: 50%;
  background: #272026;
  box-shadow: 0 0 0 8px rgba(255, 207, 67, .08);
}

.level-countdown {
  position: absolute;
  top: 18%;
  left: 12%;
  display: grid;
  width: 4rem;
  height: 4rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 50%;
  background: rgba(255, 255, 255, .09);
  color: #fff;
  font-size: 1.5rem;
  font-weight: 950;
  backdrop-filter: blur(10px);
}

.level-pill {
  background: #fff5d8;
  color: #7a5800;
}

.level-pill span {
  display: inline-grid;
  width: 1.15rem;
  height: 1.15rem;
  place-items: center;
  border: 2px solid #d9a700;
  border-radius: 50%;
  color: #a77b00;
  font-size: .65rem;
  line-height: 1;
}

.language-wall {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
}

.language-wall span {
  min-height: 4rem;
  display: grid;
  place-items: center;
  border-top: 1px solid rgba(255, 255, 255, .14);
  color: rgba(255, 255, 255, .78);
  font-size: .9rem;
  font-weight: 800;
  text-align: center;
}

.family-section {
  background: #f4ebe5;
}

.family-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(24, 19, 22, .1);
  border-radius: 2.3rem;
  background: #fff;
  box-shadow: 0 28px 80px rgba(48, 25, 30, .08);
}

.family-card::after {
  position: absolute;
  top: -7rem;
  right: -6rem;
  width: 19rem;
  height: 19rem;
  border: 4.5rem solid rgba(255, 191, 47, .23);
  border-radius: 50%;
  content: "";
}

.family-card__icon {
  width: clamp(6rem, 15vw, 9rem);
  flex: 0 0 auto;
  border-radius: 28%;
  box-shadow: 0 22px 50px rgba(255, 51, 71, .22);
}

.camera-name-story {
  position: relative;
  overflow: hidden;
  background: var(--red);
  color: #fff;
}

.camera-name-story::after {
  position: absolute;
  top: -12rem;
  right: -8rem;
  width: 28rem;
  height: 28rem;
  border: 6rem solid rgba(255, 191, 47, .82);
  border-radius: 50%;
  content: "";
}

.store-reference-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.store-reference-card {
  min-height: 100%;
  border-top: 2px solid var(--red);
  padding-top: 1.1rem;
}

.store-reference-card strong {
  display: block;
  font-size: 1rem;
}

.store-reference-card p {
  margin-top: .45rem;
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.65;
}

.support-contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.25rem;
  align-items: center;
  border: 1px solid rgba(255, 51, 71, .2);
  border-radius: 1.75rem;
  background: #fff0f1;
  padding: clamp(1.4rem, 4vw, 2rem);
}

.support-contact a {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  background: var(--ink);
  padding: .8rem 1.15rem;
  color: #fff;
  font-size: .88rem;
  font-weight: 900;
  text-decoration: none;
}

.legal-section ul,
.legal-section ol {
  padding-left: 1.35rem;
}

.legal-section ul { list-style: disc; }
.legal-section ol { list-style: decimal; }
.legal-section li + li { margin-top: .55rem; }

.page-footer-link {
  color: #6e6468;
  transition: color 160ms ease;
}

.page-footer-link:hover {
  color: var(--red-dark);
}

.site-footer {
  border-top: 1px solid rgba(24, 19, 22, .1);
  background: #fffaf5;
  padding: 3.5rem clamp(1.25rem, 4vw, 3rem);
}

.site-footer__inner {
  width: min(100%, 1440px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(3rem, 8vw, 8rem);
  align-items: start;
}

.site-footer__brand {
  max-width: 43rem;
}

.site-footer__notice {
  max-width: 65ch;
  margin-top: 1rem;
  color: #81767a;
  font-size: .75rem;
  line-height: 1.8;
}

.company-name {
  white-space: nowrap;
}

.site-footer__copyright {
  margin-top: .55rem;
  color: #9a9194;
  font-size: .75rem;
}

.site-footer__navs {
  display: grid;
  grid-template-columns: repeat(2, minmax(9rem, 12rem));
  gap: clamp(2rem, 4vw, 4rem);
}

.site-footer__nav {
  display: grid;
  align-content: start;
  gap: .72rem;
  border-left: 1px solid rgba(24, 19, 22, .1);
  padding-left: 1.4rem;
  font-size: .86rem;
  font-weight: 800;
}

.site-footer__nav-title {
  margin-bottom: .15rem;
  color: #a0979a;
  font-size: .67rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.site-footer__nav a {
  width: fit-content;
  max-width: 100%;
  line-height: 1.5;
  overflow-wrap: anywhere;
  word-break: normal;
}

.faq-item summary > span {
  min-width: 0;
}

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

  .assist-art {
    height: 12.5rem;
  }

  .assist-card h3 {
    font-size: clamp(2rem, 9vw, 2.8rem);
  }

  .camera-stage {
    min-height: 33rem;
    margin-top: .5rem;
  }

  .camera-device--ios {
    top: 1%;
    left: 3%;
    width: min(14rem, 54vw);
    border-width: 6px;
    border-radius: 2.4rem;
  }

  .camera-device--android {
    top: 11%;
    right: 0;
    width: min(12.5rem, 48vw);
    border-width: 5px;
    border-radius: 2.1rem;
  }

  .camera-stage__spot {
    top: 8%;
    left: 5%;
    width: 84%;
  }

  .camera-app-badge {
    right: 3%;
    bottom: 1%;
    width: 4.8rem;
  }

  .camera-speed-card {
    left: 2%;
    bottom: 3%;
  }

  .filter-grid,
  .store-reference-grid {
    grid-template-columns: 1fr;
  }

  .faq-item summary {
    gap: 1rem;
  }

  .filter-card {
    min-height: 8.8rem;
  }

  .language-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .support-contact {
    grid-template-columns: 1fr;
  }

  .support-contact a {
    justify-self: start;
  }

  .site-footer {
    padding-block: 2.75rem;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .site-footer__navs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
    border-top: 1px solid rgba(24, 19, 22, .1);
    padding-top: 2rem;
  }

  .site-footer__nav {
    border-left: 0;
    padding-left: 0;
  }
}

@media (max-width: 420px) {
  .assist-card__body {
    padding: 1.4rem;
  }

  html[lang="ja"] .assist-card h3 {
    font-size: clamp(1.85rem, 8.2vw, 2.4rem);
  }

  .retouch-presets {
    gap: .42rem;
  }

  .retouch-presets span {
    padding-inline: .64rem;
    font-size: .69rem;
  }

  .camera-hero .hero-title {
    font-size: clamp(2.85rem, 14vw, 3.7rem);
  }

  html[lang="ko"] .camera-hero .hero-title {
    font-size: clamp(2.2rem, 10.2vw, 2.85rem);
  }

  html[lang="zh-CN"] .camera-hero .hero-title,
  html[lang="ja"] .camera-hero .hero-title {
    font-size: clamp(2.35rem, 11.2vw, 3rem);
  }

  .camera-stage {
    min-height: 29.5rem;
  }

  .camera-device--ios {
    width: 53vw;
  }

  .camera-device--android {
    width: 47vw;
  }

  .camera-device__level {
    width: 2.6rem;
  }

  .camera-app-badge {
    width: 4.2rem;
    border-radius: 1.25rem;
    padding: .42rem;
  }

  .camera-speed-card {
    font-size: .66rem;
  }

  .camera-speed-card strong {
    font-size: 1rem;
  }

  .site-footer__navs {
    grid-template-columns: 1fr;
  }
}
