:root {
  font-family: Inter, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #172b3b; background: #fff; font-synthesis: none; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
  --ink: #172b3b; --muted: #71808b; --line: #e8ebed; --blue: #058ed9; --orange: #f47e1e; --green: #82a95a; --ease: cubic-bezier(.22, 1, .36, 1);
}
* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; scroll-padding-top: 24px; }
body { min-width: 320px; min-height: 100vh; margin: 0; display: flex; flex-direction: column; background: #fff; }
button, input, textarea, select { font: inherit; }
button { color: inherit; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; }
[hidden] { display: none !important; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid #83cef5; outline-offset: 3px; }

.site-header { position: relative; z-index: 5; display: flex; align-items: center; justify-content: space-between; width: min(1240px, calc(100% - 96px)); height: 99px; margin: 0 auto; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 13px; min-width: 0; }
.brand-logo { width: 58px; height: 58px; padding: 2px; border-radius: 15px; background: #fff; touch-action: none; user-select: none; transition: transform .3s var(--ease), box-shadow .25s; }
.brand-logo:hover { box-shadow: 0 8px 20px #1268a316; }
.brand-logo img { width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.brand-logo.dragging { position: relative; z-index: 12; cursor: grabbing; box-shadow: 0 12px 30px #1268a333; }
.brand-copy { display: grid; gap: 3px; }
.brand-name { width: fit-content; font-size: 20px; font-weight: 800; }
.brand-copy > span { color: #82909a; font-size: 11px; }
.header-right { display: flex; align-items: center; gap: 13px; }
.main-site-link { display: inline-flex; align-items: center; gap: 7px; padding: 8px 11px; border: 1px solid #dce9ed; border-radius: 6px; color: #247b9d; background: #f6fbfc; font-size: 11px; font-weight: 700; transition: border-color .2s, background .2s; }
.main-site-link:hover { border-color: #abd4e1; background: #edf8fa; }
.header-date { display: flex; align-items: center; gap: 9px; color: #7d8992; font-size: 12px; }
.date-dot, .admin-dot { width: 7px; height: 7px; border-radius: 50%; background: #83ac5b; box-shadow: 0 0 0 4px #83ac5b1c; }
.drag-target { display: grid; align-content: center; gap: 3px; min-width: 152px; min-height: 49px; padding: 6px 15px; border: 1px dashed #ef9849; border-radius: 12px; color: #b86420; background: #fff8ee; text-align: center; }
.drag-target span { font-size: 13px; font-weight: 750; }
.drag-target small { color: #9e846e; font-size: 10px; }
.admin-status { display: flex; align-items: center; gap: 9px; color: #537b37; font-size: 12px; }
.admin-status button { padding: 7px 10px; border: 1px solid #d8e5ce; border-radius: 7px; color: #536c40; background: #f6fbf1; font-size: 11px; }

main { width: 100%; }
.welcome { position: relative; display: grid; grid-template-columns: .95fr 1.05fr; grid-template-rows: 510px 54px; align-items: center; width: min(1120px, calc(100% - 112px)); margin: 0 auto; }
.welcome-copy { position: relative; z-index: 1; align-self: center; padding: 0 0 30px 8px; }
.welcome-note { display: flex; align-items: center; gap: 9px; margin: 0 0 22px; color: #7a858b; font-size: 12px; }
.note-sun { color: var(--orange); font-size: 21px; line-height: 1; animation: rotate-sun 22s linear infinite; }
.welcome h1 { margin: 0; color: #162b3c; font-size: 62px; font-weight: 850; line-height: 1.23; }
.welcome h1 span { color: var(--blue); }
.welcome-description { margin: 22px 0 29px; color: #77848c; font-size: 14px; line-height: 1.95; }
.write-link { display: inline-flex; align-items: center; gap: 24px; padding: 11px 0; color: #db6e1c; font-size: 13px; font-weight: 750; }
.write-link span { display: grid; width: 29px; height: 29px; place-items: center; border: 1px solid #f3c5a0; border-radius: 50%; font-size: 16px; transition: transform .25s var(--ease), background .25s; }
.write-link:hover span { transform: translateY(3px); background: #fff2e6; }
.welcome-art { position: relative; display: grid; align-self: stretch; place-items: center; min-width: 0; overflow: hidden; }
.welcome-art::before { position: absolute; inset: 65px 34px 53px 44px; border-radius: 48% 52% 44% 56% / 51% 41% 59% 49%; background: #f0f9fc; content: ""; transform: rotate(-5deg); }
.welcome-art::after { position: absolute; top: 76px; right: 18px; width: 87px; height: 87px; border: 1px solid #cfeaf5; border-radius: 50%; content: ""; }
.welcome-art img { position: relative; z-index: 1; width: min(100%, 492px); height: auto; object-fit: contain; mix-blend-mode: multiply; animation: float-logo 7s ease-in-out infinite; }
.art-caption { position: absolute; z-index: 2; top: 100px; left: 38px; color: #91b7c5; font-size: 9px; font-weight: 750; line-height: 1.8; letter-spacing: 1px; }
.art-spark { position: absolute; z-index: 2; color: var(--orange); }
.spark-one { top: 126px; right: 92px; font-size: 28px; animation: rotate-sun 18s linear infinite; }
.spark-two { bottom: 107px; left: 38px; color: #75b344; font-size: 25px; animation: sparkle 2.4s ease-in-out infinite; }
.art-sticker { position: absolute; z-index: 2; right: 10px; bottom: 73px; display: grid; width: 112px; height: 112px; align-content: center; justify-items: center; border: 1px solid #f5dca5; border-radius: 50%; color: #8b7139; background: #fff8dd; font-size: 13px; line-height: 1.65; transform: rotate(8deg); }
.art-sticker strong { color: #df7725; font-size: 17px; }
.welcome-bottom { display: flex; grid-column: 1 / -1; align-items: center; gap: 16px; padding: 0 8px; color: #939da3; font-size: 10px; }
.bottom-line { width: 62px; height: 1px; background: #d9dfe1; }
.welcome-bottom span:last-child { margin-left: auto; font-family: Arial, sans-serif; font-size: 9px; }

.message-section { padding: 74px max(48px, calc((100% - 1120px) / 2)) 100px; background: #f8faf9; }
.section-heading { display: flex; align-items: end; justify-content: space-between; width: min(1120px, 100%); margin: 0 auto 31px; }
.section-note { margin: 0 0 10px; color: #9a9e96; font-size: 9px; font-weight: 750; letter-spacing: 1.25px; }
.section-heading h2 { margin: 0; color: #1d303d; font-size: 30px; font-weight: 800; }
.section-heading h2 span { color: var(--orange); }
.message-count { display: grid; justify-items: end; gap: 1px; padding-bottom: 3px; color: #8a9397; font-size: 11px; }
.message-count strong { color: #e27a28; font-family: Arial, sans-serif; font-size: 24px; font-weight: 750; }
.message-layout { display: grid; grid-template-columns: minmax(330px, 390px) minmax(0, 1fr); gap: 46px; width: min(1120px, 100%); margin: 0 auto; align-items: start; }
.write-column { display: grid; gap: 13px; min-width: 0; }
.message-form { padding: 24px 25px 21px; border: 1px solid #e8ebea; border-radius: 8px; background: #fff; box-shadow: 0 10px 32px #243c3308; }
.form-heading { display: flex; align-items: center; gap: 12px; margin: 0 0 24px; }
.form-mark { display: grid; width: 41px; height: 41px; flex: 0 0 auto; place-items: center; border-radius: 13px; color: #087dbd; background: #e8f7fd; font-family: Arial, sans-serif; font-size: 17px; font-weight: 800; transform: rotate(-5deg); }
.form-heading h3 { margin: 0 0 4px; font-size: 17px; }
.form-heading p { margin: 0; color: #8b9496; font-size: 11px; }
.field-label { display: flex; align-items: center; gap: 7px; margin: 0 0 9px; color: #374750; font-size: 12px; font-weight: 750; }
.field-label > span { color: #a2a9a9; font-size: 10px; font-weight: 450; }
.message-form textarea, .message-form input, .message-form select, .modal-content input { width: 100%; border: 1px solid #e5e9e9; border-radius: 6px; color: #263a45; background: #fbfcfc; font-size: 12px; transition: border-color .2s, background .2s; }
.message-form textarea { min-height: 122px; padding: 12px 13px; resize: vertical; line-height: 1.75; }
.message-form textarea::placeholder, .message-form input::placeholder, .modal-content input::placeholder { color: #aeb6b7; }
.message-form textarea:focus, .message-form input:focus, .message-form select:focus, .modal-content input:focus { border-color: #74bedf; background: #fff; outline: 0; }
.input-footer { display: flex; justify-content: space-between; gap: 8px; margin: 7px 1px 18px; color: #a0a7a7; font-size: 9px; line-height: 1.5; }
.input-footer span:last-child { flex: 0 0 auto; font-family: Arial, sans-serif; }
.form-fields { display: grid; grid-template-columns: .8fr 1.2fr; gap: 12px; }
.message-form select, .message-form input { height: 40px; padding: 0 10px; }
.message-form select { cursor: pointer; }
.anonymous-toggle { display: flex; align-items: center; gap: 9px; width: fit-content; margin-top: 17px; color: #3c4b50; font-size: 11px; cursor: pointer; user-select: none; }
.anonymous-toggle input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.toggle-track { position: relative; width: 29px; height: 17px; border-radius: 12px; background: #dfe4e3; transition: background .2s; }
.toggle-track::after { position: absolute; top: 2px; left: 2px; width: 13px; height: 13px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px #0002; content: ""; transition: transform .2s var(--ease); }
.anonymous-toggle input:checked + .toggle-track { background: #7da75a; }
.anonymous-toggle input:checked + .toggle-track::after { transform: translateX(12px); }
.anonymous-toggle input:focus-visible + .toggle-track { outline: 3px solid #83cef5; outline-offset: 3px; }
.anonymous-toggle small { margin-left: -4px; color: #a1a8a6; font-size: 10px; }
.form-error { margin: 11px 0 0; color: #c54734; font-size: 11px; line-height: 1.5; }
.submit-button { display: flex; width: 100%; height: 46px; align-items: center; justify-content: space-between; margin-top: 20px; padding: 0 15px; border-radius: 6px; color: #fff; background: #108ac7; font-size: 12px; font-weight: 750; transition: background .2s, transform .2s, box-shadow .2s; }
.submit-button:hover { transform: translateY(-1px); background: #0879b0; box-shadow: 0 7px 16px #118ac72b; }
.submit-button:disabled { cursor: wait; opacity: .68; }
.submit-arrow { display: grid; width: 25px; height: 25px; place-items: center; border: 1px solid #ffffff62; border-radius: 50%; font-size: 15px; }
.form-footnote { margin: 11px 0 0; color: #a2aaa9; font-size: 9px; line-height: 1.6; }
.form-footnote span { color: #e09c37; }
.author-field[hidden] { display: none; }
.tips-panel { display: flex; align-items: flex-start; gap: 12px; padding: 16px 18px; border-left: 3px solid #f0aa4a; color: #766444; background: #fff9ea; }
.tips-mark { flex: 0 0 auto; color: #e69b31; font-size: 18px; line-height: 1.2; }
.tips-panel strong { display: block; margin-bottom: 4px; color: #806433; font-size: 11px; }
.tips-panel p { margin: 0; font-size: 11px; line-height: 1.75; }

.message-wall { min-width: 0; }
.wall-toolbar { display: flex; align-items: center; justify-content: space-between; padding: 0 1px 13px; border-bottom: 1px solid #e2e7e3; }
.wall-toolbar p { display: flex; align-items: center; gap: 8px; margin: 0; color: #394b4d; font-size: 13px; font-weight: 750; }
.wall-toolbar p span { color: #e28b32; font-size: 15px; }
.refresh-button { display: grid; width: 30px; height: 30px; place-items: center; border: 1px solid #e4e9e5; border-radius: 50%; color: #748482; background: #fff; font-size: 18px; transition: transform .3s, color .2s; }
.refresh-button:hover { transform: rotate(50deg); color: #1989bd; }
.messages-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding-top: 15px; }
.message-card { position: relative; min-height: 156px; padding: 17px 18px 43px; border: 1px solid #e9ece9; border-radius: 7px; background: #fff; animation: arrive .45s var(--ease) both; }
.message-card:nth-child(2n) { animation-delay: .05s; }
.message-card::before { position: absolute; top: 0; left: 17px; width: 33px; height: 3px; border-radius: 0 0 3px 3px; background: #49a3d0; content: ""; }
.message-card.orange::before { background: #f19b4d; }
.message-card.green::before { background: #8dac6b; }
.message-card.yellow::before { background: #e8bf52; }
.message-number { position: absolute; top: 14px; right: 15px; color: #b1b9b7; font-family: Arial, sans-serif; font-size: 10px; }
.message-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; padding-right: 28px; }
.message-meta strong { color: #34454a; font-size: 12px; font-weight: 750; }
.message-class { padding: 3px 6px; border-radius: 4px; color: #6b923e; background: #f1f7e8; font-size: 9px; }
.message-meta time { flex: 0 0 100%; color: #a0a8a7; font-size: 9px; }
.message-content { margin: 13px 0 0; color: #516164; font-size: 12px; line-height: 1.8; overflow-wrap: anywhere; white-space: pre-wrap; }
.message-actions { position: absolute; right: 11px; bottom: 9px; left: 12px; display: flex; align-items: center; justify-content: space-between; }
.open-comments { display: inline-flex; align-items: center; gap: 5px; padding: 5px 7px; border-radius: 4px; color: #71838a; background: #f5f8f8; font-size: 10px; transition: color .2s, background .2s; }
.open-comments:hover { color: #087dbd; background: #eaf7fc; }
.open-comments > span:first-child { font-size: 14px; }
.comment-count { min-width: 12px; color: #9aa7a7; font-family: Arial, sans-serif; text-align: center; }
.delete-message { padding: 5px 7px; border-radius: 4px; color: #a34f40; background: #fff4f0; font-size: 10px; }
.delete-message:hover { color: #fff; background: #d36b55; }
.empty-wall { position: relative; display: grid; grid-column: 1 / -1; min-height: 293px; align-content: center; justify-items: center; overflow: hidden; border: 1px dashed #d9e1dc; border-radius: 7px; background: #fcfdfb; text-align: center; }
.empty-mark { position: absolute; right: 13%; bottom: -43px; color: #f0f5ee; font-family: Arial, sans-serif; font-size: 192px; font-weight: 800; line-height: 1; }
.empty-wall p { position: relative; margin: 10px 0 0; color: #84918f; font-size: 13px; line-height: 1.9; }
.empty-star { position: absolute; top: 27%; right: 27%; color: #e8a441; font-size: 22px; animation: sparkle 2.4s ease-in-out infinite; }
.error-empty { min-height: 170px; }
.error-empty p { color: #b05c4f; }
.connection-message { margin: 10px 0 0; padding: 9px 11px; border-radius: 5px; color: #a04b3c; background: #fff0ec; font-size: 11px; line-height: 1.6; }

.site-footer { display: flex; align-items: center; width: min(1240px, calc(100% - 96px)); min-height: 83px; margin: 0 auto; color: #919b9c; font-size: 10px; }
.footer-brand { color: #34474c; font-size: 12px; font-weight: 750; }
.footer-brand span { color: #b2b9b8; }
.footer-brand small { color: #168bc3; font-family: Arial, sans-serif; font-size: 10px; font-weight: 700; }
.site-footer p { margin: 0 auto; color: #899492; }
.footer-credit { margin-left: 14px; color: #7f9094; font-family: Arial, sans-serif; font-size: 10px; font-weight: 650; }

.modal { width: min(410px, calc(100% - 34px)); max-width: none; padding: 0; border: 0; border-radius: 10px; color: var(--ink); background: transparent; box-shadow: 0 25px 90px #142e3a30; }
.modal::backdrop { background: #14263070; backdrop-filter: blur(3px); }
.modal-content { position: relative; padding: 31px 31px 28px; border-radius: 10px; background: #fff; }
.modal-close { position: absolute; top: 12px; right: 13px; width: 30px; height: 30px; border-radius: 50%; color: #738080; background: #f3f5f4; font-size: 21px; line-height: 1; }
.modal-close:hover { color: #263f48; background: #e9efed; }
.modal-mark { display: grid; width: 45px; height: 45px; place-items: center; border-radius: 14px; color: #087dbd; background: #e8f7fd; font-family: Arial, sans-serif; font-size: 18px; font-weight: 800; transform: rotate(-5deg); }
.modal-content h2 { margin: 19px 0 7px; font-size: 22px; font-weight: 800; }
.modal-description { margin: 0 0 23px; color: #849093; font-size: 12px; line-height: 1.7; }
.modal-content input { height: 43px; padding: 0 11px; }
.modal-content .submit-button { margin-top: 20px; }
.comments-modal { width: min(590px, calc(100% - 28px)); max-width: none; max-height: min(760px, calc(100% - 28px)); padding: 0; overflow: hidden; border: 0; border-radius: 9px; color: var(--ink); background: #fff; box-shadow: 0 25px 90px #142e3a30; }
.comments-modal::backdrop { background: #14263070; backdrop-filter: blur(3px); }
.comments-panel { display: flex; max-height: min(760px, calc(100dvh - 28px)); flex-direction: column; }
.comments-header { position: relative; display: flex; align-items: center; justify-content: space-between; padding: 21px 24px 17px; border-bottom: 1px solid #edf0ef; }
.comments-header .modal-close { position: static; flex: 0 0 auto; }
.comments-eyebrow { margin: 0 0 4px; color: #a7aaa2; font-size: 8px; font-weight: 750; letter-spacing: 1px; }
.comments-header h2 { margin: 0; font-size: 19px; font-weight: 800; }
.comments-original { margin: 17px 24px 13px; padding: 14px 16px; border-left: 3px solid #48a5cf; background: #f5fafb; }
.comment-original-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.comment-original-meta strong { color: #34454a; font-size: 11px; }
.comment-original-meta time { color: #9ca7a6; font-size: 9px; }
.comments-original > p { margin: 9px 0 0; color: #4d6064; font-size: 12px; line-height: 1.75; overflow-wrap: anywhere; white-space: pre-wrap; }
.comments-list-heading { display: flex; flex: 0 0 auto; align-items: center; justify-content: space-between; padding: 0 25px 10px; color: #46565a; font-size: 11px; }
.comments-list-heading span { color: #9ca7a6; font-size: 10px; }
.comments-list { min-height: 132px; flex: 1 1 auto; padding: 0 24px 12px; overflow: auto; overscroll-behavior: contain; }
.comment-item { display: flex; gap: 10px; padding: 13px 0; border-top: 1px solid #edf0ef; }
.comment-avatar { display: grid; width: 30px; height: 30px; flex: 0 0 30px; place-items: center; border-radius: 50%; color: #397695; background: #e9f5f8; font-size: 12px; font-weight: 750; }
.comment-item:nth-child(3n + 2) .comment-avatar { color: #a06334; background: #fff1e2; }
.comment-item:nth-child(3n) .comment-avatar { color: #648046; background: #f0f6e9; }
.comment-body { min-width: 0; flex: 1; }
.comment-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 9px; }
.comment-meta > strong { color: #44545a; font-size: 11px; }
.comment-meta time { margin-left: auto; color: #a3acab; font-size: 9px; }
.reply-to { color: #93a0a1; font-size: 10px; }
.reply-to strong { color: #43819c; font-weight: 650; }
.comment-body > p { margin: 6px 0 5px; color: #58676b; font-size: 11px; line-height: 1.75; overflow-wrap: anywhere; white-space: pre-wrap; }
.reply-button { padding: 2px 0; color: #829295; background: transparent; font-size: 9px; }
.reply-button:hover { color: #087dbd; }
.comments-empty { display: grid; min-height: 116px; place-items: center; color: #9aa6a4; font-size: 11px; text-align: center; }
.comments-error { color: #b05c4f; }
.comment-form { flex: 0 0 auto; padding: 13px 20px 17px; border-top: 1px solid #e9eeec; background: #fbfcfb; }
.reply-context { display: flex; align-items: center; justify-content: space-between; margin: 0 0 8px; color: #43819c; font-size: 10px; }
.reply-context button { padding: 3px 6px; color: #8a9999; background: transparent; font-size: 9px; }
.comment-form textarea, .comment-form input { width: 100%; border: 1px solid #e2e8e7; border-radius: 5px; color: #263a45; background: #fff; font-size: 11px; }
.comment-form textarea { min-height: 58px; padding: 9px 11px; resize: vertical; line-height: 1.6; }
.comment-form textarea::placeholder, .comment-form input::placeholder { color: #abb5b4; }
.comment-form textarea:focus, .comment-form input:focus { border-color: #74bedf; outline: 0; }
.comment-form-bottom { display: flex; align-items: center; gap: 9px; margin-top: 8px; }
.comment-anonymous { display: inline-flex; align-items: center; gap: 5px; color: #758282; font-size: 10px; cursor: pointer; }
.comment-anonymous input { width: 13px; height: 13px; accent-color: #168ac2; }
.comment-name-wrap { width: 120px; }
.comment-name-wrap input { height: 30px; padding: 0 8px; font-size: 10px; }
.comment-submit { height: 31px; margin-left: auto; padding: 0 11px; border-radius: 5px; color: #fff; background: #108ac7; font-size: 10px; font-weight: 700; }
.comment-submit:hover { background: #0879b0; }
.comment-submit:disabled { opacity: .65; }
.comment-form-bottom .form-error { flex: 1; margin: 0; font-size: 10px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.delete-mark { color: #a24b3d; background: #fff0eb; font-size: 22px; }
.delete-actions { display: flex; justify-content: end; gap: 9px; margin-top: 22px; }
.cancel-button, .confirm-delete { height: 38px; padding: 0 13px; border-radius: 5px; font-size: 11px; font-weight: 700; }
.cancel-button { color: #607072; background: #f2f5f3; }
.confirm-delete { color: #fff; background: #c85e48; }
.confirm-delete:hover { background: #ad4735; }
.toast { position: fixed; z-index: 25; right: 24px; bottom: 24px; max-width: min(360px, calc(100% - 48px)); padding: 12px 16px; border: 1px solid #dbe9dd; border-radius: 7px; color: #345b3b; background: #f5fbf3; box-shadow: 0 8px 26px #20382918; font-size: 12px; animation: arrive .35s var(--ease); }

@keyframes rotate-sun { to { transform: rotate(360deg); } }
@keyframes sparkle { 0%, 100% { transform: scale(.88) rotate(-8deg); opacity: .75; } 50% { transform: scale(1.16) rotate(8deg); opacity: 1; } }
@keyframes float-logo { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-7px) rotate(.35deg); } }
@keyframes arrive { from { transform: translateY(9px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@media (min-width: 1500px) { .welcome { grid-template-rows: 550px 54px; } .welcome-art img { width: min(100%, 520px); } }
@media (max-width: 860px) {
  .site-header { width: calc(100% - 48px); height: 84px; }
  .welcome { width: calc(100% - 64px); grid-template-columns: .95fr 1.05fr; grid-template-rows: 430px 48px; }
  .welcome-copy { padding-left: 0; }
  .welcome h1 { font-size: 49px; }
  .welcome-description { font-size: 12px; }
  .welcome-art img { width: 112%; max-width: 435px; }
  .art-caption { left: 10px; }
  .art-sticker { right: -3px; width: 92px; height: 92px; font-size: 11px; }
  .art-sticker strong { font-size: 14px; }
  .message-section { padding: 59px 32px 74px; }
  .message-layout { grid-template-columns: minmax(285px, .84fr) minmax(0, 1.16fr); gap: 24px; }
  .message-form { padding: 20px 18px; }
  .messages-list { grid-template-columns: 1fr; }
  .message-card { min-height: 138px; }
  .empty-wall { min-height: 240px; }
  .site-footer { width: calc(100% - 48px); }
}
@media (max-width: 620px) {
  .site-header { width: calc(100% - 36px); height: 76px; }
  .brand { gap: 9px; }
  .brand-logo { width: 48px; height: 48px; }
  .brand-name { font-size: 17px; }
  .brand-copy > span { font-size: 9px; }
  .header-right { gap: 0; }
  .main-site-link { gap: 4px; padding: 7px 6px; font-size: 9px; }
  .header-date { gap: 7px; max-width: 137px; font-size: 9px; }
  .header-date span:last-child { overflow-wrap: anywhere; }
  .drag-target { position: fixed; z-index: 10; top: 15px; right: 17px; min-width: 133px; min-height: 45px; }
  .admin-status { gap: 6px; font-size: 10px; }
  .admin-status button { padding: 6px 7px; font-size: 10px; }
  .date-dot { width: 6px; height: 6px; flex: 0 0 auto; }
  .welcome { display: flex; flex-direction: column; align-items: stretch; width: calc(100% - 42px); padding-top: 34px; }
  .welcome-copy { order: 0; padding: 0 0 0 2px; }
  .welcome-note { gap: 7px; margin-bottom: 14px; font-size: 10px; }
  .note-sun { font-size: 17px; }
  .welcome h1 { font-size: 47px; line-height: 1.22; }
  .welcome-description { margin: 13px 0 7px; font-size: 11px; line-height: 1.85; }
  .desktop-break { display: none; }
  .write-link { gap: 13px; padding: 6px 0; font-size: 11px; }
  .write-link span { width: 25px; height: 25px; }
  .welcome-art { order: 1; height: min(83vw, 356px); margin-top: 8px; overflow: visible; }
  .welcome-art::before { inset: 16px 14px 20px 24px; }
  .welcome-art::after { top: 15px; right: 6px; width: 56px; height: 56px; }
  .welcome-art img { width: min(96%, 355px); }
  .art-caption { top: 22px; left: 4px; font-size: 7px; }
  .spark-one { top: 41px; right: 50px; font-size: 20px; }
  .spark-two { bottom: 37px; left: 8px; font-size: 18px; }
  .art-sticker { right: 0; bottom: 20px; width: 77px; height: 77px; font-size: 9px; }
  .art-sticker strong { font-size: 12px; }
  .welcome-bottom { width: 100%; gap: 10px; padding: 1px 3px 22px; font-size: 9px; }
  .bottom-line { width: 31px; }
  .welcome-bottom span:last-child { font-size: 8px; }
  .message-section { padding: 46px 19px 57px; }
  .section-heading { margin-bottom: 23px; }
  .section-note { margin-bottom: 7px; font-size: 8px; }
  .section-heading h2 { font-size: 25px; }
  .message-count { font-size: 9px; }
  .message-count strong { font-size: 21px; }
  .message-layout { grid-template-columns: 1fr; gap: 28px; }
  .write-column { gap: 10px; }
  .message-form { padding: 20px 17px 18px; }
  .form-heading { margin-bottom: 19px; }
  .form-heading h3 { font-size: 16px; }
  .form-heading p { font-size: 10px; }
  .field-label { font-size: 11px; }
  .message-form textarea { min-height: 104px; }
  .input-footer { font-size: 8px; }
  .wall-toolbar { padding-bottom: 10px; }
  .messages-list { grid-template-columns: 1fr; padding-top: 12px; }
  .message-card { min-height: 133px; padding: 16px; }
  .message-card { padding-bottom: 43px; }
  .tips-panel { padding: 13px 14px; }
  .tips-panel p { font-size: 10px; }
  .empty-wall { min-height: 224px; }
  .empty-mark { font-size: 170px; }
  .site-footer { width: calc(100% - 38px); min-height: 73px; }
  .footer-brand { font-size: 11px; }
  .site-footer p { font-size: 9px; }
  .site-footer > span:last-child { font-size: 9px; }
  .comments-header { padding: 17px 17px 13px; }
  .comments-original { margin: 13px 16px 10px; padding: 12px; }
  .comments-list-heading { padding: 0 17px 8px; }
  .comments-list { padding: 0 16px 9px; }
  .comment-form { padding: 11px 13px 13px; }
  .comment-name-wrap { width: 94px; }
}
@media (max-width: 370px) {
  .header-date { max-width: 112px; font-size: 8px; }
  .welcome { width: calc(100% - 34px); }
  .welcome h1 { font-size: 43px; }
  .message-section { padding-right: 15px; padding-left: 15px; }
  .input-footer span:first-child { max-width: 220px; }
  .site-footer p { display: none; }
  .site-footer > span:last-child { margin-left: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
