:root{--bg: #efe9df;--surface: #fbf8f2;--ink: #3b342c;--muted: #7a7064;--accent: #8a6a3f;--accent-ink: #fffaf2;--line: #d9d0c2;--danger: #a1453a;font-family:Pretendard,Apple SD Gothic Neo,Noto Sans KR,system-ui,sans-serif;color:var(--ink);background:var(--bg)}*{box-sizing:border-box}html,body,#root{margin:0;height:100%}body{background:var(--bg);-webkit-tap-highlight-color:transparent}button{font:inherit;min-height:44px}input,textarea{font:inherit}.entry{min-height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;padding:24px 16px}.entry-card{width:100%;max-width:380px;background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:24px;display:flex;flex-direction:column;gap:14px}.entry-card h1{margin:0;font-size:22px;text-align:center}.entry-card label{display:flex;flex-direction:column;gap:6px;font-size:14px;color:var(--muted)}.entry-card input{min-height:44px;padding:8px 12px;border-radius:10px;border:1px solid var(--line);background:#fff;color:var(--ink);font-size:16px}.entry-message{margin:0;line-height:1.6;text-align:center}.entry-error{margin:0;color:var(--danger);font-size:14px}button.primary{border:0;border-radius:10px;background:var(--accent);color:var(--accent-ink);font-weight:600;cursor:pointer}button.primary:disabled{opacity:.6}.admin{max-width:760px;margin:0 auto;padding:16px}.admin-header{display:flex;justify-content:space-between;align-items:center}.admin-header h1{font-size:20px;margin:0}.admin-header button,.admin-actions button{border:1px solid var(--line);border-radius:10px;background:var(--surface);padding:0 14px;cursor:pointer}.admin-tabs{display:flex;gap:4px;overflow-x:auto;margin:16px 0;border-bottom:1px solid var(--line)}.admin-tabs button{border:0;background:none;padding:0 14px;cursor:pointer;color:var(--muted);white-space:nowrap}.admin-tabs button[aria-selected=true]{color:var(--ink);font-weight:700;border-bottom:2px solid var(--accent)}.admin-badge{display:inline-block;margin-left:6px;min-width:20px;padding:0 6px;border-radius:10px;background:var(--danger);color:#fff;font-size:12px;line-height:20px}.admin-list{display:flex;flex-direction:column;gap:10px}.admin-row{display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px;padding:14px;background:var(--surface);border:1px solid var(--line);border-radius:12px}.admin-row-main{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.admin-actions{display:flex;flex-wrap:wrap;gap:6px}.admin-actions .primary{padding:0 14px}.admin-tag{font-size:12px;padding:2px 8px;border-radius:8px;background:#f2e3c7;color:var(--accent)}.admin-tag.danger{background:#f5d9d5;color:var(--danger)}.admin-compare{display:flex;flex-direction:column;font-size:14px}.admin-sub{color:var(--muted);font-size:14px}.admin-empty{color:var(--muted)}.admin-form{flex-direction:column}.admin-form input,.admin-form textarea{width:100%;padding:8px 12px;border:1px solid var(--line);border-radius:10px;font-size:16px}button.link{border:0;background:none;color:var(--accent);cursor:pointer;padding:0 8px}.sheet{width:100%;max-width:520px;max-height:85vh;overflow-y:auto;background:var(--surface);border-radius:16px;padding:20px}.sheet-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.sheet-header h1{font-size:19px;margin:0}.board-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}.board-list button{width:100%;display:flex;justify-content:space-between;gap:12px;align-items:center;text-align:left;background:#fff;border:1px solid var(--line);border-radius:10px;padding:8px 14px;cursor:pointer}.board-detail h2{font-size:18px;margin:8px 0 4px}.board-detail img{width:100%;border-radius:10px;margin:10px 0}.board-body{white-space:pre-wrap;line-height:1.7}.saying-card{width:100%;max-width:340px;background:#fffdf8;border:1px solid #e3d6bd;border-radius:18px;padding:28px 22px 18px;text-align:center;box-shadow:0 12px 40px #3c280a2e;display:flex;flex-direction:column;gap:16px}.saying-text{margin:0;font-size:18px;line-height:1.75;white-space:pre-wrap}.saying-source{margin:0;color:var(--accent);font-size:14px;letter-spacing:.08em}.sanctuary{position:fixed;top:0;right:0;bottom:0;left:0;background:var(--bg);touch-action:none}.sanctuary-fade{position:absolute;top:0;right:0;bottom:0;left:0;background:#fffaf0;opacity:0;pointer-events:none}.nickname{width:max-content;padding:2px 8px;border-radius:10px;background:#fffcf5d9;color:var(--ink);font-size:12px;white-space:nowrap;pointer-events:none;-webkit-user-select:none;user-select:none}.nickname.self{background:#8a6a3fe6;color:#fffaf2}.hud-top{position:absolute;top:max(12px,env(safe-area-inset-top));left:12px;right:12px;display:flex;justify-content:space-between;align-items:center;gap:8px;pointer-events:none}.hud-top-actions{display:flex;gap:6px}.hud-chip{pointer-events:auto;min-height:36px;display:inline-flex;align-items:center;padding:0 12px;border-radius:18px;border:0;background:#fffcf5e0;color:var(--ink);font-size:13px;box-shadow:0 2px 10px #3c280a1f;cursor:pointer}.hud-bottom{position:absolute;left:50%;transform:translate(-50%);bottom:max(16px,env(safe-area-inset-bottom));display:flex;gap:4px;padding:6px;border-radius:28px;background:#fffcf5e6;box-shadow:0 4px 18px #3c280a29}.hud-bottom button{min-width:64px;min-height:52px;border:0;background:none;border-radius:22px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;font-size:20px;cursor:pointer}.hud-bottom button span{font-size:12px;color:var(--ink)}.hud-bottom button:active{background:#efe4d1}.prayer-rising{width:max-content;max-width:220px;word-break:keep-all;overflow-wrap:anywhere;padding:6px 12px;border-radius:14px;background:#fffdf8bf;color:#5b4630;font-size:14px;line-height:1.5;text-align:center;box-shadow:0 0 18px #fff0d2e6;pointer-events:none;-webkit-user-select:none;user-select:none}.prayer-sheet textarea,.board-list textarea{width:100%;padding:10px 12px;border:1px solid var(--line);border-radius:10px;font-size:16px;resize:none}.prayer-foot{display:flex;justify-content:space-between;align-items:center;margin-top:10px}.prayer-foot .primary{padding:0 22px}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#28201873;display:flex;align-items:center;justify-content:center;padding:16px;z-index:50}
