/* Hardonize RSVP (hnzrsvp) スタイル */
.hnzrsvp-box {
	background: #ffffff;
	border: 1px solid #e1e8ed;
	border-radius: 12px;
	padding: 24px;
	max-width: 600px;
	margin: 24px auto;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: #14171a;
	box-sizing: border-box;
}
.hnzrsvp-box * {
	box-sizing: border-box;
}
.hnzrsvp-header {
	border-bottom: 2px solid #f5f8fa;
	padding-bottom: 14px;
	margin-bottom: 20px;
}
.hnzrsvp-title {
	font-size: 20px;
	margin: 0;
	font-weight: 700;
	color: #1da1f2;
	line-height: 1.3;
}
.hnzrsvp-meta-badges {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-top: 10px;
}
.hnzrsvp-meta-badge {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 12px;
	line-height: 1.2;
	color: #536471;
	background: #f7f9fa;
	padding: 4px 10px;
	border-radius: 12px;
	border: 1px solid #e1e8ed;
}
.hnzrsvp-badge-event {
	font-weight: 700;
	color: #0f1419;
	background: #f0f3f4;
}
.hnzrsvp-badge-date strong {
	color: #0f1419;
}
.hnzrsvp-meta-icon {
	font-size: 13px;
	line-height: 1;
}
.hnzrsvp-actions {
	display: flex;
	gap: 12px;
	margin-bottom: 24px;
}
.hnzrsvp-btn {
	flex: 1;
	padding: 12px 18px;
	border: none;
	border-radius: 24px;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.2s ease;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	color: #ffffff;
	line-height: 1.2;
}
.hnzrsvp-btn-yes {
	background: #1da1f2;
}
.hnzrsvp-btn-yes:hover {
	background: #0c85d0;
	transform: translateY(-1px);
}
.hnzrsvp-btn-maybe {
	background: #657786;
}
.hnzrsvp-btn-maybe:hover {
	background: #4a5c6a;
	transform: translateY(-1px);
}
.hnzrsvp-section {
	margin-top: 20px;
	padding-top: 16px;
	border-top: 1px solid #f5f8fa;
}
/* 見出しと折り畳みボタンの完全な垂直中央揃え */
.hnzrsvp-collapse-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 12px;
	min-height: 32px;
}
.hnzrsvp-section-title {
	font-size: 14px;
	font-weight: 600;
	color: #657786;
	margin: 0;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	line-height: 1;
}
.hnzrsvp-count-text {
	display: inline-flex;
	align-items: center;
	line-height: 1;
}
.badge-yes {
	background: #e8f5fe;
	color: #1da1f2;
	padding: 4px 8px;
	border-radius: 6px;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	display: inline-flex;
	align-items: center;
}
.badge-maybe {
	background: #f5f8fa;
	color: #657786;
	padding: 4px 8px;
	border-radius: 6px;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	display: inline-flex;
	align-items: center;
}
.hnzrsvp-toggle-btn {
	background: #f0f3f4;
	border: none;
	padding: 5px 12px;
	border-radius: 14px;
	font-size: 12px;
	color: #536471;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	font-weight: 600;
	line-height: 1;
	transition: all 0.2s ease;
	flex-shrink: 0;
	margin: 0;
}
.hnzrsvp-toggle-btn:hover {
	background: #e1e8ed;
	color: #0f1419;
}
.hnzrsvp-toggle-icon {
	font-size: 9px;
	line-height: 1;
	transition: transform 0.2s ease;
	display: inline-block;
}
.hnzrsvp-toggle-btn.is-active .hnzrsvp-toggle-icon {
	transform: rotate(180deg);
}
.hnzrsvp-collapse-body {
	margin-top: 10px;
}
.hnzrsvp-avatar-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}
.hnzrsvp-avatar-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-decoration: none;
	width: 60px;
}
.hnzrsvp-avatar-item img {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid transparent;
	transition: border-color 0.2s;
}
.hnzrsvp-avatar-item:hover img {
	border-color: #1da1f2;
}
.avatar-placeholder {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: #e1e8ed;
	color: #657786;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
}
.hnzrsvp-user-label {
	font-size: 10px;
	color: #657786;
	margin-top: 4px;
	max-width: 60px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.hnzrsvp-empty {
	font-size: 13px;
	color: #aab8c2;
	font-style: italic;
	margin: 0;
}
/* サイドバー用スリムレイアウト */
.hnzrsvp-box.hnzrsvp-is-sidebar {
	padding: 16px;
	margin: 0 0 20px 0;
	border-radius: 10px;
	max-width: 100%;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.hnzrsvp-box.hnzrsvp-is-sidebar .hnzrsvp-header {
	margin-bottom: 14px;
	padding-bottom: 12px;
}
.hnzrsvp-box.hnzrsvp-is-sidebar .hnzrsvp-title {
	font-size: 17px;
}
.hnzrsvp-box.hnzrsvp-is-sidebar .hnzrsvp-meta-badges {
	gap: 6px;
	margin-top: 8px;
}
.hnzrsvp-box.hnzrsvp-is-sidebar .hnzrsvp-meta-badge {
	font-size: 11px;
	padding: 3px 8px;
}
.hnzrsvp-box.hnzrsvp-is-sidebar .hnzrsvp-actions {
	flex-direction: column;
	gap: 8px;
	margin-bottom: 16px;
}
.hnzrsvp-box.hnzrsvp-is-sidebar .hnzrsvp-btn {
	padding: 10px 14px;
	font-size: 13px;
	width: 100%;
}
.hnzrsvp-box.hnzrsvp-is-sidebar .hnzrsvp-collapse-header {
	min-height: 28px;
	margin-bottom: 8px;
}
.hnzrsvp-box.hnzrsvp-is-sidebar .hnzrsvp-section-title {
	font-size: 13px;
	gap: 6px;
}
.hnzrsvp-box.hnzrsvp-is-sidebar .badge-yes,
.hnzrsvp-box.hnzrsvp-is-sidebar .badge-maybe {
	padding: 2px 6px;
	font-size: 11px;
}
.hnzrsvp-box.hnzrsvp-is-sidebar .hnzrsvp-toggle-btn {
	padding: 4px 8px;
	font-size: 11px;
	border-radius: 12px;
}
.hnzrsvp-box.hnzrsvp-is-sidebar .hnzrsvp-avatar-grid {
	gap: 8px;
}
.hnzrsvp-box.hnzrsvp-is-sidebar .hnzrsvp-avatar-item {
	width: 48px;
}
.hnzrsvp-box.hnzrsvp-is-sidebar .hnzrsvp-avatar-item img,
.hnzrsvp-box.hnzrsvp-is-sidebar .avatar-placeholder {
	width: 36px;
	height: 36px;
}
.hnzrsvp-box.hnzrsvp-is-sidebar .hnzrsvp-user-label {
	max-width: 48px;
	font-size: 9px;
}
