:root {
  color-scheme: light;
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans Thai", Tahoma, sans-serif;
  font-synthesis: none;
  --ink: #222638;
  --muted: #777e91;
  --line: #e9ebf2;
  --surface: #fff;
  --brand: #6858ee;
  --brand-dark: #5140d4;
  --brand-soft: #f1efff;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: #f8f9fc; color: var(--ink); margin: 0; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { opacity: .48; cursor: not-allowed; }
a { color: inherit; text-decoration: none; }
button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, a:focus-visible { outline: 3px solid #b7adff; outline-offset: 3px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; height: 1px; width: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.site-shell { max-width: 1240px; padding: 0 42px; margin: 0 auto; }
.topbar { display: flex; align-items: center; justify-content: space-between; padding: 25px 0; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 23px; font-weight: 790; letter-spacing: -.9px; }
.brand-mark { width: 39px; height: 39px; display: grid; place-items: center; background: var(--brand); border-radius: 12px; color: white; box-shadow: 0 8px 15px #6858ee25; }
.brand-dot { color: var(--brand); }
.topbar-right { display: inline-flex; align-items: center; gap: 9px; color: #687087; font-size: 12px; font-weight: 600; letter-spacing: .3px; }
.pulse-dot, .feed-title-dot { width: 8px; height: 8px; background: #33bf96; border-radius: 50%; box-shadow: 0 0 0 4px #34bd961a; }
.hero { min-height: 307px; border-radius: 24px; background: linear-gradient(115deg,#eae7ff 5%,#f6eeff 54%,#ffeaf0 100%); position: relative; overflow: hidden; display: flex; justify-content: space-between; padding: 42px 58px; margin: 14px 0 49px; }
.hero-copy { position: relative; z-index: 2; max-width: 570px; }
.eyebrow { letter-spacing: 2.6px; font-size: 11px; font-weight: 800; color: #7564c9; }
.eyebrow-mark { font-size: 18px; vertical-align: -2px; margin-right: 5px; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(33px, 3.65vw, 51px); letter-spacing: -2px; line-height: 1.35; margin: 15px 0 14px; font-weight: 800; }
h1 em { font-style: normal; color: var(--brand); }
.hero-copy p { color: #6d708c; font-size: 14px; line-height: 1.85; max-width: 430px; margin-bottom: 19px; }
.hero-link { font-size: 13px; font-weight: 800; color: var(--brand-dark); display: inline-flex; align-items: center; gap: 10px; }
.hero-link span { font-size: 18px; }
.hero-art { position: relative; width: 340px; flex: 0 0 340px; }
.bubble { position: absolute; border-radius: 17px; display: flex; align-items: center; gap: 11px; box-shadow: 0 16px 36px #625a9227; }
.bubble-one { width: 246px; height: 81px; background: #fff; top: 10px; left: 30px; transform: rotate(-8deg); padding: 17px; }
.tiny-icon { width: 41px; height: 41px; flex: 0 0 41px; background: #ffeadc; color: #fd9c5a; border-radius: 13px; display: grid; place-items: center; font-size: 26px; }
.bubble-line { display: block; border-radius: 10px; height: 8px; background: #eae8f5; position: absolute; left: 72px; }
.bubble-line.long { width: 140px; top: 27px; }
.bubble-line.short { width: 88px; top: 43px; background: #f1eff8; }
.bubble-two { width: 213px; height: 77px; left: 98px; top: 105px; background: #fff; transform: rotate(7deg); padding: 14px; }
.bubble-avatar { background: #e0f5ef; border-radius: 50%; width: 40px; height: 40px; display: grid; place-items: center; font-size: 24px; color: #43b595; }
.bubble-two .bubble-line { left: 66px; }
.bubble-two .medium { width: 112px; top: 24px; background: #e7e5f5; }
.bubble-two .short { width: 72px; top: 41px; }
.bubble-three { top: 202px; left: 13px; background: var(--brand); color: white; padding: 12px 17px; gap: 10px; font-size: 12px; font-weight: 750; transform: rotate(-4deg); }
.heart { background: #ffffff28; border-radius: 10px; display: grid; place-items: center; width: 29px; height: 29px; font-size: 16px; }
.hero-orbit { position: absolute; border-radius: 50%; border: 1px solid #cfc3ff99; }
.orbit-one { width: 330px; height: 330px; left: 68px; top: -60px; }
.orbit-two { width: 190px; height: 190px; left: 142px; top: 0; }
.main-grid { display: grid; grid-template-columns: minmax(0, 1fr) 284px; gap: 34px; align-items: start; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin: 0 0 21px; }
.small-label { color: #9184cf; font-weight: 800; font-size: 10px; letter-spacing: 2.1px; margin-bottom: 7px; }
h2 { font-size: 25px; font-weight: 800; margin-bottom: 0; letter-spacing: -.6px; }
.heading-symbol { color: #e4a7cb; font-size: 20px; }
.total-label { flex-shrink: 0; color: var(--muted); font-size: 12px; padding-bottom: 4px; }
.panel { background: var(--surface); border: 1px solid #eaebf1; box-shadow: 0 7px 30px #2c305508; border-radius: 19px; }
.composer { padding: 28px 30px; scroll-margin-top: 25px; }
.composer-header { display: flex; align-items: center; gap: 12px; margin-bottom: 23px; }
.composer-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: var(--brand-soft); color: var(--brand); font-size: 24px; }
.composer h3 { font-size: 16px; margin-bottom: 4px; }
.composer-header p { color: #8b91a3; font-size: 12px; margin: 0; }
label { display: block; font-weight: 700; font-size: 12px; margin: 15px 0 9px; }
.required { color: #fa769e; }
input, textarea { width: 100%; border: 1px solid #e8eaf1; background: #fbfbfd; padding: 12px 15px; border-radius: 10px; color: var(--ink); outline: none; transition: border-color .15s, box-shadow .15s; }
input { height: 45px; }
textarea { resize: vertical; min-height: 137px; line-height: 1.8; }
input::placeholder, textarea::placeholder { color: #abb0bf; }
input:focus, textarea:focus { border-color: #aa9ef7; box-shadow: 0 0 0 3px #6858ee12; }
.composer-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; }
.fine-print { color: #989eaf; font-size: 11px; }
.primary-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--brand); color: #fff; border: 0; min-height: 43px; padding: 0 21px; border-radius: 10px; font-size: 12px; font-weight: 800; box-shadow: 0 7px 14px #6858ee29; transition: transform .15s, background .15s; }
.primary-button:hover:not(:disabled) { background: var(--brand-dark); transform: translateY(-1px); }
.reply-banner { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 13px; border-radius: 9px; background: #f2f0ff; color: #574bbc; font-size: 12px; }
.text-button { border: 0; background: transparent; color: #6353c3; font-size: 11px; font-weight: 700; white-space: nowrap; }
.notice { margin-top: 14px; padding: 11px 13px; border-radius: 9px; font-size: 12px; line-height: 1.6; }
.notice.success { color: #176954; background: #e5f8f1; }
.notice.error { color: #ad4456; background: #fff0f1; }
.feed-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 36px 0 15px; }
.feed-title { font-size: 16px; font-weight: 800; display: flex; align-items: center; gap: 11px; }
.feed-title-dot { background: #7a6af6; box-shadow: 0 0 0 4px #7a6af617; width: 7px; height: 7px; }
.feed-actions { display: flex; align-items: center; gap: 8px; }
.feed-actions select { width: 121px; height: 36px; border: 1px solid #e9ebf1; border-radius: 8px; color: #666c81; background: #fff; font-weight: 700; font-size: 11px; padding: 0 8px; }
.icon-button { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--line); background: white; border-radius: 8px; color: #72788c; }
.icon-button:hover { border-color: #c3baff; color: var(--brand); }
.comment-list { display: flex; flex-direction: column; gap: 13px; }
.comment-card, .loading-card, .empty-card { background: var(--surface); border: 1px solid var(--line); border-radius: 15px; padding: 22px 24px; }
.loading-card, .empty-card { text-align: center; color: var(--muted); font-size: 13px; padding: 40px 20px; }
.empty-symbol { display: block; font-size: 35px; margin-bottom: 10px; color: #b6abf7; }
.comment-main { display: flex; gap: 13px; align-items: flex-start; }
.avatar { width: 40px; height: 40px; border-radius: 13px; color: #6955dd; background: #eeeaff; font-weight: 800; display: grid; place-items: center; flex-shrink: 0; font-size: 15px; }
.avatar.tone-1 { background: #fff0e4; color: #e38a46; }
.avatar.tone-2 { background: #e3f8ee; color: #30aa7a; }
.avatar.tone-3 { background: #e7f3ff; color: #4a93d7; }
.comment-body { flex: 1; min-width: 0; }
.comment-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-top: 1px; }
.comment-author { font-size: 13px; font-weight: 800; overflow-wrap: anywhere; }
.comment-date { display: block; color: #9a9eaf; font-size: 10px; margin-top: 4px; }
.comment-text { margin: 14px 0 13px; color: #4f566a; font-size: 13px; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.85; }
.comment-text.deleted { color: #9ba0af; font-style: italic; }
.comment-actions { display: flex; gap: 16px; align-items: center; }
.action-button { padding: 0; border: none; background: none; font-size: 11px; font-weight: 750; color: #7a738e; }
.action-button:hover { color: var(--brand); }
.action-button.delete:hover { color: #d74e60; }
.reply-collection { margin: 17px 0 0 53px; border-left: 2px solid #eeeafc; padding-left: 17px; }
.reply-item { padding: 12px 0; }
.reply-item + .reply-item { border-top: 1px solid #f0f1f4; }
.reply-item .avatar { width: 31px; height: 31px; border-radius: 10px; font-size: 12px; }
.reply-item .comment-main { gap: 10px; }
.reply-item .comment-text { margin: 9px 0; }
.reply-summary { color: #a19bad; font-size: 10px; margin-top: 4px; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 18px; margin: 19px 0 46px; }
.pagination span { color: #767b90; font-size: 11px; }
.secondary-button { border: 1px solid #e3e5ef; border-radius: 9px; padding: 10px 16px; color: #635a9b; background: #fff; font-size: 11px; font-weight: 700; }
.secondary-button:hover:not(:disabled) { border-color: #9f92fb; }
.sidebar { padding-top: 23px; display: flex; flex-direction: column; gap: 17px; }
.side-card { border-radius: 17px; background: #fff; border: 1px solid var(--line); padding: 25px 24px; }
.welcome-card { background: linear-gradient(145deg,#6757df,#8a72ef); border: 0; color: #fff; position: relative; overflow: hidden; }
.welcome-card::after { content: ''; width: 160px; height: 160px; border: 1px solid #ffffff23; border-radius: 50%; position: absolute; right: -56px; top: -53px; }
.side-card-symbol { font-size: 33px; margin-bottom: 13px; }
.welcome-card h3 { font-size: 20px; line-height: 1.65; letter-spacing: -.4px; margin-bottom: 13px; }
.welcome-card p { color: #e2dfff; font-size: 12px; line-height: 1.95; margin-bottom: 0; }
.tips-card h3 { font-size: 14px; margin-bottom: 20px; }
.tip { display: flex; gap: 12px; }
.tip + .tip { margin-top: 19px; }
.tip-icon { display: inline-grid; place-items: center; width: 29px; height: 29px; border-radius: 9px; color: #7363df; background: #f2efff; font-size: 10px; font-weight: 800; flex-shrink: 0; }
.tip strong { font-size: 12px; }
.tip p { color: #8d94a4; font-size: 11px; line-height: 1.8; margin: 5px 0 0; }
.small-side-note { line-height: 1.9; font-size: 10px; color: #a0a4b1; text-align: center; padding: 0 8px; }
.site-footer { border-top: 1px solid var(--line); margin-top: 56px; padding: 22px 0 30px; display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 11px; color: #a0a5b4; }
.site-footer > span:first-child { font-size: 15px; font-weight: 800; color: #41465e; }
@media (max-width: 960px) { .main-grid { grid-template-columns: minmax(0, 1fr) 245px; gap: 20px; } .hero { padding: 39px 40px; } .hero-art { transform: scale(.8) translateX(22px); transform-origin: center right; flex-basis: 268px; } }
@media (max-width: 730px) { .site-shell { padding: 0 18px; } .topbar { padding: 17px 0; } .hero { min-height: 0; padding: 34px 26px; margin: 10px 0 36px; } .hero-art { display: none; } .hero-copy p { max-width: none; } .main-grid { grid-template-columns: 1fr; } .sidebar { padding-top: 0; display: grid; grid-template-columns: 1fr 1fr; } .small-side-note { grid-column: 1 / -1; } }
@media (max-width: 490px) { .topbar-right { display: none; } .brand { font-size: 21px; } h1 { font-size: 35px; } h2 { font-size: 20px; } .section-heading { align-items: start; } .total-label { font-size: 10px; } .composer { padding: 22px 18px; } .composer-footer { align-items: flex-end; } .primary-button { padding: 0 12px; font-size: 11px; } .comment-card { padding: 18px 15px; } .comment-main { gap: 10px; } .avatar { width: 34px; height: 34px; border-radius: 10px; } .reply-collection { margin-left: 9px; padding-left: 11px; } .sidebar { display: flex; } .site-footer span:last-child { font-size: 9px; } }
