/* AI탑 v3 (aitop-core 1.0.0). 앞부분은 scripts/scope-v3-css.cjs가 시안 CSS에서 만든다 — 직접 고치지 말 것. 워드프레스 맞춤은 v3-wp.css */
:root {
  --paper: #F6F1E7;
  --paper-2: #EFE7D8;
  --ink: #1E1A15;
  --ink-2: #5B5248;
  --line: #DED3C0;
  --brass: #A8772E;
  --brass-ink: #6F4C17;
  --card: #FFFDF8;
  --shadow: 0 1px 2px rgba(30, 26, 21, .06), 0 8px 24px rgba(30, 26, 21, .08);
  --radius: 14px;
  --wrap: 1240px;
  --head: 64px;
  --sans: "Malgun Gothic", "Apple SD Gothic Neo", "Noto Sans KR", system-ui, sans-serif;
  --title: "Pretendard Variable", Pretendard, var(--sans);
  color-scheme: light;
}
.aitop-v3 * { box-sizing: border-box; }
.aitop-v3 img { max-width: 100%; display: block; }
.aitop-v3 a { color: inherit; }
.aitop-v3 h1, .aitop-v3 h2, .aitop-v3 h3 { font-family: var(--title); line-height: 1.25; letter-spacing: -.02em; margin: 0; }
.aitop-v3 .wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.aitop-v3 :focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; }
.aitop-v3 .hero { position: relative; overflow: hidden; background: linear-gradient(#D8E0E8 0%, #EAE9E8 15%, #F9EFE5 30%, #FDF2E3 48%, #FCEDDA 80%, var(--paper) 100%); }
.aitop-v3.v3-home .hero { margin-top: calc(-1 * var(--head)); }
.aitop-v3.v3-home .stage { height: min(100svh, calc(860px + var(--head))); min-height: calc(600px + var(--head)); }
.aitop-v3.v3-home .copy { padding-top: calc(var(--head) + clamp(40px, 8vh, 96px)); }
@media (min-width: 861px) {
  .aitop-v3.v3-home .scene { top: var(--head); height: calc(100% - var(--head)); }
}
.aitop-v3 .hero .wrap { position: relative; }
.aitop-v3 .stage { position: relative; height: min(calc(100svh - var(--head)), 860px); min-height: 600px; }
.aitop-v3 .scene-box { position: absolute; inset: 0; }
.aitop-v3 .stage > .lift { position: absolute; left: 0; bottom: clamp(24px, 5vh, 48px); z-index: 4; margin: 0; }
.aitop-v3 .scene {
  position: absolute; top: 0; right: -3%; height: 100%; aspect-ratio: 3 / 2;
  transform-origin: 50% 50%; will-change: transform;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 14%, #000 95%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 7%, #000 86%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0, #000 14%, #000 95%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 7%, #000 86%, transparent 100%);
  mask-composite: intersect;
  transition: transform .62s cubic-bezier(.62, 0, .18, 1), filter .62s ease;
}
.aitop-v3 .scene img, .aitop-v3 .scene canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.aitop-v3 .scene img { object-fit: cover; }
.aitop-v3 .scene canvas { opacity: 0; transition: opacity .4s ease; }
.aitop-v3 .scene.is-gl canvas { opacity: 1; }
.aitop-v3 .scene.is-zooming { filter: saturate(1.08) brightness(1.06); }
.aitop-v3 .scene.no-anim { transition: none; }
.aitop-v3 .copy, .aitop-v3 .stage > .lift { transition: opacity .22s ease; }
.aitop-v3 .stage.is-entering .copy, .aitop-v3 .stage.is-entering > .lift { opacity: 0; }
.aitop-v3 .stage.is-entering .hot { opacity: 0; pointer-events: none; }
.aitop-v3 .stage.no-fade .copy, .aitop-v3 .stage.no-fade > .lift { transition: none; }
.aitop-v3 .veil { position: fixed; inset: 0; pointer-events: none; opacity: 0; transition: opacity .26s ease .1s; background: transparent center / cover no-repeat; z-index: 6; }
.aitop-v3 .veil.is-on { opacity: 1; }
/* 1.2.21 막을 층 페이지 첫 화면과 같은 높이로 (넓은 화면). 아래는 층 페이지 바탕색이라 들어가고 나올 때 사진이 튀지 않는다 */
.aitop-v3 .veil { top: var(--wp-admin--admin-bar--height, 0px); bottom: auto; height: clamp(calc(540px + var(--head)), calc(100svh - 110px), calc(820px + var(--head))); box-shadow: 0 0 0 100vmax var(--paper); }
@media (max-width: 860px) { .aitop-v3 .veil { height: calc(470px + var(--head)); } } /* 휴대폰 층 첫 화면 사진 높이와 같게 */
.aitop-v3 .hot {
  position: absolute; z-index: 3; border-radius: 6px; text-decoration: none;
  outline-offset: 0; transition: background-color .15s ease, box-shadow .15s ease;
}
.aitop-v3 .hot:hover, .aitop-v3 .hot:focus-visible { background: rgba(255, 248, 230, .16); box-shadow: inset 0 0 0 3px rgba(255, 244, 214, .9), 0 0 0 1px rgba(30, 26, 21, .25); }
.aitop-v3 .hot .tip {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) scale(.96);
  background: rgba(30, 26, 21, .86); color: #fff; font: 700 15px/1.2 var(--sans); white-space: nowrap;
  padding: 9px 12px; border-radius: 999px; opacity: 0; pointer-events: none; transition: opacity .15s ease, transform .15s ease;
}
.aitop-v3 .hot .tip small { font-weight: 400; opacity: .8; margin-left: 6px; }
.aitop-v3 .hot:hover .tip, .aitop-v3 .hot:focus-visible .tip { opacity: 1; transform: translate(-50%, -50%) scale(1); }
/* 1.2.50: 입체 그림이 지금 몇 배로 그려지는지(--gz, 1 → 1.045)를 v3.js가 넣는다. 1.2.46: 입체 그림은 1.045배 확대되어 그려지므로 칸도 그림 가운데(--ox,--oy) 기준으로 같이 키운다 */
.aitop-v3 .scene.is-gl .hot { transform: scale(var(--gz, 1)); transform-origin: var(--ox, 50%) var(--oy, 50%); }
/* 1.2.46: 층 모양 칸 — 누르는 자리는 .hot-hit(모양대로 잘림), 테두리는 .hot-line, 이름표는 안 잘림 */
.aitop-v3 .hot.is-poly { pointer-events: none; border-radius: 0; }
.aitop-v3 .hot.is-poly:hover, .aitop-v3 .hot.is-poly:focus-visible { background: none; box-shadow: none; }
.aitop-v3 .hot.is-poly:focus-visible { outline: none; }
.aitop-v3 .hot-hit { position: absolute; inset: 0; pointer-events: auto; }
.aitop-v3 .stage.is-entering .hot-hit { pointer-events: none; }
.aitop-v3 .hot-line { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; opacity: 0; transition: opacity .15s ease; }
.aitop-v3 .hot-line polygon { fill: rgba(255, 248, 230, .16); stroke: rgba(255, 244, 214, .95); stroke-width: 3; stroke-linejoin: round; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 1px rgba(30, 26, 21, .45)); }
.aitop-v3 .hot.is-poly:hover .hot-line, .aitop-v3 .hot.is-poly:focus-visible .hot-line { opacity: 1; }
.aitop-v3 .copy { position: relative; z-index: 4; padding-top: clamp(48px, 9vh, 104px); width: min(440px, 40%); }
.aitop-v3 .tag { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; color: var(--brass-ink); background: rgba(255, 253, 248, .75); border: 1px solid var(--line); padding: 6px 12px; border-radius: 999px; }
.aitop-v3 .copy h1 { font-size: clamp(36px, 4.2vw, 56px); font-weight: 800; margin-top: 18px; }
.aitop-v3 .copy h1 em { font-style: normal; color: var(--brass); }
.aitop-v3 .copy p { font-size: 18px; color: var(--ink-2); margin: 16px 0 0; }
.aitop-v3 .acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.aitop-v3 .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: 12px; font-weight: 700; font-size: 17px; text-decoration: none; border: 1px solid transparent; }
.aitop-v3 .btn-main { background: var(--ink); color: #FFF8EA; }
.aitop-v3 .btn-main:hover { background: #3A3128; }
.aitop-v3 .btn-sub { background: rgba(255, 253, 248, .85); border-color: var(--line); }
.aitop-v3 .btn-sub:hover { background: #fff; }
.aitop-v3 .lift { display: flex; gap: 18px; margin-top: 30px; flex-wrap: wrap; }
.aitop-v3 .lift-group { background: rgba(255, 253, 248, .82); border: 1px solid var(--line); border-radius: 16px; padding: 10px 12px 12px; }
.aitop-v3 .lift-group b { display: block; font-size: 13px; color: var(--ink-2); font-weight: 700; margin: 0 2px 6px; }
.aitop-v3 .lift-btns { display: flex; gap: 6px; }
.aitop-v3 .lift-btns a {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; text-decoration: none;
  font: 800 16px/1 var(--title); background: #fff; border: 2px solid var(--fc, var(--line)); color: var(--ink);
  transition: background-color .15s, color .15s;
}
.aitop-v3 .lift-btns a:hover, .aitop-v3 .lift-btns a:focus-visible { background: var(--fc); color: #fff; }
.aitop-v3 .lift-btns a.is-empty { border-style: dashed; opacity: .75; }
.aitop-v3 .sec { padding: 88px 0; }
.aitop-v3 .sec-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.aitop-v3 .sec-head h2 { font-size: clamp(28px, 3vw, 38px); }
.aitop-v3 .sec-head p { margin: 8px 0 0; color: var(--ink-2); }
.aitop-v3 .more { text-decoration: none; font-weight: 700; color: var(--brass-ink); min-height: 44px; display: inline-flex; align-items: center; white-space: nowrap; }
.aitop-v3 .more:hover { text-decoration: underline; }
.aitop-v3 .guide { display: grid; grid-template-columns: 180px 1fr; gap: 40px; }
.aitop-v3 .gauge { position: sticky; top: calc(var(--head) + 24px); align-self: start; }
.aitop-v3 .gauge-now { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px; box-shadow: var(--shadow); }
.aitop-v3 .gauge-now small { display: block; color: var(--ink-2); font-size: 14px; }
.aitop-v3 .gauge-now strong { display: block; font: 800 44px/1.05 var(--title); color: var(--gc, var(--ink)); transition: color .3s; }
.aitop-v3 .gauge-now span { display: block; font-weight: 700; margin-top: 2px; }
.aitop-v3 .bld + .bld { margin-top: 56px; }
.aitop-v3 .bld-name { display: flex; align-items: center; gap: 10px; font-size: 22px; margin-bottom: 12px; }
.aitop-v3 .bld-name small { font: 400 15px/1 var(--sans); color: var(--ink-2); }
.aitop-v3 .floor {
  
  display: grid; grid-template-columns: 92px minmax(240px, 1fr) fit-content(58%); gap: 18px; align-items: center;
  padding: 18px 18px 18px 0; border-top: 1px solid var(--line); position: relative;
}
.aitop-v3 .floor::before { content: ""; position: absolute; inset: 0 auto 0 -12px; width: 4px; border-radius: 4px; background: var(--fc); opacity: 0; transition: opacity .3s; }
.aitop-v3 .floor.is-now::before { opacity: 1; }
.aitop-v3 .floor:last-child { border-bottom: 1px solid var(--line); }
.aitop-v3 .fno { font: 800 40px/1 var(--title); color: var(--fc); text-decoration: none; min-height: 44px; display: flex; align-items: center; transform-origin: left center; transition: transform .25s ease; }
.aitop-v3 .floor { isolation: isolate; transition: transform .25s ease; }
.aitop-v3 .floor::after {
  content: ""; position: absolute; inset: 4px -16px; z-index: -1; border-radius: 16px; pointer-events: none;
  background: color-mix(in srgb, var(--fc) 15%, var(--card));
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--fc) 35%, transparent), 0 12px 30px color-mix(in srgb, var(--fc) 25%, transparent);
  opacity: 0; transform: scale(.98); transition: opacity .25s ease, transform .25s ease;
}
@media (hover: hover) {
  .aitop-v3 .floor:hover, .aitop-v3 .floor:focus-within { transform: scale(1.02); z-index: 1; }
  .aitop-v3 .floor:hover::after, .aitop-v3 .floor:focus-within::after { opacity: 1; transform: none; }
  .aitop-v3 .floor:hover::before, .aitop-v3 .floor:focus-within::before { opacity: 1; }
  .aitop-v3 .floor:hover .fno, .aitop-v3 .floor:focus-within .fno { transform: scale(1.14); }
  .aitop-v3 .floor:hover .door:not(.is-soon), .aitop-v3 .floor:focus-within .door:not(.is-soon) { border-color: color-mix(in srgb, var(--fc) 45%, var(--line)); }
}
@media (prefers-reduced-motion: reduce) {
  .aitop-v3 .floor, .aitop-v3 .floor::after, .aitop-v3 .fno { transition: none; }
  .aitop-v3 .floor:hover, .aitop-v3 .floor:focus-within, .aitop-v3 .floor:hover .fno, .aitop-v3 .floor:focus-within .fno { transform: none; }
}
.aitop-v3 .finfo h3 { font-size: 21px; }
.aitop-v3 .finfo h3 a { text-decoration: none; }
.aitop-v3 .finfo h3 a:hover { text-decoration: underline; }
.aitop-v3 .finfo p { margin: 4px 0 0; color: var(--ink-2); font-size: 16px; }
.aitop-v3 .doors { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.aitop-v3 .door {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 12px 6px 6px; border-radius: 10px;
  background: var(--card); border: 1px solid var(--line); text-decoration: none; font-size: 15px; font-weight: 700;
}
.aitop-v3 .door img { width: 40px; height: 30px; object-fit: cover; border-radius: 6px; }
.aitop-v3 .door .no { font: 800 13px/1 var(--title); color: #fff; background: var(--fc); border-radius: 6px; padding: 4px 6px; }
.aitop-v3 .door:hover { border-color: var(--fc); }
.aitop-v3 .door.is-soon { color: var(--ink-2); font-weight: 400; border-style: dashed; padding-left: 12px; }
.aitop-v3 .rooms { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.aitop-v3 .room { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.aitop-v3 .room-shot { position: relative; aspect-ratio: 4 / 3; background: var(--paper-2); overflow: hidden; }
.aitop-v3 .room-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .4s ease; }
.aitop-v3 .room:hover .room-shot img { transform: scale(1.03); }
.aitop-v3 .plate { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 6px; background: var(--fc); color: #fff; font: 800 15px/1 var(--title); padding: 8px 10px; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,.18); }
.aitop-v3 .room-body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.aitop-v3 .room-where { font-size: 14px; color: var(--ink-2); }
.aitop-v3 .room-body h3 { font-size: 19px; }
.aitop-v3 .room-body p { margin: 0; font-size: 15px; color: var(--ink-2); flex: 1; }
.aitop-v3 .cross { display: flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 700; color: var(--brass-ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, var(--brass) 45%, transparent); }
.aitop-v3 .cross:hover { color: var(--ink); }
.aitop-v3 .finfo h3 small, .aitop-v3 .fname h1 small { font: 400 15px/1.3 var(--sans); color: var(--ink-2); }
.aitop-v3 .room-acts { display: flex; gap: 8px; margin-top: 10px; }
.aitop-v3 .room-acts a { flex: 1; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; text-decoration: none; font-weight: 700; font-size: 15px; border: 1px solid var(--line); }
.aitop-v3 .room-acts a:first-child { background: var(--ink); color: #FFF8EA; border-color: var(--ink); }
.aitop-v3 .room-acts a:hover { filter: brightness(1.1); }
.aitop-v3 .ad { border: 1px dashed #C9BCA5; border-radius: var(--radius); background: repeating-linear-gradient(135deg, #F1EADD 0 12px, #EDE5D6 12px 24px); display: grid; place-items: center; text-align: center; color: var(--ink-2); font-size: 14px; min-height: 360px; padding: 20px; }
.aitop-v3 .ad b { display: block; color: var(--ink); font-size: 15px; margin-bottom: 4px; }
.aitop-v3 .logs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.aitop-v3 .log { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; text-decoration: none; display: flex; flex-direction: column; gap: 8px; }
.aitop-v3 .log:hover { border-color: var(--brass); }
.aitop-v3 .log small { color: var(--brass-ink); font-weight: 700; font-size: 14px; }
.aitop-v3 .log h3 { font-size: 19px; }
.aitop-v3 .log p { margin: 0; color: var(--ink-2); font-size: 15px; }
.aitop-v3 .fhero { position: relative; background: var(--ph, none) center / cover no-repeat var(--fc); overflow: hidden; }
.aitop-v3.v3-floor .fhero { margin-top: calc(-1 * var(--head)); }
.aitop-v3.v3-floor .fhero .scene { width: 100%; aspect-ratio: auto; height: clamp(calc(540px + var(--head)), calc(100svh - 110px), calc(820px + var(--head))); }
.aitop-v3 .fhero .scene { -webkit-mask-image: none; mask-image: none; position: relative; inset: auto; right: auto; width: min(100%, calc((100svh - var(--head) - 150px) * 1.5)); height: auto; aspect-ratio: 3 / 2; margin-inline: auto; }
/* 1.2.21 층에 내려앉기·나가기: 사진은 그대로, 호실 판만 올라오고 가라앉는다 (예전 사진 확대·흐림은 "사진이 줄어드는" 느낌이라 뺌) */
html.v3-arrive .aitop-v3 .fhero .iso { animation: aitop-iso-in .45s cubic-bezier(.2, .7, .2, 1) .03s both; } /* 1.2.23 .6s·.12s → .45s·.03s */
@keyframes aitop-iso-in { from { opacity: 0; transform: translateY(36px) scale(.96); } }
.aitop-v3 .fhero.is-leaving .iso { opacity: 0; transform: translateY(28px) scale(.97); transition: opacity .7s ease, transform .7s cubic-bezier(.4, 0, .6, 1); } /* 1.2.50 .24s → .7s: 홈을 받는 동안 천천히 가라앉아 "먼저 사라지고 멈춤"이 없게 */
.aitop-v3 .fhero.is-leaving .fhero-copy { opacity: 0; transition: opacity .5s ease; }
.aitop-v3 .fhero-copy {
  position: absolute; z-index: 4; left: 50%; transform: translateX(-50%); bottom: 24px; width: min(100% - 32px, var(--wrap));
  display: flex; align-items: end; justify-content: space-between; gap: 16px; pointer-events: none;
}
.aitop-v3 .fhero-copy > * { pointer-events: auto; }
.aitop-v3 .fname { background: rgba(255, 253, 248, .9); border-radius: 16px; padding: 16px 20px; box-shadow: var(--shadow); max-width: 560px; }
.aitop-v3 .fname small { font-weight: 700; color: var(--fc); }
.aitop-v3 .fname h1 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; }
.aitop-v3 .fname p { margin: 6px 0 0; color: var(--ink-2); }
.aitop-v3 .back { background: rgba(30, 26, 21, .82); color: #fff; text-decoration: none; min-height: 48px; padding: 0 18px; border-radius: 12px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.aitop-v3 .back:hover { background: var(--ink); }
.aitop-v3 .badge-2nd { position: absolute; top: 16px; right: 16px; background: rgba(255, 255, 255, .85); border-radius: 999px; padding: 6px 12px; font-size: 14px; z-index: 2; }
.aitop-v3 .fhero.no-img .scene { width: 100%; aspect-ratio: auto; height: clamp(520px, calc(100svh - var(--head) - 110px), 780px); }
.aitop-v3 .fhero.has-iso .scene::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, color-mix(in srgb, var(--fc) 55%, transparent) 100%); pointer-events: none; }
.aitop-v3 .iso {
  position: absolute; inset: 0; z-index: 3; display: flex; align-items: center; justify-content: center;
  padding: var(--head) 0 150px; perspective: 1800px; pointer-events: none;
  --rw: 212px; --rd: 166px; --wh: 152px; --gap: 56px;
}
.aitop-v3 .iso-plane {
  --rx: 56deg; --rz: 38deg;
  display: grid; grid-template-columns: repeat(var(--cols), var(--rw)); gap: var(--gap); padding: 34px;
  position: relative; background: color-mix(in srgb, var(--fc) 10%, #FFF8EE); border-radius: 12px;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--fc) 30%, transparent) inset, 0 40px 60px rgba(20, 12, 30, .3);
  transform-style: preserve-3d; transform: translateY(var(--isy, 0px)) scale3d(var(--isk, 1), var(--isk, 1), var(--isk, 1)) rotateX(var(--rx)) rotateZ(var(--rz));
  transition: transform .5s cubic-bezier(.2, .7, .2, 1);
}
/* 1.2.29 바닥판이 화면(머리 아래 ~ 층 안내 카드 위)에 다 들어오게 v3.js가 --isk(크기)·--isy(위아래)를 정한다. 잴 때만 움직임을 멈춘다 (사장님 2026-11-11 "창을 줄이면 비율에 맞게 같이 줄어들어야") */
.aitop-v3 .iso.iso-measure, .aitop-v3 .iso.iso-measure .r3, .aitop-v3 .iso.iso-measure .r3 > span { animation: none !important; }
.aitop-v3 .iso-plane::before { content: ""; position: absolute; inset: 0; border-radius: 12px; background: color-mix(in srgb, var(--fc) 55%, #1E1A15); transform: translateZ(-16px); }
.aitop-v3 .r3 {
  position: relative; display: block; width: var(--rw); height: var(--rd); pointer-events: auto; text-decoration: none; color: var(--ink);
  transform-style: preserve-3d; transition: transform .25s ease;
  animation: r3rise .5s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--i) * 60ms + .05s); /* 1.2.20 더 빨리 (예전 120ms·.25s·.7s) */
}
.aitop-v3 .r3 > span { animation: r3fade .35s ease both; animation-delay: calc(var(--i) * 60ms + .05s); }
@keyframes r3rise { from { transform: translateZ(-90px); } to { transform: none; } }
@keyframes r3fade { from { opacity: 0; } to { opacity: 1; } }
.aitop-v3 a.r3:hover, .aitop-v3 a.r3:focus-visible { transform: translateZ(18px); outline: none; }
.aitop-v3 .r3-floor { position: absolute; inset: 0; border-radius: 4px; background: color-mix(in srgb, var(--fc) 16%, #FFF8EE); box-shadow: 0 0 0 2px color-mix(in srgb, var(--fc) 45%, transparent) inset, 14px 18px 26px rgba(20, 12, 30, .28); }
.aitop-v3 .r3-back {
  position: absolute; left: 0; bottom: 100%; width: 100%; height: var(--wh); padding: 9px; border-radius: 4px 4px 0 0;
  transform-origin: bottom center; transform: rotateX(-90deg);
  background: color-mix(in srgb, var(--fc) 62%, #FFF8EE);
}
.aitop-v3 .r3-back img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 3px; box-shadow: 0 0 0 2px rgba(255, 255, 255, .7); }
.aitop-v3 .r3-left { position: absolute; top: 0; right: 100%; width: var(--wh); height: 100%; border-radius: 4px 0 0 4px; transform-origin: right center; transform: rotateY(90deg); background: color-mix(in srgb, var(--fc) 70%, #1E1A15); }
.aitop-v3 .r3-sign {
  position: absolute; left: 50%; top: 50%; white-space: nowrap; pointer-events: none;
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px 8px 8px; border-radius: 999px;
  background: rgba(255, 253, 248, .95); box-shadow: 0 6px 18px rgba(20, 12, 30, .25); font: 700 15px/1 var(--sans);
  transform: translate(-50%, -50%) translateZ(calc(var(--wh) + 34px)) rotateZ(calc(-1 * var(--rz))) rotateX(calc(-1 * var(--rx)));
}
.aitop-v3 .r3-sign b { background: var(--fc); color: #fff; font: 800 13px/1 var(--title); padding: 5px 7px; border-radius: 6px; }
.aitop-v3 a.r3:hover .r3-sign, .aitop-v3 a.r3:focus-visible .r3-sign { box-shadow: 0 0 0 3px var(--fc), 0 8px 22px rgba(20, 12, 30, .3); }
.aitop-v3 .r3.is-soon { pointer-events: none; }
.aitop-v3 .r3.is-soon .r3-floor { background: transparent; box-shadow: none; border: 2px dashed color-mix(in srgb, var(--fc) 55%, transparent); }
.aitop-v3 .r3.is-soon .r3-back { background: color-mix(in srgb, var(--fc) 8%, transparent); border: 2px dashed color-mix(in srgb, var(--fc) 55%, transparent); display: grid; place-items: center; }
.aitop-v3 .r3.is-soon .r3-back span { font: 800 30px/1 var(--title); color: color-mix(in srgb, var(--fc) 70%, transparent); }
.aitop-v3 .r3.is-soon .r3-left { background: color-mix(in srgb, var(--fc) 6%, transparent); border: 2px dashed color-mix(in srgb, var(--fc) 40%, transparent); }
.aitop-v3 .r3.is-soon .r3-sign { font-weight: 400; color: var(--ink-2); }
/* 1.2.19 고른 호실을 확실히 (사장님 2026-11-11 "어떤걸 선택했는지 잘 알 수가 없어"): 굵은 층 색 테두리·빛·떠오름·'고르신 호실' 표지, 도착 때 두 번 깜빡임, 나머지는 처음 3초 흐리게 */
.aitop-v3 .room { scroll-margin-top: calc(var(--head) + 24px); transition: opacity .8s ease, filter .8s ease, transform .3s ease, box-shadow .3s ease; }
.aitop-v3 .room:target, .aitop-v3 .room.is-picked { outline: 4px solid var(--fc); outline-offset: 3px; box-shadow: 0 0 0 10px color-mix(in srgb, var(--fc) 20%, transparent), 0 34px 60px -12px rgba(20, 12, 30, .5), 0 14px 26px rgba(20, 12, 30, .22); position: relative; z-index: 2; } /* 1.2.47 크게·위로 띄우던 것을 뺌: 맨 윗줄 카드가 층 이름·안내 글을 덮었다 (사장님 2026-11-12). 테두리·빛·깊은 그림자로만 표시 */
.aitop-v3 .room.is-picked { opacity: 1; transform: none; animation: aitop-lift .7s cubic-bezier(.2, 1.5, .4, 1) .15s both, aitop-pick 1.1s ease-out .8s 2; } /* 층 화면 카드의 등장 움직임(doorIn)을 대신하므로 바로 보이게. 1.2.48 doorIn이 풀어 주던 처음 아래 14px도 여기서 풀어 줌 */
@keyframes aitop-lift { from { box-shadow: 0 0 0 0 transparent, 0 4px 10px rgba(20, 12, 30, .12); } to { box-shadow: 0 0 0 10px color-mix(in srgb, var(--fc) 20%, transparent), 0 34px 60px -12px rgba(20, 12, 30, .5), 0 14px 26px rgba(20, 12, 30, .22); } }
@keyframes aitop-pick { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--fc) 55%, transparent), 0 34px 60px -12px rgba(20, 12, 30, .5), 0 14px 26px rgba(20, 12, 30, .22); } 100% { box-shadow: 0 0 0 24px transparent, 0 34px 60px -12px rgba(20, 12, 30, .5), 0 14px 26px rgba(20, 12, 30, .22); } }
.aitop-v3 .room.is-picked .room-body { position: relative; }
.aitop-v3 .pick-tag { position: absolute; left: 16px; top: 0; transform: translateY(-50%); z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 9px 13px; border-radius: 999px; background: var(--fc); color: #fff; font: 800 15px/1 var(--title); box-shadow: 0 0 0 3px var(--card), 0 4px 12px color-mix(in srgb, var(--fc) 35%, transparent); } /* 1.2.47 사진 위(샘플 메뉴를 가림) → 1.2.48 사진과 글 칸 사이 선 위에 걸침(카드 길이 그대로) */
.aitop-v3 .has-pick:not(.pick-calm) .room:not(.is-picked) { filter: opacity(.45) grayscale(.6); } /* opacity는 등장 움직임이 쥐고 있어 filter로 흐리게 */
.aitop-v3 .has-pick .room:not(.is-picked):hover, .aitop-v3 .has-pick .room:not(.is-picked):focus-within { filter: none; }
@media (prefers-reduced-motion: reduce) { .aitop-v3 .room.is-picked { animation: none !important; } .aitop-v3 .room { transition: none; } }
.aitop-v3 .sprite { position: absolute; left: var(--l); bottom: var(--b); height: var(--h); aspect-ratio: 546 / 500; z-index: 4; pointer-events: none; transform: translate3d(var(--sx, 0px), var(--sy, 0px), 0); will-change: transform; }
.aitop-v3 .scene .sprite img { position: relative; inset: auto; width: 100%; height: 100%; object-fit: contain; transform-origin: 40% 100%; animation: breathe 4.2s ease-in-out infinite; filter: drop-shadow(0 0 22px rgba(255, 210, 120, .35)) drop-shadow(0 10px 14px rgba(30, 10, 40, .25)); }
.aitop-v3 .sprite-shadow { position: absolute; left: 8%; right: 14%; bottom: -2%; height: 12%; border-radius: 50%; background: radial-gradient(closest-side, rgba(30, 10, 40, .5), transparent); transform: translate3d(calc(var(--sx, 0px) * -.45), calc(var(--sy, 0px) * -.45), 0); }
@keyframes breathe { 0%, 100% { transform: scale(1, 1); } 50% { transform: scale(1.006, 1.018); } }
.aitop-v3 .room-cta { text-decoration: none; background: color-mix(in srgb, var(--brass) 10%, var(--card)); border-style: dashed; box-shadow: none; }
.aitop-v3 .room-cta .room-body { justify-content: center; gap: 10px; padding: 24px 20px; }
.aitop-v3 .room-cta h3 { font-size: 21px; }
.aitop-v3 .room-cta .btn { align-self: flex-start; margin-top: 6px; }
.aitop-v3 .ad-in { position: relative; min-height: 280px; margin: 36px 0; }
.aitop-v3 .ad-label { position: absolute; left: 12px; top: 8px; font-size: 12px; color: var(--ink-2); }
.aitop-v3 .lg { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 48px; padding: 40px 0 80px; align-items: start; }
.aitop-v3 .lg-nav { position: sticky; top: calc(var(--head) + 20px); max-height: calc(100svh - var(--head) - 40px); overflow: auto; }
.aitop-v3 .lg-fold > summary { list-style: none; display: flex; align-items: baseline; justify-content: space-between; gap: 8px; font: 800 18px/1.3 var(--title); padding: 0 2px 12px; cursor: default; }
.aitop-v3 .lg-fold > summary::-webkit-details-marker { display: none; }
.aitop-v3 .lg-fold > summary small { font: 400 13px/1 var(--sans); color: var(--ink-2); }
.aitop-v3 .lg-here { background: var(--card); border: 1px solid var(--line); border-top: 4px solid var(--fc); border-radius: 14px; padding: 14px; display: grid; gap: 10px; }
.aitop-v3 .lg-here > small { font-size: 13px; color: var(--ink-2); }
.aitop-v3 .lg-room { display: flex; gap: 10px; align-items: center; text-decoration: none; min-height: 44px; }
.aitop-v3 .lg-room img { width: 64px; height: 48px; object-fit: cover; object-position: top; border-radius: 8px; border: 1px solid var(--line); flex: none; }
.aitop-v3 .lg-room span { display: grid; font-size: 15px; font-weight: 700; line-height: 1.35; }
.aitop-v3 .lg-room b { font-size: 13px; color: var(--fc); }
.aitop-v3 .lg-go { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; border-radius: 10px; background: var(--ink); color: #FFF8EA; text-decoration: none; font-weight: 700; font-size: 15px; }
.aitop-v3 .lg-series { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; border-top: 1px solid var(--line); padding-top: 8px; }
.aitop-v3 .lg-series a { display: grid; grid-template-columns: 38px 1fr; gap: 6px; padding: 8px 6px; border-radius: 8px; text-decoration: none; font-size: 14px; line-height: 1.4; color: var(--ink-2); min-height: 44px; }
.aitop-v3 .lg-series a span { font-weight: 800; color: var(--fc); }
.aitop-v3 .lg-series a:hover { background: var(--paper-2); }
.aitop-v3 .lg-series a[aria-current="page"] { background: color-mix(in srgb, var(--fc) 12%, var(--card)); color: var(--ink); font-weight: 700; }
.aitop-v3 .lg-tree { margin-top: 18px; display: grid; gap: 16px; }
.aitop-v3 .lg-bld > b { display: block; font-size: 14px; color: var(--ink-2); margin: 0 4px 4px; }
.aitop-v3 .lg-bld ul { list-style: none; margin: 0; padding: 0; }
.aitop-v3 .lg-bld > ul > li > a { display: flex; align-items: center; gap: 8px; min-height: 40px; padding: 4px 8px; border-radius: 8px; text-decoration: none; font-size: 15px; }
.aitop-v3 .lg-bld > ul > li > a:hover { background: var(--paper-2); }
.aitop-v3 .lg-no { font: 800 13px/1 var(--title); color: #fff; background: var(--fc); border-radius: 6px; padding: 4px 6px; min-width: 30px; text-align: center; }
.aitop-v3 .lg-bld li.is-empty > a { color: var(--ink-2); }
.aitop-v3 .lg-bld li.is-empty .lg-no { background: color-mix(in srgb, var(--fc) 45%, #fff); }
.aitop-v3 .lg-bld li i { font-style: normal; font-size: 12px; color: var(--ink-2); margin-left: auto; }
.aitop-v3 .lg-bld li.is-on > a { background: color-mix(in srgb, var(--fc) 12%, transparent); font-weight: 700; }
.aitop-v3 .lg-bld li ul { margin: 2px 0 4px 26px; border-left: 2px solid color-mix(in srgb, var(--fc) 35%, transparent); }
.aitop-v3 .lg-bld li ul a { display: flex; gap: 8px; align-items: center; min-height: 36px; padding: 2px 10px; text-decoration: none; font-size: 14px; color: var(--ink-2); }
.aitop-v3 .lg-bld li ul a:hover { color: var(--ink); }
.aitop-v3 .lg-rno { font: 800 12px/1 var(--title); color: var(--fc); }
.aitop-v3 .lg-bld li.is-cur > a { color: var(--ink); font-weight: 700; box-shadow: inset 3px 0 0 var(--fc); margin-left: -2px; }
.aitop-v3 .lg-art { min-width: 0; max-width: 760px; }
.aitop-v3 .crumb { font-size: 14px; color: var(--ink-2); display: flex; flex-wrap: wrap; gap: 4px 6px; align-items: center; }
.aitop-v3 .crumb a { text-decoration: none; min-height: 32px; display: inline-flex; align-items: center; }
.aitop-v3 .crumb a:hover { color: var(--ink); text-decoration: underline; }
.aitop-v3 .lg-head { margin: 14px 0 28px; }
.aitop-v3 .lg-head small { color: var(--fc); font-weight: 700; font-size: 15px; }
.aitop-v3 .lg-head h1 { font-size: clamp(28px, 3.2vw, 40px); font-weight: 800; margin-top: 6px; }
.aitop-v3 .lg-body { font-size: 18px; line-height: 1.8; }
.aitop-v3 .lg-body h2 { font-size: 26px; margin: 48px 0 14px; }
.aitop-v3 .lg-body h3 { font-size: 21px; margin: 32px 0 10px; }
.aitop-v3 .lg-body p, .aitop-v3 .lg-body ul, .aitop-v3 .lg-body ol { margin: 0 0 18px; }
.aitop-v3 .lg-body img { height: auto; border-radius: 12px; border: 1px solid var(--line); margin: 8px 0; }
.aitop-v3 .lg-body figure { margin: 24px 0; }
.aitop-v3 .lg-body figcaption { font-size: 14px; color: var(--ink-2); margin-top: 6px; }
.aitop-v3 .lg-body pre, .aitop-v3 .lg-body code { font-family: ui-monospace, Consolas, monospace; font-size: 15px; }
.aitop-v3 .lg-body pre { background: #2A241D; color: #F3EBDD; padding: 16px; border-radius: 12px; overflow-x: auto; white-space: pre-wrap; }
.aitop-v3 .lg-body blockquote { margin: 0 0 18px; padding: 12px 18px; border-left: 4px solid var(--fc); background: var(--paper-2); border-radius: 0 10px 10px 0; }
.aitop-v3 .lg-body table { width: 100%; border-collapse: collapse; font-size: 16px; display: block; overflow-x: auto; }
.aitop-v3 .lg-body th, .aitop-v3 .lg-body td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.aitop-v3 .lg-pn { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 24px; }
.aitop-v3 .lg-pn a { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; text-decoration: none; display: grid; gap: 4px; background: var(--card); font-weight: 700; font-size: 15px; line-height: 1.4; }
.aitop-v3 .lg-pn a small { color: var(--fc); font-size: 13px; }
.aitop-v3 .lg-pn a.nx { text-align: right; }
.aitop-v3 .lg-pn a:hover { border-color: var(--fc); }
@media (max-width: 960px) {
  .aitop-v3 .lg { grid-template-columns: 1fr; gap: 20px; padding-top: 20px; }
  .aitop-v3 .lg-nav { position: static; max-height: none; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 4px 14px; }
  .aitop-v3 .lg-fold > summary { cursor: pointer; padding: 12px 0; min-height: 44px; align-items: center; }
  .aitop-v3 .lg-fold > summary::after { content: "▾"; font-size: 14px; color: var(--ink-2); }
  .aitop-v3 .lg-fold[open] > summary::after { content: "▴"; }
  .aitop-v3 .lg-fold > summary small { margin-left: auto; }
  .aitop-v3 .lg-tree { padding-bottom: 12px; }
  .aitop-v3 .lg-here { margin-bottom: 4px; }
  .aitop-v3 .lg-pn { grid-template-columns: 1fr; }
  .aitop-v3 .lg-body { font-size: 17px; }
}
.aitop-v3 .owner { position: absolute; right: 12px; top: 12px; background: rgba(30, 26, 21, .82); color: #FFE7A8; font: 700 13px/1 var(--sans); padding: 7px 10px; border-radius: 999px; }
.aitop-v3 .r3-sign .own { font-style: normal; font-size: 12px; font-weight: 700; color: #8A5A00; background: #FFE7A8; border-radius: 999px; padding: 4px 8px; margin-left: 8px; }
/* 1.2.20 왼쪽: 첫 화면 통째로 + 두 단추 (사장님 2026-11-11 "히어로는 보이고 단추는 왼쪽으로") */
.aitop-v3 .up { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px 40px; padding: 40px 0 80px; align-items: start; }
.aitop-v3 .up-head { grid-column: 1 / -1; max-width: 760px; }
.aitop-v3 .up-room { color: var(--fc, var(--brass-ink)); font-weight: 700; }
.aitop-v3 .up-head h1 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; margin: 6px 0 10px; }
.aitop-v3 .up-head p { margin: 0; color: var(--ink-2); font-size: 18px; }
.aitop-v3 .up-steps { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; counter-reset: s; }
.aitop-v3 .up-steps li { counter-increment: s; font-size: 14px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-2); }
.aitop-v3 .up-steps li::before { content: counter(s) ". "; font-weight: 700; }
.aitop-v3 .up-steps li.is-done { background: var(--paper-2); }
.aitop-v3 .up-steps li.is-done::before { content: "✓ "; color: #2D7A3A; }
.aitop-v3 .up-steps li.is-now { background: var(--ink); color: #FFF8EA; border-color: var(--ink); font-weight: 700; }
.aitop-v3 .up-form { display: grid; gap: 16px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.aitop-v3 .up-form > label:not(.up-drop) { display: grid; gap: 6px; font-weight: 700; font-size: 16px; }
.aitop-v3 .up-form textarea { font: 400 17px/1.5 var(--sans); padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; resize: vertical; }
.aitop-v3 .up-drop { position: relative; display: grid; gap: 6px; place-items: center; text-align: center; padding: 34px 18px; border: 2px dashed color-mix(in srgb, var(--fc, var(--brass)) 55%, var(--line)); border-radius: 16px; background: color-mix(in srgb, var(--fc, var(--brass)) 6%, var(--paper)); cursor: pointer; }
.aitop-v3 .up-drop:hover, .aitop-v3 .up-drop.is-over { background: color-mix(in srgb, var(--fc, var(--brass)) 12%, var(--paper)); }
.aitop-v3 .up-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.aitop-v3 .up-drop b { font-size: 19px; }
.aitop-v3 .up-drop span { color: var(--ink-2); font-size: 15px; max-width: 460px; }
.aitop-v3 .up-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.aitop-v3 .up-list:empty { display: none; }
.aitop-v3 .up-list li { display: flex; justify-content: space-between; gap: 10px; font-size: 15px; padding: 8px 12px; border-radius: 10px; background: var(--paper-2); }
.aitop-v3 .up-list li span { color: var(--ink-2); white-space: nowrap; }
.aitop-v3 .up-ideas { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.aitop-v3 .up-ideas small { width: 100%; color: var(--ink-2); font-size: 14px; }
.aitop-v3 .up-ideas span { font-size: 14px; padding: 6px 10px; border-radius: 999px; background: var(--paper-2); }
.aitop-v3 .up-warn { margin: 0; padding: 12px 14px; border-radius: 12px; background: #FFF4DC; color: #5A3F00; font-size: 15px; }
.aitop-v3 .up-send { width: 100%; cursor: pointer; font-family: inherit; }
.aitop-v3 .up-done { margin: 0; padding: 12px 14px; border-radius: 10px; background: #EEF6EA; color: #2D5A1E; font-size: 15px; }
.aitop-v3 .up-alt { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 20px; position: sticky; top: calc(var(--head) + 20px); }
.aitop-v3 .up-alt h2 { font-size: 19px; margin-bottom: 8px; }
.aitop-v3 .up-alt p { margin: 0 0 8px; font-size: 15px; color: var(--ink-2); }
.aitop-v3 .up-note { font-size: 13px !important; }
@media (max-width: 860px) {
  .aitop-v3 .up { grid-template-columns: 1fr; padding-top: 24px; }
  .aitop-v3 .up-alt { position: static; }
  .aitop-v3 .up-form { padding: 18px; }
}
.aitop-v3 .hall { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
/* 1.2.29 층 화면 호실 카드는 웹사이트 전시관과 같은 칸 수: 3개 → 980px 이하 2개 → 620px 이하 1개 (사장님 2026-11-11) */
@media (max-width: 980px) { .aitop-v3 .hall { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .aitop-v3 .hall { grid-template-columns: 1fr; } }
.aitop-v3 .room.door-card { border-radius: 18px 18px var(--radius) var(--radius); }
.aitop-v3 .door-card .room-shot { border-bottom: 6px solid var(--fc); }
.aitop-v3 .door-card { opacity: 0; transform: translateY(14px); animation: doorIn .45s ease forwards; animation-delay: calc(var(--i, 0) * 80ms + .2s); }
@keyframes doorIn { to { opacity: 1; transform: none; } }
.aitop-v3 .room.is-soon { box-shadow: none; border-style: dashed; background: transparent; }
.aitop-v3 .room.is-soon .room-shot { display: grid; place-items: center; background: color-mix(in srgb, var(--fc) 8%, var(--paper)); border-bottom: 6px dashed color-mix(in srgb, var(--fc) 45%, transparent); }
.aitop-v3 .room.is-soon .room-shot span { font: 800 46px/1 var(--title); color: color-mix(in srgb, var(--fc) 55%, transparent); }
@media (max-width: 1100px) {
  .aitop-v3 .rooms { grid-template-columns: repeat(2, 1fr); }
  .aitop-v3 .guide { grid-template-columns: 1fr; }
  .aitop-v3 .gauge { display: none; }
}
@media (max-width: 860px) {
  .aitop-v3 .stage, .aitop-v3.v3-home .stage { height: auto; min-height: 0; display: flex; flex-direction: column; }
  .aitop-v3.v3-home .copy { padding-top: calc(var(--head) + 28px); }
  .aitop-v3 .copy { width: auto; padding-top: 32px; order: 1; }
  .aitop-v3 .copy h1 { font-size: 34px; }
  .aitop-v3 .scene-box { order: 2; position: relative; width: 100vw; margin: 8px 0 0 calc(50% - 50vw); aspect-ratio: 100 / 107.5; overflow: hidden; }
  .aitop-v3 .scene { right: auto; left: -56.4vw; top: 0; height: 100%; }
  .aitop-v3 .stage > .lift { position: static; order: 3; margin: 16px 0 28px; gap: 10px; }
  .aitop-v3 .lift-group { flex: 1 1 100%; }
  .aitop-v3 .lift-btns { justify-content: space-between; }
  .aitop-v3 .floor { grid-template-columns: 64px 1fr; padding-right: 0; }
  .aitop-v3 .fno { font-size: 32px; }
  .aitop-v3 .doors { grid-column: 1 / -1; justify-content: flex-start; }
  .aitop-v3 .logs { grid-template-columns: 1fr; }
  .aitop-v3 .sec { padding: 64px 0; }
  .aitop-v3 .sec-head { flex-direction: column; align-items: start; }
  .aitop-v3 .fhero-copy { position: relative; left: auto; transform: none; bottom: auto; margin: -36px auto 0; flex-direction: column; align-items: stretch; }
}
@media (max-width: 860px) {
  .aitop-v3.v3-floor .fhero:not(.no-img) .scene { height: calc(470px + var(--head)); }
  .aitop-v3 .fhero.no-img .scene { display: none; }
  .aitop-v3 .sprite { left: var(--ml); bottom: var(--mb); height: var(--mh); }
  .aitop-v3.v3-floor .fhero.no-img .iso { height: calc(420px + var(--head)); padding-top: var(--head); }
  .aitop-v3 .iso { padding: var(--head) 0 30px; --rw: 112px; --rd: 92px; --wh: 84px; --gap: 30px; }
  .aitop-v3 .fhero.has-sprite .iso { padding-bottom: 170px; }
  .aitop-v3 .fhero.no-img .iso { position: relative; inset: auto; height: 420px; padding: 0 0 40px;
    background: radial-gradient(120% 90% at 50% 30%, color-mix(in srgb, var(--fc) 70%, #fff), var(--fc) 60%, color-mix(in srgb, var(--fc) 55%, #1E1A15)); }
  .aitop-v3 .iso-plane { grid-template-columns: repeat(min(var(--cols), 2), var(--rw)); padding: 20px; }
  .aitop-v3 .r3-sign { padding: 5px; }
  .aitop-v3 .r3-sign span { display: none; }
}

@media (max-width: 620px) {
  .aitop-v3 .rooms { grid-template-columns: 1fr; }
  .aitop-v3 .ad { min-height: 280px; }
}
@media (prefers-reduced-motion: reduce) {
  .aitop-v3 .scene, .aitop-v3 .veil, .aitop-v3 .door-card { transition: none !important; animation: none !important; opacity: 1; transform: none; }
  .aitop-v3 .scene .sprite img { animation: none; }
}

/* ── v3-wp.css ── */
/* AI탑 v3 워드프레스·Elementor 맞춤 (scope-v3-css.cjs가 v3.css 끝에 붙인다).
   시안과 다른 점: 머리 메뉴는 테마 것(#masthead, 높이 --aitop-header-height), 홈은 Elementor 컨테이너·기본 요소 안에 그려진다. */

:root { --head: var(--aitop-header-height, 73px); }
.aitop-v3 { font: 17px/1.65 var(--sans); color: var(--ink); word-break: keep-all; overflow-wrap: break-word; }
.aitop-v3 :focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; }
body.aitop-v3-homepage, body.aitop-v3-floorpage, body.aitop-v3-boardpage { background: var(--paper); }
/* 전체 층 안내판 (/floors/) */
.aitop-v3 .board-h1 { font: 800 clamp(30px, 3.6vw, 44px)/1.2 var(--title); letter-spacing: -.02em; }
.aitop-v3.v3-board .rooms { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1100px) { .aitop-v3.v3-board .rooms { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .aitop-v3.v3-board .rooms { grid-template-columns: 1fr; } }
/* 앱(호실) 화면 머리: 호실 번호 아래 "AI탑 1층 · 게임" */
.aitop-room-where { margin: 4px 0 12px; font-size: 16px; }
.aitop-room-where a { color: inherit; text-underline-offset: 3px; }
.aitop-v3 .sec-alt { background: var(--paper-2); }
/* 테마(GeneratePress) 단추·입력칸 모양이 팝업에 섞이지 않게 */
.aitop-v3 button.btn { font-family: inherit; line-height: 1; }
.aitop-v3 button.btn-main, .aitop-v3 button.btn-main:hover, .aitop-v3 button.btn-main:focus { background: var(--ink); color: #FFF8EA; }
.aitop-v3 button.btn-sub, .aitop-v3 button.btn-sub:hover, .aitop-v3 button.btn-sub:focus { background: rgba(255, 253, 248, .85); color: var(--ink); border: 1px solid var(--line); }
/* 신청을 보내고 돌아오면: 입력칸은 숨기고 "접수됨"만 */

/* ── 테마 머리 메뉴 반투명 (홈·층 페이지): 바탕 없이 흐린 종이 한 겹, 아래 끝은 선 없이 흐려짐 ── */
body.aitop-v3-glass #masthead { background: transparent !important; border-bottom-color: transparent !important; box-shadow: none !important; }
body.aitop-v3-glass #masthead::before {
  content: ""; position: absolute; inset: 0 0 -22px 0; z-index: -1; pointer-events: none;
  background: rgba(246, 241, 231, .84);
  -webkit-backdrop-filter: blur(14px) saturate(1.25); backdrop-filter: blur(14px) saturate(1.25);
  -webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent 100%); mask-image: linear-gradient(to bottom, #000 62%, transparent 100%);
  transition: background-color .3s ease;
}
body.aitop-v3-glass #masthead.is-v3-top::before { background: rgba(246, 241, 231, .5); }
body.aitop-v3-glass #masthead .aitop-header-in { position: relative; }
/* 첫 화면이 머리 메뉴 뒤까지 올라가 이어진다 */
body.aitop-v3-homepage .site-content, body.aitop-v3-homepage #content { padding-top: 0 !important; margin-top: 0 !important; }

/* ── Elementor 컨테이너: 여백·간격을 없애고 시안 CSS가 배치를 정한다 ── */
.aitop-v3.e-con, .aitop-v3 .e-con {
  --padding-top: 0px; --padding-right: 0px; --padding-bottom: 0px; --padding-left: 0px;
  --gap: 0px; --row-gap: 0px; --column-gap: 0px; --widgets-spacing: 0px; --widgets-spacing-row: 0px; --widgets-spacing-column: 0px;
  --margin-top: 0px; --margin-bottom: 0px; --min-height: 0;
}
.aitop-v3 .elementor-widget:not(:last-child) { margin-bottom: 0; }
.aitop-v3 .elementor-widget-container { margin: 0; padding: 0; }
.aitop-v3 .wrap.e-con { width: min(100% - 32px, var(--wrap)); max-width: none; margin-inline: auto; }

/* 첫 화면 무대: 글(컨테이너) + 건물 단면 위젯 + 엘리베이터 위젯 */
.aitop-v3 .stage.e-con { display: block; }
.aitop-v3 .stage > .elementor-widget-aitop_v3_scene, .aitop-v3 .stage > .elementor-widget-aitop_v3_lift { position: static; }
.aitop-v3 .stage .lift { position: absolute; left: 0; bottom: clamp(24px, 5vh, 48px); z-index: 4; margin: 0; }
/* 들어가는 동안 엘리베이터도 사라진다 (Elementor 위젯 상자 안이라 시안의 .stage > .lift 규칙이 닿지 않음) */
.aitop-v3 .stage .lift { transition: opacity .22s ease; }
.aitop-v3 .stage.is-entering .lift { opacity: 0; }
.aitop-v3 .stage.no-fade .lift { transition: none; }
.aitop-v3 .copy.e-con { display: block; position: relative; z-index: 4; width: min(440px, 40%); }
.aitop-v3 .acts.e-con { display: flex; flex-direction: row; flex-wrap: wrap; gap: 10px; margin-top: 26px; }

/* 기본 요소 (제목·글·버튼) = 시안 모양 */
.aitop-v3 .v3-tag .elementor-heading-title { display: inline-flex; align-items: center; gap: 8px; font: 700 15px/1.3 var(--sans); color: var(--brass-ink); background: rgba(255, 253, 248, .75); border: 1px solid var(--line); padding: 6px 12px; border-radius: 999px; }
.aitop-v3 .v3-h1 .elementor-heading-title { font: 800 clamp(36px, 4.2vw, 56px)/1.2 var(--title); letter-spacing: -.02em; color: var(--ink); margin-top: 18px; }
.aitop-v3 .v3-h1 em { font-style: normal; color: var(--brass); }
.aitop-v3 .v3-lede p { font-size: 18px; color: var(--ink-2); margin: 16px 0 0; }
.aitop-v3 .v3-btn .elementor-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: 12px; font: 700 17px/1 var(--sans); text-decoration: none; border: 1px solid transparent; background: var(--ink); color: #FFF8EA; }
.aitop-v3 .v3-btn .elementor-button:hover { background: #3A3128; color: #FFF8EA; }
.aitop-v3 .v3-btn-sub .elementor-button { background: rgba(255, 253, 248, .85); border-color: var(--line); color: var(--ink); }
.aitop-v3 .v3-btn-sub .elementor-button:hover { background: #fff; color: var(--ink); }
.aitop-v3 .v3-h2 .elementor-heading-title { font: 800 clamp(28px, 3vw, 38px)/1.25 var(--title); letter-spacing: -.02em; color: var(--ink); }
.aitop-v3 .v3-p p { margin: 8px 0 0; color: var(--ink-2); }
.aitop-v3 .v3-more .elementor-button { background: none; padding: 0; min-height: 44px; display: inline-flex; align-items: center; font: 700 17px/1 var(--sans); color: var(--brass-ink); white-space: nowrap; }
.aitop-v3 .v3-more .elementor-button:hover { text-decoration: underline; color: var(--brass-ink); }
.aitop-v3 .sec-head.e-con { display: flex; flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.aitop-v3 .sec-head-txt.e-con { display: block; width: auto; }

/* 새 호실: 위젯의 카드들이 바로 칸(grid)의 칸이 되도록 위젯 상자를 없는 것처럼, 마지막 칸은 입주 안내 카드(기본 요소) */
.aitop-v3 .rooms.e-con { display: grid; }
.aitop-v3 .rooms > .elementor-widget-aitop_v3_rooms, .aitop-v3 .rooms > .elementor-widget-aitop_v3_rooms > .elementor-widget-container { display: contents; }
.aitop-v3 .room-cta.e-con { display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 24px 20px; background: color-mix(in srgb, var(--brass) 10%, var(--card)); border: 1px dashed var(--line); border-radius: var(--radius); box-shadow: none; }
.aitop-v3 .v3-cta-k .elementor-heading-title { font: 400 14px/1.3 var(--sans); color: var(--ink-2); }
.aitop-v3 .v3-cta-h .elementor-heading-title { font: 800 21px/1.3 var(--title); color: var(--ink); }
.aitop-v3 .v3-cta-p p { margin: 0; font-size: 15px; color: var(--ink-2); }
.aitop-v3 .room-cta .v3-btn { align-self: flex-start; margin-top: 6px; }

@media (max-width: 860px) {
  .aitop-v3 .stage.e-con { display: flex; flex-direction: column; }
  .aitop-v3 .copy.e-con { width: auto; order: 1; }
  .aitop-v3 .stage > .elementor-widget-aitop_v3_scene { order: 2; }
  .aitop-v3 .stage > .elementor-widget-aitop_v3_lift { order: 3; }
  .aitop-v3 .stage .lift { position: static; margin: 16px 0 28px; gap: 10px; }
  .aitop-v3 .sec-head.e-con { flex-direction: column; align-items: flex-start; }
}

/* 층에서 "건물로 나가기"로 돌아올 때: 움직임 코드가 확대 상태를 놓기 전에 전체 건물이 먼저 보이지 않게 가려 둔다 (머리의 작은 코드가 v3-back을 붙이고 v3.js가 뗀다) */
html.v3-back .aitop-v3 .stage .scene-box, html.v3-back .aitop-v3 .stage .copy, html.v3-back .aitop-v3 .stage .lift { visibility: hidden; }
/* 1.2.21 나올 때는 가려 둔 사이에도 그 층 사진 막을 바로 보인다 (머리 코드가 --veil-img를 넣음) */
html.v3-back .aitop-v3 .veil { visibility: visible; opacity: 1; transition: none; background-image: var(--veil-img, none); }
/* 1.2.21 페이지가 바뀔 때 뚝 끊기지 않고 겹쳐 바뀌게 (지원 브라우저만: 크롬·엣지·사파리 18.2+) */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: .32s; }
}

/* ── 층별 안내 (홈·/floors/): 두 건물을 첫 화면 그림처럼 '앞벽을 잘라 낸 건물'로 그린다 (1.2.6)
   지붕(AI탑 등불·전시관 옥상 화분) → 간판 → 외벽 안의 층들 → 땅·입구. 외벽색: AI탑 크림 석재, 전시관 붉은 벽돌 ── */
.aitop-v3 .bld { --wall: #D8C6A3; --wall-bg: #FBF6EC; --wall-ink: #7A6440; --wall-on: #3A2E1F; --wall-sub: #5A4930; position: relative; padding-top: 34px; }
.aitop-v3 .bld-g { --wall: #A24A30; --wall-bg: #FBF0EA; --wall-ink: #6E2C1A; --wall-on: #FFF8F2; --wall-sub: #FBE3D6; }
.aitop-v3 .bld + .bld { margin-top: 64px; }
.aitop-v3 .bld-roof { position: relative; height: 16px; margin: 0 -10px; background: var(--wall); border-radius: 6px 6px 0 0; }
.aitop-v3 .bld-t .bld-roof::before {
  content: ""; position: absolute; left: 50%; bottom: 100%; transform: translateX(-50%); width: 24px; height: 26px;
  border: 3px solid var(--wall-ink); border-bottom-width: 4px; border-radius: 8px 8px 2px 2px; background: #F2B84B;
  box-shadow: 0 0 20px 6px rgba(242, 184, 75, .5);
}
.aitop-v3 .bld-g .bld-roof::before {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 100%; height: 16px;
  background: radial-gradient(circle at 50% 100%, #6E9A4E 0 10px, transparent 11px) 0 0 / 52px 16px repeat-x;
}
.aitop-v3 .bld-name { flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 0; padding: 8px 24px 14px; background: var(--wall); color: var(--wall-on); }
.aitop-v3 .bld-name small { color: var(--wall-sub); line-height: 1.4; }
.aitop-v3 .bld-body { border-inline: 6px solid var(--wall); background: var(--wall-bg); padding: 0 18px; }
.aitop-v3 .bld-body .floor { border-top-color: color-mix(in srgb, var(--wall) 50%, transparent); }
.aitop-v3 .bld-body .floor:first-child { border-top: 0; }
.aitop-v3 .bld-body .floor:last-child { border-bottom: 0; }
.aitop-v3 .bld-ground {
  display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0 -10px; min-height: 38px; padding: 4px 12px;
  background: repeating-linear-gradient(90deg, #E8E0D1 0 46px, #D6CBB6 46px 48px);
  border-top: 4px solid var(--wall-ink); border-radius: 0 0 10px 10px;
  font-size: 14px; font-weight: 700; color: var(--ink-2); text-align: center;
}
.aitop-v3 .bld-ground::before { content: ""; flex: none; width: 14px; height: 18px; border: 2px solid var(--wall-ink); border-bottom: 0; border-radius: 7px 7px 0 0; }
@media (max-width: 860px) {
  .aitop-v3 .bld-name { padding: 8px 16px 12px; }
  .aitop-v3 .bld-body { padding: 0 12px; border-inline-width: 5px; }
}

/* ── 층별 안내 엘리베이터 (1.2.6): 시안의 왼쪽 '지금 층' 카드 대신 건물마다 왼쪽 바깥 엘리베이터.
   차(위 표시판·문·층 이름)가 지금 층 옆으로 오르내리고, 문이 열리면 승객 한 무리(img/lift-riders.webp 6칸을 img로 넣고 칸만 옮김, 무작위)가 보인다.
   움직임은 v3.js 4번. 860px 이하에서는 숨긴다 ── */
.aitop-v3 .guide { display: block; }
.aitop-v3 .bld { display: grid; grid-template-columns: 176px minmax(0, 1fr); column-gap: 20px; }
.aitop-v3 .bld-roof { grid-column: 2; grid-row: 1; }
.aitop-v3 .bld-name { grid-column: 2; grid-row: 2; }
.aitop-v3 .bld-body { grid-column: 2; grid-row: 3; }
.aitop-v3 .bld-ground { grid-column: 1 / -1; grid-row: 4; }
/* 통로: 위쪽만 잘라 매단 줄을 가두고, 아래로는 차가 땅 줄 위까지 내려설 수 있게 열어 둔다 */
.aitop-v3 .bld-shaft {
  grid-column: 1; grid-row: 2 / 4; position: relative; z-index: 1;
  clip-path: inset(0 -40px -60px -40px);
  border: 4px solid var(--wall); border-bottom: 0; border-radius: 12px 12px 0 0;
  background:
    linear-gradient(90deg, transparent 10px, var(--rail) 10px 13px, transparent 13px calc(100% - 13px), var(--rail) calc(100% - 13px) calc(100% - 10px), transparent calc(100% - 10px)),
    color-mix(in srgb, var(--wall) 16%, var(--card));
  --rail: color-mix(in srgb, var(--wall-ink) 40%, transparent);
}
.aitop-v3 .lift-car {
  position: absolute; left: 18px; right: 18px; bottom: 10px; z-index: 1;
  background: var(--card); border: 2px solid var(--wall-ink); border-radius: 10px;
  box-shadow: 0 8px 18px rgba(30, 26, 21, .2);
}
.aitop-v3 .lift-car { visibility: hidden; } /* 1.2.12: v3.js가 맨 위층에 자리 잡은 뒤에 보인다 */
.aitop-v3 .bld-shaft.is-live .lift-car { visibility: visible; top: 0; bottom: auto; transition-property: transform; transition-timing-function: cubic-bezier(.45, .05, .25, 1); }
.aitop-v3 .lift-car.is-moving { transition-delay: .22s; }
/* 매단 줄 */
.aitop-v3 .lift-car::before { content: ""; position: absolute; left: 50%; bottom: 100%; width: 2px; height: 1600px; margin-left: -1px; background: color-mix(in srgb, var(--wall-ink) 60%, transparent); }
/* 위 표시판: 방향 화살표 + 층 번호 */
.aitop-v3 .lift-panel { display: flex; align-items: center; justify-content: center; gap: 8px; height: 30px; border-radius: 8px 8px 0 0; background: #1E1A15; color: #F2B84B; }
.aitop-v3 .lift-no { font: 800 22px/1 var(--title); font-variant-numeric: tabular-nums; text-shadow: 0 0 8px rgba(242, 184, 75, .55); }
.aitop-v3 .lift-arrow { width: 0; height: 0; border-inline: 7px solid transparent; border-bottom: 10px solid currentColor; opacity: .22; transition: opacity .2s ease, transform .2s ease; }
.aitop-v3 .lift-car[data-dir="up"] .lift-arrow { opacity: 1; }
.aitop-v3 .lift-car[data-dir="down"] .lift-arrow { opacity: 1; transform: rotate(180deg); }
/* 문: 서 있을 때는 열려 안쪽 불빛(그 층 색)과 승객이 보이고, 움직일 때는 닫힌다 */
.aitop-v3 .lift-doors {
  position: relative; display: flex; height: 62px; overflow: hidden; border-block: 2px solid var(--wall-ink);
  background:
    linear-gradient(transparent calc(100% - 5px), rgba(30, 26, 21, .16) 0),
    radial-gradient(ellipse at 50% 30%, #FFF6DE 0 14%, color-mix(in srgb, var(--fc, #F2B84B) 70%, #FFE9B8) 100%);
}
.aitop-v3 .lift-rider { position: absolute; left: 50%; bottom: 3px; width: 48px; height: 60px; margin-left: -24px; overflow: hidden; }
.aitop-v3 .lift-rider img { display: block; width: 288px; max-width: none; height: 60px; transform: translateX(calc(var(--ri, 0) * -48px)); }
.aitop-v3 .lift-doors span { position: relative; z-index: 1; flex: 1; background: linear-gradient(90deg, #CBBFA9, #F1EBE0 45%, #D5CAB6); transition: transform .22s ease; }
.aitop-v3 .lift-doors span:first-of-type { border-right: 1px solid #A89C86; transform: translateX(-92%); }
.aitop-v3 .lift-doors span:last-of-type { border-left: 1px solid #A89C86; transform: translateX(92%); }
.aitop-v3 .lift-car.is-moving .lift-doors span { transform: none; }
.aitop-v3 .lift-name { display: block; padding: 5px 6px 6px; font: 700 14px/1.3 var(--sans); text-align: center; color: var(--ink); word-break: keep-all; }
@media (max-width: 860px) {
  .aitop-v3 .bld { grid-template-columns: minmax(0, 1fr); }
  .aitop-v3 .bld-roof, .aitop-v3 .bld-name, .aitop-v3 .bld-body, .aitop-v3 .bld-ground { grid-column: 1; }
  .aitop-v3 .bld-shaft { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .aitop-v3 .lift-car, .aitop-v3 .lift-doors span, .aitop-v3 .lift-arrow { transition: none !important; }
}


/* 1.2.25 원하는 주소 칸 (includes/subdomain.php, assets/sub-check.js) */
.aitop-v3 .sub-row { display: flex; align-items: center; gap: 8px; }
.aitop-v3 .sub-row input { flex: 1; min-width: 0; }
.aitop-v3 .sub-dom { font-weight: 700; white-space: nowrap; }
.aitop-v3 .sub-msg { font-weight: 400; font-size: 15px; color: #5b5b5b; line-height: 1.5; }
.aitop-v3 .sub-field[data-state="ok"] .sub-msg { color: #1d7a3a; font-weight: 700; }
.aitop-v3 .sub-field[data-state="bad"] .sub-msg, .aitop-v3 .sub-field[data-state="taken"] .sub-msg, .aitop-v3 .sub-field[data-state="held"] .sub-msg, .aitop-v3 .sub-field[data-state="reserved"] .sub-msg { color: #b3261e; }
.aitop-v3 .sub-pick { font: 700 15px/1 var(--sans); min-height: 44px; padding: 0 12px; margin: 2px 2px; border: 1px solid currentColor; border-radius: 999px; background: #fff; color: #1d5fa8; cursor: pointer; }
