*{box-sizing:border-box}
:root{
  --blue:#0d66d0;
  --ink:#22262a;
  --muted:#727a84;
  --line:#e7eaee;
  --brand:#5a43a4;
}
html,body{
  margin:0;
  min-height:100%;
  background:#fff;
}
body{
  font-family:-apple-system,BlinkMacSystemFont,"Noto Sans KR","Apple SD Gothic Neo","Malgun Gothic",Arial,sans-serif;
  color:var(--ink);
  -webkit-font-smoothing:antialiased;
}
button,input{font:inherit}

.header{
  background:#fff;
  border-bottom:1px solid var(--line);
}
.search-shell{
  height:56px;
  margin:12px 14px 10px;
  padding:0 10px 0 12px;
  display:flex;
  align-items:center;
  border:1.5px solid #d4d9df;
  border-radius:28px;
  background:#fff;
  box-shadow:0 2px 9px rgba(35,58,85,.08);
}
.brandmark{
  width:28px;
  height:28px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:23px;
  font-weight:950;
  font-style:italic;
  color:var(--brand);
  margin-right:5px;
  letter-spacing:-2px;
}
.brandname{
  font-size:16px;
  font-weight:900;
  letter-spacing:-.8px;
  color:#25282c;
  white-space:nowrap;
}
.divider{
  width:1px;
  height:25px;
  background:#d8dce1;
  margin:0 13px;
}
.search-shell input{
  flex:1;
  min-width:0;
  height:46px;
  border:0;
  outline:0;
  background:transparent;
  font-size:19px;
  font-weight:650;
  letter-spacing:-.55px;
  color:#111;
  padding:0;
}
.search-button{
  width:42px;
  height:42px;
  border:0;
  background:transparent;
  color:#0a66d4;
  font-size:30px;
  line-height:1;
  transform:rotate(-13deg);
  cursor:pointer;
  padding:0;
}
.search-shell:focus-within{
  border-color:#b9c5d2;
  box-shadow:0 2px 10px rgba(35,58,85,.11);
}

.tabs{
  height:46px;
  display:flex;
  align-items:stretch;
}
.tabs button{
  position:relative;
  flex:1;
  border:0;
  background:#fff;
  color:#69717a;
  font-size:13px;
  font-weight:600;
}
.tabs button.active{
  color:#075fd0;
  font-weight:900;
}
.tabs button.active::after{
  content:"";
  position:absolute;
  left:24%;
  right:24%;
  bottom:0;
  height:3px;
  border-radius:3px 3px 0 0;
  background:#1267d5;
}

.page{
  padding:0 14px 28px;
}
.result-head{
  height:58px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-bottom:1px solid var(--line);
}
.result-head>div{
  font-size:13px;
  color:#545b63;
}
.result-head strong{
  font-size:16px;
  color:#111;
}
.result-head .count{
  margin-left:4px;
  font-size:13px;
  color:#5f6670;
  font-weight:500;
}
.sort{
  border:0;
  background:transparent;
  color:#69727a;
  font-size:12px;
  cursor:pointer;
}

.news-list{
  width:100%;
}
.news-item{
  display:grid;
  grid-template-columns:minmax(0,1fr) 94px;
  column-gap:14px;
  padding:15px 0 17px;
  border-bottom:1px solid var(--line);
  cursor:pointer;
  align-items:center;
}
.news-item:active{
  background:#fafbfc;
}
.article-copy{
  min-width:0;
}
.source-row{
  display:flex;
  align-items:center;
  gap:6px;
  margin-bottom:7px;
  min-width:0;
}
.badge-d{background:#3f4750}
.badge-e{background:#dd2424}
.badge-s{background:#202020}
.badge-n{background:#4663c9}
.source{
  color:#25292d;
  font-size:10px;
  font-weight:800;
  white-space:nowrap;
}
.date{
  margin-left:auto;
  color:#9299a1;
  font-size:9px;
  white-space:nowrap;
}
.news-item h2{
  margin:0;
  color:var(--blue);
  font-size:16px;
  line-height:1.38;
  letter-spacing:-.75px;
  font-weight:850;
}
.news-item p{
  margin:7px 0 0;
  color:#444b53;
  font-size:11px;
  line-height:1.55;
  letter-spacing:-.3px;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:4;
  overflow:hidden;
}
.views{
  margin-top:8px;
  color:#89919a;
  font-size:9px;
}
.thumb{
  width:94px;
  height:116px;
  object-fit:cover;
  border-radius:7px;
  border:1px solid rgba(0,0,0,.05);
  background:#00e000;
}
.more-news{
  width:100%;
  height:52px;
  margin-top:16px;
  border:0;
  border-radius:26px;
  background:#f5f6f8;
  color:#55616f;
  font-size:14px;
  font-weight:750;
  cursor:pointer;
}
.more-news span{
  margin-left:7px;
  font-size:18px;
}

.article-page{
  position:fixed;
  inset:0;
  z-index:100;
  background:#fff;
  display:none;
  overflow-y:auto;
}
.article-page.show{
  display:block;
}
.article-header{
  position:sticky;
  top:0;
  height:54px;
  padding:0 15px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  background:rgba(255,255,255,.98);
  border-bottom:1px solid var(--line);
  z-index:2;
}
.article-header button{
  border:0;
  background:transparent;
  color:#555f69;
  font-size:31px;
  cursor:pointer;
}
.article-brand{
  color:#262a2f;
  font-size:15px;
  font-weight:900;
}
.article-brand span{
  color:var(--brand);
  margin-right:4px;
}
.article-detail{
  padding:28px 18px 70px;
}
.detail-source{
  color:#606a74;
  font-size:11px;
  font-weight:750;
}
.article-detail h1{
  margin:10px 0 0;
  font-size:27px;
  line-height:1.42;
  letter-spacing:-1.2px;
}
.detail-date{
  margin-top:10px;
  color:#9299a1;
  font-size:9px;
}
.detail-image{
  display:block;
  width:100%;
  height:260px;
  object-fit:cover;
  margin:25px 0 28px;
  background:#00e000;
}
.detail-body{
  color:#30363c;
  font-size:15px;
  line-height:2;
}
.detail-body h3{
  margin:0 0 18px;
  font-size:18px;
  line-height:1.5;
}
.detail-body p{
  margin:0 0 22px;
}

@media (min-width:600px){
  body{
    width:430px;
    margin:0 auto;
    box-shadow:0 0 0 1px #e2e5e8;
  }
}

@media (max-width:380px){
  .news-item{
    grid-template-columns:minmax(0,1fr) 82px;
    column-gap:10px;
  }
  .thumb{
    width:82px;
    height:105px;
  }
  .news-item h2{
    font-size:14px;
  }
  .news-item p{
    font-size:10px;
    -webkit-line-clamp:3;
  }
}


/* v8 refinements */
.brandmark{
  width:24px;
  height:24px;
  margin-right:4px;
  position:relative;
}
.v-shape{
  display:block;
  transform:skewX(-10deg);
  font-size:19px;
  font-weight:950;
  color:#5b4ca0;
  letter-spacing:-2px;
}
.brandname{
  font-size:14px !important;
  letter-spacing:-.55px !important;
  font-weight:850 !important;
}

.result-head{
  height:48px !important;
}
.result-label{
  display:flex;
  align-items:baseline;
  gap:5px;
}
.result-label strong{
  font-size:15px;
}
.result-label span{
  font-size:10px;
  color:#8b9299;
}
.sort-group{
  display:flex;
  align-items:center;
  gap:5px;
  color:#b0b5ba;
}
.sort-group .sort{
  padding:0;
  font-size:10px;
  color:#8c939a;
}
.sort-group .sort.active{
  color:#5b6380;
  font-weight:700;
}

.source-row{
  margin-bottom:6px;
}
.media-logo{
  display:inline-block;
  font-size:9px;
  line-height:1;
  font-weight:900;
  letter-spacing:.2px;
  color:#4b535b;
  white-space:nowrap;
}
.media-logo.daily{color:#3f4750}
.media-logo.biz{color:#a24545}
.media-logo.star{color:#2f3135}
.media-logo.city{color:#5268a4}
.source-row .date{
  margin-left:auto;
}

.subtitle{
  margin-top:4px;
  color:#2b2f34;
  font-size:12px;
  line-height:1.4;
  font-weight:700;
  letter-spacing:-.4px;
}

.views{
  display:none !important;
}

.thumb,
.detail-image{
  object-fit:contain !important;
  background:#00e000;
}

.more-news{
  margin-bottom:8px;
}
.pagination{
  height:38px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:11px;
  border-top:1px solid #eef0f2;
  color:#8b9299;
}
.pagination button{
  border:0;
  background:transparent;
  color:#7f878f;
  font-size:10px;
  padding:0;
  min-width:14px;
}
.pagination button.current{
  color:#0d66d0;
  font-weight:900;
}
.pagination .prev,
.pagination .next{
  font-size:17px;
  color:#a2a8ae;
}


/* v9 refinements */
.result-head{
  height:52px !important;
  padding:0 14px !important;
  gap:8px;
}
.result-options{
  display:flex;
  align-items:center;
  gap:7px;
  min-width:0;
  overflow:hidden;
}
.option{
  height:28px;
  padding:0 10px;
  border:1px solid #e1e4e7;
  border-radius:14px;
  background:#fff;
  color:#727980;
  font-size:10px;
  white-space:nowrap;
}
.option.active{
  color:#5b4ca0;
  border-color:#cfc8e5;
  background:#f7f5fc;
  font-weight:800;
}
.filter-button{
  border:0;
  background:transparent;
  color:#6f7780;
  font-size:10px;
  font-weight:700;
  white-space:nowrap;
}

.media-avatar{
  width:20px;
  height:20px;
  border-radius:50%;
  flex:0 0 auto;
  object-fit:cover;
  box-shadow:0 0 0 1px rgba(0,0,0,.05);
}
.media-logo{
  font-size:9.5px !important;
  line-height:1.1;
}
.source-row{
  gap:6px !important;
}

.news-item h2{
  font-size:16.5px !important;
  line-height:1.42 !important;
}
.subtitle{
  font-size:12.5px !important;
  line-height:1.45 !important;
}
.news-item p{
  font-size:11.7px !important;
  line-height:1.58 !important;
  -webkit-line-clamp:4 !important;
}
.article-detail h1{
  font-size:27.5px !important;
}
.detail-body{
  font-size:15.5px !important;
  line-height:2.02 !important;
}
.detail-body h3{
  font-size:18.5px !important;
}


/* v10 - compact option bar */
.compact-options{
  height:40px !important;
  padding:0 14px !important;
  border-bottom:1px solid #eceef1 !important;
  background:#fff;
}
.compact-options .result-options{
  display:flex;
  align-items:center;
  gap:0;
  overflow:hidden;
  min-width:0;
}
.compact-options .option{
  height:auto !important;
  padding:0 8px !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  color:#858b91;
  font-size:10px !important;
  line-height:40px;
  white-space:nowrap;
  font-weight:600;
}
.compact-options .option:first-child{
  padding-left:0 !important;
}
.compact-options .option.active{
  color:#4f438e !important;
  font-weight:850 !important;
  background:transparent !important;
}
.option-divider{
  width:1px;
  height:10px;
  background:#e2e5e8;
  flex:0 0 auto;
}
.compact-options .filter-button{
  height:26px;
  padding:0 9px !important;
  border:1px solid #e2e5e8 !important;
  border-radius:13px;
  background:#fafbfc !important;
  color:#69717a !important;
  font-size:9.5px !important;
  font-weight:700 !important;
  line-height:24px;
  white-space:nowrap;
}
.compact-options .filter-button span{
  margin-left:2px;
  font-size:9px;
  color:#90969d;
}


/* v11 - media identity consistency */
.media-avatar{
  width:22px !important;
  height:22px !important;
  border-radius:50%;
  box-shadow:0 0 0 1px rgba(0,0,0,.06);
  background:#fff;
}
.media-logo{
  font-size:9.5px !important;
  font-weight:850 !important;
  letter-spacing:.1px !important;
}
.detail-source{
  display:flex;
  align-items:center;
  gap:7px;
  color:#4f5760 !important;
  font-size:11px !important;
  font-weight:800 !important;
}
.detail-media-avatar{
  width:23px;
  height:23px;
  border-radius:50%;
  flex:0 0 auto;
  box-shadow:0 0 0 1px rgba(0,0,0,.06);
}


/* v12 - final list rhythm + article detail polish */
.news-item.excerpt-3 p{
  -webkit-line-clamp:3 !important;
}
.news-item.excerpt-4 p{
  -webkit-line-clamp:4 !important;
}

/* Detail article */
.detail-meta{
  min-height:44px;
  margin-top:10px;
  padding-bottom:12px;
  border-bottom:1px solid #eceef1;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.byline{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:4px;
  color:#8a9198;
  font-size:9.5px;
  line-height:1.4;
}
.byline #detailReporter{
  color:#5b626a;
  font-weight:750;
}
.meta-dot{
  color:#c3c7cb;
}
.detail-date{
  margin-top:0 !important;
  color:#8a9198 !important;
  font-size:9.5px !important;
}
.article-actions{
  display:flex;
  align-items:center;
  gap:6px;
  flex:0 0 auto;
}
.article-actions button{
  width:30px;
  height:30px;
  border:1px solid #e2e5e8;
  border-radius:50%;
  background:#fff;
  color:#68717a;
  font-size:15px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0;
}
.detail-figure{
  margin:24px 0 28px;
}
.detail-figure .detail-image{
  margin:0 !important;
}
.detail-figure figcaption{
  margin-top:7px;
  color:#969da4;
  font-size:9px;
  line-height:1.5;
  letter-spacing:-.15px;
}
.detail-body{
  padding-top:2px;
}


/* v13 - larger search-result preview copy */
.news-item p{
  font-size:13px !important;
  line-height:1.58 !important;
  letter-spacing:-.35px !important;
}


/* v14 - slightly larger result headlines */
.news-item h2{
  font-size:18px !important;
  line-height:1.4 !important;
  letter-spacing:-.8px !important;
}
.subtitle{
  font-size:13px !important;
}
