.anon-page{background:#fff}.anon-wrap{width:min(960px,calc(100% - 64px));margin:auto;padding:64px 0 44px}
.anon-back{font-weight:600;text-decoration:none;font-size:.94rem}.anon-back:hover{text-decoration:underline;text-underline-offset:4px}
.anon-intro{max-width:760px;margin-bottom:40px}.anon-intro h1{font-size:clamp(3rem,7.1vw,5.9rem);line-height:.98;letter-spacing:-.07em;font-weight:800;margin:0 0 24px}
.anon-intro h1 em{background:linear-gradient(transparent 72%,var(--yellow) 72%,var(--yellow) 96%,transparent 96%)}
.intro-copy{max-width:700px;color:var(--muted);font-size:1.04rem}.intro-copy strong{color:var(--ink)}
.anon-form-card{background:white;border:1px solid var(--line);border-radius:var(--radius);padding:clamp(18px,4vw,40px);box-shadow:0 12px 48px #1f202408}
.anon-form-card h2{font-size:clamp(1.9rem,4vw,3rem)}.anon-label{display:block;font-weight:700;margin:24px 0 8px}.anon-label .muted{font-weight:400;font-size:.88rem}
#nickname{width:100%;border:1px solid #c9cac7;border-radius:8px;padding:12px 14px;min-height:48px;background:white;color:var(--ink)}
.editor-shell{border:1px solid #c9cac7;border-radius:10px;overflow:hidden;min-width:0;background:white}
.editor-toolbar{background:var(--paper);padding:8px;display:flex;flex-wrap:wrap;gap:6px;align-items:center;border-bottom:1px solid var(--line)}
.toolgroup{display:flex;align-items:center;gap:2px;flex-wrap:wrap;border-right:1px solid var(--line);padding-right:6px}
.editor-toolbar button,.editor-toolbar select,.color-tool{background:white;color:var(--ink);border:1px solid #ddd;border-radius:5px;min-height:36px;min-width:36px;padding:5px 7px;font-size:.9rem;font-weight:600;line-height:1.2}
.editor-toolbar select{max-width:100%;font-weight:500}.editor-toolbar button:hover,.editor-toolbar button[aria-pressed=true]{background:#fff1ac;border-color:#c4a01e}
.editor-toolbar button small{font-size:.62rem;margin-left:2px}.color-tool{display:flex;align-items:center;gap:4px;cursor:pointer}.color-tool input{width:21px;height:21px;padding:0;border:0;background:none;cursor:pointer}
.highlight-mark{background:#fccd25;padding:1px 3px}#focus-mode{margin-left:auto}
.editor{position:relative;min-height:480px;max-height:72vh;overflow:auto;overscroll-behavior:contain;padding:24px;outline:none;font-size:1.04rem;line-height:1.72;overflow-wrap:anywhere;white-space:pre-wrap}
.editor:focus{box-shadow:inset 0 0 0 2px #a47b00}.editor:empty:before{content:attr(data-placeholder);white-space:pre-line;color:#777;pointer-events:none}
.rich-content{overflow-wrap:anywhere}.rich-content p,.rich-content div{margin:0 0 .5em}.rich-content h1,.rich-content h2,.rich-content h3{font-weight:700;line-height:1.3;letter-spacing:-.025em;margin:.5em 0}.rich-content h1{font-size:1.8em}.rich-content h2{font-size:1.5em}.rich-content h3{font-size:1.2em}.rich-content ul,.rich-content ol{padding-left:1.7em;margin:.6em 0}.rich-content blockquote{border-left:3px solid #fccd25;margin:.6em 0;padding-left:1em}.rich-content a{color:#765800;text-decoration:underline}.rich-content pre{white-space:pre-wrap;font:inherit}
.editor-bottom{display:flex;justify-content:space-between;gap:8px;padding:9px 12px;border-top:1px solid var(--line);font-size:.78rem;color:var(--muted);background:var(--paper)}
.small-copy{font-size:.86rem;color:var(--muted);line-height:1.5}.privacy-note{display:flex;gap:12px;background:var(--paper);padding:16px;border-radius:10px;margin-top:24px}.privacy-icon{font-size:1.4rem;line-height:1.2}.privacy-note p{margin-top:5px;font-size:.9rem;color:var(--muted)}
.anon-status{margin:14px 0;font-size:.94rem}.anon-status:empty{display:none}.anon-status.error{background:#fce9e6;color:#8c271c;padding:12px;border-radius:8px}
#send{margin-top:20px;width:100%}.anon-end{text-align:center;color:var(--muted);font-size:.95rem;font-style:italic;margin:30px 0 0}
.success-panel{text-align:center;padding:24px 0;outline:0}.success-icon{width:68px;height:68px;border-radius:50%;background:var(--yellow);font-size:2rem;font-weight:700;display:grid;place-items:center;margin:0 auto 20px}.reference{background:var(--paper);border-radius:10px;padding:20px;margin:24px auto;max-width:580px}.reference>span{display:block;font-size:.72rem;letter-spacing:.12em;font-weight:700}.reference strong{display:block;font-size:clamp(1rem,3vw,1.5rem);overflow-wrap:anywhere}.quiet-button{border:0;background:none;text-decoration:underline;padding:8px;font-weight:600}.success-actions{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}
body.anon-focus{overflow:hidden}.editor-shell.focused{position:fixed;inset:12px;z-index:50;display:flex;flex-direction:column;box-shadow:0 0 0 100vmax #1f2024e8}.editor-shell.focused .editor{flex:1;max-height:none;min-height:0;overflow:auto;padding:clamp(20px,5vw,70px)}.editor-shell.focused .editor-toolbar{flex:none}.editor-shell.focused .editor-bottom{flex:none}
@media(max-width:760px){.anon-wrap{width:calc(100% - 36px);padding:40px 0 32px}.anon-intro{margin-bottom:28px}.anon-intro h1{font-size:clamp(2.8rem,10vw,4.6rem)}.editor{min-height:340px;max-height:65vh;padding:14px}.editor-toolbar{gap:4px;padding:6px}.editor-toolbar button,.editor-toolbar select,.color-tool{min-height:40px;min-width:40px}.toolgroup{padding-right:3px}.editor-bottom{flex-wrap:wrap}.success-actions .btn{width:100%}.anon-back{font-size:.86rem}.privacy-note{padding:12px}.editor-shell.focused{inset:4px}.editor-shell.focused .editor-toolbar{max-height:38vh;overflow:auto}}
@media(max-width:390px){.anon-wrap{width:calc(100% - 28px)}.anon-form-card{padding:14px}.anon-intro h1{font-size:2.65rem}.editor-toolbar select{max-width:138px}}
