/* 메뉴 개편 (2026-11-01) — 모바일 하단 탭 · 포인트 띠 · 더보기 시트 · 이벤트 모음. 새 디자인(body.brand-v2)에만.
   구조는 전쿠처럼(위는 가볍게, 자주 가는 곳은 아래 탭) 가되 색·모양은 라원쿠지 그대로 (아이보리·레드·노랑 띠) */
.m-only{display:none!important}
.bnav{display:none}   /* 하단 탭은 모바일만 */
body.brand-v2{--bnav-h:62px}

/* 이벤트 모음 (2026-11-02 큰 그림 카드) — 덥찬은 맨 위 넓은 카드, 나머지는 그림이 위에 있는 카드 2열 */
.ev-head{margin:.4rem 0 1.1rem}
.ev-head h1{margin:.1rem 0 .3rem}
.ev-head p{margin:0}
.ev-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
.ev-feat,.ev-card{position:relative;display:flex;border-radius:22px;background:var(--surface);border:1px solid var(--line);overflow:hidden;
  box-shadow:0 10px 28px rgba(30,25,21,.07);color:var(--ink);text-decoration:none;transition:transform .18s,box-shadow .18s}
.ev-feat:hover,.ev-card:hover{transform:translateY(-3px);box-shadow:0 16px 36px rgba(30,25,21,.12)}
.ev-top{display:flex;align-items:center;flex-wrap:wrap;gap:.4rem}
.ev-top b{font-size:1.2rem;font-weight:900}
.ev-badge{font-size:.72rem;font-weight:800;color:var(--red);background:rgba(220,42,51,.08);border:1px solid rgba(220,42,51,.25);border-radius:999px;padding:.12rem .55rem}
.ev-badge.gold{color:#8A5A00;background:#FFF3CF;border-color:#EBCB6E}
.ev-hid{font-size:.72rem;color:var(--muted)}
.ev-desc{margin:.35rem 0 0;font-size:.9rem;line-height:1.55;color:var(--muted)}
.ev-stat{font-size:.82rem;font-weight:800;color:var(--ink)}
.ev-cta{display:inline-flex;align-items:center;font-size:.86rem;font-weight:800;color:#fff;background:var(--red);border-radius:999px;padding:.45rem .95rem;white-space:nowrap}

/* 덥찬 — 넓은 카드: 글은 왼쪽, 그림은 오른쪽 */
.ev-feat{grid-column:1/-1;min-height:300px;background:linear-gradient(100deg,#FDF0E2 0%,#FDF0E2 42%,#FFF8EE 100%);border-color:#F0DFC8}
.ev-feat-art{position:absolute;inset:0 0 0 38%;background-size:auto 100%;background-repeat:no-repeat;background-position:right center;
  -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 22%);mask-image:linear-gradient(90deg,transparent 0,#000 22%)}
.ev-feat-b{position:relative;z-index:1;display:flex;flex-direction:column;align-items:flex-start;gap:.75rem;padding:1.6rem 1.8rem;width:min(520px,58%)}
.ev-feat h2{margin:0;font-family:'Jua',var(--font,sans-serif);font-size:2rem;line-height:1.1}
.ev-prize{display:flex;align-items:center;gap:.9rem}
.ev-prize-img{flex:none;width:92px;height:92px;border-radius:18px;background:#fff;border:3px solid #fff;box-shadow:0 0 0 2px #E9AE2E,0 8px 18px rgba(154,104,0,.2);overflow:hidden;display:grid;place-items:center}
.ev-prize-img img{width:100%;height:100%;object-fit:contain}
.ev-prize small{display:block;font-size:.74rem;font-weight:800;color:var(--red)}
.ev-prize b{font-size:1.35rem;font-weight:900;line-height:1.25;word-break:keep-all}
.ev-facts{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:.5rem}
.ev-facts li{background:rgba(255,255,255,.8);border:1px solid #F0DFC8;border-radius:12px;padding:.4rem .7rem;display:flex;flex-direction:column}
.ev-facts small{font-size:.7rem;color:var(--muted);font-weight:700}
.ev-facts b{font-size:.88rem;font-weight:900;white-space:nowrap}

/* 운세·핀볼 — 그림이 위 */
.ev-card{flex-direction:column}
.ev-banner{aspect-ratio:16/8;background-size:cover;background-position:center}
.ev-pinball .ev-banner{background-position:center 40%}
.ev-body{display:flex;flex-direction:column;gap:.1rem;padding:1rem 1.15rem 1.1rem;flex:1}
.ev-foot{margin-top:auto;padding-top:.8rem;display:flex;align-items:center;justify-content:space-between;gap:.5rem;flex-wrap:wrap}

@media (max-width:860px){
  .ev-grid{grid-template-columns:1fr;gap:.8rem}
  .ev-feat{flex-direction:column;min-height:0;background:#FDF0E2}
  .ev-feat-art{position:relative;inset:auto;aspect-ratio:3/2;-webkit-mask-image:none;mask-image:none;background-position:center}
  .ev-feat-b{width:auto;padding:1rem 1.1rem 1.2rem;gap:.65rem}
  .ev-feat h2{font-size:1.6rem}
  .ev-prize-img{width:76px;height:76px}
  .ev-prize b{font-size:1.15rem}
  .ev-cta{align-self:stretch;justify-content:center}
  .ev-foot .ev-cta{align-self:auto}
}

@media (max-width:767px){
  body.brand-v2 .m-only{display:inline-flex!important}
  /* 위 칸: 로고 · 공지 · 톡방 · 내 닉네임 (포인트는 아래 띠, 로그아웃은 더보기) */
  body.brand-v2 .account .wal,body.brand-v2 .account .hdr-logout{display:none}
  body.brand-v2 .account{gap:.3rem}
  body.brand-v2 .tabs{display:none}
  .ico-btn{position:relative;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;color:var(--ink);background:var(--surface-2);border:1px solid var(--line)}
  .ico-btn .dot{position:absolute;top:5px;right:6px;width:7px;height:7px;border-radius:50%;background:var(--red);box-shadow:0 0 0 2px #fff}
  .me-chip{align-items:center;gap:.35rem;max-width:132px;height:36px;padding:0 .7rem 0 .25rem;border-radius:999px;background:var(--surface-2);border:1px solid var(--line);color:var(--ink);font-weight:800;font-size:.84rem}
  .me-chip i{flex:none;display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--red);color:#fff;font-style:normal;font-size:.8rem}
  .me-chip span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  body.brand-v2 .account .admin-lnk{font-size:.78rem;padding:.3rem .25rem}
  /* 포인트 띠 */
  body.brand-v2 .bal-strip.m-only{display:grid!important;grid-template-columns:1fr 1fr;border-top:1px solid var(--line);background:#fff}
  .bal-strip .bs{display:flex;flex-direction:column;align-items:center;gap:.05rem;padding:.42rem 0 .45rem;color:var(--ink);position:relative}
  .bal-strip .bs+.bs{border-left:1px solid var(--line)}
  .bal-strip .bs::after{content:"";position:absolute;left:18%;right:18%;bottom:0;height:3px;border-radius:3px 3px 0 0}
  .bal-strip .goods::after{background:var(--brand-y,#FCE073)}
  .bal-strip .cash::after{background:var(--red)}
  .bal-strip small{font-size:.72rem;font-weight:800;color:var(--muted)}
  .bal-strip b{font-family:var(--mono);font-size:1.05rem;font-weight:800;letter-spacing:-.01em}
  .bal-strip b i{font-style:normal;font-size:.7rem;margin-left:.15rem;color:var(--muted)}
  /* 하단 탭 */
  body.has-bnav{padding-bottom:calc(var(--bnav-h) + env(safe-area-inset-bottom))}
  .bnav{position:fixed;left:0;right:0;bottom:0;z-index:calc(var(--z-topbar,50) + 1);display:flex;height:calc(var(--bnav-h) + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom);
    background:rgba(255,255,255,.97);backdrop-filter:blur(8px);border-top:1px solid var(--line);box-shadow:0 -6px 20px rgba(30,25,21,.08)}
  .bnav a,.bnav button{flex:1;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.18rem;background:none;border:0;padding:0;font:inherit;
    font-size:.7rem;font-weight:800;color:#8A7F72;cursor:pointer;-webkit-tap-highlight-color:transparent}
  .bnav svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
  .bnav .on{color:var(--red)}
  .bnav .on svg{fill:rgba(220,42,51,.12)}
  .bnav .on::before{content:"";position:absolute;top:0;left:28%;right:28%;height:3px;border-radius:0 0 3px 3px;background:var(--red)}
  .bnav .dot{position:absolute;top:9px;left:calc(50% + 8px);width:7px;height:7px;border-radius:50%;background:var(--red)}
  /* 더보기 = 아래에서 올라오는 시트 */
  body.brand-v2 .more-menu{position:fixed;left:0;right:0;top:auto;bottom:calc(var(--bnav-h) + env(safe-area-inset-bottom));max-height:72vh;overflow:auto;z-index:calc(var(--z-topbar,50) + 2);
    border-radius:18px 18px 0 0;border:1px solid var(--line);border-bottom:0;box-shadow:0 -18px 40px rgba(30,25,21,.18);background:#fff}
  body.brand-v2 .more-in{padding:.4rem 1rem 1rem}
  body.brand-v2 .more-menu::before{content:"";position:fixed;left:0;right:0;top:0;bottom:calc(var(--bnav-h) + env(safe-area-inset-bottom));background:rgba(30,25,21,.4);z-index:-1}
  body.brand-v2 .more-in{position:relative;background:#fff;border-radius:18px 18px 0 0}
  body.brand-v2 .more-menu{background:transparent}
  .more-hd{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;padding:.5rem .1rem .3rem}
  .more-hd b{font-size:1.05rem}
  /* 하단 탭에 가리지 않게 */
  body.has-bnav .oc-sheet{bottom:calc(var(--bnav-h) + 1rem)}
  body.has-bnav .toast{bottom:calc(var(--bnav-h) + 1rem)}
  .ev-list{grid-template-columns:1fr}
}
/* PC: 더보기 시트는 안 쓴다 (탭 줄과 위 링크로 충분) */
@media (min-width:768px){ body.brand-v2 .more-menu{display:none} }
