/* POINTER — design system */
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css');

:root{
  --ink:#0F1318;
  --ink-2:#1A2028;
  --ink-3:#2A323C;
  --green:#00E096;
  --green-deep:#00B87A;
  --green-soft:#E6FBF3;
  --green-line:#BFF2E1;
  --bg:#FFFFFF;
  --bg-soft:#F5F6F8;
  --bg-softer:#FAFBFC;
  --line:#ECEEF1;
  --line-2:#E3E6EA;
  --text:#0F1318;
  --sub:#5C6570;
  --sub-2:#8B939C;
  --blue:#2F6BFF;
  --red:#FF4D4F;
  --amber:#F5A524;
  --r-xl:28px;
  --r-lg:22px;
  --r-md:16px;
  --r-sm:12px;
  --shadow-card:0 1px 2px rgba(15,19,24,.04), 0 8px 24px rgba(15,19,24,.05);
  --shadow-float:0 10px 30px rgba(15,19,24,.14);
  --tab-h:76px;
}

*{box-sizing:border-box; -webkit-tap-highlight-color:transparent;}
html,body{margin:0;padding:0;background:#EDEFF2;}
body{
  font-family:'Pretendard Variable',Pretendard,-apple-system,BlinkMacSystemFont,'Apple SD Gothic Neo','Malgun Gothic',system-ui,sans-serif;
  word-break:keep-all; overflow-wrap:break-word;
  color:var(--text); -webkit-font-smoothing:antialiased; font-feature-settings:'tnum' 0;
  overscroll-behavior-y:none;
}
button{font-family:inherit; border:0; background:none; cursor:pointer; color:inherit; padding:0;}
input,textarea{font-family:inherit;}
a{color:inherit; text-decoration:none;}
img{display:block;}
svg{flex:none;}
svg:not([width]){width:1.25em; height:1.25em;}
.hidden{display:none !important;}

#shell{
  position:relative; width:100%; max-width:460px; margin:0 auto; min-height:100dvh;
  background:var(--bg); overflow:hidden; box-shadow:0 0 0 1px rgba(15,19,24,.04);
}
@media (min-width:520px){
  #shell{min-height:100dvh; border-radius:0;}
}

/* ---------- pager ---------- */
#pager{display:flex; width:300%; transition:transform .3s cubic-bezier(.22,.61,.36,1); will-change:transform;}
.pg{width:33.3333%; flex:none; height:100dvh; overflow-y:auto; -webkit-overflow-scrolling:touch; overflow-x:hidden;}
#pager .page{padding-bottom:calc(var(--tab-h) + 30px);}

/* ---------- app bar ---------- */
.appbar{
  position:sticky; top:0; z-index:30; background:rgba(255,255,255,.94); backdrop-filter:saturate(180%) blur(14px);
  display:flex; align-items:center; gap:10px; padding:14px 18px 10px;
}
.appbar.compact{padding-top:10px;}
.logo{display:flex; align-items:center; gap:9px; min-width:0;}
.logo-mark{
  width:36px;height:36px;border-radius:11px;background:var(--ink);display:grid;place-items:center;flex:none;
  box-shadow:0 6px 14px rgba(15,19,24,.18);
}
.logo-mark svg{width:21px;height:21px;}
.logo-word{font-weight:800; letter-spacing:-.02em; font-size:20px; line-height:1; display:flex; align-items:flex-end;}
.logo-word .dot{color:var(--green); font-size:26px; line-height:.7; margin-left:1px;}
.appbar .spacer{flex:1;}
.icon-btn{
  width:40px;height:40px;border-radius:14px;display:grid;place-items:center;background:#F4F5F7;color:var(--ink);flex:none;
  position:relative;
}
.icon-btn svg{width:20px;height:20px;}
.icon-btn .dot-badge{position:absolute;top:9px;right:10px;width:7px;height:7px;border-radius:50%;background:var(--green);border:2px solid #fff;}
.pill-dark{
  background:var(--ink); color:#fff; font-weight:700; font-size:14px; height:40px; padding:0 16px; border-radius:14px;
  display:inline-flex; align-items:center; gap:6px; flex:none;
}
.pill-ghost{border:1px solid var(--line-2); background:#fff; font-weight:700; font-size:14px; height:40px; padding:0 14px; border-radius:14px; display:inline-flex; align-items:center; gap:6px;}
.nav-back{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;margin-left:-8px;}
.nav-title{font-weight:800; font-size:18px; letter-spacing:-.02em;}
.nav-actions{display:flex; align-items:center; gap:4px;}

/* ---------- layout ---------- */
.page{padding:0 18px calc(var(--tab-h) + 26px);}
.page.no-tab{padding-bottom:28px;}
.section{margin-top:22px;}
.section-head{display:flex; align-items:center; justify-content:space-between; margin-bottom:12px;}
.section-title{font-size:19px; font-weight:800; letter-spacing:-.03em;}
.section-more{color:var(--sub-2); font-size:13px; font-weight:600; display:inline-flex; align-items:center; gap:2px;}
.stack{display:flex; flex-direction:column; gap:12px;}
.row{display:flex; align-items:center; gap:10px;}
.between{justify-content:space-between;}

/* ---------- hero ---------- */
.hero{
  position:relative; min-height:196px; border-radius:var(--r-xl); background:
    radial-gradient(120% 130% at 78% 18%, rgba(0,224,150,.20) 0%, rgba(0,224,150,0) 55%),
    linear-gradient(135deg,#141A20 0%, #0D1116 60%, #0B1417 100%);
  color:#fff; padding:20px 20px 18px; overflow:hidden; margin-top:4px;
  box-shadow:0 14px 34px rgba(9,12,16,.28);
}
.hero::before{
  content:''; position:absolute; inset:0;
  background-image:linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size:34px 34px; mask-image:linear-gradient(180deg, rgba(0,0,0,.95), rgba(0,0,0,.25));
  pointer-events:none;
}
.hero-badge{
  display:inline-flex; align-items:center; gap:6px; padding:5px 11px 5px 9px; border-radius:999px;
  border:1px solid rgba(0,224,150,.35); background:rgba(0,224,150,.10); color:#5BF0BF; font-size:12px; font-weight:700;
}
.hero-badge .led{width:6px;height:6px;border-radius:50%;background:var(--green); box-shadow:0 0 8px var(--green);}
.hero h1{font-size:27px; line-height:1.22; letter-spacing:-.045em; margin:14px 0 0; font-weight:800; position:relative; z-index:2; max-width:68%;}
.hero p{position:relative; z-index:2; max-width:74%;}
.hero h1 em{font-style:normal; color:var(--green);}
.hero p{margin:8px 0 0; color:#9AA3AD; font-size:13px; font-weight:500; position:relative; z-index:2;}
.hero-visual{position:absolute; right:10px; top:44px; width:126px; height:138px;}
.hero-tile{
  position:absolute; inset:12px 16px 16px 14px; border-radius:18px; background:linear-gradient(160deg,#242C33,#171E24);
  border:1px solid rgba(255,255,255,.08); display:grid; place-items:center;
}
.hero-tile .corner{position:absolute; width:16px; height:16px; border-color:var(--green); border-style:solid; opacity:.9;}
.hero-tile .corner.tl{top:8px;left:8px;border-width:2px 0 0 2px;border-radius:4px 0 0 0;}
.hero-tile .corner.tr{top:8px;right:8px;border-width:2px 2px 0 0;border-radius:0 4px 0 0;}
.hero-tile .corner.bl{bottom:8px;left:8px;border-width:0 0 2px 2px;border-radius:0 0 0 4px;}
.hero-tile .corner.br{bottom:8px;right:8px;border-width:0 2px 2px 0;border-radius:0 0 4px 0;}
.hero-off{
  position:absolute; bottom:0; left:-6px; background:var(--green); color:#06221A; font-weight:800; font-size:13px;
  padding:6px 10px; border-radius:10px; box-shadow:0 8px 18px rgba(0,224,150,.35);
}

/* ---------- input hub ---------- */
.hub{display:flex; flex-direction:column; gap:10px; margin-top:14px;}
.card{
  background:#fff; border:1px solid var(--line); border-radius:var(--r-lg); padding:14px;
  box-shadow:var(--shadow-card);
}
.sns-card{display:flex; align-items:center; gap:12px;}
.sns-icons{display:flex; flex:none;}
.sns-icons .si{width:30px;height:30px;border-radius:9px;display:grid;place-items:center;margin-left:-8px;border:2px solid #fff;}
.sns-icons .si:first-child{margin-left:0;}
.sns-icons .si.ig{background:radial-gradient(circle at 30% 110%, #FEDA75 0%, #FA7E1E 25%, #D62976 55%, #962FBF 75%, #4F5BD5 100%);}
.sns-icons .si.yt{background:#FF0033;}
.sns-icons .si.th{background:#0F1318;}
.sns-icons svg{width:15px;height:15px;color:#fff;}
.sns-text{min-width:0; flex:1;}
.sns-text b{display:block; font-size:15px; font-weight:800; letter-spacing:-.02em;}
.sns-text span{display:block; font-size:12px; color:var(--sub-2); margin-top:2px; font-weight:500;}
.sns-go{background:var(--ink); color:#fff; height:38px; padding:0 14px; border-radius:12px; font-size:13px; font-weight:700; display:inline-flex; align-items:center; gap:3px; flex:none;}

.duo{display:grid; grid-template-columns:1fr 1fr; gap:10px;}
.tile{
  border-radius:var(--r-lg); padding:14px; min-height:112px; display:flex; flex-direction:column; justify-content:space-between;
  border:1px solid var(--line); background:#fff; position:relative; overflow:hidden; text-align:left;
}
.tile .t-ic{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:#F4F5F7;color:var(--ink);}
.tile .t-ic svg{width:19px;height:19px;}
.tile b{font-size:15px; font-weight:800; letter-spacing:-.02em; display:block;}
.tile span{font-size:12px; color:var(--sub-2); display:block; margin-top:2px; font-weight:500;}
.tile .arrow{position:absolute; right:12px; top:14px; width:26px;height:26px;border-radius:50%; display:grid; place-items:center; background:#F0F2F5; color:var(--sub);}
.tile.dark{background:linear-gradient(150deg,#161C23,#0D1216 70%); border-color:#0D1216; color:#fff;}
.tile.dark .t-ic{background:rgba(255,255,255,.10); color:#fff;}
.tile.dark span{color:#98A2AC;}
.tile.dark::after{content:''; position:absolute; width:120px;height:120px; right:-40px; bottom:-50px; border-radius:50%; background:radial-gradient(circle, rgba(0,224,150,.28), rgba(0,224,150,0) 70%);}
.tile.dark .arrow{background:rgba(255,255,255,.12); color:#fff;}

.search-pill{
  display:flex; align-items:center; gap:8px; background:#F6F7F9; border:1px solid #F0F1F4; border-radius:18px;
  padding:8px 8px 8px 14px; margin-top:10px;
}
.search-pill svg{width:18px;height:18px;color:var(--sub-2); flex:none;}
.search-pill input{border:0; background:transparent; flex:1; font-size:14px; font-weight:600; outline:none; color:var(--text); min-width:0;}
.search-pill input::placeholder{color:#A6ADB6; font-weight:600;}
.ai-chip{background:#fff; border:1px solid var(--line-2); border-radius:12px; height:36px; padding:0 12px; font-size:13px; font-weight:800; display:inline-flex; align-items:center; gap:5px; color:var(--ink); flex:none;}
.ai-chip svg{width:15px;height:15px;color:var(--green);}

/* ---------- product cards ---------- */
.pcard{display:flex; gap:12px; align-items:center; padding:12px; background:#fff; border:1px solid var(--line); border-radius:var(--r-lg); box-shadow:var(--shadow-card); width:100%; text-align:left;}
.pcard .thumb{width:76px;height:76px;border-radius:16px;background:#F5F6F8; overflow:hidden; flex:none; display:grid; place-items:center;}
.pcard .thumb img{width:100%; height:100%; object-fit:contain; mix-blend-mode:multiply;}
.pcard .body{min-width:0; flex:1;}
.pcard .brand{font-size:11px; font-weight:800; letter-spacing:.06em; color:#98A0AA; text-transform:uppercase;}
.pcard .name{font-size:15.5px; font-weight:800; letter-spacing:-.03em; margin-top:3px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
.pcard .prices{display:flex; align-items:baseline; gap:7px; margin-top:5px; flex-wrap:wrap;}
.pcard .launch{font-size:12px; color:var(--sub-2); font-weight:600;}
.pcard .launch b{color:var(--sub); font-weight:700;}
.pcard .best{font-size:19px; font-weight:800; letter-spacing:-.03em; color:var(--ink);}
.pcard .best.acc{color:var(--green-deep);}
.pcard .best small{font-size:12px; font-weight:700; color:var(--sub-2); margin-left:1px;}
.pcard .meta{font-size:11.5px; color:var(--sub-2); margin-top:5px; font-weight:500;}
.pcard .off{position:absolute; right:12px; top:12px; background:var(--green-soft); color:var(--green-deep); font-weight:800; font-size:12px; padding:4px 8px; border-radius:9px;}
.pcard{position:relative;}

/* ---------- empty states ---------- */
.empty{border:1px dashed var(--line-2); border-radius:var(--r-lg); padding:26px 18px; text-align:center; color:var(--sub-2); background:var(--bg-softer);}
.empty b{display:block; color:var(--ink); font-size:15px; margin-bottom:6px; font-weight:800;}
.empty p{margin:0; font-size:13px; line-height:1.55;}

/* ---------- tab bar ---------- */
.tabbar{
  position:fixed; left:50%; transform:translateX(-50%); bottom:0; width:100%; max-width:460px; z-index:40;
  background:rgba(255,255,255,.96); backdrop-filter:blur(18px); border-top:1px solid var(--line);
  display:grid; grid-template-columns:repeat(3,1fr); padding:8px 6px calc(8px + env(safe-area-inset-bottom));
}
.tab{display:flex; flex-direction:column; align-items:center; gap:4px; color:#A9B0B8; font-size:11px; font-weight:700; padding:6px 0; border-radius:14px;}
.tab svg{width:23px;height:23px;}
.tab.on{color:var(--ink);}
.tab.on svg{filter:drop-shadow(0 3px 6px rgba(15,19,24,.14));}
.tab .badge{position:absolute;}

/* ---------- screens ---------- */
.screen{position:absolute; inset:0; background:#fff; z-index:50; display:flex; flex-direction:column; overflow:hidden; transform:translateX(100%); transition:transform .28s cubic-bezier(.22,.61,.36,1);}
.screen.open{transform:translateX(0);}
.screen-body{flex:1; overflow-y:auto; -webkit-overflow-scrolling:touch;}
.screen-foot{padding:12px 18px calc(12px + env(safe-area-inset-bottom)); border-top:1px solid var(--line); background:#fff; display:flex; gap:8px; align-items:center;}
.screen-foot .btn-primary, .screen-foot .btn-green, .screen-foot .btn-ghost{width:auto; flex:1; min-width:0; white-space:nowrap; font-size:15px; letter-spacing:-.02em;}
.btn-primary svg, .btn-green svg, .btn-ghost svg{width:19px; height:19px;}
.screen-foot .grow{flex:1;}
.btn-primary{background:var(--ink); color:#fff; height:54px; border-radius:18px; font-size:16px; font-weight:800; width:100%; display:inline-flex; align-items:center; justify-content:center; gap:7px; letter-spacing:-.02em;}
.btn-primary:disabled{opacity:.45;}
.btn-green{background:var(--green); color:#06231A; height:54px; border-radius:18px; font-size:16px; font-weight:800; width:100%; display:inline-flex; align-items:center; justify-content:center; gap:7px;}
.btn-ghost{background:#fff; border:1px solid var(--line-2); color:var(--ink); height:54px; border-radius:18px; font-size:15px; font-weight:800; display:inline-flex; align-items:center; justify-content:center; gap:6px; padding:0 18px;}
.btn-sq{width:54px; height:54px; border-radius:18px; border:1px solid var(--line-2); display:grid; place-items:center; background:#fff; flex:none;}

/* ---------- analyzing ---------- */
.analyzing{padding:24px 20px 30px; display:flex; flex-direction:column; gap:16px;}
.an-card{background:linear-gradient(150deg,#141A21,#0C1115); color:#fff; border-radius:var(--r-xl); padding:22px 20px; position:relative; overflow:hidden;}
.an-card::after{content:''; position:absolute; width:220px;height:220px; right:-70px; top:-80px; border-radius:50%; background:radial-gradient(circle, rgba(0,224,150,.22), transparent 70%);}
.an-thumb{width:100%; aspect-ratio:1.35; border-radius:18px; background:#10161B; border:1px solid rgba(255,255,255,.08); overflow:hidden; display:grid; place-items:center; margin-bottom:16px;}
.an-thumb img{width:100%; height:100%; object-fit:cover;}
.an-thumb .scanline{position:absolute; left:0; right:0; height:2px; background:linear-gradient(90deg,transparent,var(--green),transparent); animation:scan 1.6s ease-in-out infinite;}
@keyframes scan{0%{top:10%}50%{top:85%}100%{top:10%}}
.an-steps{display:flex; flex-direction:column; gap:12px;}
.step{display:flex; align-items:center; gap:11px; font-size:14px; font-weight:700; color:#6E7781;}
.step .dot{width:22px;height:22px;border-radius:50%; border:2px solid #333B45; display:grid; place-items:center; flex:none;}
.step .dot svg{width:12px;height:12px; color:#0B1A15; opacity:0;}
.step.active{color:#fff;}
.step.active .dot{border-color:var(--green); box-shadow:0 0 0 4px rgba(0,224,150,.14);}
.step.active .dot::after{content:''; width:8px;height:8px;border-radius:50%; background:var(--green); animation:pulse 1s infinite;}
.step.done{color:#CBD3DA;}
.step.done .dot{background:var(--green); border-color:var(--green);}
.step.done .dot svg{opacity:1;}
.step small{margin-left:auto; font-size:11.5px; color:#5E6771; font-weight:600;}
@keyframes pulse{0%,100%{opacity:1}50%{opacity:.35}}
.an-note{font-size:12.5px; color:#7C858F; line-height:1.6;}

/* ---------- link screen ---------- */
.urlbar{display:flex; align-items:center; gap:10px; padding:11px 12px; border:1px solid var(--line); border-radius:16px; background:#fff; margin:4px 0 14px;}
.urlbar .si{width:30px;height:30px;border-radius:9px;display:grid;place-items:center;flex:none;}
.urlbar input{flex:1; border:0; outline:none; font-size:13px; font-weight:600; color:var(--text); min-width:0;}
.chip-ok{display:inline-flex; align-items:center; gap:4px; color:var(--green-deep); font-size:12.5px; font-weight:800; background:var(--green-soft); padding:6px 9px; border-radius:10px; flex:none;}
.chip-line{border:1px solid var(--line-2); font-size:12.5px; font-weight:700; padding:6px 10px; border-radius:10px; color:var(--sub); flex:none;}

.sns-post{border:1px solid var(--line); border-radius:var(--r-lg); overflow:hidden; background:#fff; box-shadow:var(--shadow-card);}
.sns-head{display:flex; align-items:center; gap:10px; padding:12px 14px;}
.sns-head .av{width:36px;height:36px;border-radius:50%; background:linear-gradient(140deg,#E8C9A6,#C79C72); flex:none;}
.sns-head .who{flex:1; min-width:0;}
.sns-head .who b{display:block; font-size:14px; font-weight:800;}
.sns-head .who span{font-size:11.5px; color:var(--sub-2); font-weight:600;}
.sns-media{position:relative; background:#0F1318; aspect-ratio:4/5.4; overflow:hidden;}
.sns-media.yt{aspect-ratio:16/9;}
.sns-media img{width:100%; height:100%; object-fit:cover;}
.sns-media .reel{position:absolute; left:12px; top:12px; background:rgba(15,19,24,.72); color:#fff; font-size:11.5px; font-weight:700; padding:5px 9px; border-radius:8px; display:inline-flex; gap:5px; align-items:center;}
.sns-media .pin{position:absolute; border:2px solid #fff; border-radius:12px; box-shadow:0 0 0 3px rgba(0,224,150,.35);}
.sns-media .pin::before{content:'상품 인식'; position:absolute; top:-27px; left:-2px; background:var(--green); color:#06231A; font-size:11px; font-weight:800; padding:4px 8px; border-radius:7px; white-space:nowrap;}
.sns-caption{padding:14px; font-size:13.5px; line-height:1.6; color:#31383F; font-weight:500; white-space:pre-wrap;}
.sns-caption .tags{color:#2F6BFF; font-weight:700;}

.clues{margin-top:16px;}
.clues-head{display:flex; align-items:center; justify-content:space-between; margin-bottom:10px;}
.clues-head b{display:flex; align-items:center; gap:6px; font-size:15px; font-weight:800;}
.clues-head b svg{width:16px;height:16px;color:var(--green);}
.clues-head span{font-size:11.5px; color:var(--sub-2); font-weight:600;}
.chips{display:flex; flex-wrap:wrap; gap:7px;}
.chip{padding:8px 12px; border-radius:999px; font-size:12.5px; font-weight:700; background:#F5F6F8; color:#3D454E; border:1px solid transparent;}
.chip.green{background:var(--green-soft); color:var(--green-deep); border-color:var(--green-line);}
.chip.out{background:#fff; border-color:var(--line-2); color:var(--sub);}

.match-card{margin-top:16px; border:1px solid var(--green-line); background:linear-gradient(180deg,#F1FCF7,#FFFFFF); border-radius:var(--r-lg); padding:16px;}
.match-head{display:flex; align-items:center; gap:7px; color:var(--green-deep); font-size:13px; font-weight:800;}
.match-head svg{width:16px;height:16px;}
.match-body{display:flex; gap:12px; align-items:center; margin-top:12px;}
.match-body .thumb{width:62px;height:62px;border-radius:14px;background:#fff;border:1px solid var(--line); display:grid; place-items:center; overflow:hidden; flex:none;}
.match-body .thumb img{width:100%;height:100%;object-fit:contain;}
.match-body .info{flex:1; min-width:0;}
.match-body .info .b{font-size:11px; font-weight:800; color:#9AA2AB; letter-spacing:.05em;}
.match-body .info .n{font-size:15px; font-weight:800; letter-spacing:-.02em; margin-top:2px;}
.match-body .info .s{font-size:12px; color:var(--sub-2); margin-top:3px; font-weight:600;}
.match-rate{text-align:right; flex:none;}
.match-rate b{font-size:22px; font-weight:800; color:var(--green-deep); letter-spacing:-.03em;}
.match-rate span{display:block; font-size:10.5px; color:var(--sub-2); font-weight:700;}
.match-actions{display:flex; gap:8px; margin-top:14px;}
.match-actions .btn-primary{height:48px; font-size:14.5px; border-radius:14px; flex:1.3;}
.match-actions .btn-ghost{height:48px; font-size:14px; border-radius:14px; flex:1;}

.hint-box{margin-top:16px;}
.hint-box .lb{display:flex; align-items:center; justify-content:space-between; font-size:13px; font-weight:700; margin-bottom:8px;}
.hint-box .lb span{font-size:11px; color:var(--sub-2); font-weight:600;}
.hint-input{display:flex; align-items:center; gap:8px; border:1px dashed var(--line-2); border-radius:14px; padding:12px; background:var(--bg-softer);}
.hint-input input{flex:1; border:0; background:transparent; outline:none; font-size:13px; font-weight:600;}
.hint-input .go{background:#fff; border:1px solid var(--line-2); border-radius:10px; padding:6px 12px; font-size:12.5px; font-weight:800;}

/* ---------- compare ---------- */
.cmp-head{display:flex; gap:12px; align-items:center; padding:6px 18px 14px;}
.cmp-head .thumb{width:54px;height:54px;border-radius:14px;background:var(--bg-soft); display:grid; place-items:center; overflow:hidden; flex:none;}
.cmp-head .thumb img{width:100%;height:100%;object-fit:contain;}
.cmp-head .info{flex:1; min-width:0;}
.cmp-head .info .b{font-size:10.5px; font-weight:800; color:#9AA2AB; letter-spacing:.06em;}
.cmp-head .info .n{font-size:16px; font-weight:800; letter-spacing:-.03em; margin-top:2px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
.cmp-head .info .s{font-size:11.5px; color:var(--sub-2); margin-top:3px; font-weight:600;}
.ai-rate{background:var(--green-soft); color:var(--green-deep); font-size:12px; font-weight:800; padding:7px 10px; border-radius:11px; flex:none; display:inline-flex; align-items:center; gap:4px;}
.ai-rate svg{width:13px;height:13px;}

.judge{
  margin:0 18px; border-radius:22px; padding:18px; color:#fff; position:relative; overflow:hidden;
  background:radial-gradient(120% 140% at 85% 20%, rgba(0,224,150,.18), transparent 55%), linear-gradient(150deg,#151B22,#0C1116);
  box-shadow:0 14px 30px rgba(10,14,18,.22);
}
.judge-top{display:flex; align-items:center; justify-content:space-between; font-size:11.5px; color:#8E97A1; font-weight:700;}
.judge-top .l{display:inline-flex; align-items:center; gap:5px; color:#A9B3BD;}
.judge-top .l svg{width:13px;height:13px;color:var(--green);}
.judge-grid{display:flex; align-items:flex-end; gap:14px; margin-top:12px;}
.judge-col{flex:1;}
.judge-col .k{font-size:11.5px; color:#89929C; font-weight:700;}
.judge-col .v{font-size:25px; font-weight:800; letter-spacing:-.04em; margin-top:3px; line-height:1.05;}
.judge-col .v small{font-size:12px; font-weight:700; color:#9AA3AD; margin-left:2px;}
.judge-col.acc .v{color:var(--green);}
.judge-pct{width:74px;height:74px;border-radius:20px;background:var(--green); color:#04301F; display:grid; place-items:center; text-align:center; flex:none; box-shadow:0 10px 22px rgba(0,224,150,.32);}
.judge-pct b{font-size:21px; font-weight:800; letter-spacing:-.03em; line-height:1;}
.judge-pct span{font-size:9.5px; font-weight:800; margin-top:2px; display:block;}
.judge-note{margin-top:12px; padding-top:11px; border-top:1px solid rgba(255,255,255,.08); font-size:12px; color:#98A2AC; font-weight:600;}
.judge-note b{color:var(--green); font-weight:800;}
.judge-note b.red{color:#FF7A7A;}

.filters{display:flex; gap:8px; padding:16px 18px 10px; overflow-x:auto; scrollbar-width:none;}
.filters::-webkit-scrollbar{display:none;}
.fchip{border:1px solid var(--line-2); background:#fff; color:var(--sub); border-radius:999px; padding:9px 13px; font-size:12.5px; font-weight:700; white-space:nowrap; flex:none;}
.fchip b{color:var(--sub-2); font-weight:700; margin-left:3px;}
.fchip.on{background:var(--ink); border-color:var(--ink); color:#fff;}
.fchip.on b{color:var(--green);}
.sortline{display:flex; align-items:center; justify-content:space-between; padding:2px 18px 10px; font-size:11.5px; color:var(--sub-2); font-weight:600;}
.sortline .sort{display:inline-flex; align-items:center; gap:3px; color:var(--sub); font-weight:700;}

.sellers{padding:0 18px; display:flex; flex-direction:column; gap:9px;}
.seller{display:flex; align-items:center; gap:11px; border:1px solid var(--line); border-radius:18px; padding:13px 13px; background:#fff; position:relative;}
.seller.best{border:1.5px solid var(--green); box-shadow:0 8px 20px rgba(0,224,150,.13);}
.seller.best::before{content:''; position:absolute; left:-4px; top:16px; bottom:16px; width:3px; border-radius:3px; background:var(--green);}
.seller .slogo{width:42px;height:42px;border-radius:12px; display:grid; place-items:center; color:#fff; font-weight:800; font-size:16px; flex:none;}
.seller .info{flex:1; min-width:0;}
.seller .nm{display:flex; align-items:center; gap:5px; font-size:14px; font-weight:800; letter-spacing:-.02em; flex-wrap:wrap;}
.seller .tag{font-size:10px; font-weight:800; padding:3px 6px; border-radius:6px; background:#F2F4F6; color:#5C6570;}
.seller .tag.g{background:var(--green-soft); color:var(--green-deep);}
.seller .tag.b{background:#EEF3FF; color:#2F6BFF;}
.seller .tag.a{background:#FFF4E6; color:#B26B00;}
.seller .pr{margin-top:5px; display:flex; align-items:baseline; gap:6px;}
.seller .pr b{font-size:19px; font-weight:800; letter-spacing:-.03em;}
.seller .pr small{font-size:11.5px; color:var(--sub-2); font-weight:600;}
.seller .dl{font-size:11.5px; color:var(--sub-2); margin-top:4px; font-weight:500; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
.seller .go{background:#F4F5F7; color:var(--ink); border-radius:12px; padding:10px 14px; font-size:13px; font-weight:800; flex:none; display:inline-flex; align-items:center; gap:3px;}
.seller.best .go{background:var(--green); color:#052A1D;}
.rep-inline{margin-top:5px; font-size:10.5px; font-weight:700; color:#A9B0B8; text-decoration:underline; text-underline-offset:2px;}

.used-card{margin:18px; border:1px solid var(--line); border-radius:var(--r-lg); padding:16px; background:var(--bg-softer);}
.used-card .h{display:flex; align-items:center; justify-content:space-between; margin-bottom:10px;}
.used-card .h b{font-size:15px; font-weight:800;}
.used-card .h span{font-size:11px; color:var(--sub-2); font-weight:600;}
.used-range{display:flex; align-items:baseline; gap:8px; margin-bottom:10px;}
.used-range b{font-size:22px; font-weight:800; letter-spacing:-.03em;}
.used-range span{font-size:12px; color:var(--sub-2); font-weight:600;}
.used-list{display:flex; flex-direction:column; gap:7px;}
.used-item{display:flex; align-items:center; justify-content:space-between; gap:10px; background:#fff; border:1px solid var(--line); border-radius:12px; padding:10px 12px; font-size:12.5px;}
.used-item span{color:#3D454E; font-weight:600; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;}
.used-item b{color:var(--ink); font-weight:800; flex:none;}
.used-links{display:flex; gap:7px; margin-top:11px; flex-wrap:wrap;}
.used-links a{font-size:11.5px; font-weight:800; color:#3D454E; background:#fff; border:1px solid var(--line-2); padding:7px 10px; border-radius:10px; display:inline-flex; align-items:center; gap:3px;}
.notice{margin:16px 18px 0; font-size:11.5px; color:#9AA2AB; line-height:1.65; background:#FAFBFC; border:1px solid var(--line); border-radius:14px; padding:12px 13px;}
.notice b{color:#5C6570;}

/* ---------- photo screen ---------- */
.photo-wrap{position:relative; margin:4px 18px 0; border-radius:22px; overflow:hidden; background:#0F1318;}
.photo-wrap img{width:100%; max-height:52vh; object-fit:contain; background:#0F1318;}
.photo-badge{position:absolute; left:12px; bottom:12px; background:rgba(255,255,255,.94); color:#0F1318; font-size:12px; font-weight:800; padding:8px 11px; border-radius:11px; display:inline-flex; align-items:center; gap:5px;}
.photo-badge svg{width:13px;height:13px;color:var(--green-deep);}
.photo-top{position:absolute; left:12px; top:12px; background:rgba(15,19,24,.66); color:#fff; font-size:11.5px; font-weight:700; padding:6px 10px; border-radius:9px; display:inline-flex; align-items:center; gap:5px;}
.photo-retake{position:absolute; right:12px; bottom:12px; background:rgba(15,19,24,.72); color:#fff; font-size:12px; font-weight:700; padding:8px 11px; border-radius:11px; display:inline-flex; gap:5px; align-items:center;}
.cand-title{padding:18px 18px 4px;}
.cand-title h2{margin:0; font-size:22px; font-weight:800; letter-spacing:-.04em;}
.cand-title p{margin:6px 0 0; font-size:13px; color:var(--sub-2); font-weight:600;}
.cand-list{padding:12px 18px 0; display:flex; flex-direction:column; gap:9px;}
.cand{display:flex; align-items:center; gap:11px; border:1px solid var(--line); border-radius:18px; padding:11px; background:#fff; text-align:left; width:100%;}
.cand.on{border:1.5px solid var(--green); box-shadow:0 8px 20px rgba(0,224,150,.12);}
.cand .thumb{width:56px;height:56px;border-radius:13px;background:var(--bg-soft); display:grid; place-items:center; overflow:hidden; flex:none;}
.cand .thumb img{width:100%;height:100%;object-fit:contain;}
.cand .info{flex:1; min-width:0;}
.cand .info .n{font-size:14.5px; font-weight:800; letter-spacing:-.02em; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
.cand .info .m{font-size:11px; color:var(--sub-2); font-weight:600; margin-top:2px;}
.cand .info .p{font-size:12px; margin-top:4px; color:var(--sub); font-weight:700;}
.cand .info .p b{color:var(--ink); font-weight:800;}
.cand .rate{font-size:11.5px; font-weight:800; color:var(--green-deep); flex:none; text-align:right;}
.cand .radio{width:24px;height:24px;border-radius:50%; border:2px solid var(--line-2); flex:none; display:grid; place-items:center;}
.cand.on .radio{background:var(--green); border-color:var(--green);}
.cand.on .radio svg{width:13px;height:13px;color:#fff;}

/* ---------- saved ---------- */
.saved-hero{margin:2px 18px 0; border-radius:22px; padding:18px; color:#fff; background:radial-gradient(120% 140% at 85% 15%, rgba(0,224,150,.2), transparent 55%), linear-gradient(150deg,#151B22,#0C1116); position:relative; overflow:hidden;}
.saved-hero .lb{display:flex; align-items:center; gap:5px; font-size:11.5px; color:#9AA3AD; font-weight:700;}
.saved-hero .lb svg{width:13px;height:13px;color:var(--green);}
.saved-hero .amt{font-size:32px; font-weight:800; letter-spacing:-.04em; margin-top:8px;}
.saved-hero .amt small{font-size:14px; color:#98A2AC; margin-left:3px;}
.saved-hero .sub{font-size:12px; color:#8A939D; margin-top:5px; font-weight:600;}
.saved-hero .goal{position:absolute; right:16px; top:16px; white-space:nowrap; background:rgba(0,224,150,.12); border:1px solid rgba(0,224,150,.4); color:#5BF0BF; font-size:11.5px; font-weight:800; padding:7px 10px; border-radius:11px; display:inline-flex; gap:4px; align-items:center;}
.saved-hero .cnt{position:absolute; right:16px; bottom:18px; font-size:11px; color:#8A939D; font-weight:600;}
.save-card{margin:0 18px 10px; border:1px solid var(--line); border-radius:20px; padding:14px; background:#fff; position:relative; overflow:hidden;}
.save-card .top{display:flex; align-items:center; gap:11px;}
.save-card .thumb{width:48px;height:48px;border-radius:12px;background:var(--bg-soft); display:grid; place-items:center; overflow:hidden; flex:none;}
.save-card .thumb img{width:100%;height:100%;object-fit:contain;}
.save-card .nm{flex:1; min-width:0;}
.save-card .nm .b{font-size:10px; font-weight:800; color:#9AA2AB; letter-spacing:.06em;}
.save-card .nm .n{font-size:14.5px; font-weight:800; letter-spacing:-.02em; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
.switch{width:46px; height:27px; border-radius:999px; background:#E4E7EB; position:relative; flex:none; transition:background .2s;}
.switch::after{content:''; position:absolute; top:3px; left:3px; width:21px;height:21px;border-radius:50%; background:#fff; box-shadow:0 1px 3px rgba(0,0,0,.2); transition:transform .2s;}
.switch.on{background:var(--green);}
.switch.on::after{transform:translateX(19px);}
.save-card .graph{margin:12px 0 8px; height:74px;}
.save-card .foot{display:flex; align-items:center; justify-content:space-between; font-size:11.5px; color:var(--sub-2); font-weight:600;}
.save-card .foot .pnew b{color:var(--ink); font-size:13px; font-weight:800;}
.save-card .foot .pused b{color:var(--green-deep); font-size:13px; font-weight:800;}
.save-card .foot .goal{color:var(--sub); font-weight:700;}
.save-card .swipe-del{position:absolute; right:0; top:0; bottom:0; width:78px; background:#FFECEC; color:#D93A3A; display:grid; place-items:center; font-size:12px; font-weight:800; opacity:0; transition:opacity .2s;}
.save-card.swiped{transform:translateX(-78px); transition:transform .22s;}
.save-card.swiped .swipe-del{opacity:1;}

/* ---------- history ---------- */
.hist-item{display:flex; align-items:center; gap:11px; padding:12px 2px; border-bottom:1px solid #F2F4F6; text-align:left; width:100%;}
.hist-ic{width:38px;height:38px;border-radius:12px; background:var(--bg-soft); display:grid; place-items:center; flex:none; color:#5C6570;}
.hist-ic svg{width:17px;height:17px;}
.hist-body{flex:1; min-width:0;}
.hist-body .q{font-size:13.5px; font-weight:700; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
.hist-body .m{font-size:11.5px; color:var(--sub-2); margin-top:3px; font-weight:600; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
.hist-price{text-align:right; flex:none;}
.hist-price b{font-size:13.5px; font-weight:800;}
.hist-price span{display:block; font-size:10.5px; color:var(--sub-2); margin-top:2px; font-weight:600;}

/* ---------- auth ---------- */
.auth-wrap{position:absolute; inset:0; z-index:60; display:flex; flex-direction:column;}
.auth-top{background:radial-gradient(120% 120% at 80% 12%, rgba(0,224,150,.16), transparent 55%), #0C1115; color:#fff; padding:16px 20px 22px; position:relative; overflow:hidden;}
.auth-top::before{content:''; position:absolute; inset:0; background-image:radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px); background-size:16px 16px; opacity:.5;}
.auth-top .logo-mark{width:32px;height:32px;border-radius:10px; background:#171E24; border:1px solid rgba(255,255,255,.08);}
.auth-top .logo-word{color:#fff; font-size:17px;}
.auth-top h2{font-size:25px; font-weight:800; letter-spacing:-.045em; line-height:1.25; margin:16px 0 0; position:relative;}
.auth-top h2 em{font-style:normal; color:var(--green);}
.auth-top p{font-size:12.5px; color:#98A2AC; margin:7px 0 0; font-weight:600; position:relative;}
.auth-guest{margin:16px 0 0; border:1px solid rgba(255,255,255,.09); background:rgba(255,255,255,.03); border-radius:20px; padding:14px; position:relative;}
.auth-guest .lb{font-size:11.5px; color:#9AA3AD; font-weight:700; display:flex; align-items:center; gap:5px; margin-bottom:10px;}
.auth-guest .lb .led{width:5px;height:5px;border-radius:50%; background:var(--green);}
.auth-guest-grid{display:grid; grid-template-columns:1fr 1fr; gap:7px;}
.auth-guest-grid div{display:flex; align-items:center; gap:7px; font-size:12.5px; font-weight:700; color:#E6EAEE; background:rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.06); border-radius:12px; padding:11px;}
.auth-guest-grid svg{width:15px;height:15px;color:var(--green);flex:none;}
.auth-sheet{flex:1; background:#fff; border-radius:26px 26px 0 0; margin-top:-18px; padding:20px 20px calc(16px + env(safe-area-inset-bottom)); position:relative; overflow-y:auto;}
.auth-sheet h3{margin:0; font-size:20px; font-weight:800; letter-spacing:-.03em; display:flex; align-items:center; justify-content:space-between;}
.auth-sheet h3 span{font-size:11.5px; color:var(--sub-2); font-weight:600;}
.oauth{display:flex; flex-direction:column; gap:9px; margin-top:16px;}
.oauth button{height:52px; border-radius:15px; font-size:15px; font-weight:800; display:flex; align-items:center; justify-content:center; gap:8px; width:100%; letter-spacing:-.02em; border:1px solid var(--line-2);}
.oauth .kakao{background:#FEE500; border-color:#FEE500; color:#191600;}
.oauth .google{background:#fff; color:#1F1F1F;}
.oauth .apple{background:#0F1318; border-color:#0F1318; color:#fff;}
.oauth .mail{background:#fff; color:#1F1F1F;}
.oauth svg{width:19px;height:19px;}
.auth-benefits{margin-top:18px; border-top:1px solid var(--line); padding-top:16px;}
.auth-benefits .t{text-align:center; font-size:11.5px; color:var(--sub-2); font-weight:700; margin-bottom:12px;}
.benefit-grid{display:grid; grid-template-columns:1fr 1fr; gap:7px;}
.benefit{display:flex; align-items:center; gap:6px; font-size:12.5px; font-weight:700; color:#3D454E; background:#F7F8FA; border-radius:11px; padding:10px 11px;}
.benefit svg{width:13px;height:13px;color:var(--green-deep); flex:none;}
.auth-skip{margin-top:16px; text-align:center; font-size:14px; font-weight:800; color:var(--ink); display:flex; align-items:center; justify-content:center; gap:4px; padding:10px;}
.auth-legal{text-align:center; font-size:10.5px; color:#A3AAB3; margin-top:8px; line-height:1.6;}
.auth-legal a{text-decoration:underline; color:#7A828B; font-weight:700;}
.auth-form{display:flex; flex-direction:column; gap:9px; margin-top:14px;}
.field{border:1px solid var(--line-2); border-radius:14px; padding:13px 14px; display:flex; align-items:center; gap:8px;}
.field input{flex:1; border:0; outline:none; font-size:14px; font-weight:600;}
.field.err{border-color:#FFB4B4; background:#FFF7F7;}
.form-msg{font-size:12px; font-weight:700; color:#D93A3A; min-height:16px;}
.form-msg.ok{color:var(--green-deep);}
.link-tiny{font-size:12px; font-weight:700; color:var(--sub); text-align:center; margin-top:4px;}

/* ---------- modal ---------- */
.modal-bg{position:fixed; inset:0; background:rgba(12,15,19,.5); z-index:80; display:flex; align-items:flex-end; justify-content:center; padding:0;}
.modal{width:100%; max-width:460px; background:#fff; border-radius:24px 24px 0 0; padding:20px 20px calc(18px + env(safe-area-inset-bottom)); max-height:82vh; overflow-y:auto; animation:up .24s ease;}
@keyframes up{from{transform:translateY(24px); opacity:.4}to{transform:none; opacity:1}}
.modal h3{margin:0 0 12px; font-size:18px; font-weight:800; letter-spacing:-.03em;}
.modal .doc{font-size:12.5px; color:#4A525B; line-height:1.75; white-space:pre-wrap;}
.modal .doc h4{font-size:13.5px; margin:14px 0 4px; color:var(--ink);}
.modal .close{position:absolute; right:16px; top:16px;}

/* ---------- toast ---------- */
#toast{position:fixed; left:50%; transform:translateX(-50%) translateY(20px); bottom:96px; background:rgba(15,19,24,.94); color:#fff; font-size:13px; font-weight:700; padding:12px 16px; border-radius:14px; z-index:90; opacity:0; pointer-events:none; transition:.22s; max-width:88%; text-align:center; line-height:1.45;}
#toast.show{opacity:1; transform:translateX(-50%) translateY(0);}

/* ---------- admin ---------- */
.admin{padding:18px 20px 44px; max-width:980px; margin:0 auto;}
.admin-gate{max-width:420px; margin:14vh auto; padding:0 20px;}
.admin-gate .card{padding:22px;}
.admin h1{font-size:22px; font-weight:800; letter-spacing:-.03em; margin:0 0 4px;}
.admin .sub{font-size:12px; color:var(--sub-2); font-weight:600;}
.kpis{display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; margin-top:14px;}
@media (min-width:720px){ .kpis{grid-template-columns:repeat(4,minmax(0,1fr));} }
.kpi{border:1px solid var(--line); border-radius:16px; padding:13px; background:#fff;}
.kpi .k{font-size:11px; color:var(--sub-2); font-weight:700;}
.kpi .v{font-size:24px; font-weight:800; letter-spacing:-.03em; margin-top:5px;}
.kpi .d{font-size:10.5px; color:var(--sub-2); font-weight:600; margin-top:2px;}
.panel{border:1px solid var(--line); border-radius:18px; padding:14px; background:#fff; margin-top:12px;}
.panel .h{display:flex; align-items:center; justify-content:space-between; margin-bottom:10px;}
.panel .h b{font-size:14px; font-weight:800;}
.panel .h span{font-size:10.5px; color:var(--sub-2); font-weight:600;}
.bars{display:flex; align-items:flex-end; gap:6px; height:110px;}
.bar{flex:1; display:flex; flex-direction:column; justify-content:flex-end; align-items:center; gap:4px; height:100%;}
.bar i{width:100%; border-radius:5px 5px 0 0; background:#E8EBEF; display:block;}
.bar i.g{background:var(--green);}
.bar i.d{background:var(--ink);}
.bar em{font-size:8.5px; color:#A9B0B8; font-style:normal; font-weight:700;}
.legend{display:flex; gap:10px; font-size:10.5px; color:var(--sub-2); font-weight:700; margin-top:8px;}
.legend i{width:8px;height:8px;border-radius:2px;display:inline-block;margin-right:4px;}
.table{width:100%; border-collapse:collapse; font-size:12px;}
.table th{text-align:left; color:var(--sub-2); font-weight:700; font-size:10.5px; padding:6px 4px; border-bottom:1px solid var(--line);}
.table td{padding:8px 4px; border-bottom:1px solid #F5F6F8; font-weight:600;}
.table td.r{text-align:right; font-weight:800;}
.kindbar{display:flex; gap:4px; margin-top:4px;}
.kindbar div{height:9px; border-radius:4px;}

/* misc */
.center{text-align:center;}
.muted{color:var(--sub-2);}
.tiny{font-size:11px;}
.mt8{margin-top:8px;} .mt12{margin-top:12px;} .mt16{margin-top:16px;}
.shimmer{background:linear-gradient(90deg,#F2F4F6 25%,#E9ECEF 50%,#F2F4F6 75%); background-size:200% 100%; animation:sh 1.2s infinite; border-radius:12px;}
@keyframes sh{0%{background-position:200% 0}100%{background-position:-200% 0}}

/* legal links */
.legal-links{margin-top:9px; display:flex; gap:6px; font-size:11px; color:#9AA2AB; font-weight:700;}
.legal-links a{text-decoration:underline; text-underline-offset:2px;}
