/* ali.zzxxccvv.com — mobile-first, zero-JS, Core Web Vitals friendly */
:root{
  --bg:#ffffff;--bg-2:#f6f6f7;--fg:#17181a;--fg-2:#4b4f56;--muted:#7a7f87;--line:#e7e8ea;
  --accent:#e8432e;--accent-hover:#cf3722;--accent-soft:#fdeeeb;--ok:#1f9d55;--ok-soft:#eaf7ef;
  --card:#ffffff;--shadow:0 1px 2px rgba(0,0,0,.05),0 6px 20px -8px rgba(0,0,0,.12);
  --radius:14px;--max:840px;--wide:1080px;
}
@media (prefers-color-scheme:dark){:root{
  --bg:#0f1012;--bg-2:#17181b;--fg:#ececee;--fg-2:#c3c6cc;--muted:#8b9099;--line:#26282d;
  --accent:#ff6a54;--accent-hover:#ff8370;--accent-soft:#2b1b18;--ok:#3ec37a;--ok-soft:#14261b;
  --card:#17181b;--shadow:0 1px 2px rgba(0,0,0,.4),0 8px 24px -8px rgba(0,0,0,.6);
}}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--fg);font:16px/1.8 Pretendard,-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Noto Sans KR","Malgun Gothic",sans-serif;word-break:keep-all;overflow-wrap:anywhere}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto;display:block}
.wrap{max-width:var(--max);margin:0 auto;padding:0 18px}
main{padding:20px 18px 80px}

/* header */
.site-header{position:sticky;top:0;z-index:20;background:color-mix(in srgb,var(--bg) 88%,transparent);backdrop-filter:saturate(1.4) blur(10px);border-bottom:1px solid var(--line)}
.site-header .wrap{max-width:var(--wide);display:flex;align-items:center;gap:22px;height:58px}
.logo{display:flex;align-items:center;gap:8px;font-weight:800;font-size:1.2rem;letter-spacing:-.02em;color:var(--fg);flex:0 0 auto}
.logo img{width:26px;height:26px;border-radius:7px}
.logo-ko{font-weight:600;font-size:.85rem;color:var(--muted);margin-left:-2px}
.cats{display:flex;gap:4px;overflow-x:auto;scrollbar-width:none;-ms-overflow-style:none;white-space:nowrap}
.cats::-webkit-scrollbar{display:none}
.cats a{font-size:.88rem;color:var(--fg-2);padding:6px 11px;border-radius:999px}
.cats a:hover{background:var(--bg-2);color:var(--fg)}

/* typography */
h1{font-size:clamp(1.55rem,4.5vw,2.05rem);line-height:1.3;letter-spacing:-.02em;margin:.35em 0 .3em;font-weight:800}
h2{font-size:1.32rem;letter-spacing:-.01em;margin:2.2em 0 .7em;font-weight:750}
h3{font-size:1.05rem;margin:1.5em 0 .5em;font-weight:700}
.meta,.breadcrumb{color:var(--muted);font-size:.85rem}
.breadcrumb a:hover{color:var(--fg)}
.body p{margin:0 0 1.1em;color:var(--fg)}
.body ul,.body ol{padding-left:1.3em}
.body li{margin:.25em 0}
.body table{border-collapse:collapse;width:100%;font-size:.92rem;margin:14px 0;overflow:hidden;border-radius:10px;border:1px solid var(--line)}
.body th,.body td{border-bottom:1px solid var(--line);padding:9px 12px;text-align:left}
.body th{background:var(--bg-2);font-weight:600}
.body tr:last-child td{border-bottom:0}
.body strong{font-weight:700}
figure{margin:22px 0}
figure img{border-radius:12px;width:100%;max-height:520px;object-fit:contain;background:var(--bg-2)}
.hero img{max-height:440px}
figcaption{font-size:.8rem;color:var(--muted);text-align:center;margin-top:8px}

/* notices */
.disclosure-top{font-size:.78rem;color:var(--muted);background:var(--bg-2);padding:9px 13px;border-radius:9px;margin:14px 0}
.pc-note{font-size:.76rem;color:var(--muted);margin:10px 0 0}

/* product card (in-article) */
.product-card{border:1px solid var(--line);border-radius:var(--radius);padding:18px;margin:22px 0 28px;background:var(--card);box-shadow:var(--shadow)}
.pc-title{font-weight:600;font-size:.95rem;color:var(--fg-2);margin:0 0 10px;line-height:1.5}
.pc-facts{list-style:none;padding:0;margin:0 0 14px;display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:10px}
.pc-facts li{background:var(--bg-2);border-radius:10px;padding:8px 12px;font-size:.92rem;line-height:1.5}
.pc-facts strong{display:block;color:var(--muted);font-weight:500;font-size:.72rem;letter-spacing:.02em}
.pc-facts s{color:var(--muted);font-weight:400;font-size:.85em;margin-left:6px}
.pc-facts.inline{display:flex;flex-wrap:wrap;gap:8px 16px;margin:6px 0 10px}
.pc-facts.inline li{background:none;padding:0;font-size:.88rem}
.pc-facts.inline strong{display:inline;margin-right:4px}
.btn-buy{display:inline-flex;align-items:center;justify-content:center;gap:6px;background:var(--accent);color:#fff;font-weight:700;padding:13px 22px;border-radius:11px;font-size:1rem;width:100%;transition:background .15s,transform .1s}
.btn-buy:hover{background:var(--accent-hover)}
.btn-buy:active{transform:translateY(1px)}
.btn-more{display:inline-block;color:var(--accent);font-weight:600;padding:10px 4px}
.cta{margin:30px 0}
.cta .btn-buy{width:auto;min-width:280px}
.cta-row{display:flex;flex-wrap:wrap;gap:8px 16px;align-items:center;margin:12px 0 4px}
.cta-row .btn-buy{width:auto}

/* pros/cons */
.pros-cons{display:grid;grid-template-columns:1fr 1fr;gap:14px}
@media(max-width:600px){.pros-cons{grid-template-columns:1fr}}
.pros,.cons{border-radius:12px;padding:6px 18px 10px;border:1px solid var(--line)}
.pros{background:var(--ok-soft)}.cons{background:var(--accent-soft)}
.pros h3{color:var(--ok);margin-top:.8em}.cons h3{color:var(--accent);margin-top:.8em}
.pros ul,.cons ul{padding-left:1.1em;margin:.4em 0 .6em}

/* faq */
.faq details{border:1px solid var(--line);border-radius:11px;padding:11px 16px;margin:8px 0;background:var(--card)}
.faq summary{cursor:pointer;font-weight:600;list-style:none;display:flex;justify-content:space-between;gap:12px}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";color:var(--muted);font-weight:400}
.faq details[open] summary::after{content:"–"}
.faq p{margin:.6em 0 .2em;color:var(--fg-2)}
.tags{margin-top:28px}
.tags span{display:inline-block;font-size:.78rem;color:var(--muted);background:var(--bg-2);padding:3px 10px;border-radius:999px;margin:0 6px 6px 0}

/* cards / grid */
.grid{list-style:none;padding:0;margin:14px 0;display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:16px}
@media(max-width:520px){.grid{grid-template-columns:1fr 1fr;gap:12px}}
.card a{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;background:var(--card);height:100%;transition:transform .15s,box-shadow .15s}
.card a:hover{transform:translateY(-2px);box-shadow:var(--shadow)}
.card img{aspect-ratio:1/1;object-fit:cover;width:100%;background:var(--bg-2)}
.card-cat{display:block;font-size:.72rem;color:var(--accent);font-weight:600;padding:11px 13px 0}
.card-title{display:-webkit-box;font-weight:650;margin:3px 13px 4px;line-height:1.45;font-size:.97rem;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.card-desc{display:-webkit-box;font-size:.8rem;color:var(--muted);margin:0 13px 8px;line-height:1.5;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
@media(max-width:520px){.card-desc{display:none}}
.card-price{display:block;padding:0 13px 13px;margin-top:auto;font-weight:800;color:var(--fg);font-size:.98rem}
.related{margin-top:56px;padding-top:8px;border-top:1px solid var(--line)}
.related h2{margin-top:1.2em}

/* home */
.hero-copy{padding:18px 0 6px}
.hero-copy h1{font-size:clamp(1.6rem,5vw,2.3rem)}
.hero-copy p{color:var(--fg-2);margin:0;font-size:1.02rem}
.roundups{margin:22px 0 10px}
.roundups h2{margin:1em 0 .5em;font-size:1.05rem;color:var(--muted);font-weight:600}
.roundups .list{list-style:none;padding:0;margin:0;display:flex;gap:10px;overflow-x:auto;scrollbar-width:none}
.roundups .list li{flex:0 0 auto}
.roundups .list a{display:inline-block;background:var(--accent-soft);color:var(--accent);font-weight:600;font-size:.88rem;padding:8px 14px;border-radius:999px;white-space:nowrap}
.roundups .list small{display:none}
.toc{background:var(--bg-2);padding:14px 14px 14px 34px;border-radius:12px;margin:0 0 6px}
.toc li{margin:.15em 0}
.roundup-item{margin-top:10px;padding-bottom:6px}
.roundup-item h2{margin-top:1.8em}
.pagination{display:flex;gap:8px;justify-content:center;margin:36px 0 10px}
.pagination a,.pagination .cur{padding:7px 13px;border:1px solid var(--line);border-radius:9px;font-size:.92rem}
.pagination .cur{background:var(--fg);color:var(--bg);border-color:var(--fg)}

/* footer */
.site-footer{border-top:1px solid var(--line);padding:26px 0 30px;font-size:.8rem;color:var(--muted);background:var(--bg-2)}
.site-footer .wrap{max-width:var(--wide)}
.disclosure{margin:0 0 8px}
.site-footer a:hover{color:var(--fg)}

/* mobile sticky CTA */
.sticky-cta{display:none}
@media(max-width:720px){
  .sticky-cta{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:30;gap:12px;align-items:center;padding:10px 14px calc(10px + env(safe-area-inset-bottom));background:color-mix(in srgb,var(--bg) 92%,transparent);backdrop-filter:blur(10px);border-top:1px solid var(--line)}
  .sticky-cta .price{font-weight:800;font-size:1.05rem;white-space:nowrap}
  .sticky-cta .price small{display:block;font-weight:500;font-size:.7rem;color:var(--muted)}
  .sticky-cta .btn-buy{flex:1;padding:12px 14px;font-size:.95rem}
}
