/* 하단 3종 버전 고정 바 — PC 버전 · 모바일 버전 · 앱 버전
   2026-12-03 대장 님 지시("우리가 만드는 사이트는 항상 맨 밑에 3개 고정")로 만든 공통 규격.
   기준: 한결폐차장(work/scrapyard/site) 적용본. 사이트 CSS 와 부딪히지 않게 .viewbar 안에서만 산다. */
.viewbar{
  position:fixed;left:0;right:0;bottom:0;z-index:2147482000;display:flex;
  background:rgba(8,9,12,.93);
  -webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);
  border-top:1px solid rgba(255,255,255,.12);
  padding-bottom:env(safe-area-inset-bottom);
  font-family:-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Noto Sans KR","Malgun Gothic",system-ui,sans-serif;
  -webkit-text-size-adjust:100%;
}
.viewbar .vb-btn{
  flex:1 1 0;height:44px;margin:0;padding:0;font:inherit;font-size:11.5px;letter-spacing:.06em;
  color:rgba(255,255,255,.55);background:none;border:0;border-right:1px solid rgba(255,255,255,.08);
  cursor:pointer;transition:color .18s;-webkit-tap-highlight-color:transparent;
}
.viewbar .vb-btn:last-child{border-right:0}
.viewbar .vb-btn:hover{color:#fff}
.viewbar .vb-btn.is-on{color:#e8ce9e;font-weight:700}
@media (max-width:768px){
  .viewbar .vb-btn{height:42px;font-size:11px}
}

/* 모바일 버전 미리보기(PC 화면에서) */
.deviceview{
  position:fixed;inset:0;z-index:2147482400;display:flex;align-items:center;justify-content:center;
  background:rgba(4,5,7,.9);padding:24px;
}
.deviceview[hidden]{display:none}
.deviceview .dv-frame{
  width:390px;max-width:100%;height:min(844px,86vh);
  background:#06070A;border:10px solid #17191f;border-radius:40px;overflow:hidden;
  box-shadow:0 30px 80px rgba(0,0,0,.65);
}
.deviceview .dv-frame iframe{width:100%;height:100%;border:0;display:block;background:#06070A}
.deviceview .dv-close{
  position:absolute;top:20px;right:24px;width:44px;height:44px;border-radius:50%;
  background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.22);color:#fff;
  font:inherit;font-size:20px;line-height:1;cursor:pointer;
}

/* 앱 버전 안내 */
.appnote{
  position:fixed;inset:0;z-index:2147482400;display:flex;align-items:center;justify-content:center;
  background:rgba(4,5,7,.9);padding:24px;
}
.appnote[hidden]{display:none}
.appnote .an-card{
  max-width:400px;width:100%;background:#0C0E12;border:1px solid rgba(201,165,103,.35);border-radius:20px;
  padding:30px 28px;text-align:center;box-shadow:0 30px 80px rgba(0,0,0,.6);
  font-family:-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Noto Sans KR","Malgun Gothic",system-ui,sans-serif;
}
.appnote .an-card h3{margin:0 0 12px;font-size:18px;color:#fff;letter-spacing:-.01em}
.appnote .an-card p{margin:0 0 8px;font-size:13.5px;line-height:1.75;color:rgba(255,255,255,.62)}
.appnote .an-card p b{color:#e8ce9e;font-weight:700}
.appnote .an-card .an-go{
  display:flex;align-items:center;justify-content:center;margin-top:18px;height:46px;border-radius:10px;
  background:linear-gradient(100deg,#e8ce9e,#c9a567);color:#0A0B0C;font-weight:700;text-decoration:none;
}
.appnote .an-card .an-close{
  margin-top:10px;width:100%;height:44px;border-radius:10px;border:1px solid rgba(255,255,255,.16);
  background:rgba(255,255,255,.06);color:rgba(255,255,255,.8);font:inherit;font-weight:600;cursor:pointer;
}

/* 짧은 알림 */
.vb-toast{
  position:fixed;left:50%;bottom:calc(58px + env(safe-area-inset-bottom));z-index:2147482401;
  transform:translateX(-50%) translateY(8px);opacity:0;pointer-events:none;
  background:rgba(12,14,18,.96);color:#fff;border:1px solid rgba(255,255,255,.18);border-radius:999px;
  padding:9px 16px;font:inherit;font-size:12.5px;white-space:nowrap;transition:opacity .18s,transform .18s;
  font-family:-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Noto Sans KR",system-ui,sans-serif;
}
.vb-toast.is-on{opacity:1;transform:translateX(-50%) translateY(0)}

/* 푸터에 있던 '보기 방식' 줄은 고정 바가 대신한다 */
html.has-vb #plBrand .plb-mid,
html.has-vb .brandfoot .bf-mid{display:none}
