/*
Theme Name: LOOKNOTE
Description: A magazine theme for celeb outfits and celeb news. Outfits list each item with its brand, price and buy link, and news and outfits of the same celeb link to each other automatically. Includes a Korean translation for the admin.
Version: 1.4.0
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: looknote
*/

:root {
	--accent: #B0124F;
	--ink: #141414;
	--muted: #5C5C5C;
	--line: #E6E4E0;
	--ph: #EDEBE7;
	--ph-ink: #5A5751;
	--soft: #F4F3F0;
	--sans: 'Noto Sans KR', system-ui, -apple-system, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
	--serif: 'Noto Serif KR', Georgia, serif;
	--logo: 'Playfair Display', Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }

body {
	margin: 0;
	font-family: var(--sans);
	color: var(--ink);
	background: #FFFFFF;
	line-height: 1.6;
	word-break: keep-all;
	overflow-wrap: break-word;
	-webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: #FFFFFF; padding: 10px 14px; }
.skip-link:focus { left: 8px; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header { position: relative; z-index: 20; border-bottom: 1px solid var(--line); background: #FFFFFF; }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 32px; padding-top: 14px; padding-bottom: 14px; }
.site-logo { font-family: var(--logo); font-size: 28px; font-weight: 700; letter-spacing: 0.04em; padding: 6px 0; }
.custom-logo-link img { max-height: 48px; width: auto; }
.main-nav { flex: 1 1 420px; }
.main-nav .menu, .footer-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.main-nav .menu { gap: 0 22px; font-size: 15px; font-weight: 500; }
.main-nav a { display: block; padding: 12px 0; }
.main-nav .current-menu-item > a, .main-nav .current_page_item > a { color: var(--accent); }
/* "Outfits" and "News" drop down their sub-menu on hover or keyboard focus. Phones get a row instead (assets/header.js). */
.main-nav .menu > li { position: relative; }
.main-nav .menu-item-has-children > a { display: flex; align-items: center; gap: 8px; }
.main-nav .menu-item-has-children > a::after { content: ""; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.main-nav .sub-menu { display: none; position: absolute; top: 100%; left: -18px; z-index: 30; min-width: 220px; flex-direction: column; list-style: none; margin: 0; padding: 6px 0; background: #FFFFFF; border: 1px solid var(--line); box-shadow: 0 10px 28px rgba(20, 20, 20, 0.10); font-size: 14px; font-weight: 500; }
.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu { display: flex; }
.main-nav .sub-menu a { padding: 12px 18px; white-space: nowrap; }
.subnav, .subnav[hidden] { display: none; }

.search-form {
	position: relative;
	display: flex; align-items: center; gap: 4px;
	border: 1px solid #D6D3CE; border-radius: 999px;
	padding: 0 4px 0 16px; height: 44px;
	flex: 1 1 240px; max-width: 300px;
	background: #FFFFFF;
}
.search-form:focus-within { border-color: var(--ink); }
.search-form input { border: 0; outline: none; flex: 1; min-width: 0; font: inherit; font-size: 14px; background: transparent; color: var(--ink); }
.search-form button { width: 36px; height: 36px; flex: none; border: 0; border-radius: 999px; background: var(--ink); color: #FFFFFF; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.search-toggle { display: none; }

/* Layout */
.site-main { padding: 40px 0 80px; }
.stack { display: flex; flex-direction: column; gap: 64px; }
.section { display: flex; flex-direction: column; gap: 24px; }
.layout { display: flex; flex-wrap: wrap; gap: 48px; }
.layout-main { flex: 999 1 600px; min-width: 0; }
.layout-side { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 36px; }
.side-group { display: flex; flex-direction: column; gap: 14px; }
.mt-48 { margin-top: 48px; }

/* Images and placeholders */
.ph { background: var(--ph); color: var(--ph-ink); font-size: 13px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 8px; }
.media { overflow: hidden; background: var(--ph); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.ratio-portrait { aspect-ratio: 4 / 5; }
.ratio-wide { aspect-ratio: 16 / 9; }
.ratio-thumb { aspect-ratio: 3 / 2; }

/* Type */
.kicker, .card-kicker { font-size: 13px; font-weight: 700; color: var(--accent); letter-spacing: 0.06em; }
.card-kicker { font-size: 12px; }
.meta { font-size: 13px; color: var(--muted); }
.empty { color: var(--muted); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px; }
.section-head h2 { margin: 0; font-family: var(--serif); font-size: 28px; font-weight: 700; line-height: 1.3; }
.section-head.ruled { padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.more { font-size: 14px; font-weight: 500; padding: 12px 0; }
.box-title { margin: 0; font-size: 18px; font-weight: 700; padding-bottom: 12px; border-bottom: 2px solid var(--ink); }

/* Home: trending outfits one at a time, then news, groups and drama outfits */
.home .site-main { padding-top: 0; }
.home-stack { gap: 56px; }
.card-shop { font-size: 13px; font-weight: 700; }

.trending-hero { background: var(--soft); padding: 36px 0 32px; margin-bottom: 56px; }
.trending-inner { display: flex; flex-direction: column; gap: 20px; }
.trending-head { align-items: flex-end; }
.trending-intro { display: flex; flex-direction: column; gap: 6px; }
.trending-intro h1 { margin: 0; font-family: var(--serif); font-size: 34px; line-height: 1.25; font-weight: 700; }
.trending-intro p { margin: 0; font-size: 15px; }

/* Sliders (assets/slider.js). The track scrolls sideways and snaps to each slide. */
.slider { display: flex; flex-direction: column; gap: 16px; }
.slider-track { list-style: none; margin: 0; padding: 0; display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; }
.slider-track::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; }
.slider-controls { display: flex; align-items: center; justify-content: center; gap: 16px; }
.slider-controls[hidden] { display: none; }
.slider-btn { width: 48px; height: 48px; flex: none; border: 1px solid var(--ink); border-radius: 999px; background: #FFFFFF; color: var(--ink); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.slider-btn:hover { background: var(--ink); color: #FFFFFF; }
.slider-btn:disabled { opacity: 0.35; cursor: default; background: #FFFFFF; color: var(--ink); }
.slider-dots { display: flex; align-items: center; gap: 6px; }
.slider-dots span { width: 6px; height: 6px; border-radius: 999px; background: #C9C5BE; transition: width 0.25s ease; }
.slider-dots span.is-current { width: 18px; background: var(--ink); }
.slider-count { min-width: 44px; text-align: center; font-size: 14px; color: var(--muted); }

.trend-slide { height: 100%; display: flex; flex-wrap: wrap; gap: 32px; background: #FFFFFF; padding: 24px; }
.trend-media { position: relative; flex: 0 1 360px; min-width: 0; }
.rank-badge { position: absolute; top: 12px; left: 12px; min-width: 40px; height: 40px; padding: 0 10px; display: flex; align-items: center; justify-content: center; background: var(--ink); color: #FFFFFF; font-family: var(--logo); font-size: 20px; font-weight: 700; }
.trend-body { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 12px; padding: 8px 0; }
.trend-title { margin: 0; font-family: var(--serif); font-size: clamp(24px, 2.6vw, 32px); line-height: 1.3; font-weight: 700; }
.featured-items { list-style: none; margin: 8px 0; padding: 0; border-top: 1px solid var(--line); }
.featured-items li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.featured-item-price { flex: none; font-weight: 700; }
.btn-wide { width: 100%; margin-top: auto; min-height: 52px; font-size: 15px; }

/* Drama outfits: a grid of four on wide screens. On phones it becomes a swipeable row (see the phone rules). */
.slider-rail .slider-track { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 32px 24px; overflow: visible; }
.slider-rail .slide:nth-child(n+5) { display: none; }
.slider-rail .slider-controls { display: none; }

.news-head { align-items: center; }
.news-head-title { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.chip-sm { min-height: 36px; padding: 0 14px; }
.top-title { margin: 0 0 4px; font-size: 18px; }
.rank-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.rank-cat { font-size: 12px; font-weight: 700; color: var(--muted); }

.group-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.group-card { height: 100%; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 20px 12px; border: 1px solid var(--line); text-align: center; }
.group-card:hover { border-color: var(--accent); }
.group-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }

.related-outfits { margin: 40px 0 48px; }

/* Lead story and ranked list: the home news block and the news sidebar */
.lead-row { display: flex; flex-wrap: wrap; gap: 40px; }
.lead { flex: 2 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.lead-title { margin: 0; font-family: var(--serif); font-size: clamp(26px, 3.2vw, 36px); line-height: 1.35; font-weight: 700; }
.lead-dek { margin: 0; font-size: 16px; line-height: 1.7; color: var(--muted); }
.trending { flex: 1 1 300px; min-width: 0; }
.rank-list { list-style: none; margin: 0; padding: 0; }
.rank-list a { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.55; font-weight: 500; }
.rank { font-family: var(--logo); font-size: 22px; font-weight: 700; color: var(--accent); width: 20px; flex: none; line-height: 1.1; }

.outfit-grid, .card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 32px 24px; }
.tile-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 24px; }
.card { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.card-title { font-size: 16px; line-height: 1.5; font-weight: 500; }
.card-news .card-title { font-size: 15px; }

.news-list { list-style: none; margin: 0; padding: 0; }
.news-row { display: flex; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: center; }
.news-row .ph, .news-row .media { width: 160px; flex: none; }
.news-row-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.news-row-title { font-size: 17px; line-height: 1.5; font-weight: 500; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.chip { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; font-weight: 500; border: 1px solid #D6D3CE; border-radius: 999px; padding: 0 16px; line-height: 1.2; }
.chip:hover { border-color: var(--accent); }
.chip-soft { border: 0; border-radius: 0; background: var(--soft); padding: 0 14px; }
.tile-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; list-style: none; margin: 0; padding: 0; }
.tile-grid a { display: block; font-size: 14px; font-weight: 500; background: var(--soft); padding: 14px 16px; }

.celeb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 24px; list-style: none; margin: 0; padding: 0; }
.celeb { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.avatar { width: 112px; height: 112px; flex: none; border-radius: 999px; background: var(--ph); color: var(--ph-ink); display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 32px; font-weight: 700; }
.avatar.sm { width: 72px; height: 72px; font-size: 22px; }
.celeb-name { font-size: 15px; font-weight: 700; }

/* Articles */
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.breadcrumb a { color: var(--muted); }
.article-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.article-title { margin: 0; font-family: var(--serif); font-size: clamp(26px, 3vw, 36px); line-height: 1.4; font-weight: 700; }
.article-dek { margin: 0; font-size: 18px; line-height: 1.6; color: #4A4742; }
.article-meta-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.share { display: flex; gap: 8px; }
.btn-line { font: inherit; font-size: 13px; font-weight: 500; background: #FFFFFF; color: var(--ink); border: 1px solid #D6D3CE; min-height: 44px; padding: 0 16px; line-height: 1.2; cursor: pointer; }
.btn-line:hover { border-color: var(--ink); }
.btn-outline { display: flex; align-items: center; justify-content: center; min-height: 48px; text-align: center; font-size: 14px; font-weight: 700; border: 1px solid var(--ink); padding: 0 16px; }

figure { margin: 0; }
.figure { display: flex; flex-direction: column; gap: 8px; margin-bottom: 28px; }
.figure figcaption { font-size: 12px; color: var(--muted); }

.entry-content { font-size: 17px; line-height: 1.85; max-width: 720px; }
.entry-content > * { margin-top: 0; margin-bottom: 18px; }
.entry-content h2 { font-family: var(--serif); font-size: 24px; line-height: 1.4; margin-top: 36px; }
.entry-content h3 { font-size: 20px; line-height: 1.4; margin-top: 28px; }
.entry-content a { color: var(--accent); text-decoration: underline; }
.entry-content figure { margin: 24px 0; }
.entry-content figcaption { font-size: 12px; color: var(--muted); margin-top: 8px; }
/* Instagram, X and TikTok embeds are blockquotes too; leave their own styling alone. */
.entry-content blockquote:not(.instagram-media):not(.twitter-tweet):not(.tiktok-embed) { margin: 24px 0; padding-left: 20px; border-left: 3px solid var(--ink); font-family: var(--serif); }
.entry-content .wp-block-embed iframe, .entry-content iframe { max-width: 100%; }
.entry-content .instagram-media { margin: 24px auto !important; }

/* Outfit */
.outfit-top { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; margin-bottom: 32px; }
.outfit-top .figure { flex: 1 1 300px; min-width: 0; margin: 0; }
.figure-instagram .instagram-media { margin: 0 !important; min-width: 0 !important; max-width: 100% !important; width: 100% !important; }
.figure-instagram blockquote.instagram-media { border: 1px solid var(--line); padding: 24px; background: #FFFFFF; }
.items { flex: 1 1 340px; min-width: 0; }
.item-list { list-style: none; margin: 0; padding: 0; }
.item { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: center; }
.item-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.item-top { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.item-type { font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: 0.04em; }
.badge { font-size: 11px; font-weight: 700; padding: 3px 8px; line-height: 1.4; }
.badge-exact { background: var(--ink); color: #FFFFFF; }
.badge-similar { border: 1px solid #8A8680; color: #4A4742; padding: 2px 8px; }
.item-name { font-size: 15px; font-weight: 500; line-height: 1.45; }
.btn-buy { flex: none; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 72px; font-size: 13px; font-weight: 700; background: var(--accent); color: #FFFFFF; padding: 0 16px; line-height: 1.2; }
.btn-buy:hover { color: #FFFFFF; filter: brightness(0.88); }
.disclosure { margin: 14px 0 0; font-size: 12px; line-height: 1.6; color: var(--muted); }

.alt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.alt { display: flex; flex-direction: column; gap: 6px; height: 100%; background: var(--soft); padding: 18px; }
.alt-name { font-size: 15px; line-height: 1.45; font-weight: 500; }
.alt-brand { font-size: 12px; color: var(--muted); }
.alt-price { font-size: 15px; font-weight: 700; margin-top: auto; }
.tags { margin: 32px 0; }

.celeb-card { display: flex; flex-direction: column; gap: 16px; border: 1px solid var(--line); padding: 24px; }
.celeb-card-row { display: flex; gap: 16px; align-items: center; }
.celeb-card-name { font-size: 20px; font-weight: 700; }
.term-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }

.mini-list { list-style: none; margin: 0; padding: 0; }
.mini-list a { display: flex; flex-direction: column; gap: 6px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.mini-title { font-size: 14px; line-height: 1.5; font-weight: 500; }
.mini-list .mini-title { font-size: 15px; }
.mini-cards { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.mini-card { display: flex; gap: 14px; align-items: center; }
.mini-card .ph, .mini-card .media { width: 72px; flex: none; font-size: 11px; }
.mini-card-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }

/* "이 기사 속 착장" inside a news story */
.entry-content .inline-outfit { display: flex; gap: 18px; align-items: center; background: var(--soft); padding: 18px; margin: 8px 0 26px; color: var(--ink); text-decoration: none; }
.entry-content .inline-outfit:hover .inline-outfit-title { color: var(--accent); }
.inline-outfit .ph, .inline-outfit .media { width: 88px; flex: none; font-size: 11px; }
.inline-outfit-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; line-height: 1.45; }
.inline-outfit-title { font-size: 16px; font-weight: 700; }
.inline-outfit-more { font-size: 14px; font-weight: 500; }

/* Sidebar ad */
.ad-slot { display: flex; justify-content: center; }

/* Lists and archives */
.archive-head { display: flex; flex-direction: column; gap: 8px; margin-bottom: 32px; }
.archive-head h1 { margin: 0; font-family: var(--serif); font-size: clamp(26px, 3vw, 36px); line-height: 1.35; }
.archive-head p { margin: 0; color: var(--muted); }
.search-terms { margin-top: 8px; }
.archive-section + .archive-section { margin-top: 56px; }
.pagination { margin-top: 48px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.page-numbers { display: inline-flex; min-width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid var(--line); padding: 0 12px; font-size: 14px; }
.page-numbers.current { background: var(--ink); border-color: var(--ink); color: #FFFFFF; }
.term-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.term-grid a { display: flex; gap: 14px; align-items: center; border: 1px solid var(--line); padding: 16px; }
.term-grid a:hover { border-color: var(--accent); }
.not-found .search-form { max-width: 420px; margin-bottom: 24px; }
.not-found .btn-outline { display: inline-flex; }

/* Footer */
.site-footer { background: var(--ink); color: #FFFFFF; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px 64px; padding-top: 48px; padding-bottom: 48px; }
.footer-about { display: flex; flex-direction: column; gap: 12px; flex: 1 1 320px; max-width: 520px; }
.footer-about p { margin: 0; font-size: 14px; line-height: 1.7; color: #CFCCC6; }
.footer-logo { font-family: var(--logo); font-size: 24px; font-weight: 700; letter-spacing: 0.04em; }
.footer-nav .menu { gap: 0 24px; font-size: 14px; }
.footer-nav a { display: block; padding: 12px 0; color: #FFFFFF; }
.footer-nav a:hover { color: #FFFFFF; text-decoration: underline; }

@media (max-width: 560px) {
	.container { padding: 0 16px; }
	.site-main { padding-top: 24px; }
	.stack { gap: 48px; }

	/* Header: logo and search button on one row, the menu on one row that scrolls sideways. */
	.header-inner { gap: 0 8px; padding-top: 6px; padding-bottom: 0; }
	.site-logo, .custom-logo-link { flex: 1 1 auto; }
	.site-logo { font-size: 24px; }
	.search-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-right: -10px; border: 0; background: transparent; color: var(--ink); cursor: pointer; }
	.main-nav { order: 3; flex: 0 0 calc(100% + 32px); margin: 0 -16px; padding: 0 16px; overflow-x: auto; scrollbar-width: none; }
	.main-nav::-webkit-scrollbar { display: none; }
	.main-nav .menu { flex-wrap: nowrap; white-space: nowrap; gap: 0 20px; }
	.main-nav .sub-menu, .main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu { display: none; }
	.main-nav [aria-expanded="true"] { color: var(--accent); }
	.subnav { order: 4; flex: 0 0 calc(100% + 32px); margin: 0 -16px; padding: 4px 16px 12px; display: flex; gap: 8px; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
	.subnav::-webkit-scrollbar { display: none; }
	.subnav-link { flex: none; display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; font-size: 13px; font-weight: 500; background: var(--soft); border-radius: 999px; }
	.header-inner > .search-form { order: 5; max-width: none; flex: 1 1 100%; margin-bottom: 12px; }
	.has-search-toggle .header-inner > .search-form { display: none; }
	.has-search-toggle.search-open .header-inner > .search-form { display: flex; }

	/* Home: one trending outfit per slide, full width, with a short card (photo, idol, title, button). */
	.trending-hero { padding: 24px 0 18px; margin-bottom: 40px; }
	.trending-inner { gap: 14px; }
	.trending-intro h1 { font-size: 26px; }
	.trending-intro p { font-size: 13px; }
	.slider { gap: 12px; }
	.slider-track { gap: 16px; }
	.trend-slide { gap: 12px; padding: 12px 12px 16px; }
	.trend-media, .trend-body { flex: 1 1 100%; }
	.trend-body { gap: 8px; padding: 0; }
	.trend-title { font-size: 20px; }
	.trend-slide .featured-items { display: none; }
	.btn-wide { min-height: 48px; margin-top: 4px; }
	.slider-btn { width: 44px; height: 44px; }

	/* Drama outfits: every episode in one row, swiped one card at a time. */
	.slider-rail .slider-track { display: flex; gap: 12px; overflow-x: auto; margin: 0 -16px; padding: 0 16px 4px; scroll-padding: 0 16px; }
	.slider-rail .slide, .slider-rail .slide:nth-child(n+5) { display: block; flex: 0 0 200px; }
	.slider-rail .slider-controls { display: flex; }
	.slider-rail .slider-controls[hidden] { display: none; }

	.group-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.group-card { flex-direction: row; gap: 10px; padding: 12px; text-align: left; }
	.group-card .avatar.sm { width: 44px; height: 44px; font-size: 16px; }
	.group-card .celeb-name { font-size: 14px; }
	.group-card .meta { font-size: 11px; }
	.chip-sm { min-height: 40px; }
	.home-stack { gap: 44px; }

	.news-row { gap: 14px; }
	.news-row .ph, .news-row .media { width: 104px; }
	.news-row-title { font-size: 15px; }
	.section-head h2 { font-size: 24px; }

	/* Outfit items stay one compact row each, with the Shop button on the right. */
	.item { gap: 12px; padding: 14px 0; }
	.item-name { font-size: 14px; }
	.btn-buy { min-width: 64px; padding: 0 12px; }
}
