body {
	font-size: 14px;
	background: #fff;
}

a {
	color: var(--accent2);
}
a:hover {
	color: var(--accent2);
}

#main {
	font-size: 14px;
	width: 100%;
	max-width: 680px;
	margin: 0 auto;
	margin-top: 120px;
	margin-bottom: 80px;
	padding: 0 16px;
	box-sizing: border-box;
	animation: fadein 0.7s ease forwards;
}

/* ===== PAGE HEADER ===== */
#page-header-priv {
	background: var(--accent5);
	border: 2px solid var(--secondary);
	border-radius: 20px;
	padding: 28px 32px;
	margin-bottom: 20px;
}

h2 {
	font-size: 22px;
	font-weight: 700;
	margin: 0 0 10px;
	color: var(--secondary);
}

#info {
	font-size: 13px;
	line-height: 1.9;
	margin: 0;
	color: var(--secondary);
}

/* ===== ボタン ===== */
#make-channel-button {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: var(--primary);
	color: var(--secondary);
	border: 2px solid var(--secondary);
	border-radius: 100px;
	font-weight: bold;
	font-size: 12px;
	padding: 8px 18px;
	margin-top: 20px;
	margin-bottom: 8px;
	cursor: pointer;
	transition: background 0.15s ease;
}
#make-channel-button:hover {
	background: #e0d400;
}
#make-channel-button img {
	width: 16px;
}

/* ===== 入室フォーム ===== */
#form {
	background: #fff;
	border: 2px solid var(--secondary);
	border-radius: 20px;
	padding: 28px;
	margin-bottom: 24px;
	display: none;
}

#flex-box {
	display: flex;
	align-items: center;
	margin-bottom: 24px;
}

#form-title {
	font-weight: 700;
	font-size: 18px;
	color: var(--secondary);
}

#flex-box img {
	width: 22px;
	height: 22px;
	margin-left: auto;
	cursor: pointer;
}

.form-box {
	display: block;
}

.form-labels {
	margin: 4px 0;
	font-weight: 700;
	font-size: 12px;
	color: var(--secondary);
}

.form-inputs {
	background: #fff;
	border: 2px solid var(--secondary);
	border-radius: 12px;
	padding: 10px 14px;
	width: 100%;
	margin-bottom: 12px;
	box-sizing: border-box;
	font-size: 14px;
}
.form-inputs:focus {
	outline: none;
	border-color: var(--accent2);
}

#submit_btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 12px;
	background: var(--accent5);
	color: var(--secondary);
	padding: 8px 20px;
	font-size: 12px;
	font-weight: bold;
	border: 2px solid var(--secondary);
	border-radius: 100px;
	cursor: pointer;
	transition: background 0.15s ease;
}
#submit_btn img {
	width: 16px;
}
#submit_btn:hover {
	background: #8de87a;
}

/* ===== 仕切り ===== */
.hr1 {
	border-bottom: 1px solid #e0e0da;
	margin: 6px 0;
}
.hr2 {
	border-bottom: 1.5px solid #e0e0da;
	margin: 20px 0;
}

/* ===== チャンネルリスト ===== */
#links {
	margin-top: 16px;
	margin-bottom: 40px;
}

.link {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	background: #fff;
	border: 1.5px solid #e0e0da;
	border-radius: 16px;
	padding: 16px;
	margin-bottom: 12px;
	transition: box-shadow 0.15s ease;
}
.link:hover {
	box-shadow: 3px 3px 0 var(--secondary);
}

.title-logo-button {
	width: 80px;
	height: 80px;
	flex-shrink: 0;
	background: var(--accent5);
	color: var(--secondary);
	font-weight: 700;
	font-size: 32px;
	border: 2px solid var(--secondary);
	border-radius: 14px;
	cursor: pointer;
	transition: background 0.15s ease;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
}
.title-logo-button:hover {
	background: #8de87a;
}
.title-logo-button-data {
	font-size: 11px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	color: var(--secondary);
}
.title-logo-message-count {
	display: flex;
	align-items: center;
	gap: 2px;
}
.title-logo-human-count {
	display: flex;
	align-items: center;
	gap: 2px;
}
.msg-count {
	width: 13px;
}
.human-count {
	width: 8px;
}

.title-text {
	flex: 1;
	min-width: 0;
}

.atitle {
	font-size: 16px;
	font-weight: bold;
	text-decoration: none;
	color: var(--secondary);
	display: block;
	margin-bottom: 4px;
}
.atitle:hover {
	color: var(--accent2);
}

.lastdate {
	margin: 6px 0;
	color: #aaa;
	font-size: 12px;
}

.link-hr {
	border-bottom: 1px solid #e0e0da;
	margin: 4px 0;
}

.listtagname {
	color: #aaa;
	margin: 6px 0;
	font-size: 12px;
}

.counter {
	display: inline;
}

/* ===== ANIMATION ===== */
@keyframes fadein {
	0%   { opacity: 0; }
	100% { opacity: 1; }
}

/* ===== RESPONSIVE ===== */
@media screen and (max-width: 550px) {
	#main {
		margin-top: 100px;
		padding: 0 12px;
	}

	#page-header-priv {
		padding: 22px;
		border-radius: 16px;
	}

	.title-logo-button {
		width: 64px;
		height: 64px;
		font-size: 24px;
	}

	.atitle {
		font-size: 14px;
	}
}
