/* doogle.dad-look.com - Doogle, the search engine where the book is always #1. Parody, own colours. */
body { margin: 0; background: #ffffff; color: #1c1c1c; font-family: Arial, Helvetica, sans-serif; }
[hidden] { display: none !important; }
a { color: #1a0dab; text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline: 3px solid #2f6fb8; outline-offset: 2px; }
.dg-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: -1px; }

/* Logo: black D, coral oogle */
.dg-logo { margin: 0; font-family: Helvetica, Arial, sans-serif; font-weight: 900; letter-spacing: -0.04em; color: #ec6e6a; font-size: 30px; text-decoration: none; }
.dg-logo span { color: #1c1c1c; }
.dg-logo:hover { text-decoration: none; }
.dg-logo-big { font-size: 96px; line-height: 1; }

/* Search box */
.dg-search { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.dg-search-field { position: relative; width: 100%; display: flex; align-items: center; gap: 10px; box-sizing: border-box; border: 1px solid #dfe1e5; border-radius: 24px; padding: 0 16px; min-height: 46px; background: #ffffff; }
.dg-search-field:hover, .dg-search-field:focus-within { box-shadow: 0 1px 6px rgba(32, 33, 36, 0.28); border-color: transparent; }
.dg-search-field svg { width: 20px; height: 20px; color: #9aa0a6; flex: 0 0 auto; }
.dg-search-field input { flex: 1 1 auto; min-width: 0; border: 0; outline: none; font: inherit; font-size: 16px; padding: 10px 0; background: transparent; }
.dg-search-field input::-webkit-search-cancel-button { cursor: pointer; }
.dg-search-big { max-width: 584px; }
.dg-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.dg-buttons button { min-height: 40px; padding: 0 16px; border: 1px solid #f8f9fa; border-radius: 6px; background: #f8f9fa; color: #3c4043; font: inherit; font-size: 14px; cursor: pointer; }
.dg-buttons button:hover { border-color: #dadce0; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1); }
.dg-suggestions { position: absolute; left: -1px; right: -1px; top: 100%; z-index: 20; margin: 0; padding: 6px 0 8px; list-style: none; background: #ffffff; border-radius: 0 0 24px 24px; box-shadow: 0 4px 6px rgba(32, 33, 36, 0.28); text-align: left; }
.dg-suggestions li { padding: 8px 18px 8px 46px; cursor: pointer; font-size: 15px; }
.dg-suggestions li[aria-selected="true"], .dg-suggestions li:hover { background: #f1f3f4; }
.dg-suggestions b { font-weight: 700; }

/* Home */
.dg-home { min-height: 72vh; box-sizing: border-box; padding: 12vh 20px 40px; display: flex; flex-direction: column; align-items: center; gap: 26px; text-align: center; }
.dg-doodle { margin: 0; font-size: 14px; color: #5f6368; display: inline-flex; align-items: center; gap: 8px; }
.dg-doodle-label { background: #ec6e6a; color: #ffffff; font-weight: 800; font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; padding: 3px 8px; border-radius: 999px; }
.dg-trending { display: flex; flex-direction: column; align-items: center; gap: 8px; max-width: 584px; }
.dg-trending p { margin: 0; font-size: 13px; color: #5f6368; }
.dg-trending ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.dg-trending a { display: inline-block; padding: 6px 12px; border: 1px solid #dfe1e5; border-radius: 999px; font-size: 14px; color: #3c4043; }
.dg-trending a:hover { background: #f8f9fa; text-decoration: none; }
.dg-counter { margin: 0; font-size: 13px; color: #5f6368; }

/* Results header */
.dg-header { border-bottom: 1px solid #ebebeb; padding: 20px 24px 0; }
.dg-header-row { display: flex; align-items: center; gap: 28px; max-width: 1140px; }
.dg-header .dg-search { max-width: 690px; }
.dg-tabs { display: flex; gap: 22px; padding-left: 116px; margin-top: 12px; overflow-x: auto; scrollbar-width: none; }
.dg-tabs::-webkit-scrollbar { display: none; }
.dg-tabs a { padding: 10px 2px 12px; font-size: 14px; color: #5f6368; border-bottom: 3px solid transparent; white-space: nowrap; }
.dg-tabs a.is-active { color: #ec6e6a; border-bottom-color: #ec6e6a; font-weight: 700; }
.dg-tabs a:hover { text-decoration: none; color: #1c1c1c; }

/* Results */
.dg-results-page { max-width: 1140px; padding: 18px 24px 40px 140px; display: grid; grid-template-columns: minmax(0, 650px) 370px; gap: 60px; }
.dg-results { min-width: 0; display: flex; flex-direction: column; gap: 26px; }
.dg-stats { margin: 0; font-size: 14px; color: #70757a; }
.dg-didyoumean { margin: -14px 0 0; font-size: 18px; color: #c5221f; }
.dg-didyoumean a { color: #1a0dab; }
.dg-page-note { margin: 0; padding: 12px 14px; background: #fff4f2; border-radius: 10px; font-size: 15px; }
.dg-result h2 { margin: 4px 0 4px; font-size: 20px; font-weight: 400; line-height: 1.3; }
.dg-url { margin: 0; font-size: 14px; color: #202124; }
.dg-snippet { margin: 0; font-size: 14px; line-height: 1.58; color: #4d5156; }
.dg-ad-label { font-weight: 700; margin-right: 6px; }

/* People also ask */
.dg-ask h2, .dg-related h2 { margin: 0 0 10px; font-size: 20px; font-weight: 400; }
.dg-ask details { border-bottom: 1px solid #dfe1e5; }
.dg-ask summary { cursor: pointer; padding: 14px 0; font-size: 16px; }
.dg-ask details p { margin: 0 0 14px; font-size: 14px; line-height: 1.58; color: #4d5156; }
.dg-related ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.dg-related a { display: block; padding: 12px 16px; background: #f1f3f4; border-radius: 999px; color: #1c1c1c; font-size: 15px; }
.dg-related a:hover { background: #e8eaed; text-decoration: none; }

/* Pagination */
.dg-pagination { display: flex; flex-direction: column; align-items: center; gap: 4px; padding-top: 10px; }
.dg-pagination-logo { font-family: Helvetica, Arial, sans-serif; font-weight: 900; font-size: 30px; color: #ec6e6a; letter-spacing: -0.04em; }
.dg-pagination-logo span { color: #1c1c1c; }
.dg-pagination div { display: flex; gap: 14px; }
.dg-pagination a { font-size: 15px; }
.dg-pagination a.is-active { color: #1c1c1c; font-weight: 700; }

/* Tabs */
.dg-images { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.dg-image { display: flex; flex-direction: column; gap: 6px; color: #1c1c1c; font-size: 13px; }
.dg-image img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; }
.dg-video { display: flex; gap: 16px; align-items: flex-start; }
.dg-video-thumb { position: relative; flex: 0 0 220px; }
.dg-video-thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; display: block; }
.dg-live { position: absolute; left: 8px; bottom: 8px; background: #eb0400; color: #ffffff; font-size: 12px; font-weight: 800; padding: 2px 6px; border-radius: 4px; }
.dg-video h2 { margin: 0 0 6px; font-size: 18px; font-weight: 400; }
.dg-product { display: flex; gap: 16px; align-items: center; border: 1px solid #dfe1e5; border-radius: 14px; padding: 14px; }
.dg-product img { width: 120px; height: 120px; object-fit: cover; border-radius: 10px; }
.dg-product h2 { margin: 0 0 6px; font-size: 18px; font-weight: 400; }
.dg-price { margin: 0 0 4px; font-size: 20px; font-weight: 700; }
.dg-price span { font-size: 13px; font-weight: 700; color: #188038; background: #e6f4ea; padding: 2px 6px; border-radius: 4px; margin-left: 6px; }
.dg-map { position: relative; height: 280px; border-radius: 14px; background-color: #e8f0e3; background-image: linear-gradient(#ffffff 3px, transparent 3px), linear-gradient(90deg, #ffffff 3px, transparent 3px), linear-gradient(35deg, transparent 48%, #f6d58e 48%, #f6d58e 52%, transparent 52%); background-size: 60px 60px, 60px 60px, 100% 100%; }
.dg-pin { position: absolute; left: 50%; top: 45%; width: 26px; height: 26px; margin: -26px 0 0 -13px; background: #ec6e6a; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); }
.dg-pin::after { content: ""; position: absolute; left: 8px; top: 8px; width: 10px; height: 10px; border-radius: 50%; background: #ffffff; }
.dg-place h2 { margin: 0 0 6px; font-size: 22px; font-weight: 400; }
.dg-place p { margin: 0 0 4px; font-size: 14px; color: #4d5156; }
.dg-open { color: #188038; font-weight: 700; }

/* Knowledge panel */
.dg-panel { align-self: start; border: 1px solid #dadce0; border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; }
.dg-panel img { width: 100%; height: 220px; object-fit: cover; display: block; }
.dg-panel h2 { margin: 16px 18px 0; font-size: 26px; font-weight: 400; line-height: 1.2; }
.dg-panel-type { margin: 4px 18px 0; color: #70757a; font-size: 14px; }
.dg-panel > p:not(.dg-panel-type):not(.dg-status) { margin: 12px 18px 0; font-size: 14px; line-height: 1.58; color: #4d5156; }
.dg-panel dl { margin: 12px 18px 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.dg-panel dl div { display: flex; gap: 6px; }
.dg-panel dt { font-weight: 700; }
.dg-panel dt::after { content: ":"; }
.dg-panel dd { margin: 0; }
.dg-share { margin: 16px 18px 0; min-height: 44px; border: 0; border-radius: 999px; background: #ec6e6a; color: #ffffff; font: inherit; font-size: 15px; font-weight: 800; cursor: pointer; }
.dg-share:hover { background: #d95450; }
.dg-status { margin: 8px 18px 16px; min-height: 1.2em; font-size: 13px; font-weight: 700; color: #188038; }

/* Bottom */
.dg-bottom { max-width: 1040px; margin: 0 auto; padding: 0 24px 48px; display: flex; flex-direction: column; gap: 28px; }
.dg-cta { background: #1c1c1c; color: #ffffff; border-radius: 24px; padding: 40px 24px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.dg-cta h2 { margin: 0; font-size: 30px; font-weight: 900; }
.dg-cta p { margin: 0; font-size: 17px; color: #d6d3ce; }
.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: #f38884; color: #ffffff; text-decoration: none; }
.dg-cta-button:focus-visible { outline-color: #ffffff; outline-offset: 4px; }
.dg-cta-arrow { display: inline-block; }
.dg-bottom .more a { color: #1c1c1c; }
.dg-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: #70757a; border-top: 1px solid #ebebeb; padding-top: 14px; }
.dg-footer a { color: #70757a; }

@media (max-width: 1000px) {
	.dg-results-page { grid-template-columns: 1fr; padding: 16px 20px 32px; gap: 28px; }
	.dg-panel { order: -1; }
	.dg-panel img { height: 180px; }
	.dg-tabs { padding-left: 0; }
}
@media (max-width: 600px) {
	.dg-logo-big { font-size: 64px; }
	.dg-header { padding: 14px 16px 0; }
	.dg-header-row { flex-direction: column; align-items: stretch; gap: 10px; }
	.dg-header .dg-logo { text-align: center; }
	.dg-related ul { grid-template-columns: 1fr; }
	.dg-video { flex-direction: column; }
	.dg-video-thumb { flex: none; width: 100%; }
	.dg-bottom { padding: 0 16px 40px; }
	.dg-cta h2 { font-size: 24px; }
	.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) {
	.js .dg-home > * { animation: dg-rise 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
	.js .dg-home > *:nth-child(2) { animation-delay: 0.06s; }
	.js .dg-home > *:nth-child(3) { animation-delay: 0.12s; }
	.js .dg-home > *:nth-child(4) { animation-delay: 0.2s; }
	.js .dg-home > *:nth-child(5) { animation-delay: 0.28s; }
	.dg-logo-big { animation: dg-bounce 0.8s cubic-bezier(0.2, 0.8, 0.2, 1.4) both !important; }
	.dg-doodle-label { animation: dg-wiggle 2.4s 1s ease-in-out infinite; display: inline-block; }
	.js .reveal { opacity: 0; transform: translateY(12px); transition: opacity 0.4s ease, transform 0.4s ease; transition-delay: calc(var(--d, 0) * 60ms); }
	.js .reveal.is-in { opacity: 1; transform: none; }
	.js .dg-panel { animation: dg-rise 0.6s 0.15s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
	.dg-ask details[open] p { animation: dg-rise 0.3s ease both; }
	.dg-pin { animation: dg-drop 0.7s cubic-bezier(0.2, 0.8, 0.2, 1.4) 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; }
}

@keyframes dg-rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes dg-bounce { 0% { opacity: 0; transform: scale(0.6); } 100% { opacity: 1; transform: none; } }
@keyframes dg-wiggle { 0%, 100% { transform: rotate(0); } 10% { transform: rotate(-6deg); } 20% { transform: rotate(6deg); } 30% { transform: rotate(0); } }
@keyframes dg-drop { from { opacity: 0; margin-top: -80px; } to { opacity: 1; margin-top: -26px; } }
@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); } }
