:root {
	--home-bg: #fffaf3;
	--home-card: #fffdf9;
	--home-text: #342b25;
	--home-muted: #9c8e82;
	--home-line: #f0e6da;
	--home-orange: #ff9747;
	--home-orange-soft: #fff0df;
	--home-shadow: 0 8px 24px rgb(112 78 45 / 8%);
	--home-radius: 12px;
}

[data-theme="dark"] {
	--home-bg: #201b18;
	--home-card: #2b2521;
	--home-text: #f7ede4;
	--home-muted: #b5a69a;
	--home-line: #463b34;
	--home-orange-soft: #4a3020;
	--home-shadow: 0 8px 24px rgb(0 0 0 / 18%);
}

body.hinata-home {
	background:
		radial-gradient(circle at 58% 6%, rgb(255 183 104 / 8%), transparent 24rem),
		var(--home-bg);
	color: var(--home-text);
	font-size: 14px;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.hinata-home a {
	color: inherit;
}

.hinata-home img {
	object-fit: cover;
}

.home-shell {
	width: min(calc(100% - 40px), 1320px);
	margin-inline: auto;
}

.home-header {
	position: relative;
	z-index: 100;
	background: rgb(255 250 243 / 88%);
	backdrop-filter: blur(14px);
}

[data-theme="dark"] .home-header {
	background: rgb(32 27 24 / 90%);
}

.home-header__grid {
	display: grid;
	grid-template-columns: 170px minmax(0, 1fr) 225px;
	align-items: center;
	gap: 18px;
	min-height: 74px;
}

.home-brand {
	display: flex;
	align-items: baseline;
	text-decoration: none;
	white-space: nowrap;
}

.home-brand__name {
	color: var(--home-orange);
	font-family: "Segoe Script", "Brush Script MT", cursive;
	font-size: 30px;
	font-weight: 800;
	letter-spacing: -2px;
	line-height: 1;
}

.home-brand__name sup {
	position: relative;
	top: -0.5em;
	margin-left: 1px;
	font-family: serif;
	font-size: 10px;
}

.home-brand__suffix {
	margin-left: 5px;
	color: #675d55;
	font-size: 16px;
	font-weight: 700;
}

[data-theme="dark"] .home-brand__suffix {
	color: var(--home-text);
}

.home-search {
	display: flex;
	align-items: center;
	height: 40px;
	max-width: 470px;
	padding-left: 14px;
	border: 1px solid var(--home-line);
	border-radius: 999px;
	background: var(--home-card);
	color: var(--home-muted);
}

.home-search > .dashicons {
	width: 18px;
	height: 18px;
	font-size: 18px;
}

.home-search input[type="search"] {
	flex: 1;
	min-width: 0;
	height: 38px;
	padding: 0 8px;
	border: 0;
	outline: 0;
	background: transparent;
	box-shadow: none;
	color: var(--home-text);
	font-size: 13px;
}

.home-search__submit {
	width: 34px;
	min-width: 34px;
	height: 34px;
	min-height: 34px;
	padding: 0;
	margin-right: 2px;
	border: 0;
	background: transparent;
	color: var(--home-orange);
}

.home-search__submit:hover {
	background: var(--home-orange-soft);
	color: var(--home-orange);
}

.home-header__actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
}

.header-circle {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	min-height: 38px;
	padding: 0;
	border: 1px solid var(--home-line);
	border-radius: 50%;
	background: var(--home-card);
	color: var(--home-orange);
	text-decoration: none;
}

.header-circle:hover {
	background: var(--home-orange-soft);
	color: var(--home-orange);
}

.header-circle i {
	position: absolute;
	top: 4px;
	right: 4px;
	width: 6px;
	height: 6px;
	border: 1px solid var(--home-card);
	border-radius: 50%;
	background: #ff6b5d;
}

.header-avatar {
	width: 38px;
	height: 38px;
	border: 2px solid #ffe0bd;
	border-radius: 50%;
}

.home-main {
	min-height: 75vh;
	padding: 0 0 56px;
}

.home-layout {
	display: grid;
	grid-template-columns: 170px minmax(0, 1fr) 225px;
	align-items: start;
	gap: 18px;
}

.home-left,
.home-right {
	min-width: 0;
}

.side-nav {
	display: grid;
	gap: 4px;
	padding-top: 6px;
}

.side-nav,
.home-tabs {
	scrollbar-width: none;
}

.side-nav::-webkit-scrollbar,
.home-tabs::-webkit-scrollbar {
	display: none;
}

.side-nav a {
	display: flex;
	align-items: center;
	gap: 14px;
	height: 42px;
	padding: 0 16px;
	border-radius: 10px;
	color: #554b43;
	font-size: 14px;
	text-decoration: none;
}

[data-theme="dark"] .side-nav a {
	color: var(--home-text);
}

.side-nav a:hover,
.side-nav a.is-active {
	background: var(--home-orange-soft);
	color: var(--home-orange);
}

.side-nav .dashicons {
	width: 18px;
	height: 18px;
	font-size: 18px;
}

.left-mascot {
	position: relative;
	min-height: 190px;
	padding-top: 34px;
	text-align: center;
}

.left-mascot p {
	position: relative;
	z-index: 2;
	padding: 8px 5px;
	margin: 0 auto -5px;
	border-radius: 18px;
	background: var(--home-card);
	box-shadow: var(--home-shadow);
	color: var(--home-muted);
	font-size: 11px;
}

.left-mascot p b {
	color: var(--home-orange);
}

.left-mascot img {
	width: 110px;
	height: 110px;
	margin: 13px auto 0;
	border-radius: 50%;
	filter: saturate(0.9);
}

.left-mascot__cat {
	position: absolute;
	right: 7px;
	bottom: 7px;
	color: #c38354;
	font-size: 17px;
}

.music-card,
.left-quote,
.profile-card,
.home-widget {
	border: 1px solid var(--home-line);
	border-radius: var(--home-radius);
	background: var(--home-card);
	box-shadow: var(--home-shadow);
}

.music-card {
	padding: 10px;
	text-align: center;
}

.music-card > img {
	width: 100%;
	aspect-ratio: 1.6;
	border-radius: 9px;
}

.music-card h2 {
	margin: 10px 0 0;
	font-size: 13px;
}

.music-card p {
	margin: 1px 0 6px;
	color: var(--home-muted);
	font-size: 10px;
}

.music-controls {
	display: flex;
	align-items: center;
	justify-content: space-around;
	color: #8e8177;
}

.music-controls button {
	width: 34px;
	min-height: 34px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--home-orange);
	font-size: 19px;
}

.music-progress {
	height: 3px;
	margin: 7px 0 4px;
	border-radius: 4px;
	background: #efe3d5;
}

.music-progress i {
	display: block;
	width: 42%;
	height: 100%;
	border-radius: inherit;
	background: var(--home-orange);
}

.music-card small {
	display: block;
	color: var(--home-muted);
	font-size: 8px;
	text-align: right;
}

.left-quote {
	position: relative;
	padding: 24px 14px 42px;
	margin: 30px 0 0;
	border-left: 1px solid var(--home-line);
	color: #7c6e63;
	font-family: Georgia, "Noto Serif SC", serif;
	font-size: 12px;
	font-style: normal;
	line-height: 2;
	text-align: center;
}

.left-quote span {
	position: absolute;
	right: 10px;
	bottom: 7px;
	color: #e6bc7b;
	font-size: 24px;
}

.home-center {
	min-width: 0;
}

.home-hero {
	display: block;
	overflow: hidden;
	border-radius: 11px;
	background: #34251b;
	box-shadow: var(--home-shadow);
}

.home-hero img {
	width: 100%;
	aspect-ratio: 543 / 286;
	transition: transform 0.45s ease;
}

.home-hero:hover img {
	transform: scale(1.012);
}

.home-tabs {
	display: flex;
	align-items: stretch;
	height: 58px;
	gap: 32px;
	padding: 0 10px;
	border-bottom: 1px solid var(--home-line);
}

.home-tabs a {
	position: relative;
	display: flex;
	align-items: center;
	color: var(--home-muted);
	font-size: 13px;
	text-decoration: none;
	white-space: nowrap;
}

.home-tabs a:hover,
.home-tabs a.is-active {
	color: var(--home-text);
}

.home-tabs a.is-active {
	font-weight: 700;
}

.home-tabs a.is-active::after {
	position: absolute;
	right: 0;
	bottom: -1px;
	left: 0;
	height: 2px;
	border-radius: 2px;
	background: var(--home-orange);
	content: "";
}

.home-tabs__more {
	margin-left: auto;
}

.home-tabs__more span {
	margin-left: 5px;
	color: var(--home-orange);
	font-size: 19px;
}

.home-posts {
	overflow: hidden;
	border: 1px solid var(--home-line);
	border-radius: var(--home-radius);
	background: var(--home-card);
	box-shadow: var(--home-shadow);
}

.home-post-card {
	display: grid;
	grid-template-columns: 174px minmax(0, 1fr);
	gap: 16px;
	min-height: 132px;
	padding: 13px 14px;
	border-bottom: 1px solid var(--home-line);
}

.home-post-card:last-child {
	border-bottom: 0;
}

.home-post-card__image {
	display: block;
	overflow: hidden;
	border-radius: 10px;
}

.home-post-card__image img {
	width: 100%;
	height: 100%;
	min-height: 104px;
	transition: transform 0.35s ease;
}

.home-post-card:hover .home-post-card__image img {
	transform: scale(1.035);
}

.home-post-card__body {
	display: flex;
	min-width: 0;
	flex-direction: column;
}

.home-post-card h2 {
	margin: 2px 0 6px;
	font-size: 16px;
	line-height: 1.35;
}

.home-post-card h2 a {
	text-decoration: none;
}

.home-post-card h2 a:hover {
	color: var(--home-orange);
}

.home-post-card__excerpt {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	color: var(--home-muted);
	font-size: 12px;
	line-height: 1.75;
}

.home-post-card__meta {
	display: flex;
	align-items: center;
	gap: 13px;
	margin-top: auto;
	color: var(--home-muted);
	font-size: 10px;
}

.home-post-card__meta span {
	display: inline-flex;
	align-items: center;
	gap: 3px;
}

.home-post-card__meta .dashicons {
	width: 13px;
	height: 13px;
	font-size: 13px;
}

.post-pill {
	padding: 4px 9px;
	margin-left: auto;
	border-radius: 10px;
	font-size: 10px;
	font-weight: 500;
	white-space: nowrap;
}

.post-pill--0 { background: #e8f7ef; color: #49a878; }
.post-pill--1 { background: #fff0df; color: #f4933c; }
.post-pill--2 { background: #f0ebff; color: #8d6cdd; }
.post-pill--3 { background: #ffebea; color: #f0716b; }
.post-pill--4 { background: #e8f7ef; color: #49a878; }
.post-pill--5 { background: #e6f3ff; color: #478cc7; }

.home-pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding-top: 28px;
}

.home-pagination .page-numbers,
.home-pagination--demo span,
.home-pagination--demo b {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 38px;
	padding: 0 12px;
	border: 1px solid var(--home-line);
	border-radius: 7px;
	background: var(--home-card);
	color: var(--home-text);
	font-size: 12px;
	font-weight: 500;
	text-decoration: none;
}

.home-pagination .current,
.home-pagination--demo b {
	border-color: var(--home-orange);
	background: var(--home-orange);
	color: #fff;
}

.home-right {
	display: grid;
	gap: 16px;
}

.profile-card {
	padding: 14px 14px 16px;
	text-align: center;
}

.profile-card__avatar {
	width: 112px;
	height: 112px;
	margin: 0 auto 8px;
	border: 4px solid #ffdfbd;
	border-radius: 50%;
}

.profile-card h2 {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	margin: 0;
	font-size: 18px;
}

.profile-card h2 span {
	color: #f59d91;
	font-size: 15px;
}

.profile-card h2 b {
	padding: 2px 8px;
	border-radius: 6px;
	background: var(--home-orange);
	color: #fff;
	font-size: 10px;
}

.profile-card > p {
	margin: 10px 3px 13px;
	color: #776a61;
	font-size: 11px;
	line-height: 1.75;
}

[data-theme="dark"] .profile-card > p {
	color: var(--home-muted);
}

.profile-stats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	margin-bottom: 13px;
}

.profile-stats span {
	display: flex;
	flex-direction: column;
}

.profile-stats small {
	color: var(--home-muted);
	font-size: 9px;
}

.profile-stats strong {
	font-size: 17px;
}

.profile-contact {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 36px;
	border-radius: 18px;
	background: linear-gradient(90deg, #ff9b43, #ff9140);
	color: #fff !important;
	font-size: 12px;
	font-weight: 600;
	text-decoration: none;
}

.profile-contact .dashicons {
	width: 16px;
	height: 16px;
	margin-right: 5px;
	font-size: 16px;
}

.home-widget {
	padding: 15px 13px;
}

.home-widget > header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 13px;
}

.home-widget > header h2 {
	margin: 0;
	font-size: 14px;
}

.home-widget > header a {
	color: var(--home-muted);
	font-size: 10px;
	text-decoration: none;
}

.home-widget > header a:hover {
	color: var(--home-orange);
}

.tag-cloud-home {
	display: flex;
	flex-wrap: wrap;
	gap: 9px 7px;
}

.tag-cloud-home a,
.tag-cloud-home span {
	padding: 4px 10px;
	border-radius: 14px;
	font-size: 10px;
	text-decoration: none;
}

.tag-color-0 { background: #e3f6f0; color: #47a98a !important; }
.tag-color-1 { background: #eee8ff; color: #8a6cd2 !important; }
.tag-color-2 { background: #fff1dd; color: #ed9a43 !important; }
.tag-color-3 { background: #ffe8e6; color: #ee6f68 !important; }
.tag-color-4 { background: #ffe9e9; color: #ef7771 !important; }
.tag-color-5 { background: #eee9ff; color: #8068c6 !important; }
.tag-color-6 { background: #e6f3e9; color: #5aa474 !important; }
.tag-color-7 { background: #f1eee8; color: #7f756c !important; }

.recent-list {
	display: grid;
	gap: 13px;
}

.recent-list a {
	display: grid;
	grid-template-columns: 52px minmax(0, 1fr);
	gap: 9px;
	text-decoration: none;
}

.recent-list img {
	width: 52px;
	height: 44px;
	border-radius: 7px;
}

.recent-list span {
	display: flex;
	min-width: 0;
	flex-direction: column;
	justify-content: center;
}

.recent-list strong {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	font-size: 11px;
	font-weight: 600;
	line-height: 1.45;
}

.recent-list small {
	color: var(--home-muted);
	font-size: 9px;
}

.friends-widget > a {
	display: grid;
	grid-template-columns: 42px minmax(0, 1fr);
	align-items: center;
	gap: 9px;
	padding: 6px 0;
	text-decoration: none;
}

.friends-widget > a > span,
.friends-widget > a > img {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: #fff1df;
	font-size: 24px;
}

.friends-widget p {
	display: flex;
	min-width: 0;
	flex-direction: column;
	margin: 0;
}

.friends-widget strong {
	font-size: 11px;
}

.friends-widget small {
	color: var(--home-muted);
	font-size: 9px;
}

.home-footer {
	border-top: 1px solid var(--home-line);
	background: rgb(255 249 241 / 80%);
}

[data-theme="dark"] .home-footer {
	background: #261f1b;
}

.home-footer__grid {
	display: grid;
	grid-template-columns: 180px minmax(230px, 1.4fr) 120px 100px minmax(185px, 1fr);
	gap: 42px;
	align-items: start;
	padding: 38px 0 26px;
}

.home-footer h2 {
	margin: 0 0 11px;
	font-size: 12px;
}

.home-footer p,
.home-footer li,
.home-footer a {
	color: #887b70;
	font-size: 11px;
	line-height: 2;
}

.home-footer p {
	max-width: 340px;
	margin: 0;
}

.home-footer ul {
	padding: 0;
	margin: 0;
	list-style: none;
}

.home-footer a {
	text-decoration: none;
}

.footer-flower {
	position: relative;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	height: 130px;
	color: #e5b45d;
}

.footer-flower span {
	font-size: 42px;
}

.footer-flower span:nth-child(2) {
	font-size: 62px;
	transform: translateY(-18px);
}

.footer-flower span:nth-child(3) {
	font-size: 30px;
}

.footer-flower strong {
	position: absolute;
	top: 0;
	right: 0;
	color: #e8b878;
	font-family: "Segoe Script", cursive;
	font-size: 17px;
	font-weight: 400;
}

.footer-socials {
	display: flex;
	gap: 26px;
	margin-top: 18px;
	color: #9d8d80;
	font-size: 18px;
}

.footer-note {
	position: relative;
	min-height: 115px;
	padding: 24px 22px 20px;
	border: 1px solid var(--home-line);
	border-radius: 10px;
	background: var(--home-card);
	box-shadow: var(--home-shadow);
}

.footer-note p {
	padding-right: 28px;
	color: #73665c;
}

.footer-note p b {
	color: var(--home-orange);
}

.footer-note__clip {
	position: absolute;
	top: -12px;
	right: 27px;
	color: #d5b988;
	font-size: 28px;
}

.footer-note__cat {
	position: absolute;
	right: 12px;
	bottom: 7px;
	color: #d69a64;
	font-size: 16px;
}

.home-footer__bottom {
	display: flex;
	justify-content: space-between;
	padding: 13px 0 18px;
	border-top: 1px solid var(--home-line);
	color: #a09287;
	font-size: 9px;
}

@media (min-width: 1200px) {
	.home-header__grid,
	.home-layout {
		grid-template-columns: 205px minmax(0, 1fr) 290px;
		gap: 22px;
	}

	.home-header__grid {
		min-height: 88px;
	}

	.home-post-card {
		grid-template-columns: 220px minmax(0, 1fr);
		min-height: 160px;
		padding: 16px 18px;
	}

	.home-post-card h2 {
		font-size: 18px;
	}

	.home-post-card__excerpt {
		font-size: 13px;
	}

	.home-post-card__meta {
		font-size: 11px;
	}
}

@media (max-width: 900px) {
	.home-header__grid {
		grid-template-columns: 160px minmax(0, 1fr) auto;
	}

	.home-header__actions .header-circle:not(.theme-toggle) {
		display: none;
	}

	.home-layout {
		grid-template-columns: minmax(0, 1fr) 230px;
	}

	.home-left {
		grid-column: 1 / -1;
	}

	.side-nav {
		display: flex;
		overflow-x: auto;
		padding-bottom: 8px;
	}

	.side-nav a {
		height: 38px;
		padding: 0 12px;
		white-space: nowrap;
	}

	.left-mascot,
	.music-card,
	.left-quote {
		display: none;
	}

	.home-footer__grid {
		grid-template-columns: 1fr 1.6fr 0.7fr 0.7fr;
		gap: 25px;
	}

	.footer-note {
		grid-column: 1 / -1;
	}
}

@media (max-width: 680px) {
	.home-shell {
		width: min(calc(100% - 24px), 1320px);
	}

	.home-header__grid {
		grid-template-columns: 1fr auto;
		gap: 10px;
		padding: 12px 0;
	}

	.home-brand__name {
		font-size: 26px;
	}

	.home-search {
		grid-column: 1 / -1;
		grid-row: 2;
		max-width: none;
	}

	.home-layout {
		display: block;
	}

	.home-left {
		margin-bottom: 8px;
	}

	.home-right {
		grid-template-columns: 1fr;
		margin-top: 18px;
	}

	.home-tabs {
		overflow-x: auto;
		gap: 24px;
	}

	.home-tabs__more {
		margin-left: 0;
	}

	.home-post-card {
		grid-template-columns: 126px minmax(0, 1fr);
		gap: 12px;
		padding: 11px;
	}

	.home-post-card h2 {
		font-size: 14px;
	}

	.home-post-card__excerpt {
		-webkit-line-clamp: 1;
		font-size: 11px;
	}

	.home-post-card__meta {
		gap: 8px;
	}

	.home-post-card__meta span:nth-of-type(2) {
		display: none;
	}

	.profile-card {
		padding-inline: 24px;
	}

	.home-footer__grid {
		grid-template-columns: 1fr 1fr;
	}

	.footer-flower,
	.footer-note {
		grid-column: 1 / -1;
	}
}

@media (max-width: 430px) {
	.home-header__actions .theme-toggle {
		display: none;
	}

	.home-post-card {
		display: block;
	}

	.home-post-card__image {
		margin-bottom: 11px;
	}

	.home-post-card__image img {
		aspect-ratio: 16 / 9;
	}

	.home-post-card__excerpt {
		-webkit-line-clamp: 2;
	}

	.home-post-card__meta {
		margin-top: 10px;
	}

	.home-pagination--demo span:nth-last-child(-n + 4) {
		display: none;
	}

	.home-footer__grid {
		display: block;
	}

	.home-footer__grid > * {
		margin-bottom: 26px;
	}

	.home-footer__bottom {
		align-items: center;
		flex-direction: column;
		gap: 5px;
	}
}
