/* dadgram.dad-look.com - Dadgram: a photo app with one account, white with a coral story ring */
body { margin: 0; background: #ffffff; color: #1c1c1c; 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, input:focus-visible + span { outline: 3px solid #ec6e6a; outline-offset: 2px; }
.dg-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: -1px; }
.dg-small { font-size: 13px; color: #737373; }
.dg-check { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border-radius: 50%; background: #ec6e6a; color: #ffffff; font-size: 11px; font-weight: 900; }

/* The author's face, cropped to the cap and the crown */
.dg-avatar { display: block; width: 150px; height: 150px; border-radius: 50%; object-fit: cover; object-position: 50% 86%; background: #eeeeee; }
.dg-avatar-small { width: 32px; height: 32px; }
.dg-avatar-big { width: 110px; height: 110px; object-position: 50% 40%; box-shadow: 0 0 0 4px #ffffff, 0 0 0 7px #ec6e6a; }

/* Top bar */
.dg-bar { position: sticky; top: 0; z-index: 5; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 10px 24px; background: rgba(255, 255, 255, 0.96); border-bottom: 1px solid #dbdbdb; }
.dg-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.dg-mark { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 10px; background: #ec6e6a; color: #ffffff; }
.dg-logo > span:last-child { font-size: 26px; font-weight: 900; letter-spacing: -0.04em; }
.dg-new { min-height: 38px; padding: 0 16px; border: 0; border-radius: 10px; background: #1c1c1c; color: #ffffff; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.dg-new span { font-size: 18px; margin-right: 4px; }
.dg-new:hover { background: #ec6e6a; }

/* Profile */
.dg-main { max-width: 935px; margin: 0 auto; padding: 30px 20px 0; }
.dg-profile { display: grid; grid-template-columns: 290px minmax(0, 1fr); align-items: center; gap: 20px; padding-bottom: 28px; }
.dg-avatar-ring { justify-self: center; padding: 5px; border: 0; border-radius: 50%; background: conic-gradient(#ec6e6a, #f2a65a, #ec6e6a); cursor: pointer; }
.dg-avatar-ring .dg-avatar { box-shadow: 0 0 0 4px #ffffff; }
.dg-nameline { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.dg-nameline h1 { margin: 0; font-size: 22px; font-weight: 400; }
.dg-button { min-height: 34px; padding: 0 18px; border: 0; border-radius: 8px; background: #efefef; color: #1c1c1c; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.dg-button:hover { background: #dbdbdb; }
.dg-button-blue { background: #ec6e6a; color: #ffffff; }
.dg-button-blue:hover { background: #d95450; }
.dg-button-blue[aria-pressed="true"] { background: #efefef; color: #1c1c1c; }
.dg-stats { margin: 20px 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px 36px; font-size: 16px; }
.dg-stats span { color: #737373; }
.dg-bio p { margin: 0; font-size: 14px; line-height: 1.5; }
.dg-bio a { color: #00376b; font-weight: 700; text-decoration: none; }
.dg-note { margin: 10px 0 0; font-size: 14px; font-weight: 700; color: #ec6e6a; }
.dg-note:empty { display: none; }

/* Story highlights */
.dg-highlights { padding: 0 0 26px; border-bottom: 1px solid #dbdbdb; overflow-x: auto; scrollbar-width: none; }
.dg-highlights::-webkit-scrollbar { display: none; }
.dg-highlights ul { margin: 0; padding: 0 20px; list-style: none; display: flex; gap: 32px; }
.dg-highlights button { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 0; border: 0; background: none; font: inherit; cursor: pointer; }
.dg-highlight-ring { display: block; width: 77px; height: 77px; padding: 3px; border-radius: 50%; box-shadow: inset 0 0 0 1px #dbdbdb; box-sizing: border-box; }
.dg-highlight-ring img, .dg-highlight-text { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; background: #ec6e6a; color: #ffffff; font-size: 28px; font-weight: 900; }
.dg-highlight-title { font-size: 12px; font-weight: 700; max-width: 80px; text-align: center; }

/* Tabs and grid */
.dg-tabs { display: flex; justify-content: center; gap: 60px; }
.dg-tabs button { padding: 16px 0; margin-top: -1px; border: 0; border-top: 1px solid transparent; background: none; font: inherit; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #737373; cursor: pointer; }
.dg-tabs button[aria-selected="true"] { color: #1c1c1c; border-top-color: #1c1c1c; }
.dg-grid { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
.dg-tile { position: relative; display: block; width: 100%; aspect-ratio: 1; padding: 0; border: 0; background: #eeeeee; cursor: pointer; overflow: hidden; }
.dg-tile img { display: block; width: 100%; height: 100%; object-fit: cover; }
.dg-tile-hover { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 24px; background: rgba(0, 0, 0, 0.35); color: #ffffff; font-size: 17px; font-weight: 800; opacity: 0; transition: opacity 0.15s ease; }
.dg-tile:hover .dg-tile-hover, .dg-tile:focus-visible .dg-tile-hover { opacity: 1; }
.dg-new-tile::after { content: "New"; position: absolute; top: 8px; left: 8px; padding: 2px 8px; border-radius: 6px; background: #ec6e6a; color: #ffffff; font-size: 12px; font-weight: 800; }
.dg-reel { position: relative; max-width: 340px; margin: 0 auto; aspect-ratio: 9 / 16; overflow: hidden; border-radius: 12px; background: #111111; }
.dg-reel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 57% 50%; }
.dg-reel-text { position: absolute; left: 16px; right: 16px; top: 40%; margin: 0; color: #ffffff; font-size: 22px; font-weight: 900; text-align: center; text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7); }
.dg-reel-meta { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 40px 16px 16px; color: #ffffff; font-size: 13px; background: linear-gradient(transparent, rgba(0, 0, 0, 0.7)); }
.dg-empty { padding: 60px 20px; text-align: center; color: #737373; }
.dg-empty-title { margin: 0 0 8px; font-size: 26px; font-weight: 900; color: #1c1c1c; }

/* Overlays: post viewer, stories, new post */
.dg-overlay { position: fixed; inset: 0; z-index: 20; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(0, 0, 0, 0.75); }
.dg-close { position: absolute; top: 8px; right: 8px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(0, 0, 0, 0.5); color: #ffffff; font-size: 26px; line-height: 1; cursor: pointer; }
.dg-viewer { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 340px; width: 100%; max-width: 940px; max-height: calc(100vh - 40px); background: #ffffff; border-radius: 6px; overflow: hidden; }
.dg-viewer-photo { position: relative; background: #000000; display: flex; align-items: center; justify-content: center; user-select: none; }
.dg-viewer-photo img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.dg-burst { position: absolute; left: 50%; top: 50%; font-size: 120px; color: #ffffff; text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4); transform: translate(-50%, -50%) scale(0); pointer-events: none; }
.dg-viewer-side { display: flex; flex-direction: column; min-height: 0; }
.dg-viewer-head { display: flex; align-items: center; gap: 10px; margin: 0; padding: 14px 16px; border-bottom: 1px solid #efefef; font-size: 14px; }
.dg-comments { flex: 1; margin: 0; padding: 14px 16px; list-style: none; overflow-y: auto; display: flex; flex-direction: column; gap: 14px; font-size: 14px; line-height: 1.45; }
.dg-comments li { display: flex; gap: 10px; align-items: flex-start; }
.dg-comments p { margin: 0; }
.dg-viewer-actions { padding: 10px 16px 16px; border-top: 1px solid #efefef; }
.dg-viewer-actions p { margin: 4px 0 0; font-size: 14px; }
.dg-like { padding: 4px; margin-left: -4px; border: 0; background: none; color: #1c1c1c; cursor: pointer; }
.dg-like svg path { fill: none; stroke: currentColor; stroke-width: 2; }
.dg-like[aria-pressed="true"] { color: #ed4956; }
.dg-like[aria-pressed="true"] svg path { fill: currentColor; }
.dg-time { font-size: 11px !important; letter-spacing: 0.06em; text-transform: uppercase; color: #737373; }

.dg-story { position: relative; width: 100%; max-width: 400px; aspect-ratio: 9 / 16; max-height: calc(100vh - 40px); border-radius: 12px; overflow: hidden; background: linear-gradient(160deg, #ec6e6a, #f2a65a); color: #ffffff; }
.dg-story-bars { position: absolute; z-index: 2; left: 10px; right: 10px; top: 10px; display: flex; gap: 4px; }
.dg-story-bars span { flex: 1; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, 0.4); overflow: hidden; }
.dg-story-bars i { display: block; height: 100%; width: 0; background: #ffffff; }
.dg-story-bars .is-done i { width: 100%; }
.dg-story-head { position: absolute; z-index: 2; left: 12px; top: 22px; display: flex; align-items: center; gap: 8px; margin: 0; font-size: 14px; text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5); }
.dg-story-head span { opacity: 0.8; }
.dg-story-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dg-story-text { position: absolute; z-index: 1; left: 20px; right: 20px; top: 50%; margin: 0; transform: translateY(-50%); font-size: 30px; font-weight: 900; line-height: 1.2; text-align: center; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6); }
.dg-story-text span { display: inline; padding: 2px 8px; background: rgba(0, 0, 0, 0.55); box-decoration-break: clone; -webkit-box-decoration-break: clone; border-radius: 6px; }
.dg-story-nav { position: absolute; z-index: 1; top: 0; bottom: 0; width: 40%; border: 0; background: none; cursor: pointer; }
.dg-story-prev { left: 0; }
.dg-story-next { right: 0; }
.dg-story .dg-close { z-index: 3; top: 40px; }

.dg-newpost { position: relative; box-sizing: border-box; width: 100%; max-width: 460px; max-height: calc(100vh - 40px); overflow-y: auto; padding: 22px; border-radius: 12px; background: #ffffff; }
.dg-newpost h2 { margin: 0 0 4px; font-size: 20px; }
.dg-newpost .dg-close { background: #efefef; color: #1c1c1c; }
.dg-newphoto { margin: 12px 0; aspect-ratio: 1; overflow: hidden; border-radius: 8px; background: #111111; }
.dg-newphoto img { width: 100%; height: 100%; object-fit: cover; object-position: 57% 50%; transition: filter 0.3s ease; }
.dg-filters { margin: 0; padding: 0; border: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.dg-filters legend { padding: 0; margin-bottom: 8px; font-size: 13px; font-weight: 700; }
.dg-filters input { position: absolute; opacity: 0; }
.dg-filters span { display: inline-block; padding: 7px 12px; border-radius: 999px; background: #efefef; font-size: 13px; font-weight: 700; cursor: pointer; }
.dg-filters input:checked + span { background: #1c1c1c; color: #ffffff; }
.dg-filternote { margin: 10px 0; font-size: 13px; color: #ec6e6a; font-weight: 700; }
.dg-newpost textarea { box-sizing: border-box; width: 100%; padding: 10px; border: 1px solid #dbdbdb; border-radius: 8px; font: inherit; font-size: 15px; resize: vertical; }
.dg-newfoot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 10px; flex-wrap: wrap; }
.dg-filter-million { filter: saturate(1.7) contrast(1.15); }
.dg-filter-onecopy { filter: grayscale(1) contrast(1.2); }
.dg-filter-unsold { filter: sepia(0.7) brightness(0.9); }
.dg-filter-dread { filter: hue-rotate(190deg) saturate(0.6) brightness(0.75); }

/* Bottom */
.dg-bottom { max-width: 935px; margin: 0 auto; padding: 60px 20px 48px; display: flex; flex-direction: column; gap: 28px; }
.dg-cta { padding: 40px 24px; border-radius: 22px; background: #fff3ef; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.dg-cta h2 { margin: 6px 0 0; font-size: 34px; letter-spacing: -0.02em; }
.dg-cta p { margin: 0; max-width: 540px; font-size: 17px; line-height: 1.5; }
.dg-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; }
.dg-cta-button:hover { background: #d95450; }
.dg-cta-arrow { display: inline-block; }
.dg-share { min-height: 48px; padding: 0 22px; border: 2px solid #1c1c1c; border-radius: 999px; background: none; color: #1c1c1c; font: inherit; font-size: 16px; font-weight: 800; cursor: pointer; }
.dg-share:hover { background: #1c1c1c; color: #ffffff; }
.dg-status { margin: 0; font-size: 14px; font-weight: 700; color: #2e7d32; }
.dg-status:empty { display: none; }
.dg-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; line-height: 1.5; color: #737373; border-top: 1px solid #dbdbdb; padding-top: 14px; }

@media (max-width: 760px) {
	.dg-bar { padding: 8px 16px; }
	.dg-main { padding: 20px 0 0; }
	.dg-profile { grid-template-columns: 96px minmax(0, 1fr); gap: 18px; padding: 0 16px 20px; align-items: start; }
	.dg-avatar-ring .dg-avatar { width: 86px; height: 86px; }
	.dg-nameline h1 { font-size: 19px; }
	.dg-nameline .dg-button { flex: 1; }
	.dg-stats { gap: 6px 18px; font-size: 14px; margin: 14px 0; }
	.dg-highlights ul { padding: 0 16px; gap: 18px; }
	.dg-highlight-ring { width: 64px; height: 64px; }
	.dg-tabs { gap: 40px; }
	.dg-grid { gap: 2px; }
	.dg-tile-hover { display: none; }
	.dg-viewer { grid-template-columns: minmax(0, 1fr); overflow-y: auto; }
	.dg-comments { max-height: 160px; }
	.dg-reel { margin: 0 16px; }
	.dg-bottom { padding: 48px 16px 40px; }
	.dg-cta h2 { font-size: 28px; }
	.dg-cta-button { font-size: 18px; min-height: 64px; }
}

/* Animations - only with JavaScript and when the visitor allows motion */
@media (prefers-reduced-motion: no-preference) {
	.dg-avatar-ring { animation: dg-spin 6s linear infinite; }
	.dg-avatar-ring .dg-avatar { animation: dg-spin 6s linear infinite reverse; }
	.js .dg-grid li { animation: dg-in 0.4s ease both; }
	.js .dg-grid li:nth-child(2) { animation-delay: 0.05s; }
	.js .dg-grid li:nth-child(3) { animation-delay: 0.1s; }
	.js .dg-grid li:nth-child(4) { animation-delay: 0.15s; }
	.js .dg-grid li:nth-child(5) { animation-delay: 0.2s; }
	.js .dg-grid li:nth-child(6) { animation-delay: 0.25s; }
	.js .dg-grid li:nth-child(n+7) { animation-delay: 0.3s; }
	.dg-tile img { transition: transform 0.4s ease; }
	.dg-tile:hover img { transform: scale(1.04); }
	.dg-burst.is-on { animation: dg-burst 0.8s ease forwards; }
	.dg-reel img { animation: dg-zoom 12s ease-in-out infinite alternate; }
	.dg-story-bars .is-now i { animation: dg-progress var(--story, 4s) linear forwards; }
	.dg-story-image.is-new, .dg-story-text.is-new { animation: dg-fade 0.35s ease both; }
	.dg-overlay:not([hidden]) > * { animation: dg-pop 0.25s ease both; }
	.dg-cta-button { animation: dg-glow 2.2s ease-in-out infinite; transition: transform 0.15s ease; }
	.dg-cta-button:hover { transform: scale(1.02); }
	.dg-cta-arrow { animation: dg-nudge 1.1s ease-in-out infinite; }
}
@media (prefers-reduced-motion: reduce) {
	.dg-story-bars .is-now i { width: 100%; }
}

@keyframes dg-spin { to { transform: rotate(360deg); } }
@keyframes dg-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes dg-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes dg-burst { 0% { transform: translate(-50%, -50%) scale(0); opacity: 0; } 20% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; } 40% { transform: translate(-50%, -50%) scale(0.95); } 70% { transform: translate(-50%, -50%) scale(1); opacity: 1; } 100% { transform: translate(-50%, -50%) scale(1); opacity: 0; } }
@keyframes dg-zoom { from { transform: scale(1); } to { transform: scale(1.25); } }
@keyframes dg-progress { from { width: 0; } to { width: 100%; } }
@keyframes dg-pop { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: none; } }
@keyframes dg-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 dg-nudge { 0%, 100% { transform: none; } 50% { transform: translateX(8px); } }
