@font-face{font-family:Patrick Hand;src:url(/fonts/PatrickHand-Regular.ttf)format("truetype");font-weight:400;font-style:normal;font-display:swap}*{box-sizing:border-box}:root{color-scheme:light dark;--page-bg:#f4f1e8;--surface:#fff;--surface-secondary:#f5f5f5;--surface-hover:#e8e8e8;--text:#222;--text-muted:#666;--border:#d6d6d6;--active-bg:#222;--active-text:#fff;--shadow:0 3px 8px #0000001f}@media (prefers-color-scheme:dark){:root:not([data-theme=light]){--page-bg:#121212;--surface:#202020;--surface-secondary:#2b2b2b;--surface-hover:#383838;--text:#f1f1f1;--text-muted:#b8b8b8;--border:#444;--active-bg:#f1f1f1;--active-text:#202020;--shadow:0 3px 8px #00000059}}:root[data-theme=dark]{--page-bg:#121212;--surface:#202020;--surface-secondary:#2b2b2b;--surface-hover:#383838;--text:#f1f1f1;--text-muted:#b8b8b8;--border:#444;--active-bg:#f1f1f1;--active-text:#202020;--shadow:0 3px 8px #00000059}body{color:var(--text);background-color:var(--page-bg);background-image:url(/backgrounds/brick-pattern.svg);background-repeat:repeat;background-size:480px 320px;margin:0;font-family:Patrick Hand,cursive;line-height:1.6}.site-header{background:var(--surface);border-bottom:1px solid var(--border)}.header-inner{justify-content:space-between;align-items:center;gap:30px;max-width:1100px;margin:0 auto;padding:18px 24px;display:flex}.header-actions{align-items:center;gap:10px;display:flex}.site-brand{color:inherit;align-items:center;gap:14px;font-size:1.5rem;font-weight:700;text-decoration:none;display:flex}.site-brand img{object-fit:contain;width:58px;height:58px;display:block}nav{align-items:center;gap:14px;display:flex}nav a,nav span{border:1px solid var(--border);background:var(--surface-secondary);color:var(--text);border-radius:6px;padding:7px 12px;font-size:1.05rem;line-height:1;text-decoration:none;display:inline-block}nav a:hover{background:var(--surface-hover);border-color:var(--border)}nav a.active{background:var(--active-bg);color:var(--active-text);border-color:var(--active-bg)}nav a.active:hover{background:var(--active-bg);border-color:var(--active-bg)}.theme-picker{position:relative}.theme-picker summary{width:38px;height:38px;color:var(--text);border:1px solid var(--border);font:inherit;cursor:pointer;user-select:none;background:0 0;border-radius:50%;justify-content:center;align-items:center;padding:0;list-style:none;transition:background-color .15s,transform .15s;display:flex}.theme-picker summary::-webkit-details-marker{display:none}.theme-picker summary:hover{background:var(--surface-hover);transform:rotate(12deg)}.theme-icon{font-size:18px;line-height:1}.theme-menu{z-index:1000;background:var(--surface);border:1px solid var(--border);min-width:140px;box-shadow:var(--shadow);border-radius:8px;padding:6px;position:absolute;top:calc(100% + 8px);right:0}.theme-menu button{width:100%;color:var(--text);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:5px;padding:9px 12px;display:block}.theme-menu button:hover{background:var(--surface-hover)}.theme-menu button[aria-pressed=true]{background:var(--active-bg);color:var(--active-text)}main{background:var(--surface);max-width:1100px;box-shadow:var(--shadow);border-radius:12px;width:calc(100% - 48px);margin:40px auto;padding:50px 40px}footer{background:var(--surface);width:calc(100% - 48px);max-width:1100px;color:var(--text);box-shadow:var(--shadow);text-align:center;border-radius:12px;margin:40px auto;padding:20px 30px;font-size:.95rem;& .footer-links{margin:8px 0 0}& .footer-links a{color:var(--text);text-decoration:none}& .footer-links a:hover{text-decoration:underline}}@media (width<=700px){.header-inner{flex-direction:column;align-items:stretch;gap:14px;padding:16px}.site-brand{justify-content:center}.site-brand img{width:52px;height:52px}nav{gap:8px}nav a,nav span{padding:7px 10px}main{border-radius:10px;width:calc(100% - 24px);margin:20px auto;padding:30px 20px}.header-actions{flex-wrap:nowrap;justify-content:center;align-items:center;gap:6px;width:100%;display:flex}.header-actions nav{flex-wrap:nowrap;flex:auto;justify-content:center;align-items:center;gap:6px;min-width:0;display:flex}.header-actions nav a{white-space:nowrap;padding:7px 9px;font-size:.9rem}.theme-picker{flex:none}.theme-picker summary{width:34px;height:34px}footer{background:var(--surface);width:calc(100% - 24px);box-shadow:var(--shadow);margin:20px auto;padding:18px 20px}}
