/* dreads.dad-look.com - Dreads: a social network with one user, warm paper and a cold sweat drop */
body { margin: 0; background: #fbf8f3; color: #161616; font-family: -apple-system, "Segoe UI", Helvetica, Arial, sans-serif; }
[hidden] { display: none !important; }
a { color: inherit; }
a:focus-visible, button:focus-visible, textarea:focus-visible { outline: 3px solid #3d6fcf; outline-offset: 2px; }
.dr-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: -1px; }
.dr-label { margin: 0 0 8px; font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: #6c6a66; }
.dr-small { font-size: 13px; color: #6c6a66; }

/* The author's face, cropped to the cap and the crown */
.dr-avatar { flex: none; width: 46px; height: 46px; border-radius: 50%; object-fit: cover; object-position: 50% 86%; background: #ddd; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08); }
.dr-avatar-small { width: 32px; height: 32px; }
.dr-avatar-big { width: 96px; height: 96px; box-shadow: 0 0 0 4px #ffffff, 0 0 0 6px #3d6fcf; }

/* Three columns: nav, feed, sidebar */
.dr-app { max-width: 1180px; margin: 0 auto; padding: 0 20px; display: grid; grid-template-columns: 220px minmax(0, 600px) 300px; gap: 28px; justify-content: center; }
.dr-side { padding-top: 26px; }
.dr-nav { position: sticky; top: 0; align-self: start; }
.dr-logo { display: inline-flex; align-items: center; gap: 8px; color: #3d6fcf; text-decoration: none; }
.dr-logo span { font-size: 30px; font-weight: 900; letter-spacing: -0.04em; color: #161616; }
.dr-tagline { margin: 4px 0 22px; font-size: 14px; font-weight: 700; color: #6c6a66; }
.dr-nav nav ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 4px; }
.dr-nav nav a, .dr-navbutton { display: flex; align-items: center; gap: 10px; width: 100%; padding: 12px 14px; border: 0; border-radius: 12px; background: none; color: inherit; font: inherit; font-size: 17px; font-weight: 700; text-decoration: none; text-align: left; cursor: pointer; }
.dr-nav nav a:hover, .dr-navbutton:hover, .dr-nav nav a[aria-current="page"] { background: #f0ebe2; }
.dr-badge { padding: 2px 7px; border-radius: 999px; background: #e0463f; color: #ffffff; font-size: 12px; font-weight: 800; }
.dr-notifications { margin-top: 12px; padding: 16px; border-radius: 16px; background: #ffffff; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); }
.dr-notifications ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; font-size: 14px; line-height: 1.4; }
.dr-notifications li { display: flex; gap: 10px; align-items: center; }

/* Feed */
.dr-feed { min-width: 0; border-left: 1px solid #e8e2d7; border-right: 1px solid #e8e2d7; background: #ffffff; min-height: 100vh; }
.dr-tabs { position: sticky; top: 0; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; background: rgba(255, 255, 255, 0.95); border-bottom: 1px solid #e8e2d7; }
.dr-tab { padding: 16px; border: 0; background: none; font: inherit; font-size: 15px; font-weight: 700; color: #8a8782; cursor: pointer; }
.dr-tab[aria-selected="true"] { color: #161616; box-shadow: inset 0 -3px 0 #161616; }
.dr-tabnote { margin: 0; padding: 10px 18px; font-size: 13px; color: #6c6a66; background: #faf7f1; border-bottom: 1px solid #e8e2d7; }
.dr-compose { display: flex; gap: 12px; padding: 16px 18px; border-bottom: 1px solid #e8e2d7; }
.dr-compose-body { flex: 1; min-width: 0; }
.dr-compose textarea { box-sizing: border-box; width: 100%; min-height: 56px; padding: 10px 0; border: 0; resize: vertical; font: inherit; font-size: 17px; line-height: 1.4; background: none; }
.dr-compose textarea:focus { outline: none; }
.dr-compose-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.dr-postbutton { min-height: 40px; padding: 0 22px; border: 0; border-radius: 999px; background: #161616; color: #ffffff; font: inherit; font-size: 15px; font-weight: 800; cursor: pointer; }
.dr-postbutton:hover { background: #3d6fcf; }

.dr-posts { margin: 0; padding: 0; list-style: none; }
.dr-post { display: flex; gap: 12px; padding: 16px 18px; border-bottom: 1px solid #e8e2d7; }
.dr-pinned { background: #f7f9ff; }
.dr-post-body { flex: 1; min-width: 0; }
.dr-meta { margin: 0; font-size: 15px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.dr-check { display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; border-radius: 50%; background: #3d6fcf; color: #ffffff; font-size: 10px; font-weight: 900; }
.dr-handle { color: #8a8782; }
.dr-text { margin: 4px 0 6px; font-size: 16px; line-height: 1.5; overflow-wrap: anywhere; }
.dr-reach { margin: 0 0 8px; font-size: 12px; font-weight: 700; color: #2f8a4c; }
.dr-actions { display: flex; gap: 18px; }
.dr-like, .dr-replybutton { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 10px; margin-left: -10px; border: 0; border-radius: 999px; background: none; color: #6c6a66; font: inherit; font-size: 14px; cursor: pointer; }
.dr-like svg { fill: none; }
.dr-like svg path { fill: none; stroke: currentColor; stroke-width: 2; }
.dr-like:hover { color: #e0463f; background: #fdeceb; }
.dr-like[aria-pressed="true"] { color: #e0463f; }
.dr-like[aria-pressed="true"] svg path { fill: currentColor; }
.dr-replybutton:hover { background: #f0ebe2; color: #161616; }
.dr-replies { margin: 8px 0 0; padding: 0 0 0 12px; list-style: none; border-left: 2px solid #e8e2d7; display: flex; flex-direction: column; gap: 10px; }
.dr-replies li { display: flex; gap: 10px; align-items: flex-start; }
.dr-replies p { margin: 0; font-size: 14px; line-height: 1.45; }
.dr-typing p { color: #8a8782; font-style: italic; }
.dr-dots { display: inline-flex; gap: 3px; margin-left: 4px; }
.dr-dots i { width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.dr-new { background: #fffbe8; }

/* Sidebar */
.dr-right { display: flex; flex-direction: column; gap: 18px; padding-bottom: 30px; }
.dr-box { padding: 18px; border-radius: 18px; background: #ffffff; border: 1px solid #e8e2d7; }
.dr-box h2 { margin: 0 0 12px; font-size: 19px; font-weight: 900; }
.dr-stats { margin: 0; }
.dr-stats div { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px solid #f0ebe2; font-size: 14px; }
.dr-stats dt { color: #6c6a66; }
.dr-stats dd { margin: 0; font-weight: 800; text-align: right; }
.dr-dread { margin-top: 14px; }
.dr-meter { height: 12px; border-radius: 6px; background: #f0ebe2; overflow: hidden; }
.dr-meter span { display: block; width: 100%; height: 100%; border-radius: 6px; background: linear-gradient(90deg, #3d6fcf, #e0463f); }
.dr-trending { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.dr-trending li { display: flex; flex-direction: column; font-size: 15px; }
.dr-trending span { font-size: 13px; color: #8a8782; }
.dr-follow { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.dr-follow li { display: flex; align-items: center; gap: 10px; font-size: 13px; color: #8a8782; }
.dr-follow span { flex: 1; min-width: 0; display: flex; flex-direction: column; overflow: hidden; text-overflow: ellipsis; }
.dr-follow b { color: #161616; font-size: 14px; }
.dr-followbutton { min-height: 32px; padding: 0 14px; border: 1px solid #161616; border-radius: 999px; background: #161616; color: #ffffff; font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; white-space: nowrap; }
.dr-followbutton[aria-pressed="true"] { background: #ffffff; color: #161616; }

/* Bottom */
.dr-bottom { max-width: 1000px; margin: 0 auto; padding: 56px 20px 48px; display: flex; flex-direction: column; gap: 28px; }
.dr-cta { padding: 40px 24px; border-radius: 22px; background: #161616; color: #ffffff; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.dr-cta h2 { margin: 0; font-size: 34px; line-height: 1.15; letter-spacing: -0.02em; }
.dr-cta p { margin: 0; max-width: 560px; font-size: 17px; line-height: 1.5; color: #d6d3cd; }
.dr-cta-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; box-sizing: border-box; width: 100%; max-width: 560px; min-height: 72px; padding: 18px 24px; border-radius: 999px; background: #ec6e6a; color: #ffffff; font-size: 21px; font-weight: 900; text-transform: uppercase; text-decoration: none; }
.dr-cta-button:hover { background: #d95450; }
.dr-cta-arrow { display: inline-block; }
.dr-share { min-height: 48px; padding: 0 22px; border: 2px solid #ffffff; border-radius: 999px; background: none; color: #ffffff; font: inherit; font-size: 16px; font-weight: 800; cursor: pointer; }
.dr-share:hover { background: #ffffff; color: #161616; }
.dr-status { margin: 0; font-size: 14px; font-weight: 700; color: #8fe39b; }
.dr-status:empty { display: none; }
.dr-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; line-height: 1.5; color: #6c6a66; border-top: 1px solid #e8e2d7; padding-top: 14px; }

@media (max-width: 1100px) {
	.dr-app { grid-template-columns: 200px minmax(0, 1fr); }
	.dr-right { grid-column: 2; padding-top: 0; }
}
@media (max-width: 760px) {
	.dr-app { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 0; }
	.dr-nav { position: static; padding: 14px 16px 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; }
	.dr-tagline { margin: 0; flex: 1; font-size: 13px; }
	.dr-nav nav { width: 100%; }
	.dr-nav nav ul { flex-direction: row; gap: 4px; }
	.dr-nav nav a, .dr-navbutton { padding: 8px 10px; font-size: 14px; width: auto; }
	.dr-notifications { width: 100%; box-sizing: border-box; }
	.dr-feed { border: 0; border-top: 1px solid #e8e2d7; min-height: 0; }
	.dr-post, .dr-compose { padding: 14px 16px; }
	.dr-right { grid-column: 1; padding: 20px 16px 0; }
	.dr-bottom { padding: 44px 16px 40px; }
	.dr-cta h2 { font-size: 28px; }
	.dr-cta-button { font-size: 18px; min-height: 64px; }
}

/* Animations - only with JavaScript and when the visitor allows motion */
@media (prefers-reduced-motion: no-preference) {
	.js .dr-post { animation: dr-in 0.45s ease both; }
	.js .dr-post:nth-child(2) { animation-delay: 0.06s; }
	.js .dr-post:nth-child(3) { animation-delay: 0.12s; }
	.js .dr-post:nth-child(4) { animation-delay: 0.18s; }
	.js .dr-post:nth-child(n+5) { animation-delay: 0.24s; }
	.dr-logo svg { animation: dr-sweat 2.8s ease-in-out infinite; }
	.dr-dots i { animation: dr-dot 1.2s ease-in-out infinite; }
	.dr-dots i:nth-child(2) { animation-delay: 0.2s; }
	.dr-dots i:nth-child(3) { animation-delay: 0.4s; }
	.dr-like.is-pop svg { animation: dr-pop 0.4s ease; }
	.js .dr-meter span { animation: dr-fill 2.4s 0.4s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
	.dr-new { animation: dr-drop 0.5s cubic-bezier(0.2, 0.8, 0.2, 1.2) both; }
	.dr-cta-button { animation: dr-glow 2.2s ease-in-out infinite; transition: transform 0.15s ease; }
	.dr-cta-button:hover { transform: scale(1.02); }
	.dr-cta-arrow { animation: dr-nudge 1.1s ease-in-out infinite; }
}

@keyframes dr-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes dr-sweat { 0%, 70%, 100% { transform: none; } 80% { transform: translateY(3px) scaleY(1.08); } 90% { transform: translateY(-1px); } }
@keyframes dr-dot { 0%, 100% { opacity: 0.25; transform: none; } 50% { opacity: 1; transform: translateY(-2px); } }
@keyframes dr-pop { 0% { transform: scale(1); } 40% { transform: scale(1.4); } 100% { transform: scale(1); } }
@keyframes dr-fill { from { width: 0; } }
@keyframes dr-drop { from { opacity: 0; transform: translateY(-16px); background: #fff3b0; } to { opacity: 1; transform: none; } }
@keyframes dr-glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(236, 110, 106, 0.5); } 50% { box-shadow: 0 0 0 12px rgba(236, 110, 106, 0); } }
@keyframes dr-nudge { 0%, 100% { transform: none; } 50% { transform: translateX(8px); } }
