
.aa-q { --qh1: clamp(160px, 19vw, 248px); --qh2: clamp(170px, 20vw, 262px); max-width: 1160px; margin: clamp(56px, 6vw, 88px) auto 0; }
.aa-q .aa-sub-title { margin: 0 0 8px; }
.aa-q__lead { margin-bottom: 18px; text-align: center; font-size: 15px; line-height: 1.6; color: var(--aa-body); }
.aa-q__tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: clamp(16px, 2vw, 24px); }
.aa-q__tabs button { padding: 10px 20px; border: 1px solid var(--aa-line); border-radius: 999px; background: var(--aa-white); font: inherit; font-size: 15px; font-weight: 750; color: var(--aa-body); cursor: pointer; transition: background-color .3s ease, color .3s ease, border-color .3s ease; }
.aa-q__tabs button[aria-selected="true"] { border-color: transparent; background: var(--aa-ink); color: var(--aa-white); }
.aa-q__tabs button:focus-visible, .aa-q__zoom:focus-visible { outline: 3px solid var(--aa-primary); outline-offset: 2px; }
.aa-q__board[hidden] { display: none; }
.aa-q__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 12px; }
.aa-q__cell { display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 12px; border-radius: 20px; background: #F5F6F9; }
.aa-q__cell--concept, .aa-q__cell--guide, .aa-q__cell--mp, .aa-q__cell--insta { grid-column: span 2; }
.aa-q__cell--mood, .aa-q__cell--film, .aa-q__cell--detail, .aa-q__cell--ads { grid-column: span 4; }
.aa-q__label { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 750; letter-spacing: -0.01em; color: var(--aa-ink); white-space: nowrap; }
.aa-q__label em { font-size: 11.5px; font-weight: 800; font-style: normal; color: var(--aa-primary); }
.aa-q__pic { display: grid; flex: 1 1 auto; place-items: center; min-height: 0; }
.aa-q__zoom { display: block; padding: 0; border: 0; border-radius: 10px; background: none; cursor: zoom-in; line-height: 0; transition: translate .3s var(--aa-ease); }
.aa-q__zoom:hover { translate: 0 -3px; }
.aa-q__zoom img { display: block; width: auto; max-width: 100%; height: auto; max-height: var(--qh1); border-radius: 10px; box-shadow: 0 1px 2px rgba(27, 33, 64, .05), 0 10px 22px rgba(27, 33, 64, .1); }
.aa-q__cell--film .aa-q__zoom img, .aa-q__cell--detail .aa-q__zoom img, .aa-q__cell--ads .aa-q__zoom img { max-height: var(--qh2); }
.aa-q__stack { display: grid; gap: 8px; justify-items: center; }
.aa-q__stack .aa-q__zoom img { max-height: calc((var(--qh1) - 8px) / 2); }
.aa-q__quad { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; align-items: center; }
.aa-q__four { display: grid; grid-template-columns: repeat(2, auto); gap: 8px; justify-content: center; align-items: start; }
.aa-q__four .aa-q__zoom img { max-height: calc((var(--qh2) - 8px) / 2); }
.aa-q__note { margin-top: 14px; text-align: center; font-size: 12.5px; line-height: 1.6; color: var(--aa-muted); }
@media (prefers-reduced-motion: no-preference) {
  .aa-q__board.aa-q-in .aa-q__cell { animation: aa-q-in .5s var(--aa-ease) both; }
  .aa-q__board.aa-q-in .aa-q__cell:nth-child(2) { animation-delay: .05s; } .aa-q__board.aa-q-in .aa-q__cell:nth-child(3) { animation-delay: .1s; } .aa-q__board.aa-q-in .aa-q__cell:nth-child(4) { animation-delay: .15s; }
  .aa-q__board.aa-q-in .aa-q__cell:nth-child(5) { animation-delay: .2s; } .aa-q__board.aa-q-in .aa-q__cell:nth-child(6) { animation-delay: .25s; } .aa-q__board.aa-q-in .aa-q__cell:nth-child(7) { animation-delay: .3s; } .aa-q__board.aa-q-in .aa-q__cell:nth-child(8) { animation-delay: .35s; }
}
@keyframes aa-q-in { from { opacity: 0; translate: 0 10px; } }

@media (max-width: 760px) {
  .aa-q__tabs { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--aa-gutter) * -1); padding-inline: var(--aa-gutter); }
  .aa-q__tabs::-webkit-scrollbar { display: none; }
  .aa-q__tabs button { flex: none; padding: 9px 16px; font-size: 14px; }
  .aa-q__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .aa-q__cell { grid-column: span 1 !important; padding: 10px; border-radius: 16px; }
  .aa-q__cell--mood, .aa-q__cell--detail, .aa-q__cell--film, .aa-q__cell--ads { grid-column: span 2 !important; }
  .aa-q__cell--concept { order: 1; } .aa-q__cell--guide { order: 2; } .aa-q__cell--mood { order: 3; } .aa-q__cell--mp { order: 4; } .aa-q__cell--insta { order: 5; }
  .aa-q__cell--detail { order: 6; } .aa-q__cell--film { order: 7; } .aa-q__cell--ads { order: 8; }
  .aa-q__zoom img, .aa-q__stack .aa-q__zoom img, .aa-q__cell--film .aa-q__zoom img, .aa-q__cell--detail .aa-q__zoom img { width: 100%; max-height: none; }
  .aa-q__four { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .aa-q__four .aa-q__zoom img { width: 100%; max-height: none; border-radius: 6px; }
  .aa-q__lead { font-size: 14px; }
}


.aa-lb { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; padding: 0; border: 0; background: rgba(12, 12, 24, .94); color: var(--aa-white); }
.aa-lb::backdrop { background: rgba(12, 12, 24, .6); }
.aa-lb[open] { display: grid; grid-template-columns: 64px minmax(0, 1fr) 64px; align-items: center; }
.aa-lb__fig { display: grid; justify-items: center; gap: 12px; max-height: 100dvh; margin: 0; padding: 60px 0 28px; overflow: auto; }
.aa-lb__img { display: block; width: auto; max-width: min(100%, 1200px); height: auto; max-height: calc(100dvh - 130px); border-radius: 12px; }
.aa-lb__cap { font-size: 14px; font-weight: 700; color: rgba(255, 255, 255, .86); }
.aa-lb__close, .aa-lb__nav { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: var(--aa-white); cursor: pointer; justify-self: center; }
.aa-lb__close { position: absolute; right: 16px; top: 16px; z-index: 2; }
.aa-lb__close svg, .aa-lb__nav svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.aa-lb__close:hover, .aa-lb__nav:hover { background: rgba(255, 255, 255, .26); }
@media (max-width: 760px) {
  .aa-lb[open] { grid-template-columns: minmax(0, 1fr); }
  .aa-lb__fig { padding: 64px 12px 84px; align-content: start; }
  .aa-lb__img { max-width: 100%; max-height: none; width: 100%; }
  .aa-lb__nav { position: fixed; bottom: 18px; z-index: 2; }
  .aa-lb__nav--prev { left: calc(50% - 56px); } .aa-lb__nav--next { left: calc(50% + 12px); }
}


.aa-q__thumbs { display: none; }
@media (max-width: 760px) {
  .aa-q[data-m] .aa-q__grid { display: block; }
  .aa-q[data-m] .aa-q__cell { display: none; }
  .aa-q[data-m] .aa-q__cell[data-on] { display: flex; min-height: 344px; padding: 12px; border-radius: 18px; }
  .aa-q[data-m] .aa-q__label { font-size: 13.5px; }
  .aa-q[data-m] .aa-q__pic { min-height: 292px; }
  .aa-q[data-m] .aa-q__zoom img { width: auto; max-width: 100%; max-height: 292px; }
  .aa-q[data-m] .aa-q__stack .aa-q__zoom img { max-height: 142px; }
  .aa-q[data-m] .aa-q__quad .aa-q__zoom img { width: 100%; max-height: none; }
  .aa-q[data-m] .aa-q__four { grid-template-columns: repeat(2, auto); gap: 8px; }
  .aa-q[data-m] .aa-q__four .aa-q__zoom img { width: auto; max-height: 142px; border-radius: 8px; }
  .aa-q[data-m] .aa-q__thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: 8px; }
  .aa-q__thumbs button { display: grid; gap: 5px; min-width: 0; padding: 5px 5px 7px; border: 0; border-radius: 12px; background: #F5F6F9; font: inherit; text-align: center; cursor: pointer; transition: background-color .25s ease; }
  .aa-q__thumbs img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: center top; border-radius: 8px; }
  .aa-q__thumbs span { overflow: hidden; font-size: 10.5px; font-weight: 750; letter-spacing: -0.03em; white-space: nowrap; text-overflow: ellipsis; color: var(--aa-body); }
  .aa-q__thumbs span em { display: none; }
  .aa-q__thumbs button[aria-selected="true"] { background: var(--aa-ink); }
  .aa-q__thumbs button[aria-selected="true"] span { color: var(--aa-white); }
  .aa-q__hint { margin-top: 8px; text-align: center; font-size: 12px; color: var(--aa-muted); }
}
@media (min-width: 761px) { .aa-q__hint { display: none; } }
