/* Smart Albums modules. Desktop geometry follows Figma 5078:70351 and 4544:16960. */
.ha { display: block; color: var(--ht-ink, #272622); background: #fff; font: 400 18px/1.55 var(--body-font, "Mulish", sans-serif); }
.ha, .ha *, .ha *::before, .ha *::after { box-sizing: border-box; }
.ha [hidden] { display: none !important; }
.ha :is(h1,h2,h3,p) { margin: 0; }
.ha :is(h1,h2) { font-family: var(--title-font, "Rufina", Georgia, serif); font-weight: 400; letter-spacing: 0; }
.ha button, .ha a { -webkit-tap-highlight-color: transparent; }
.ha button { font-family: inherit; cursor: pointer; }
.ha button:focus-visible, .ha a:focus-visible { outline: 2px solid #008548; outline-offset: 5px; }
.ha img { display: block; max-width: 100%; }
.ha-button { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; padding: 10px 20px; border: 1px solid #1a1a1a; border-radius: 4px; background: #1a1a1a; color: #f7f8f2; font: 600 16px/1.5 var(--body-font, "Mulish", sans-serif); text-align: center; text-decoration: none; transition: background .2s, transform .2s; }
.ha-button:hover { color: #fff; background: #343630; }
.ha-button:active { transform: translateY(1px); }
.ha-button:disabled { cursor: progress; opacity: .65; }
.ha-text-button { color: inherit; border: 0; border-bottom: 1px solid currentColor; background: transparent; font: inherit; padding: 8px 0; }
.ha-visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px !important; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.ha-frame { overflow: clip; padding: 96px 0; background: #fff; text-align: center; }
.ha-frame__copy { width: min(1000px, calc(100% - 48px)); margin: 0 auto 64px; }
.ha-frame__copy h1 { font-size: clamp(48px, 3.75vw, 72px); line-height: 1.1; white-space: pre-line; }
.ha-frame__copy > p { max-width: 660px; margin: 24px auto 0; color: #50574e; font-size: 20px; line-height: 1.5; }
.ha-frame__stage { width: min(1080px, 75vw); aspect-ratio: 1080 / 794.7; margin: 0 auto; perspective: 1200px; }
.ha-frame__plane { position: relative; width: 100%; height: 100%; transform: rotateX(34deg); transform-origin: 50% 50%; transition: transform 1.4s cubic-bezier(.22,.61,.36,1); }
.ha-frame.is-visible .ha-frame__plane { transform: rotateX(0); }
.ha-frame__product { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.ha-frame__screen { position: absolute; left: 15.1185%; top: 20.3523%; width: 69.6791%; height: 59.0666%; overflow: hidden; background: #fff; border-radius: 1px; }
.ha-frame__photos { position: absolute; inset: 0; }
.ha-orbit-photo { position: absolute; left: var(--orbit-x, 50%); top: var(--orbit-y, 50%); width: 8%; aspect-ratio: 5 / 4; transform: translate(-50%, -50%) rotate(var(--orbit-r, 0deg)); border-radius: 7px; box-shadow: 0 5px 10px #1f261a29; transition: left .8s cubic-bezier(.22,.61,.36,1), top .8s cubic-bezier(.22,.61,.36,1), transform .8s cubic-bezier(.22,.61,.36,1), opacity .25s; }
.ha-orbit-photo:nth-child(3n+2) { width: 6.4%; aspect-ratio: 3 / 4; }
.ha-orbit-photo img, .ha-album-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.ha-frame__prompt { position: absolute; inset: 34% 12% auto; padding: 12px 4px; background: #ffffffed; border-radius: 20px; }
.ha-frame__prompt p { margin-bottom: 14px; font-size: clamp(12px, 1vw, 18px); color: #50574e; }
.ha-frame__prompt .ha-button { min-width: 160px; }
.ha-frame:not([data-ready]) .ha-frame__prompt { display: none; }
.ha-frame[data-phase="collecting"] .ha-orbit-photo { left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(0) scale(.5); }
.ha-frame[data-phase="collecting"] .ha-frame__prompt { opacity: 0; pointer-events: none; }
.ha-frame[data-phase="result"] .ha-frame__photos, .ha-frame[data-phase="result"] .ha-frame__prompt { display: none; }
.ha-frame__results { position: absolute; inset: 0; padding: 5% 6%; background: #fff; }
.ha-frame__tabs { display: flex; justify-content: center; gap: 24px; margin-bottom: 5%; }
.ha-frame__tabs button { min-height: 44px; padding: 6px 4px; color: #66635d; background: transparent; border: 0; border-bottom: 2px solid transparent; font: 500 clamp(12px, 1.15vw, 20px)/1.4 var(--body-font, "Mulish", sans-serif); }
.ha-frame__tabs [aria-selected="true"] { color: #123321; border-bottom-color: #008548; }
.ha-frame__album-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8%; height: 64%; }
.ha-album-photo { min-width: 0; overflow: hidden; aspect-ratio: 1; border-radius: 50%; align-self: center; }
.ha-frame__album-grid[data-category="themes"] .ha-album-photo { border-radius: 8px; aspect-ratio: 4/3; }
.ha-frame__replay { margin: 12px auto 0; font-size: 14px; }
.ha-comparison { padding: 96px 0 100px; }
.ha-comparison h2 { margin: 0 24px 64px; font-size: 48px; line-height: 1.2; text-align: center; }
.ha-comparison__grid { width: min(1536px, calc(100% - 96px)); margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.ha-comparison__card { min-width: 0; }
.ha-comparison__media { position: relative; width: 100%; aspect-ratio: 496/420; overflow: hidden; border-radius: 20px; background: #f3f5f1; }
.ha-visual { position: absolute; left: 0; top: 0; width: 496px; height: 420px; transform: scale(var(--ha-visual-scale, 1)); transform-origin: 0 0; }
.ha-visual p { font-family: var(--body-font, "Mulish", sans-serif); }
.ha-comparison__text { margin-top: 24px; }
.ha-comparison__brand { display: flex; align-items: center; gap: 12px; color: #123321; font-size: 16px; font-weight: 600; line-height: 24px; }
.ha-comparison__brand img { flex: 0 0 24px; }
.ha-comparison__text h3 { min-height: 66px; margin: 10px 0 16px; font: 500 24px/1.35 var(--body-font, "Mulish", sans-serif); }
.ha-comparison__other { min-height: 110px; padding-top: 16px; border-top: 1px solid #d5d1c9; color: #66635d; font-size: 18px; line-height: 1.5; }
.ha-comparison__shop { display: flex; width: fit-content; min-width: 280px; min-height: 56px; margin: 48px auto 0; }
@media (max-width: 1599.98px) and (min-width: 1200px) {
 .ha-frame__copy h1 { font-size: 60px; }
 .ha-frame__stage { width: min(960px, 80vw); }
 .ha-comparison__grid { width: calc(100% - 160px); }
}
@media (max-width: 1199.98px) {
 .ha-frame { padding: 64px 0 36px; }
 .ha-frame__copy { margin-bottom: 28px; }
 .ha-frame__copy h1 { font-size: clamp(32px, 7.7vw, 52px); line-height: 1.15; }
 .ha-frame__copy > p { font-size: 16px; line-height: 1.5; margin-top: 16px; max-width: 520px; }
 .ha-frame__stage { width: min(760px, 100%); }
 .ha-frame__screen { overflow: hidden; }
 .ha-frame__prompt { inset: 23% 4% auto; padding: 8px 4px; border-radius: 8px; }
 .ha-frame__prompt p { font-size: clamp(11px, 2.8vw, 16px); margin-bottom: 6px; }
 .ha-frame__prompt .ha-button { min-width: 120px; min-height: 44px; padding: 6px 10px; font-size: 13px; }
 .ha-frame__tabs { margin-bottom: 0; gap: 16px; }
 .ha-frame__results { padding: 0 6%; }
 .ha-frame__tabs button { font-size: 13px; }
 .ha-frame__album-grid { gap: 7%; height: calc(100% - 44px); }
 .ha-comparison { padding: 64px 24px; }
 .ha-comparison h2 { margin: 0 0 32px; font-size: 32px; line-height: 1.2; }
 .ha-comparison__grid { width: min(680px, 100%); grid-template-columns: 1fr; gap: 40px; }
 .ha-comparison__text { margin-top: 20px; }
 .ha-comparison__text h3 { min-height: 0; font-size: 22px; margin-bottom: 20px; }
 .ha-comparison__other { min-height: 0; font-size: 16px; }
 .ha-comparison__shop { min-width: 0; width: min(100%, 342px); margin-top: 40px; }
}
@media (prefers-reduced-motion: reduce) {
 .ha *, .ha *::before, .ha *::after { animation: none !important; transition: none !important; }
 .ha-frame__plane { transform: none; }
}
