:root { color-scheme: light; --text: #0f161a; --muted: #4a565b; --line: #dce1e3; --link: #0b6e92; }
* { box-sizing: border-box; }
body { margin: 0; font: 16px/1.7 -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang TC", "PingFang SC", "Noto Sans TC", "Noto Sans SC", sans-serif; color: var(--text); background: #f7f7f5; }
header, main, footer { max-width: 760px; margin: 0 auto; padding: 16px 20px; }
header { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px solid var(--line); }
.brand { font-weight: 700; letter-spacing: 0.08em; color: var(--text); text-decoration: none; }
a { color: var(--link); }
nav a[aria-current="page"] { color: var(--text); font-weight: 700; text-decoration: none; }
h1 { font-size: 1.6rem; margin: 24px 0 8px; }
h2 { font-size: 1.15rem; margin: 28px 0 8px; }
.meta, footer { color: var(--muted); font-size: 0.9rem; }
table { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
th, td { border: 1px solid var(--line); padding: 6px 8px; text-align: left; vertical-align: top; }
[data-fill] { background: #fff3c4; }
/* 群組邀請頁（/+<code>，functions/[[path]].js 填入群照片、名字、人數） */
.invite { display: flex; flex-direction: column; align-items: center; gap: 4px; margin: 20px 0; text-align: center; }
.invite-photo { width: 96px; height: 96px; border-radius: 24px; object-fit: cover; border: 1px solid var(--line); }
.invite-name { font-size: 1.3rem; font-weight: 700; margin: 8px 0 0; }
.invite-description { max-width: 32rem; margin: 8px 0 0; white-space: normal; overflow-wrap: anywhere; }
/* 貼圖包頁（/addstickers/<短链名>，functions/[[path]].js 填入包名、張數、前幾張貼圖） */
.sticker-cover { width: 96px; height: 96px; object-fit: contain; }
.stickers { display: grid; grid-template-columns: repeat(4, 72px); justify-content: center; gap: 12px; margin: 8px 0 20px; }
.stickers img { width: 72px; height: 72px; object-fit: contain; }
.button { display: inline-block; padding: 10px 20px; border-radius: 999px; background: var(--link); color: #fff; text-decoration: none; font-weight: 600; }
