:root {
	--brand: #d92d20;
	--brand-dark: #b42318;
	--rose: #fef3f2;
	--rose-2: #fde0dd;
	--navy: #18212f;
	--ink: #1d2433;
	--muted: #6b7280;
	--line: #e9ebef;
	--bg: #f6f7f9;
	--gold: #f5b400;
	--radius: 18px;
	--shadow: 0 10px 30px rgba(24, 33, 47, .10);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

.material-symbols-rounded { font-family: "Material Symbols Rounded"; font-weight: normal; font-style: normal; font-size: 1.2em; line-height: 1; letter-spacing: normal; text-transform: none; display: inline-block; white-space: nowrap; direction: ltr; vertical-align: -0.2em; font-feature-settings: "liga"; -webkit-font-smoothing: antialiased; font-variation-settings: "FILL" 1, "wght" 500; }

/* Header */
.site-header { background: #fff; position: sticky; top: 0; z-index: 40; border-bottom: 3px solid var(--brand); }
.site-header__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.logo { display: flex; align-items: center; gap: 11px; }
.logo__mark { width: 44px; height: 44px; border-radius: 12px; box-shadow: 0 6px 16px rgba(217,45,32,.35); }
.logo__text { display: grid; line-height: 1; }
.logo__top { font-weight: 800; font-size: 1.55rem; letter-spacing: -.035em; color: var(--ink); }
.logo__top b { color: var(--brand); font-weight: 800; }
.logo__sub { font-weight: 700; font-size: .74rem; letter-spacing: .36em; color: var(--muted); margin-top: 4px; }
.site-nav { display: flex; align-items: center; flex: 1; justify-content: space-between; gap: 20px; }
.nav { display: flex; gap: 2px; list-style: none; margin: 0 auto; padding: 0; }
.nav > li { position: relative; }
.nav > li > a { display: flex; align-items: center; gap: 2px; padding: 10px 14px; font-weight: 600; font-size: .95rem; border-radius: 10px; }
.nav > li > a:hover, .nav > li:hover > a { color: var(--brand); }
.sub { position: absolute; top: 100%; left: 0; min-width: 210px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 8px; display: none; z-index: 50; }
.sub a { display: block; padding: 8px 12px; border-radius: 8px; font-size: .92rem; font-weight: 500; }
.sub a:hover { background: var(--rose); color: var(--brand); }
.sub--wide { display: none; gap: 14px; min-width: 460px; padding: 14px; }
.sub__title { color: var(--brand); font-weight: 700 !important; }
.has-sub:hover > .sub { display: block; }
.has-sub:hover > .sub--wide { display: flex; }
.sub__col { flex: 1; }
.site-nav__cta { display: flex; align-items: center; gap: 10px; }
.pill { display: inline-flex; align-items: center; gap: 6px; background: var(--rose); color: var(--brand); font-weight: 700; font-size: .88rem; padding: 9px 18px; border-radius: 999px; }
.pill:hover { background: var(--rose-2); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; font-size: 1.8rem; color: var(--ink); }

/* Buttons */
.tl-btn { display: inline-flex; align-items: center; gap: 6px; justify-content: center; background: var(--brand); color: #fff; border: 0; padding: 13px 28px; border-radius: 12px; font: inherit; font-weight: 700; cursor: pointer; box-shadow: 0 6px 16px rgba(217,45,32,.28); transition: background .15s, transform .15s; }
.tl-btn:hover { background: var(--brand-dark); transform: translateY(-1px); }
.tl-btn--sm { padding: 9px 18px; font-size: .9rem; border-radius: 999px; box-shadow: none; }
.tl-btn--lg { padding: 16px 32px; font-size: 1.05rem; }

/* Hero */
.hero { position: relative; background-size: cover; background-position: center bottom; color: #fff; text-align: center; padding: 78px 0 96px; min-height: 520px; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,18,32,.50) 0%, rgba(14,18,32,.18) 60%, rgba(14,18,32,.35) 100%); }
.hero__in { position: relative; z-index: 2; }
.hero h1 { font-size: clamp(2rem, 4.8vw, 3.2rem); line-height: 1.2; margin: 0 0 14px; font-weight: 800; letter-spacing: -.02em; text-shadow: 0 3px 18px rgba(0,0,0,.35); }
.hero__in > p { margin: 0 auto 30px; max-width: 640px; font-size: 1.05rem; font-weight: 500; color: #f1f3f7; text-shadow: 0 2px 10px rgba(0,0,0,.4); }

/* Search card */
.search-card { background: #fff; color: var(--ink); text-align: left; max-width: 920px; margin: 0 auto; border-radius: 22px; padding: 18px 20px 14px; box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.search-card__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.tabs { display: flex; gap: 6px; background: var(--rose); padding: 4px; border-radius: 999px; }
.tabs__btn { display: inline-flex; align-items: center; gap: 6px; padding: 9px 18px; border-radius: 999px; font-weight: 700; font-size: .88rem; color: var(--brand); }
.tabs__btn.is-on { background: var(--brand); color: #fff; }
a.tabs__btn:hover { background: var(--rose-2); }
.search-card__hint { color: var(--muted); font-size: .86rem; }
.search-card__hint b { color: var(--brand); font-weight: 600; }
.search-card__sugg { margin: 12px 0 0; font-size: .85rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 18px; }
.search-card__sugg a { color: #2563eb; font-weight: 500; }
.search-card__sugg a:hover { text-decoration: underline; }

/* Filter */
.filter { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; }
.filter__search { flex: 2 1 240px; display: flex; align-items: center; gap: 10px; background: #f3f4f6; border-radius: 14px; padding: 0 16px; color: var(--muted); }
.filter__search input { flex: 1; border: 0; background: transparent; font: inherit; padding: 16px 0; color: var(--ink); min-width: 0; }
.filter__search input:focus { outline: none; }
.filter__sel { flex: 1 1 130px; display: grid; background: #f3f4f6; border-radius: 14px; padding: 8px 14px 4px; }
.filter__sel small { font-size: .66rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 700; color: var(--muted); }
.filter__sel select { border: 0; background: transparent; font: inherit; font-weight: 600; color: var(--ink); padding: 2px 0 6px; cursor: pointer; width: 100%; }
.filter__sel select:focus { outline: none; }
.filter:focus-within .filter__search { box-shadow: 0 0 0 2px var(--brand) inset; }
.filter .tl-btn { flex: 0 0 auto; padding: 0 30px; }
.page-head .filter { max-width: none; }

/* Category icon row */
.cat-row-wrap { margin-top: -34px; position: relative; z-index: 3; }
.cat-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px 8px; padding: 8px 0 10px; }
.cat-item { display: grid; justify-items: center; gap: 8px; font-size: .84rem; font-weight: 600; text-align: center; padding: 12px 4px; border-radius: 16px; transition: transform .15s; }
.cat-item:hover { transform: translateY(-3px); color: var(--brand); }
.cat-item__ic { width: 56px; height: 56px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: 1.7rem; box-shadow: 0 8px 18px rgba(217,45,32,.3); }
.cat-item__ic .material-symbols-rounded { font-size: 1.6rem; vertical-align: 0; }

/* Ranking block */
.rank-block { padding-top: 54px; }
.rank-block__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.rank-block__head h2 { margin: 0; font-size: 2rem; font-weight: 800; letter-spacing: -.02em; }
.rank-pill { display: inline-flex; align-items: center; gap: 8px; background: var(--navy); color: #fff; font-weight: 700; font-size: .8rem; letter-spacing: .05em; padding: 11px 20px; border-radius: 999px; }
.rank-pill .material-symbols-rounded { color: var(--gold); }
.rank-block__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 20px; align-items: stretch; }

.top1 { background: #fff; border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); transition: transform .2s; }
.top1:hover { transform: translateY(-4px); }
.top1__media { position: relative; flex: 1; min-height: 300px; display: grid; place-items: center; background: linear-gradient(160deg, hsl(var(--h) 85% 62%), hsl(calc(var(--h) - 8) 70% 36%)); overflow: hidden; }
.top1__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.top1__ic { font-size: 7rem !important; color: rgba(255,255,255,.92); vertical-align: 0; }
.top1__badge { position: absolute; top: 18px; left: 18px; display: inline-flex; align-items: center; gap: 6px; background: var(--gold); color: #1d1500; font-weight: 800; font-size: 1.1rem; padding: 8px 16px; border-radius: 12px; box-shadow: 0 6px 16px rgba(0,0,0,.22); }
.top1__body { display: grid; gap: 8px; padding: 20px 24px 24px; }
.top1__stars { color: var(--gold); font-size: 1rem; letter-spacing: 1px; }
.top1__body strong { font-size: 1.45rem; line-height: 1.3; font-weight: 800; }
.top1__meta, .rank-row__meta { display: flex; flex-wrap: wrap; gap: 4px 14px; color: var(--muted); font-size: .86rem; align-items: center; }
.dot { color: #15803d; font-weight: 600; }
.dot::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: currentColor; margin-right: 6px; vertical-align: 1px; }

.rank-list { display: grid; gap: 12px; align-content: start; }
.rank-row { display: flex; align-items: center; gap: 14px; background: #fff; border-radius: var(--radius); padding: 14px 18px; box-shadow: 0 2px 10px rgba(24,33,47,.05); transition: transform .15s, box-shadow .15s; }
.rank-row:hover { transform: translateX(4px); box-shadow: var(--shadow); }
.rank-row__no { flex: 0 0 28px; font-size: 1.9rem; font-weight: 800; color: #d9dce2; line-height: 1; }
.rank-row__thumb { flex: 0 0 66px; height: 66px; border-radius: 14px; display: grid; place-items: center; overflow: hidden; color: #fff; font-size: 1.8rem; background: linear-gradient(160deg, hsl(var(--h) 76% 54%), hsl(calc(var(--h) + 4) 72% 36%)); }
.rank-row__thumb img { width: 100%; height: 100%; object-fit: cover; }
.rank-row__thumb .material-symbols-rounded { font-size: 1.8rem; vertical-align: 0; }
.rank-row__txt { flex: 1; display: grid; gap: 3px; min-width: 0; }
.rank-row__txt strong { font-size: 1.02rem; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rank-row__go { flex: 0 0 38px; height: 38px; border-radius: 50%; background: #f3f4f6; color: var(--muted); display: grid; place-items: center; transition: background .15s, color .15s; }
.rank-row:hover .rank-row__go { background: var(--brand); color: #fff; }

/* Sections */
.block { padding: 58px 20px 6px; }
.block__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.block h2 { margin: 0; font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; }
.h-accent { position: relative; padding-left: 14px; }
.h-accent::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 4px; border-radius: 4px; background: var(--brand); }
.h-accent--center { text-align: center; padding: 0; }
.h-accent--center::before { display: none; }
.more { display: inline-flex; align-items: center; gap: 4px; color: var(--brand); font-weight: 700; font-size: .95rem; white-space: nowrap; }
.more:hover { text-decoration: underline; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.chip { background: #fff; border: 1px solid var(--line); padding: 6px 15px; border-radius: 999px; font-weight: 600; font-size: .85rem; }
.chip:hover { background: var(--brand); border-color: var(--brand); color: #fff; }

/* Cards */
.tl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; margin-bottom: 26px; }
.tl-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 2px 10px rgba(24,33,47,.05); transition: transform .18s, box-shadow .18s; }
.tl-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.tl-card__thumb { position: relative; display: block; aspect-ratio: 16 / 11; overflow: hidden; }
.tl-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.tl-card__ph { display: grid; place-items: center; height: 100%; color: rgba(255,255,255,.95); font-size: 3.4rem; background: linear-gradient(160deg, hsl(var(--h) 76% 54%), hsl(calc(var(--h) + 4) 72% 36%)); }
.tl-card__ph .material-symbols-rounded { font-size: 3.6rem; vertical-align: 0; transition: transform .25s; }
.tl-card:hover .tl-card__ph .material-symbols-rounded { transform: scale(1.12); }
.tl-badge { position: absolute; top: 12px; left: 12px; z-index: 2; background: var(--gold); color: #1d1500; font-size: .72rem; font-weight: 800; padding: 4px 11px; border-radius: 8px; }
.tl-badge--inline { position: static; vertical-align: middle; }
.tl-card__body { padding: 15px 18px 18px; }
.tl-card__cat { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--brand); font-weight: 700; }
.tl-card h3 { margin: 4px 0 8px; font-size: 1.05rem; line-height: 1.4; font-weight: 700; }
.tl-card h3 a:hover { color: var(--brand); }
.tl-card__meta { display: flex; flex-wrap: wrap; gap: 4px 14px; color: var(--muted); font-size: .86rem; margin: 0; align-items: center; }
.tl-stars { color: #b7791f; font-weight: 700; }
.tl-stars .material-symbols-rounded { color: var(--gold); }
.tl-card__price { margin: 8px 0 0; font-size: .9rem; font-weight: 700; }

/* Why */
.why { margin-top: 64px; padding: 58px 0; background: #fff; }
.why h2 { font-size: 1.7rem; font-weight: 800; margin: 0 0 32px; letter-spacing: -.02em; }
.why__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.why__item { text-align: center; padding: 28px 22px; border-radius: var(--radius); background: var(--bg); }
.why__item span { display: grid; place-items: center; width: 60px; height: 60px; margin: 0 auto 14px; background: var(--brand); color: #fff; border-radius: 50%; font-size: 1.7rem; }
.why__item span .material-symbols-rounded { vertical-align: 0; }
.why__item h3 { margin: 0 0 6px; font-size: 1.05rem; }
.why__item p { margin: 0; color: var(--muted); font-size: .95rem; }

/* Posts */
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 14px; }
.post-link { display: flex; align-items: center; gap: 16px; background: #fff; border-radius: 14px; padding: 16px 20px; box-shadow: 0 2px 10px rgba(24,33,47,.05); transition: transform .15s; }
.post-link:hover { transform: translateY(-2px); }
.post-link:hover strong { color: var(--brand); }
.post-link__no { font-size: 1.9rem; font-weight: 800; color: #d9dce2; line-height: 1; }
.post-link strong { display: block; line-height: 1.4; font-weight: 700; }
.post-link small { color: var(--muted); }

/* Page head / detail */
.page-head { background: #fff; border-bottom: 1px solid var(--line); padding: 34px 0 30px; }
.page-head h1 { margin: 0 0 16px; font-size: clamp(1.6rem, 3.2vw, 2.2rem); font-weight: 800; letter-spacing: -.02em; }
.page-head .filter__search, .page-head .filter__sel { background: var(--bg); }
.crumbs { margin: 0 0 8px; color: var(--muted); font-size: .88rem; }
.crumbs a:hover { color: var(--brand); }
.detail { display: grid; grid-template-columns: 1fr 340px; gap: 28px; align-items: start; }
.detail__side { background: #fff; border-top: 4px solid var(--brand); border-radius: var(--radius); padding: 22px; position: sticky; top: 96px; box-shadow: var(--shadow); }
.detail__side h3 { margin: 0 0 8px; }
.detail__side dt { font-weight: 700; margin-top: 14px; }
.detail__side dd { margin: 2px 0 0; color: var(--muted); }
.detail__side .tl-btn { margin-top: 18px; display: flex; }
.detail__img { margin-bottom: 18px; border-radius: var(--radius); overflow: hidden; }
.entry { background: #fff; border-radius: var(--radius); padding: 26px; }
.entry > :first-child { margin-top: 0; }

/* CTA / footer */
.cta { margin-top: 0; color: #fff; padding: 54px 0; background: var(--brand); }
.cta__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta h2 { margin: 0 0 6px; font-size: 1.9rem; font-weight: 800; letter-spacing: -.02em; }
.cta p { margin: 0; color: #ffe1de; }
.cta .tl-btn { background: #fff; color: var(--brand); box-shadow: 0 8px 22px rgba(0,0,0,.2); }
.cta .tl-btn:hover { background: var(--rose); }
.site-footer { background: var(--navy); color: #aab2c0; padding: 30px 0; font-size: .92rem; }
.site-footer p { margin: 4px 0; }
.site-footer strong { color: #fff; letter-spacing: .02em; }
.site-footer__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.site-footer__brand { display: flex; align-items: center; gap: 14px; }
.site-footer__brand img { border-radius: 10px; }
.site-footer__meta { text-align: right; }
.site-footer__meta p:first-child { color: #fff; font-weight: 700; }
@media (max-width: 640px) { .site-footer__meta { text-align: left; } }

/* Form */
.tl-form { display: grid; gap: 14px; max-width: 540px; }
.tl-form label { display: grid; gap: 6px; font-weight: 600; }
.tl-form input, .tl-form textarea { padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; font: inherit; }
.tl-form input:focus, .tl-form textarea:focus { outline: none; border-color: var(--brand); }
.tl-notice { padding: 12px 16px; border-radius: 12px; margin-bottom: 16px; font-weight: 600; }
.tl-notice--ok { background: #e6f4ea; color: #1e6b34; }
.tl-notice--err { background: var(--rose); color: var(--brand-dark); }
.tl-empty { color: var(--muted); }
.tl-rank-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.tl-rank-row { display: flex; align-items: center; gap: 14px; background: #fff; border-radius: var(--radius); padding: 14px 18px; }
.tl-rank-row__no { flex: 0 0 28px; font-size: 1.8rem; font-weight: 800; color: #d9dce2; }
.tl-rank-row__thumb { flex: 0 0 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: linear-gradient(160deg, hsl(var(--h) 76% 54%), hsl(calc(var(--h) + 4) 72% 36%)); }
.tl-rank-row__thumb .material-symbols-rounded { vertical-align: 0; }
.tl-rank-row__txt { flex: 1; display: grid; }
.tl-rank-row__txt a { font-weight: 700; }
.tl-rank-row__txt a:hover { color: var(--brand); }
.tl-rank-row__txt small { color: var(--muted); }
.tl-rank-row em { font-style: normal; color: var(--muted); font-size: .88rem; }
.pagination { text-align: center; margin: 24px 0; }
.pagination .page-numbers { display: inline-block; padding: 9px 15px; margin: 2px; border-radius: 10px; background: #fff; border: 1px solid var(--line); font-weight: 600; }
.pagination .current, .pagination a.page-numbers:hover { background: var(--brand); color: #fff; border-color: var(--brand); }

@media (max-width: 1000px) {
	.rank-block__grid { grid-template-columns: 1fr; }
	.why__grid { grid-template-columns: 1fr; }
	.cat-row { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 860px) {
	.nav-toggle { display: block; }
	.site-nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: #fff; padding: 12px 20px 20px; flex-direction: column; align-items: stretch; border-bottom: 1px solid var(--line); box-shadow: 0 14px 24px rgba(0,0,0,.1); max-height: calc(100vh - 72px); overflow-y: auto; }
	.site-nav.is-open { display: flex; }
	.nav { flex-direction: column; margin: 0; }
	.sub, .sub--wide { position: static; display: none; box-shadow: none; border: 0; padding: 0 0 0 14px; min-width: 0; }
	.has-sub:hover > .sub, .has-sub:hover > .sub--wide { display: block; }
	.site-nav__cta { justify-content: space-between; }
}
@media (max-width: 640px) {
	.cat-row { grid-template-columns: repeat(3, 1fr); }
	.hero { padding: 48px 0 80px; min-height: 0; }
	.search-card { padding: 14px; border-radius: 18px; }
	.search-card__hint { display: none; }
	.rank-block__head { flex-direction: column; align-items: flex-start; }
	.rank-block__head h2 { font-size: 1.6rem; }
	.top1__media { min-height: 220px; }
	.detail { grid-template-columns: 1fr; }
	.detail__side { position: static; }
	.posts { grid-template-columns: 1fr; }
	.cta__in { text-align: center; justify-content: center; }
}

