/*
Theme Name: Qiyun
Theme URI: https://qiyun.local/
Author: Qiyun
Author URI: https://qiyun.local/
Description: A lightweight WordPress theme shell for the Qiyun modular builder runtime.
Version: 0.1.0
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
Text Domain: qiyun
*/

:root {
	--qiyun-bg: #f7f7f4;
	--qiyun-text: #18181b;
	--qiyun-muted: #666a73;
	--qiyun-line: #dcded8;
	--qiyun-accent: #0f766e;
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	background: var(--qiyun-bg);
	color: var(--qiyun-text);
	font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	line-height: 1.6;
}

a {
	color: inherit;
}

img {
	max-width: 100%;
	height: auto;
}

.qiyun-site {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.qiyun-site-header,
.qiyun-site-footer {
	padding: 18px clamp(18px, 4vw, 56px);
	border-color: var(--qiyun-line);
}

.qiyun-site-header {
	border-bottom: 1px solid var(--qiyun-line);
	background: rgba(247, 247, 244, 0.92);
}

.qiyun-site-footer {
	margin-top: auto;
	border-top: 1px solid var(--qiyun-line);
	color: var(--qiyun-muted);
	font-size: 14px;
}

.qiyun-site-brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--qiyun-text);
	font-weight: 700;
	text-decoration: none;
}

.qiyun-site-brand-mark {
	width: 28px;
	height: 28px;
	border-radius: 8px;
	background: var(--qiyun-text);
}

.qiyun-main {
	width: 100%;
}

.qiyun-container {
	width: min(1120px, calc(100% - 36px));
	margin-inline: auto;
}

.qiyun-fallback {
	padding: clamp(48px, 8vw, 96px) 0;
}

.qiyun-fallback h1 {
	margin: 0 0 20px;
	font-size: clamp(34px, 7vw, 72px);
	line-height: 0.95;
	letter-spacing: 0;
}

.qiyun-fallback-content {
	font-size: 18px;
	color: var(--qiyun-muted);
}

.qiyun-notice {
	width: min(760px, calc(100% - 36px));
	margin: 48px auto;
	padding: 18px 20px;
	border: 1px solid var(--qiyun-line);
	background: #ffffff;
	color: var(--qiyun-muted);
}
