:root{
  --bg:#FFFFFF;
  --card:#FFFFFF;
  --text:#0F172A;
  --muted:#64748B;
  --accent:#2563EB;
  --accent2:#1D4ED8;
  --line:rgba(15,23,42,.08);
  --shadow:0 20px 60px rgba(15,23,42,.08);
  --r:18px;
  --r2:22px;
}

*{box-sizing:border-box;margin:0;padding:0;}
html,body{height:100%;}
body{
  background:var(--bg);
  color:var(--text);
  font-family:'Pretendard',system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;
  line-height:1.55;
}

a{color:inherit;text-decoration:none;}
button{font-family:inherit;}
img{max-width:100%;display:block;}
::selection{background:rgba(37,99,235,.18);}

#ppHeader,#ppFooter,#ppAd{width:100%;}

/* =========================================================
  ✅ 전체 컨테이너(홈)
========================================================= */
.wrap{
  width:100%;
  max-width:1000px;
  margin:0 auto;
  padding:0 18px 110px;
}

/* =========================================================
  ✅ 헤더
========================================================= */
.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0px 0;
  border-bottom:1px solid var(--line);
}
.logo{
  font-size:22px;
  font-weight:900;
  letter-spacing:1px;
}
.nav-right{display:flex;gap:10px;align-items:center;flex-wrap:wrap;}
.pill{
  font-size:15px;
  padding:10px 13px;
  border-radius:999px;
  border:1px solid var(--line);
  color:var(--muted);
  transition:.2s;
  background:#fff;
}
.pill:hover{border-color:var(--accent);color:var(--text);}
.pill.primary{
  background:rgba(37,99,235,.08);
  border-color:rgba(37,99,235,.25);
  color:var(--text);
}

/* =========================================================
  ✅ 푸터
========================================================= */
.footer{
  margin-top:20px;
  border-top:1px solid var(--line);
  padding:22px 0 0;
}
.footer-inner{
  display:flex;
  flex-direction:column;
  gap:10px;
}
.footer-head{
  width:100%;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
}
.footer-left{
  display:flex;
  flex-direction:column;
  gap:4px;
}
.footer-brand{
  font-weight:900;
  letter-spacing:1px;
}
.footer-sub{
  font-size:13px;
  color:var(--muted);
}

.footer-home-btn{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:7px 14px;
  border-radius:999px;
  font-size:13px;
  font-weight:600;
  background:#F1F5F9;
  color:var(--text);
  border:1px solid var(--line);
  text-decoration:none;
  transition:all .18s ease;
  white-space:nowrap;
}
.footer-home-btn:hover{
  background:#E2E8F0;
  transform:translateY(-1px);
  box-shadow:0 6px 16px rgba(15,23,42,.08);
}

.footer-links{
  font-size:12px;
  line-height:1.4;
  padding-bottom:10px;
  opacity:.75;
}
.footer-links a{
  font-size:12px;
  color:var(--muted);
  text-decoration:none;
}
.footer-links a:hover{
  opacity:1;
  text-decoration:underline;
}
.footer-links .divider{
  margin:0 6px;
  opacity:.5;
}

/* =========================================================
  ✅ 홈 히어로
========================================================= */
.hero{text-align:center;padding:70px 0 46px;}
.sub{font-size:20px;color:var(--muted);margin-bottom:12px;}
.main-copy{font-size:40px;font-weight:900;margin-bottom:22px;}
.cta{
  display:inline-block;
  padding:16px 40px;
  border-radius:32px;
  background:var(--accent);
  color:#fff;
  font-weight:500;
  transition:.2s ease;
  border:none;
  cursor:pointer;
  font-size:20px;
}
.cta:hover{background:var(--accent2);transform:translateY(-2px);}

/* =========================================================
  ✅ 섹션(인기 목록)
========================================================= */
.section{
  margin:26px auto 0;
  max-width:900px;
  width:100%;
  padding:0 16px;
}
.section-head{
  display:flex;
  justify-content:center;
  align-items:flex-end;
  gap:12px;
  margin-bottom:14px;
}
.section-title{
  font-size:30px;
  font-weight:900;
  display:block;
  width:100%;
  text-align:center;
}
.section-sub{
  font-size:18px;
  color:var(--muted);
}

/* =========================================================
  ✅ 카드 리스트 그리드(홈)
========================================================= */
.grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(220px,1fr));
  gap:14px;
}

/* =========================================================
  ✅ 홈 카드
========================================================= */
.home-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  padding:14px;
  cursor:pointer;
  min-height:80px;
  box-shadow:var(--shadow);
  display:flex;
  flex-direction:column;
  justify-content:center;
  transform:translateY(0);
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  will-change:transform;
}
.home-card:hover{border-color:var(--accent);transform:translateY(-2px);}

.home-card .card-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.home-card .t{
  font-size:20px;
  font-weight:600;
  line-height:1.2;
  flex:1;
  min-width:0;
  margin:0;
}
.home-card .d{
  font-size:18px;
  color:var(--muted);
  line-height:1.45;
  margin-top:6px;
}
.home-card .meta{margin-top:10px;display:flex;gap:8px;flex-wrap:wrap;}

/* 홈 카드 메타(스코프 강제: 다른 페이지 충돌 방지) */
.home-card .chip{
  flex-shrink:0;
  font-size:12px;
  line-height:1;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(148,163,184,.18);
  border:1px solid rgba(148,163,184,.26);
  color:rgba(15,23,42,.72);
  white-space:nowrap;
  transform:translateY(0);
  transition:transform .18s ease, background-color .18s ease, border-color .18s ease;
}
.home-card:hover .chip{
  transform:translateY(-2px);
  background:rgba(148,163,184,.24);
  border-color:rgba(148,163,184,.34);
}
.home-card .badge{
  font-size:12px;
  padding:7px 10px;
  border-radius:999px;
  background:rgba(37,99,235,.10);
  border:1px solid rgba(37,99,235,.25);
  color:var(--accent);
  font-weight:900;
}

.empty{
  margin-top:26px;
  border:1px dashed var(--line);
  border-radius:18px;
  padding:14px;
  color:var(--muted);
  background:#F8FAFC;
  display:none;
  font-weight:800;
  font-size:20px;
}

/* =========================================================
  ✅ PICKPLAY 공통 템플릿(통일본)
========================================================= */
.pp-page{
  width:100%;
  max-width:1000px;
  margin:0 auto;
  padding:0 18px 110px;
}
.pp-page #ppHeader{ margin:0; }
.pp-page #ppFooter{ margin-top:70px; }

/* Topbar */
.pp-topbar{
  position:sticky;
  top:0;
  z-index:20;
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
  display:none;
}
.pp-topbar-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:12px 0;
}
.pp-topbar-title{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}
.pp-topbar-title .emoji{
  font-size:22px;
  line-height:1;
  flex:0 0 auto;
}
.pp-topbar-title .txt{ min-width:0; }
.pp-topbar-title .txt .k{
  font-size:13px;
  color:var(--muted);
  margin:0 0 2px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.pp-topbar-title .txt .t{
  font-size:18px;
  font-weight:900;
  letter-spacing:-.3px;
  margin:0;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

/* Hero */
.pp-hero{
  text-align:center;
  padding:46px 0 34px;
}
.pp-hero-sub{
  font-size:18px;
  color:var(--muted);
  margin-bottom:10px;
}
.pp-hero-title{
  font-size:38px;
  font-weight:900;
  letter-spacing:-.6px;
  margin:0 0 18px;
  word-break:keep-all;
}
.pp-hero-desc{
  margin-bottom:24px;
}
.pp-meta{
  display:flex;
  justify-content:center;
  gap:10px;
  flex-wrap:wrap;
  margin-bottom:18px;
}
.pp-chip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 12px;
  border-radius:999px;
  border:1px solid var(--line);
  color:var(--muted);
  background:#fff;
  font-size:14px;
  white-space:nowrap;
}
.pp-cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:16px 40px;
  border-radius:32px;
  border:none;
  background:var(--accent);
  color:#fff;
  cursor:pointer;
  font-size:18px;
  font-weight:800;
  transition:.2s;
}
.pp-cta:hover{
  background:var(--accent2);
  transform:translateY(-2px);
}

/* Block + Card */
.pp-block{ margin-top:18px; }
.pp-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  box-shadow:var(--shadow);
  overflow:hidden;
}

/* Progress (SURF 기준) */
.pp-dots{
  display:flex;
  gap:8px;
  align-items:center;
  flex:0 0 auto;
}
.pp-dot{
  width:10px;height:10px;border-radius:999px;
  border:1px solid var(--line);
  background:#fff;
  transition:.2s;
}
.pp-dot.on{
  background:rgba(37,99,235,.95);
  border-color:rgba(37,99,235,.25);
  transform:scale(1.08);
}
.pp-meter{
  flex:1 1 auto;
  height:10px;
  border-radius:999px;
  border:1px solid var(--line);
  background:rgba(15,23,42,.03);
  overflow:hidden;
  min-width:160px;
}
.pp-bar{
  height:100%;
  width:0%;
  border-radius:999px;
  background:rgba(37,99,235,.92);
  transition:width .35s ease;
}
.pp-step{
  font-size:14px;
  color:var(--muted);
  white-space:nowrap;
  flex:0 0 auto;
}
.pp-step strong{
  color:var(--text);
  font-weight:900;
}

/* Question head */
.pp-qhead{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  padding:16px;
  border-bottom:1px solid var(--line);
}
.pp-qleft{ min-width:0; }
.pp-qkicker{
  display:flex;
  align-items:center;
  gap:8px;
  color:var(--muted);
  font-size:14px;
  margin-bottom:10px;
}
.pp-qbadge{
  display:inline-flex;
  align-items:center;
  padding:7px 10px;
  border-radius:14px;
  border:1px solid var(--line);
  background:#fff;
  font-weight:900;
  color:var(--text);
}
.pp-qtitle{
  margin:0;
  font-size:26px;
  letter-spacing:-.5px;
  line-height:1.25;
  word-break:keep-all;
}
.pp-qsub{
  margin:10px 0 0;
  color:var(--muted);
  font-size:16px;
  line-height:1.6;
  word-break:keep-all;
}
.pp-qemoji{
  font-size:54px;
  line-height:1;
  flex:0 0 auto;
}

/* Choices (텍스트형 기본) */
.pp-choices{
  padding:14px 16px 16px;
  display:grid;
  gap:12px;
}
.pp-choice{
  display:flex;
  align-items:flex-start;
  gap:12px;
  padding:14px;
  border-radius:16px;
  border:1px solid var(--line);
  background:#fff;
  cursor:pointer;
  text-align:left;
  transition:.18s;
  width:100%;
}
.pp-choice:hover{
  border-color:var(--accent);
  transform:translateY(-2px);
}
.pp-choice:active{ transform:translateY(0); }
.pp-choice.disabled{ pointer-events:none; opacity:.55; filter:grayscale(.2); }

.pp-choice-icon{
  width:52px;
  display:flex;
  justify-content:center;
  flex:0 0 auto;
  font-size:40px;
  line-height:1;
}
.pp-choice-main{
  margin:0;
  font-size:18px;
  font-weight:900;
  letter-spacing:-.25px;
  line-height:1.25;
  word-break:keep-all;
}
.pp-choice-sub{
  margin:8px 0 0;
  color:var(--muted);
  font-size:15px;
  line-height:1.55;
  word-break:keep-all;
}

/* Quote + Box */
.pp-quote{
  margin:14px 16px 0;
  border:1px solid var(--line);
  border-radius:18px;
  padding:14px 14px;
  background:rgba(37,99,235,.06);
}
.pp-quote p{
  margin:0;
  font-size:17px;
  font-weight:900;
  letter-spacing:-.25px;
  line-height:1.45;
  word-break:keep-all;
}
.pp-box{
  border:1px solid var(--line);
  border-radius:18px;
  padding:14px;
  background:#fff;
}
.pp-box h3{
  margin:0 0 10px;
  font-size:15px;
  letter-spacing:-.2px;
}
.pp-box ul{
  margin:0;
  padding-left:18px;
  color:var(--muted);
  font-size:15px;
  line-height:1.75;
}

/* 다른 유형도 보기(공통화) */
.pp-page .other{
  margin:0 16px 16px;
  border:1px solid var(--line);
  border-radius:18px;
  padding:14px;
  background:#fff;
}
.pp-page .other h3{
  margin:0 0 12px;
  font-size:15px;
  letter-spacing:-.2px;
}
.pp-page .type-grid{ display:grid; gap:10px; }
.pp-page .type-item{
  display:flex;
  gap:12px;
  align-items:flex-start;
  padding:12px;
  border-radius:16px;
  border:1px solid var(--line);
  background:#fff;
}
.pp-page .type-item.me{
  border-color:rgba(37,99,235,.30);
  background:rgba(37,99,235,.06);
}
.pp-page .type-emoji{
  width:44px;
  display:flex;
  justify-content:center;
  font-size:34px;
  line-height:1;
  flex:0 0 auto;
}
.pp-page .type-name{
  margin:0;
  font-size:16px;
  font-weight:900;
  letter-spacing:-.2px;
  line-height:1.2;
  word-break:keep-all;
}
.pp-page .type-desc{
  margin:6px 0 0;
  font-size:14px;
  color:var(--muted);
  line-height:1.45;
  word-break:keep-all;
}
.pp-page .type-item.me .type-name::after{
  content:"  ·  내 유형";
  font-weight:800;
  color:rgba(37,99,235,.85);
  font-size:13px;
}

/* Actions */
.pp-actions{
  display:grid;
  gap:10px;
  padding:0 16px 16px;
}
.pp-btn{
  appearance:none;
  -webkit-appearance:none;
  border:1px solid var(--line);
  background:#fff;
  color:var(--text);
  border-radius:18px;
  padding:14px 14px;
  font-weight:900;
  letter-spacing:-.2px;
  cursor:pointer;
  font-size:16px;
  transition:.18s;
  width:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  line-height:1.2;
}
.pp-btn:hover{
  border-color:var(--accent);
  transform:translateY(-2px);
}
.pp-btn.primary{
  background:var(--accent);
  color:#fff;
  border-color:rgba(37,99,235,.35);
}
.pp-btn.primary:hover{ background:var(--accent2); }

/* Recent widget */
.pp-rtw-wrap{
  margin:0 16px 16px;
  border:1px solid var(--line);
  border-radius:18px;
  padding:14px;
  background:#fff;
}
.pp-rtw-wrap h3{
  margin:0 0 12px;
  font-size:15px;
  letter-spacing:-.2px;
}
.pp-rtw-grid{ display:grid; gap:10px; }
.pp-rtw-item{
  display:flex;
  gap:12px;
  align-items:flex-start;
  padding:12px;
  border-radius:16px;
  border:1px solid var(--line);
  background:#fff;
  text-decoration:none;
  color:var(--text);
  transition:.18s;
}
.pp-rtw-item:hover{
  border-color:var(--accent);
  transform:translateY(-2px);
}
.pp-rtw-emoji{
  width:44px;
  display:flex;
  justify-content:center;
  font-size:34px;
  line-height:1;
  flex:0 0 auto;
}
.pp-rtw-title{
  margin:0;
  font-size:16px;
  font-weight:900;
  letter-spacing:-.2px;
  line-height:1.2;
  word-break:keep-all;
}
.pp-rtw-desc{
  margin:6px 0 0;
  font-size:14px;
  color:var(--muted);
  line-height:1.45;
  word-break:keep-all;
}

/* Toast */
.pp-toast{
  position:fixed;
  left:50%;
  bottom:18px;
  transform:translateX(-50%);
  padding:12px 14px;
  border-radius:16px;
  background:rgba(15,23,42,.88);
  color:#fff;
  font-size:14px;
  display:none;
  z-index:30;
  max-width:92vw;
}

/* =========================================================
  ✅ 페이지별(고유) 스타일만 남김
========================================================= */

/* SURF (유형 리스트 블록만 고유) */
.pp-surf .other{
  margin:0 16px 16px;
  border:1px solid var(--line);
  border-radius:18px;
  padding:14px;
  background:#fff;
}
.pp-surf .other h3{
  margin:0 0 12px;
  font-size:15px;
  letter-spacing:-.2px;
}
.pp-surf .type-grid{ display:grid; gap:10px; }
.pp-surf .type-item{
  display:flex;
  gap:12px;
  align-items:flex-start;
  padding:12px;
  border-radius:16px;
  border:1px solid var(--line);
  background:#fff;
}
.pp-surf .type-item.me{
  border-color:rgba(37,99,235,.30);
  background:rgba(37,99,235,.06);
}
.pp-surf .type-emoji{
  width:44px;
  display:flex;
  justify-content:center;
  font-size:34px;
  line-height:1;
  flex:0 0 auto;
}
.pp-surf .type-name{
  margin:0;
  font-size:16px;
  font-weight:900;
  letter-spacing:-.2px;
  line-height:1.2;
  word-break:keep-all;
}
.pp-surf .type-desc{
  margin:6px 0 0;
  font-size:14px;
  color:var(--muted);
  line-height:1.45;
  word-break:keep-all;
}
.pp-surf .type-item.me .type-name::after{
  content:"  ·  내 유형";
  font-weight:800;
  color:rgba(37,99,235,.85);
  font-size:13px;
}

/* RAMEN (이미지 선택지 + 랭킹 + 오버레이 고유) */
.pp-ramen .pp-stage-chip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid var(--line);
  background:#fff;
  color:var(--muted);
  font-size:14px;
  white-space:nowrap;
}

.pp-ramen .pp-choices{ grid-template-columns:1fr; }
.pp-ramen .pp-choices.grid2{ grid-template-columns:1fr 1fr; }
.pp-ramen .pp-choices.grid4{ grid-template-columns:1fr 1fr; }

.pp-ramen .pp-choice{
  flex-direction:column;
  gap:10px;
  padding:12px;
  border-radius:18px;
  overflow:hidden;
}
.pp-ramen .pp-choice-icon{ width:auto; font-size:inherit; line-height:inherit; }
.pp-ramen .imgBox{
  border:1px solid var(--line);
  border-radius:16px;
  background:#fff;
  overflow:hidden;
  aspect-ratio:1/1;
  display:flex;
  align-items:center;
  justify-content:center;
}
.pp-ramen .imgBox img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
  user-select:none;
  -webkit-user-drag:none;
  background:#fff;
}
.pp-ramen .cMain{
  margin:0;
  font-size:16px;
  font-weight:900;
  letter-spacing:-.2px;
  line-height:1.25;
  word-break:keep-all;
  text-align:center;
}
.pp-ramen .cSub{
  margin:0;
  font-size:13px;
  color:var(--muted);
  letter-spacing:-.15px;
  line-height:1.35;
  text-align:center;
  word-break:keep-all;
}

.pp-ramen .winnerThumb{
  width:86px;
  height:86px;
  border-radius:18px;
  border:1px solid var(--line);
  background:#fff;
  overflow:hidden;
  flex:0 0 auto;
  display:flex;
  align-items:center;
  justify-content:center;
}
.pp-ramen .winnerThumb img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
  background:#fff;
}

.pp-ramen .rankList{ display:grid; gap:10px; }
.pp-ramen .rankItem{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:12px;
  border:1px solid var(--line);
  border-radius:16px;
  background:#fff;
  overflow:hidden;
}
.pp-ramen .rkLeftSimple{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
  flex:1 1 auto;
}
.pp-ramen .rkBadge{
  width:34px;
  height:34px;
  border-radius:999px;
  border:1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  background:#fff;
  font-weight:900;
  font-size:16px;
  line-height:1;
}
.pp-ramen .rkThumb{
  width:54px;
  height:54px;
  border-radius:14px;
  border:1px solid var(--line);
  background:#fff;
  overflow:hidden;
  flex:0 0 auto;
  display:flex;
  align-items:center;
  justify-content:center;
}
.pp-ramen .rkThumb img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
  background:#fff;
}
.pp-ramen .rkName{
  margin:0;
  font-size:18px;
  font-weight:900;
  letter-spacing:-.2px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.pp-ramen .roundOverlay{
  position:fixed;
  inset:0;
  display:none;
  align-items:center;
  justify-content:center;
  padding:22px;
  background:rgba(255,255,255,.82);
  backdrop-filter:blur(10px);
  z-index:50;
}
.pp-ramen .roundOverlay.on{ display:flex; }
.pp-ramen .roundPanel{
  width:min(520px, 92vw);
  border-radius:28px;
  border:1px solid var(--line);
  background:#fff;
  box-shadow:0 24px 70px rgba(11,18,32,.12);
  padding:22px 20px;
  text-align:center;
  transform:translateY(10px) scale(.98);
  opacity:0;
  animation:ppRoundIn .42s ease forwards;
}
.pp-ramen .roundPanel .big{
  font-size:56px;
  line-height:1;
  margin:4px 0 10px;
}
.pp-ramen .roundPanel h2{
  margin:0;
  font-size:26px;
  letter-spacing:-.45px;
}
.pp-ramen .roundPanel p{
  margin:10px 0 0;
  color:var(--muted);
  font-size:16px;
  line-height:1.55;
  letter-spacing:-.2px;
  word-break:keep-all;
}
.pp-ramen .roundPanel .miniBar{
  margin:16px auto 0;
  width:160px;
  height:10px;
  border-radius:999px;
  border:1px solid var(--line);
  background:rgba(11,18,32,.03);
  overflow:hidden;
}
.pp-ramen .roundPanel .miniFill{
  height:100%;
  width:0%;
  border-radius:999px;
  background:linear-gradient(90deg, rgba(46,212,255,.95), rgba(37,99,235,.92), rgba(19,197,184,.90));
  animation:ppMiniFill 3.2s ease forwards;
}
@keyframes ppRoundIn{ to { transform:translateY(0) scale(1); opacity:1; } }
@keyframes ppMiniFill{ to { width:100%; } }

.pp-ramen .roundOverlay.final{ background:rgba(11,18,32,.55); }
.pp-ramen .roundOverlay.final .roundPanel{
  border-color:rgba(255,255,255,.18);
  background:rgba(255,255,255,.94);
  box-shadow:0 30px 90px rgba(0,0,0,.35);
}
.pp-ramen .finalCount{
  margin-top:14px;
  font-size:56px;
  font-weight:1000;
  letter-spacing:-1px;
  color:#0b1220;
}
.pp-ramen .finalHint{
  margin-top:10px;
  font-size:15px;
  color:rgba(11,18,32,.68);
}
.pp-ramen #coupangAdMount{ margin-top:14px; }

@media (min-width:1000px){
  .pp-ramen .pp-hero-title{ font-size:42px; }
  .pp-ramen .pp-choice{ padding:16px; border-radius:20px; }
  .pp-ramen .cMain{ font-size:18px; }
  .pp-ramen .cSub{ font-size:14px; }
  .pp-ramen .winnerThumb{ width:150px; height:150px; }
  .pp-ramen .rkThumb{ width:90px; height:90px; }
  .pp-ramen .rkName{ font-size:22px; }
  .pp-ramen .pp-btn{ font-size:18px; padding:16px; }
}
@media (prefers-reduced-motion: reduce){
  .pp-bar,
  .pp-choice,
  .pp-btn{ transition:none; }
  .pp-ramen .roundPanel{ animation:none; opacity:1; transform:none; }
  .pp-ramen .roundPanel .miniFill{ animation:none; width:100%; }
}

/* LUNCH (랭킹 막대 + 오버레이 고유) */
.pp-lunch .pp-stage-chip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid var(--line);
  background:#fff;
  color:var(--muted);
  font-size:14px;
  white-space:nowrap;
}
.pp-lunch .rankList{ display:grid; gap:10px; }
.pp-lunch .rankItem{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:12px;
  border:1px solid var(--line);
  border-radius:16px;
  background:#fff;
}
.pp-lunch .rankLeft{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
  flex:1 1 auto;
}
.pp-lunch .rkNum{
  width:30px;height:30px;
  border-radius:999px;
  border:1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
  font-size:14px;
  color:var(--muted);
  flex:0 0 auto;
  background:#fff;
}
.pp-lunch .rkEmoji{
  font-size:28px;
  width:34px;
  display:flex;
  justify-content:center;
  flex:0 0 auto;
}
.pp-lunch .rkTxt{ min-width:0; }
.pp-lunch .rkName{
  margin:0;
  font-size:16px;
  font-weight:900;
  letter-spacing:-.2px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.pp-lunch .rkMeta{
  margin:4px 0 0;
  font-size:13px;
  color:var(--muted);
  letter-spacing:-.1px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.pp-lunch .rkScore{
  display:flex;
  flex-direction:column;
  gap:6px;
  align-items:flex-end;
  flex:0 0 auto;
}
.pp-lunch .rkScore span{
  font-size:12px;
  color:var(--muted);
  font-weight:900;
}
.pp-lunch .rkBar{
  width:120px;height:10px;
  border-radius:999px;
  border:1px solid var(--line);
  background:rgba(15,23,42,.03);
  overflow:hidden;
}
.pp-lunch .rkFill{
  display:block;
  height:100%;
  width:0%;
  border-radius:999px;
  background:rgba(37,99,235,.92);
}

.pp-lunch .roundOverlay{
  position:fixed;
  inset:0;
  display:none;
  align-items:center;
  justify-content:center;
  padding:22px;
  background:rgba(255,255,255,.82);
  backdrop-filter:blur(10px);
  z-index:50;
}
.pp-lunch .roundOverlay.on{ display:flex; }
.pp-lunch .roundPanel{
  width:min(520px, 92vw);
  border-radius:28px;
  border:1px solid var(--line);
  background:#fff;
  box-shadow:0 24px 70px rgba(11,18,32,.12);
  padding:22px 20px;
  text-align:center;
  transform:translateY(10px) scale(.98);
  opacity:0;
  animation:ppRoundIn .42s ease forwards;
}
.pp-lunch .roundPanel .big{ font-size:56px; line-height:1; margin:4px 0 10px; }
.pp-lunch .roundPanel h2{ margin:0; font-size:26px; letter-spacing:-.45px; }
.pp-lunch .roundPanel p{
  margin:10px 0 0;
  color:var(--muted);
  font-size:16px;
  line-height:1.55;
  letter-spacing:-.2px;
  word-break:keep-all;
}
.pp-lunch .roundPanel .miniBar{
  margin:16px auto 0;
  width:160px;
  height:10px;
  border-radius:999px;
  border:1px solid var(--line);
  background:rgba(15,23,42,.03);
  overflow:hidden;
}
.pp-lunch .roundPanel .miniFill{
  height:100%;
  width:0%;
  border-radius:999px;
  background:rgba(37,99,235,.92);
  animation:ppMiniFillFast 900ms ease forwards;
}
@keyframes ppMiniFillFast{ to { width:100%; } }

@media (max-width:640px){
  .pp-hero-title{ font-size:32px; }
  .pp-qemoji{ font-size:48px; }
}
@media (max-width:420px){
  .home-card .t{font-size:16px;}
}
@media (max-width:360px){
  .pp-lunch .pp-hero-title{ font-size:28px; }
  .pp-lunch .pp-qtitle{ font-size:24px; }
}
@media (min-width:1000px){
  .pp-lunch .pp-hero-title{ font-size:42px; }
  .pp-lunch .pp-choice{ padding:18px; }
  .pp-lunch .pp-choice-main{ font-size:20px; }
  .pp-lunch .pp-choice-sub{ font-size:15px; }
  .pp-lunch .pp-btn{ font-size:18px; padding:16px; }
}
@media (prefers-reduced-motion: reduce){
  .pp-lunch .roundPanel{ animation:none; opacity:1; transform:none; }
  .pp-lunch .roundPanel .miniFill{ animation:none; width:100%; }
}

/* 상단 우측 정렬(기존 nav 스타일이 있으면 중복은 제거) */
.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 0px;
}
.nav-right{
  display:flex;
  align-items:center;
  gap:12px;
}

/* 햄버거 버튼: 텍스트형 */
.pp-menu-btn{
  border:0px solid var(--line, #ddd);
  background:#fff;
  padding:8px 10px;
  border-radius:10px;
  cursor:pointer;
  font-size:20px;
  line-height:1;
}

/* 드로어 + 배경 */
.pp-drawer-backdrop{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.35);
  z-index:190;
}

.pp-drawer{
  position:fixed;
  top:0;
  right:-320px;
  width:280px;
  height:100vh;
  background:#fff;
  border-left:1px solid var(--line, #ddd);
  transition:right .2s ease;
  z-index:200;
  padding:16px;
  overflow:auto;
}
.pp-drawer.open{ right:0; }

.pp-drawer-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding-bottom:10px;
  border-bottom:1px solid var(--line, #eee);
  margin-bottom:10px;
}
.pp-drawer-title{ font-weight:700; }
.pp-drawer-close{
  border:none;
  background:none;
  cursor:pointer;
  color:var(--muted, #666);
}

/* 메뉴 리스트: 링크만 깔끔 */
.pp-drawer-menu{
  list-style:none;
  padding:0;
  margin:0;
}
.pp-drawer-menu li{
  margin:0;
}
.pp-drawer-menu a{
  display:block;
  padding:10px 2px;
  text-decoration:none;
  color:var(--text, #111);
  border-bottom:1px solid var(--line, #f0f0f0);
}
.pp-drawer-menu a:hover{
  text-decoration:underline;
}

.pp-drawer-foot{
  padding-top:12px;
}
.pp-drawer-foot a{
  color:var(--muted, #666);
  text-decoration:none;
}
.pp-drawer-foot a:hover{ text-decoration:underline; }