.si-app {
	max-width: 720px;
	margin: 0 auto;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Yu Gothic", sans-serif;
	color: #1a1a1a;
}

.si-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 16px;
}

.si-title {
	margin: 0;
	font-size: 22px;
	font-weight: 700;
}

.si-lang-toggle {
	background: #1a1a1a;
	color: #fff;
	border: none;
	border-radius: 999px;
	padding: 6px 16px;
	font-size: 13px;
	cursor: pointer;
}

.si-admin-refresh {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 16px;
}

.si-refresh-btn {
	display: inline-block;
	background: #f1f5f9;
	color: #1a1a1a;
	border: 1px solid #ddd;
	border-radius: 999px;
	padding: 6px 14px;
	font-size: 12px;
	text-decoration: none;
	font-weight: 600;
	cursor: pointer;
}

.si-refresh-btn:disabled {
	opacity: 0.6;
	cursor: default;
}

.si-refresh-msg {
	font-size: 12px;
}

.si-refresh-ok {
	color: #16a34a;
}

.si-refresh-error {
	color: #dc2626;
}

.si-quota {
	font-size: 12px;
	color: #555;
	background: #f7f7f7;
	border-radius: 8px;
	padding: 8px 12px;
	margin-bottom: 12px;
	text-align: center;
}

.si-calendar {
	border: 1px solid #e5e5e5;
	border-radius: 12px;
	padding: 16px;
	margin-bottom: 24px;
}

.si-calendar-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 12px;
	font-size: 14px;
}

.si-calendar-nav a {
	text-decoration: none;
	color: #2563eb;
}

.si-calendar-month {
	font-weight: 600;
	font-size: 15px;
}

.si-calendar-table {
	width: 100%;
	border-collapse: collapse;
	text-align: center;
}

.si-calendar-table th {
	font-size: 12px;
	color: #888;
	font-weight: 500;
	padding: 4px 0;
}

.si-calendar-table td {
	padding: 4px 0;
	font-size: 13px;
	position: relative;
}

.si-day-cell a {
	display: inline-block;
	width: 28px;
	height: 28px;
	line-height: 28px;
	border-radius: 50%;
	text-decoration: none;
	color: #1a1a1a;
	position: relative;
}

.si-day-cell.si-has-post a {
	font-weight: 600;
}

.si-day-cell.si-selected a {
	background: #1a1a1a;
	color: #fff;
}

.si-dot {
	display: block;
	width: 4px;
	height: 4px;
	background: #2563eb;
	border-radius: 50%;
	margin: 2px auto 0;
}

.si-day-cell.si-selected .si-dot {
	background: #fff;
}

.si-day-heading {
	font-size: 16px;
	font-weight: 600;
	margin-bottom: 12px;
}

.si-cards {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.si-card {
	border: 1px solid #e5e5e5;
	border-radius: 10px;
	padding: 14px 16px;
}

.si-card-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 8px;
}

.si-card-time {
	font-size: 11px;
	color: #999;
	margin-bottom: 8px;
}

.si-outlook {
	font-size: 12px;
	line-height: 1.6;
	margin-bottom: 8px;
	padding: 6px 10px;
	border-radius: 6px;
}

.si-outlook-up {
	background: #f0fdf4;
	color: #166534;
}

.si-outlook-down {
	background: #fef2f2;
	color: #991b1b;
}

.si-badge {
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	padding: 3px 10px;
	border-radius: 999px;
}

.si-score {
	color: #f59e0b;
	font-size: 13px;
}

.si-summary {
	font-size: 14px;
	line-height: 1.7;
	white-space: pre-line;
}

.si-sources {
	margin-top: 8px;
	display: flex;
	gap: 10px;
}

.si-sources a {
	font-size: 12px;
	color: #2563eb;
	text-decoration: none;
}

.si-empty {
	color: #888;
	font-size: 14px;
}

/* 言語切り替え: デフォルトは日本語表示、.lang-en クラスが付いたら英語表示に切り替え */
.si-app .si-lang-en {
	display: none;
}
.si-app.si-lang-en .si-lang-ja {
	display: none;
}
.si-app.si-lang-en .si-lang-en {
	display: block;
}
