/* ========== BREADCRUMB ========== */
.crumb-bar { background: var(--teal-bg); border-bottom: 1px solid var(--line-lt); padding: 12px 0; font-size: 12px; }
.crumb { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; color: var(--ink-mid); }
.crumb a { color: var(--teal); font-weight: 700; }
.crumb a:hover { text-decoration: underline; }
.crumb-sep { color: var(--ink-vlt); }
.crumb-current { color: var(--ink); font-weight: 700; }

/* ========== CATEGORY HERO ========== */
.cat-hero { background: linear-gradient(135deg, var(--teal-dk), var(--teal) 70%, var(--teal-md)); color: #fff; padding: 56px 0 64px; position: relative; overflow: hidden; }
.cat-hero-tiles { position: absolute; inset: 0; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><g fill='none' stroke='%23ffffff' stroke-width='1.6' stroke-linecap='round'><rect x='14' y='42' width='52' height='32' rx='2'/><line x1='22' y1='52' x2='28' y2='52'/><line x1='32' y1='52' x2='38' y2='52'/><line x1='42' y1='52' x2='48' y2='52'/><line x1='22' y1='62' x2='58' y2='62'/></g></svg>"); background-size: 200px 200px; opacity: .08; }
.cat-hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 220px; gap: 40px; align-items: center; }
.cat-hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); font-size: 11px; font-weight: 700; letter-spacing: .12em; padding: 5px 14px; border-radius: var(--r-pill); margin-bottom: 14px; }
.cat-hero-eyebrow::before { content: ''; width: 6px; height: 6px; background: var(--yellow); border-radius: 50%; }
.cat-hero-title { font-size: 44px; font-weight: 900; line-height: 1.2; letter-spacing: .005em; margin-bottom: 6px; }
.cat-hero-title small { display: block; font-family: var(--font-display); font-size: 14px; font-weight: 700; letter-spacing: .25em; opacity: .65; margin-bottom: 8px; text-transform: uppercase; }
.cat-hero-desc { font-size: 14.5px; line-height: 1.9; opacity: .92; max-width: 540px; margin-bottom: 18px; }
.cat-hero-stats { display: flex; gap: 18px; flex-wrap: wrap; }
.cat-hero-stat { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); padding: 8px 16px; border-radius: var(--r-sm); }
.cat-hero-stat-num { font-family: var(--font-display); font-size: 22px; font-weight: 900; color: var(--yellow); line-height: 1; }
.cat-hero-stat-num small { font-size: 11px; color: #fff; opacity: .8; margin-left: 3px; font-weight: 700; }
.cat-hero-stat-label { font-size: 10px; letter-spacing: .1em; opacity: .75; margin-top: 4px; text-transform: uppercase; font-family: var(--font-display); font-weight: 700; }
.cat-hero-side { text-align: center; }
.cat-hero-mascot-wrap { position: relative; width: 200px; height: 200px; margin: 0 auto; }
.cat-hero-mascot { width: 100%; height: 100%; animation: floatY 4s ease-in-out infinite; filter: drop-shadow(0 14px 22px rgba(0,0,0,.28)); }
@keyframes floatY { 0%,100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-10px) rotate(3deg); } }

/* ========== FILTER PILLS ========== */
.filter-type-bar { background: #fff; border-bottom: 1px solid var(--line); padding: 14px 0; }
.filter-type-row { display: flex; align-items: center; gap: 10px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 2px; }
.filter-type-row::-webkit-scrollbar { height: 4px; }
.filter-type-row::-webkit-scrollbar-thumb { background: var(--line); border-radius: 2px; }
.filter-type-label { font-size: 11px; font-weight: 800; letter-spacing: .12em; color: var(--ink-lt); white-space: nowrap; text-transform: uppercase; font-family: var(--font-display); flex-shrink: 0; }
.filter-type-pill { display: inline-flex; align-items: center; gap: 6px; padding: 7px 16px; background: var(--teal-bg); color: var(--ink); border: 1.5px solid transparent; border-radius: var(--r-pill); font-size: 12.5px; font-weight: 700; white-space: nowrap; transition: all .2s; cursor: pointer; }
.filter-type-pill:hover { background: var(--teal-soft); color: var(--teal); }
.filter-type-pill.active { background: var(--teal); color: #fff; }
.filter-type-pill-count { font-size: 10px; opacity: .65; font-family: var(--font-display); font-weight: 800; }
.filter-type-pill.active .filter-type-pill-count { opacity: .9; }

/* ========== SECTIONS ========== */
.section { padding: 56px 0; }
.section.bg { background: var(--teal-bg); }
.sec-head { text-align: center; margin-bottom: 36px; }
.sec-pill { display: inline-block; background: var(--yellow); color: var(--teal-dk); padding: 6px 28px; border-radius: var(--r-pill); font-size: 14px; font-weight: 900; letter-spacing: .05em; position: relative; }
.sec-pill::before, .sec-pill::after { content: ''; position: absolute; top: 50%; width: 60px; height: 1.5px; background: var(--teal-soft); }
.sec-pill::before { right: 100%; margin-right: 12px; }
.sec-pill::after { left: 100%; margin-left: 12px; }
.sec-head-en { display: block; font-family: var(--font-display); font-size: 12px; font-weight: 700; letter-spacing: .25em; color: var(--ink-lt); margin-top: 10px; text-transform: uppercase; }
.sec-head-sub { font-size: 13px; color: var(--ink-mid); margin-top: 6px; }

/* ========== LATEST/RANKING CARDS (TOP3) ========== */
.crank-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 20px; }
.crank-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; position: relative; transition: transform .25s, box-shadow .25s; display: flex; flex-direction: column; }
.crank-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.crank-card.first { background: linear-gradient(180deg, #FFFCEC 0%, #fff 50%); border-color: var(--yellow); }
.crank-badge { position: absolute; top: -14px; left: 20px; display: flex; align-items: center; gap: 6px; background: var(--ink-vlt); color: #fff; padding: 5px 14px 5px 10px; border-radius: var(--r-pill); font-family: var(--font-display); font-size: 12px; font-weight: 900; box-shadow: var(--shadow-sm); }
.crank-badge.gold { background: var(--gold); }
.crank-badge.silver { background: var(--silver); }
.crank-badge.bronze { background: var(--bronze); }
.crank-badge .crown { width: 14px; height: 14px; }
.crank-thumb { aspect-ratio: 4/3; border-radius: var(--r-md); margin-bottom: 14px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.crank-thumb img { width: 100%; height: 100%; object-fit: cover; }
.crank-thumb-placeholder { position: absolute; inset: 0; background: var(--teal-bg); display: flex; align-items: center; justify-content: center; }
.crank-thumb-placeholder::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(45deg, transparent, transparent 8px, rgba(143,160,168,.18) 8px, rgba(143,160,168,.18) 9px); }
.crank-title { font-size: 16px; font-weight: 900; line-height: 1.4; margin-bottom: 8px; color: var(--ink); }
.crank-card.first .crank-title { font-size: 19px; }
.crank-score { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.crank-score-num { font-family: var(--font-display); font-size: 28px; font-weight: 900; color: var(--coral-dk); line-height: 1; }
.crank-score-num small { font-size: 12px; color: var(--ink-lt); font-weight: 700; margin-left: 2px; }
.crank-stars { color: var(--yellow); font-size: 14px; letter-spacing: 1px; }
.crank-card.first .crank-score-num { font-size: 36px; }
.crank-excerpt { font-size: 12px; color: var(--ink-mid); line-height: 1.7; margin-bottom: 14px; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.crank-meta { display: flex; justify-content: space-between; align-items: end; padding-top: 12px; border-top: 1px dashed var(--line); margin-top: auto; }
.crank-date { font-size: 11px; color: var(--ink-lt); }
.crank-cta { display: inline-flex; align-items: center; gap: 4px; background: var(--teal); color: #fff; padding: 7px 14px; border-radius: var(--r-sm); font-size: 11.5px; font-weight: 800; transition: background .2s; }
.crank-cta:hover { background: var(--teal-dk); }
.crank-cta::after { content: '›'; font-size: 13px; }
.crank-card.first .crank-cta { background: var(--coral-dk); padding: 9px 18px; font-size: 13px; }
.crank-card.first .crank-cta:hover { background: #B86A5E; }

/* ========== FILTER / SORT BAR ========== */
.filter-bar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding: 14px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); margin-bottom: 24px; }
.filter-left { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.filter-count { font-size: 13px; color: var(--ink-mid); }
.filter-count strong { color: var(--teal); font-family: var(--font-display); font-size: 18px; font-weight: 900; margin-right: 3px; }
.filter-sort { display: flex; align-items: center; gap: 8px; }
.filter-sort-label { font-size: 11px; font-weight: 800; letter-spacing: .08em; color: var(--ink-lt); text-transform: uppercase; }

/* ========== ARTICLE LIST (2-col layout) ========== */
.layout-2col { display: grid; grid-template-columns: 1fr 300px; gap: 36px; }
.alist { display: flex; flex-direction: column; gap: 18px; }
.alist-card { display: grid; grid-template-columns: 220px 1fr; gap: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px; transition: box-shadow .25s, transform .25s; }
.alist-card:hover { box-shadow: var(--shadow-md); transform: translateX(2px); }
.alist-thumb { aspect-ratio: 4/3; background: var(--teal-soft); border-radius: var(--r-sm); position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.alist-thumb img { width: 100%; height: 100%; object-fit: cover; }
.alist-thumb-placeholder { position: absolute; inset: 0; background: var(--teal-soft); }
.alist-thumb-placeholder::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(-45deg, transparent, transparent 8px, rgba(143,160,168,.18) 8px, rgba(143,160,168,.18) 9px); }
.alist-thumb-tag { position: absolute; top: 8px; left: 8px; background: var(--teal-dk); color: #fff; font-size: 9.5px; font-weight: 800; padding: 3px 8px; border-radius: 4px; z-index: 1; letter-spacing: .05em; }
.alist-thumb-tag.coral { background: var(--coral); }
.alist-thumb-tag.yellow { background: var(--yellow); color: var(--teal-dk); }
.alist-body { display: flex; flex-direction: column; min-width: 0; }
.alist-meta { display: flex; align-items: center; gap: 10px; font-size: 11.5px; color: var(--ink-lt); margin-bottom: 6px; flex-wrap: wrap; }
.alist-meta-type { background: var(--coral-soft); color: var(--coral-dk); font-weight: 800; letter-spacing: .05em; padding: 1px 8px; border-radius: 4px; font-size: 10.5px; }
.alist-meta-type.vs { background: var(--teal-soft); color: var(--teal); }
.alist-meta-type.ranking { background: var(--yellow-lt); color: var(--teal-dk); }
.alist-meta-dot { color: var(--ink-vlt); }
.alist-title { font-size: 17px; font-weight: 800; line-height: 1.45; color: var(--ink); margin-bottom: 8px; }
.alist-card:hover .alist-title { color: var(--teal); }
.alist-excerpt { font-size: 12.5px; color: var(--ink-mid); line-height: 1.7; margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.alist-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 10px; border-top: 1px dashed var(--line); }
.alist-rate { display: flex; align-items: center; gap: 8px; }
.alist-stars { color: var(--yellow); font-size: 13px; letter-spacing: 1px; }
.alist-rate-num { font-family: var(--font-display); font-size: 15px; font-weight: 900; color: var(--ink); }
.alist-rate-num small { font-size: 10px; color: var(--ink-lt); font-weight: 700; }

/* ========== SIDEBAR ========== */
.side-block { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px; margin-bottom: 20px; }
.side-title { font-size: 13px; font-weight: 900; color: var(--ink); margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--teal-soft); position: relative; display: flex; align-items: center; gap: 8px; }
.side-title::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 36px; height: 2px; background: var(--teal); }
.side-title small { font-family: var(--font-display); font-size: 9px; font-weight: 700; letter-spacing: .15em; color: var(--ink-lt); margin-left: auto; text-transform: uppercase; }
.side-rank-list { display: flex; flex-direction: column; gap: 10px; }
.side-rank-item { display: grid; grid-template-columns: 22px 60px 1fr; gap: 10px; align-items: center; padding: 6px 0; border-bottom: 1px dashed var(--line-lt); }
.side-rank-item:last-child { border-bottom: 0; }
.side-rank-num { font-family: var(--font-display); font-size: 18px; font-weight: 900; color: var(--ink-vlt); line-height: 1; text-align: center; }
.side-rank-item:nth-child(1) .side-rank-num { color: var(--gold); }
.side-rank-item:nth-child(2) .side-rank-num { color: var(--silver); }
.side-rank-item:nth-child(3) .side-rank-num { color: var(--bronze); }
.side-rank-thumb { aspect-ratio: 1; background: var(--teal-bg); border-radius: 4px; position: relative; overflow: hidden; }
.side-rank-thumb img { width: 100%; height: 100%; object-fit: cover; }
.side-rank-thumb::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(45deg, transparent, transparent 5px, rgba(143,160,168,.15) 5px, rgba(143,160,168,.15) 6px); }
.side-rank-name { font-size: 11.5px; font-weight: 700; line-height: 1.45; color: var(--ink); }
.side-rank-item:hover .side-rank-name { color: var(--teal); }

/* ========== INTRO BLOCK ========== */
.intro-block { background: linear-gradient(135deg, #FFFCEC 0%, #fff 60%); border: 1px solid var(--yellow); border-radius: var(--r-lg); padding: 24px 28px; margin-bottom: 36px; display: grid; grid-template-columns: 60px 1fr; gap: 18px; align-items: center; }
.intro-mascot-icon { width: 60px; height: 60px; flex-shrink: 0; }
.intro-block h3 { font-size: 16px; font-weight: 900; color: var(--ink); margin-bottom: 6px; }
.intro-block p { font-size: 13px; color: var(--ink-mid); line-height: 1.85; }

/* ========== PAGINATION ========== */
.pagination { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 36px; }
.pagination a, .pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 38px; padding: 0 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); font-family: var(--font-display); font-size: 14px; font-weight: 700; color: var(--ink-mid); transition: all .2s; }
.pagination a:hover { border-color: var(--teal); color: var(--teal); }
.pagination .current { background: var(--teal); color: #fff; border-color: var(--teal); }
.pagination .dots { border: 0; }
.pagination .nav-prev, .pagination .nav-next { gap: 4px; padding: 0 16px; }

/* ========== REVEAL ========== */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .layout-2col { grid-template-columns: 1fr; }
  .crank-grid { grid-template-columns: 1fr 1fr; }
  .crank-card.first { grid-column: 1 / -1; }
  .cat-hero-mascot-wrap { width: 160px; height: 160px; }
}
@media (max-width: 768px) {
  .section { padding: 40px 0; }
  .cat-hero { padding: 40px 0 48px; }
  .cat-hero-title { font-size: 32px; }
  .cat-hero-inner { gap: 20px; }
  .cat-hero-mascot-wrap { width: 130px; height: 130px; }
  .crank-grid { grid-template-columns: 1fr; }
  .alist-card { grid-template-columns: 1fr; padding: 14px; }
  .alist-thumb { aspect-ratio: 16/9; }
  .filter-type-bar { top: 78px; padding: 10px 0; }
}
@media (max-width: 480px) {
  .cat-hero-inner { grid-template-columns: 1fr; }
  .cat-hero-side { display: none; }
}
