.wrapper { display: flex; justify-content: center; padding-top: 48px; } .inner { width: 100%; max-width: var(--maxWidth-text); padding-inline: var(--spacing-md); } .commentList, .replies { list-style: none; padding: 0; margin: 0 0 var(--spacing-md); display: flex; flex-direction: column; gap: var(--spacing-md); } .commentList { margin-top: var(--spacing-md); } .comment { display: flex; flex-direction: column; gap: 6px; min-width: 0; margin: 0; } .commentHeader { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; } .date { color: var(--color-text-secondary); font-size: 0.8rem; line-height: 1.4; white-space: nowrap; } .nickname { font-family: system-ui, sans-serif; font-size: 0.9rem; font-weight: bold; line-height: 1.4; overflow-wrap: anywhere; } .commentText { font-size: 1rem; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; } .replies { margin: 12px 0 0; padding-left: 16px; border-left: 1px solid var(--color-line-border); } /* Keep long conversations readable on narrow screens. */ .replies .replies .replies { padding-left: 0; border-left: 0; } .textLink { align-self: flex-start; font-family: system-ui, sans-serif; font-size: 0.8rem; line-height: 1.4; background: none; border: none; padding: 0; cursor: pointer; color: var(--color-text-secondary); text-decoration: none; } .textLink:hover { color: var(--color-text-primary); } .textLink:disabled { cursor: wait; opacity: 0.6; } .dialog { box-sizing: border-box; width: min(480px, calc(100% - 32px)); max-height: calc(100dvh - 32px); margin: auto; padding: 24px; overflow-y: auto; border: 1px solid var(--color-line-border); background: var(--color-background-main); color: var(--color-text-primary); } .dialog::backdrop { background: rgb(0 0 0 / 45%); } .dialogBody { display: grid; } .dialogContent, .success { grid-area: 1 / 1; min-width: 0; } .dialogContent[data-submitted='true'] { visibility: hidden; } .dialogContent { display: flex; flex-direction: column; gap: 10px; } .success { display: grid; place-items: center; align-content: center; gap: var(--spacing-sm); text-align: center; outline: none; } .title { margin: 0 0 8px; font-size: 1.25rem; overflow-wrap: anywhere; } .description { color: var(--color-text-secondary); } .form { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; } .textarea { box-sizing: border-box; width: 100%; padding: 12px 16px; border: 1px solid var(--color-line-border); border-radius: 0; background: transparent; color: var(--color-text-primary); line-height: 1.45; resize: vertical; transition: border-color 0.15s; } .textarea:focus { outline: none; border-color: var(--color-text-headline); } .captcha::placeholder { opacity: 0; } .captcha[data-ready='true']::placeholder { opacity: 1; transition: opacity 180ms ease-in; } @media (prefers-reduced-motion: reduce) { .captcha[data-ready='true']::placeholder { transition: none; } } .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 12px; } .actions .textLink { align-self: center; } .error { color: var(--color-palette-accent); font-family: system-ui, sans-serif; font-size: 0.85rem; }