
.aa-fl { background: var(--aa-white); }
.aa-stg { --sh: clamp(250px, 30vw, 400px); --stg-line: #24B0C2; max-width: 1160px; margin: clamp(18px, 2vw, 26px) auto 0; padding: clamp(16px, 2.2vw, 30px); border-radius: clamp(28px, 3vw, 44px); background: #F5F6F9; }
.aa-stg__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: clamp(14px, 1.8vw, 22px); }
.aa-stg__nav button { position: relative; display: inline-flex; align-items: center; gap: 7px; padding: 9px 16px; overflow: hidden; border: 0; border-radius: 999px; background: var(--aa-white); font: inherit; font-size: 14px; font-weight: 750; color: var(--aa-muted); cursor: pointer; transition: background-color .3s ease, color .3s ease; }
.aa-stg__nav em { font-size: 12px; font-weight: 800; font-style: normal; color: var(--aa-faint); }
.aa-stg__nav button[aria-pressed="true"] { background: var(--aa-ink); color: var(--aa-white); }
.aa-stg__nav button[aria-pressed="true"] em { color: rgba(255, 255, 255, .7); }
.aa-stg__nav button::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 3px; background: var(--aa-grad-deep); transform-origin: left; scale: 0 1; }
.aa-stg__nav button:focus-visible { outline: 3px solid var(--aa-primary); outline-offset: 2px; }
.aa-stg__view { display: grid; }
.aa-stg__scene { grid-area: 1 / 1; display: flex; align-items: center; justify-content: center; gap: clamp(12px, 2vw, 28px); min-height: var(--sh); visibility: hidden; opacity: 0; transition: opacity .45s ease, visibility 0s .45s; }
.aa-stg[data-scene="1"] .aa-stg__scene--1, .aa-stg[data-scene="2"] .aa-stg__scene--2, .aa-stg[data-scene="3"] .aa-stg__scene--3 { visibility: visible; opacity: 1; transition: opacity .45s ease; }
.aa-stg__it { position: relative; flex: none; }
.aa-stg__it img { display: block; width: auto; border-radius: 12px; box-shadow: 0 1px 2px rgba(27, 33, 64, .05), 0 14px 30px rgba(27, 33, 64, .11); }
.aa-stg__tag { position: absolute; left: 10px; top: 10px; z-index: 1; padding: 4px 10px; border-radius: 999px; background: rgba(20, 20, 40, .82); color: var(--aa-white); font-size: 11.5px; font-weight: 750; white-space: nowrap; }
.aa-stg__line { flex: none; width: clamp(20px, 3vw, 46px); height: 2px; border-radius: 2px; background: var(--stg-line); transform-origin: left center; }
.aa-stg__mood img { height: var(--sh); }
.aa-stg__col { display: grid; gap: 12px; }
.aa-stg__col img { height: calc((var(--sh) - 12px) / 2); }
.aa-stg__insta img { height: calc(var(--sh) * .92); }
.aa-stg__detail img { height: calc(var(--sh) * .74); }
.aa-stg__ads, .aa-stg__cuts { position: relative; display: grid; grid-template-columns: repeat(2, auto); gap: 10px; align-items: start; }
.aa-stg__ads img { width: calc(var(--sh) * .27); height: auto; border-radius: 8px; }
.aa-stg__cuts img { width: calc(var(--sh) * .5); height: auto; border-radius: 10px; }
.aa-stg__ads .aa-stg__tag, .aa-stg__cuts .aa-stg__tag { left: 8px; top: 8px; }
.aa-stg__wide img { width: calc(var(--sh) * .8); height: auto; }
.aa-stg__tall img { width: calc(var(--sh) * .5); height: calc(var(--sh) * .95); object-fit: cover; }
.aa-stg__play::after { content: ""; position: absolute; left: 50%; top: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: rgba(12, 12, 24, .82) url("/assets/home/generated/icons/7fe46698f917f8bc5630.svg") center / 26px no-repeat; }
.aa-stg__cap { margin-top: clamp(12px, 1.4vw, 18px); text-align: center; font-size: 12.5px; font-weight: 650; color: var(--aa-muted); }

@media (prefers-reduced-motion: no-preference) {
  html[data-js] .aa-stg__scene .aa-stg__it { opacity: 0; }
  html[data-js] .aa-stg__scene .aa-stg__line { scale: 0 1; }
  html[data-js] .aa-stg[data-scene="1"] .aa-stg__scene--1 .aa-stg__it, html[data-js] .aa-stg[data-scene="2"] .aa-stg__scene--2 .aa-stg__it, html[data-js] .aa-stg[data-scene="3"] .aa-stg__scene--3 .aa-stg__it { animation: aa-stg-in .7s var(--aa-ease) both; }
  html[data-js] .aa-stg[data-scene="1"] .aa-stg__scene--1 .aa-stg__line, html[data-js] .aa-stg[data-scene="2"] .aa-stg__scene--2 .aa-stg__line, html[data-js] .aa-stg[data-scene="3"] .aa-stg__scene--3 .aa-stg__line { animation: aa-stg-line .6s var(--aa-ease) both; }
  
  .aa-stg__scene--1 .aa-stg__line { animation-delay: .9s !important; }
  .aa-stg__scene--1 .aa-stg__col .aa-stg__it:nth-child(1) { animation-delay: 1.4s !important; }
  .aa-stg__scene--1 .aa-stg__col .aa-stg__it:nth-child(2) { animation-delay: 2s !important; }
  
  .aa-stg__scene--2 .aa-stg__detail { animation-delay: .7s !important; }
  .aa-stg__scene--2 .aa-stg__line { animation-delay: 1.5s !important; }
  .aa-stg__scene--2 .aa-stg__ads .aa-stg__it:nth-child(1) { animation-delay: 1.9s !important; } .aa-stg__scene--2 .aa-stg__ads .aa-stg__it:nth-child(2) { animation-delay: 2.2s !important; }
  .aa-stg__scene--2 .aa-stg__ads .aa-stg__it:nth-child(3) { animation-delay: 2.5s !important; } .aa-stg__scene--2 .aa-stg__ads .aa-stg__it:nth-child(4) { animation-delay: 2.8s !important; }
  
  .aa-stg__scene--3 .aa-stg__cuts .aa-stg__it:nth-child(2) { animation-delay: .3s !important; } .aa-stg__scene--3 .aa-stg__cuts .aa-stg__it:nth-child(3) { animation-delay: .6s !important; } .aa-stg__scene--3 .aa-stg__cuts .aa-stg__it:nth-child(4) { animation-delay: .9s !important; }
  .aa-stg__scene--3 .aa-stg__line { animation-delay: 1.5s !important; }
  .aa-stg__scene--3 .aa-stg__wide { animation-delay: 1.9s !important; }
  .aa-stg__scene--3 .aa-stg__tall { animation-delay: 2.5s !important; }
  .aa-stg[data-playing] .aa-stg__nav button[aria-pressed="true"]::after { animation: aa-stg-prog 5.4s linear both; }
}
@keyframes aa-stg-in { from { opacity: 0; translate: 0 16px; scale: .97; } to { opacity: 1; translate: 0 0; scale: 1; } }
@keyframes aa-stg-line { from { scale: 0 1; } to { scale: 1 1; } }
@keyframes aa-stg-prog { from { scale: 0 1; } to { scale: 1 1; } }

@media (max-width: 760px) {
  .aa-stg { padding: 14px 12px 16px; }
  .aa-stg__nav button { padding: 8px 12px; font-size: 13px; }
  .aa-stg__scene { flex-wrap: wrap; gap: 10px; min-height: 0; align-content: center; }
  .aa-stg__it img { width: 100%; height: auto; border-radius: 10px; }
  .aa-stg__line { flex: 0 0 100%; width: 100%; height: 0; background: none; }
  .aa-stg__mood { flex: 0 0 100%; }
  .aa-stg__col { display: flex; flex: 0 0 100%; gap: 10px; }
  .aa-stg__col .aa-stg__it { flex: 1 1 0; min-width: 0; }
  .aa-stg__insta { flex: 0 0 calc(41% - 5px); }
  .aa-stg__detail { flex: 0 0 calc(59% - 5px); }
  .aa-stg__ads { flex: 0 0 100%; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .aa-stg__cuts { flex: 0 0 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .aa-stg__ads img, .aa-stg__cuts img, .aa-stg__col img, .aa-stg__mood img, .aa-stg__insta img, .aa-stg__detail img, .aa-stg__wide img { width: 100%; height: auto; }
  .aa-stg__wide { flex: 0 0 calc(64% - 5px); }
  .aa-stg__tall { flex: 0 0 calc(36% - 5px); }
  .aa-stg__tall img { width: 100%; height: auto; aspect-ratio: 9 / 10; }
  .aa-stg__tag { left: 6px; top: 6px; padding: 3px 8px; font-size: 10.5px; }
  .aa-stg__play::after { width: 38px; height: 38px; margin: -19px 0 0 -19px; background-size: 20px; }
}

.aa-stg__tall { overflow: hidden; border-radius: 14px; box-shadow: 0 1px 2px rgba(27, 33, 64, .05), 0 14px 30px rgba(27, 33, 64, .11); }
.aa-stg__tall img { scale: 1.2; border-radius: 0; box-shadow: none; }

.aa-fl .aa-stg { margin-top: 0; }
.aa-fl .aa-p3flow { margin-top: clamp(22px, 2.6vw, 36px); }


.aa-stg { background-color: #F1F2F5; background-image: radial-gradient(rgba(27, 33, 64, .13) 1px, transparent 1.2px); background-size: 20px 20px; background-position: 10px 10px; box-shadow: none !important; }
.aa-stg__scene { padding-top: 22px; }
.aa-stg__it img, .aa-stg__ads img, .aa-stg__cuts img { border-radius: 3px !important; box-shadow: 0 1px 2px rgba(27, 33, 64, .08), 0 6px 18px rgba(27, 33, 64, .07) !important; }
.aa-stg__tag { left: 0 !important; top: -20px !important; padding: 0 !important; border-radius: 0; background: none; color: #7A8099; font-size: 11.5px; font-weight: 650; letter-spacing: -0.01em; }
.aa-stg__tag::before { content: "#"; margin-right: 3px; color: #A9AEC0; font-weight: 500; }
.aa-stg__ads .aa-stg__tag, .aa-stg__cuts .aa-stg__tag { left: 0 !important; top: -20px !important; }
.aa-stg__ads, .aa-stg__cuts { gap: 12px; }
.aa-stg__tall { overflow: visible; border-radius: 0; box-shadow: none; }
.aa-stg__tall img { scale: 1; object-fit: cover; }
.aa-stg__play::after { box-shadow: 0 6px 16px rgba(12, 12, 24, .3); }
.aa-stg__line { height: 1.5px; background: #6E7BF2; }
.aa-stg__line::after { content: ""; position: absolute; }
.aa-stg__cap { color: #8A90A6; }
.aa-stg__nav button { box-shadow: 0 1px 2px rgba(27, 33, 64, .06); }
@media (max-width: 760px) {
  .aa-stg { background-size: 16px 16px; background-position: 8px 8px; }
  .aa-stg__scene { row-gap: 30px; padding-top: 20px; }
  .aa-stg__tag { top: -18px !important; font-size: 11px !important; }
}


.aa-flm { display: none; }
@media (max-width: 760px) {
  #aa-main .aa-fl .aa-stg { display: none; }
  .aa-flm--tree { display: block; padding: 30px 14px 14px; border-radius: 24px; background: #F1F2F5 radial-gradient(circle, rgba(27, 33, 64, .1) 1px, transparent 1.3px) 0 0 / 20px 20px; box-shadow: inset 0 0 0 1px rgba(27, 33, 64, .06); }
  .aa-flm__frame { position: relative; padding: 10px; border-radius: 14px; background: rgba(255, 255, 255, .7); box-shadow: inset 0 0 0 1.5px rgba(101, 86, 232, .45); }
  #aa-main .aa-flm__tag { position: absolute; left: 2px; top: -19px; font-size: 12px; font-weight: 750; letter-spacing: -0.01em; color: #6A5AE0; }
  .aa-flm__tag::before { content: "# "; opacity: .6; }
  .aa-flm__srcrow { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .aa-flm__card { display: block; overflow: hidden; aspect-ratio: 1 / 1; border-radius: 10px; background: var(--aa-white); box-shadow: 0 0 0 1px rgba(27, 33, 64, .06), 0 8px 18px rgba(27, 33, 64, .1); }
  .aa-flm__card img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
  .aa-flm__branch { position: relative; height: 72px; }
  .aa-flm__branch svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
  .aa-flm__branch path { fill: none; stroke: url("#aa-flm-g"); stroke-width: 1.8; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 5 5; }
  .aa-flm__end { position: absolute; bottom: -4px; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: #7A62EC; box-shadow: 0 0 0 3px rgba(122, 98, 236, .18); }
  .aa-flm__end--l { left: 25%; background: #4A78EA; box-shadow: 0 0 0 3px rgba(74, 120, 234, .18); }
  .aa-flm__end--r { left: 75%; }
  #aa-main .aa-flm__pill { position: absolute; left: 50%; top: 14px; translate: -50% 0; padding: 4px 11px; border-radius: 999px; background: var(--aa-white); box-shadow: inset 0 0 0 1.5px rgba(101, 86, 232, .45), 0 4px 10px rgba(84, 72, 160, .12); font-size: 12px; font-weight: 800; line-height: 1.4; letter-spacing: -0.02em; white-space: nowrap; color: var(--aa-primary-deep); }
  .aa-flm__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: start; }
  .aa-flm__cols > div { display: grid; gap: 10px; }
  .aa-flm__tile { position: relative; margin: 0; overflow: hidden; border-radius: 10px; background: var(--aa-white); box-shadow: 0 0 0 1px rgba(27, 33, 64, .06), 0 8px 18px rgba(27, 33, 64, .1); }
  .aa-flm__tile img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
  .aa-flm__tile--insta { aspect-ratio: 4 / 5; }
  .aa-flm__tile--film { aspect-ratio: 16 / 9; }
  .aa-flm__tile--film img { object-position: center; }
  .aa-flm__tile--detail { aspect-ratio: 4 / 3; }
  .aa-flm__tile--ad { aspect-ratio: 400 / 424; }   
  #aa-main .aa-flm__tile figcaption { position: absolute; left: 7px; bottom: 7px; padding: 4px 9px; border-radius: 999px; background: rgba(255, 255, 255, .95); box-shadow: 0 2px 6px rgba(27, 33, 64, .14); font-size: 12px; font-weight: 750; line-height: 1.3; letter-spacing: -0.02em; color: var(--aa-ink); }
  .aa-flm__play { position: absolute; left: 50%; top: 46%; width: 34px; height: 34px; translate: -50% -50%; border-radius: 50%; background: rgba(255, 255, 255, .92) url("/assets/home/generated/icons/a902844afd29c1df412f.svg") 55% 50% / 18px no-repeat; box-shadow: 0 4px 12px rgba(0, 0, 0, .22); }
  .aa-flm--tree .aa-stg__cap { margin-top: 14px; }
}
@media (max-width: 760px) and (prefers-reduced-motion: no-preference) {
  .aa-flm__branch path { animation: aa-flm-march 1s linear infinite; }
  html[data-js] .aa-flm--tree .aa-flm__tile, html[data-js] .aa-flm--tree .aa-flm__pill { opacity: 0; }
  html[data-js] .aa-flm--tree .aa-flm__tile { transform: translateY(12px) scale(.96); }
  html[data-js] .aa-flm--tree[data-visible="true"] .aa-flm__pill { opacity: 1; transition: opacity .5s ease .5s; }
  html[data-js] .aa-flm--tree[data-visible="true"] .aa-flm__tile { opacity: 1; transform: none; transition: opacity .6s ease, transform .7s var(--aa-ease); }
  html[data-js] .aa-flm--tree[data-visible="true"] .aa-flm__tile--insta { transition-delay: .9s; }
  html[data-js] .aa-flm--tree[data-visible="true"] .aa-flm__tile--detail { transition-delay: 1.15s; }
  html[data-js] .aa-flm--tree[data-visible="true"] .aa-flm__tile--ad { transition-delay: 1.4s; }
  html[data-js] .aa-flm--tree[data-visible="true"] .aa-flm__tile--film { transition-delay: 1.65s; }
}
@keyframes aa-flm-march { to { stroke-dashoffset: -10; } }
