/* SMP Directory: builds on the smp theme's tokens (--ink, --bronze, --gold, --night, --r…) */
.smpd main { min-height: 60vh; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.dsmall { font-size: 0.82rem; color: var(--text-2); margin: 10px 0 0; }
.dlink { background: none; border: 0; padding: 0; color: var(--bronze-2); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: inherit; }
.dhp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.btn.btn-glass { --bg: rgba(255, 255, 255, 0.1); --fg: #fff; border-color: rgba(255, 255, 255, 0.22); backdrop-filter: blur(10px); }
.btn.btn-glass:hover { --bg: rgba(255, 255, 255, 0.18); }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dsave-btn[aria-pressed="true"] svg { fill: var(--gold); stroke: var(--gold); }

/* Heads */
.dhero { padding-bottom: clamp(40px, 5vw, 64px); }
.dhero-sm { padding-top: calc(76px + clamp(28px, 4vw, 56px)); padding-bottom: clamp(32px, 4vw, 48px); }
.dhero-sm h1 { font-size: clamp(2.3rem, 4.6vw, 3.8rem); }
.dhero .wrap > p:not(.eyebrow) { margin-bottom: 26px; }
.dcrumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.82rem; margin: 0 0 18px; }
.dcrumbs a { text-decoration: none; }

/* AI search bar */
.dsearch { position: relative; display: flex; align-items: center; gap: 6px; max-width: 760px; background: #fff; border-radius: 999px; padding: 6px 6px 6px 18px; box-shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.55); }
.dsearch-ai { width: 22px; height: 22px; flex: none; fill: var(--bronze); }
.dsearch input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; font-size: 1rem; padding: 12px 6px; background: transparent; color: var(--ink); }
.dsearch-near { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--bone); cursor: pointer; display: grid; place-items: center; color: var(--ink); }
.dsearch-near svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.dsearch-near.on { background: var(--ink); color: #fff; }
.dsearch-go { flex: none; }
.dsuggest { position: absolute; left: 0; right: 0; top: calc(100% + 8px); background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg); padding: 8px; z-index: 50; color: var(--text); max-height: 70vh; overflow: auto; }
.dsuggest h6 { margin: 8px 12px 4px; font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.dsuggest a, .dsuggest button { display: flex; justify-content: space-between; gap: 12px; width: 100%; padding: 10px 12px; border-radius: 12px; text-decoration: none; color: var(--ink); background: none; border: 0; text-align: left; font: inherit; cursor: pointer; }
.dsuggest a:hover, .dsuggest a.on, .dsuggest button:hover, .dsuggest button.on { background: var(--bone); }
.dsuggest small { color: var(--muted); }
.dquick { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 18px 0 0; }
.dquick a { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.2); color: rgba(255, 255, 255, 0.85); text-decoration: none; font-size: 0.86rem; }
.dquick a:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }

/* Trust strip */
.dtrust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin-top: -28px; position: relative; z-index: 2; box-shadow: var(--shadow); }
.dtrust div { background: var(--paper); padding: 18px 20px; }
.dtrust b { display: block; font-family: var(--serif); font-weight: 400; font-size: 2rem; line-height: 1; color: var(--ink); }
.dtrust span { font-size: 0.84rem; color: var(--text-2); }

/* Rails and grids */
.drail { margin: clamp(40px, 5vw, 64px) 0; }
.drail-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 18px; }
.drail-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 0; }
.drail-head a { font-weight: 600; color: var(--bronze-2); text-decoration: none; white-space: nowrap; }
.dgrid { display: grid; gap: 18px; }
.dgrid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.dgrid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dsec-wide { margin: clamp(48px, 6vw, 80px) 0; }

/* Card */
.dcard { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); display: flex; flex-direction: column; height: 100%; }
.dcard:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.dcard-link { position: absolute; inset: 0; z-index: 1; }
.dcard-cover { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--night); }
.dcover-img { width: 100%; height: 100%; object-fit: cover; }
.dcover-gen { position: absolute; inset: 0; background: radial-gradient(circle at 30% 20%, hsla(var(--h), 45%, 55%, 0.55), transparent 60%), radial-gradient(circle at 80% 90%, hsla(calc(var(--h) + 40), 40%, 40%, 0.5), transparent 55%), radial-gradient(rgba(255, 255, 255, 0.22) 1px, transparent 1.4px) 0 0 / 9px 9px, linear-gradient(160deg, #15171c, #0b0c0f); }
.dcard-badges { position: absolute; left: 10px; top: 10px; display: flex; gap: 6px; flex-wrap: wrap; z-index: 2; pointer-events: none; }
.dsave { position: absolute; right: 10px; top: 10px; z-index: 3; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.92); display: grid; place-items: center; cursor: pointer; transition: transform 0.2s var(--ease); }
.dsave svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 1.8; }
.dsave[aria-pressed="true"] svg { fill: var(--red); stroke: var(--red); }
.dsave:active { transform: scale(0.88); }
.dsave.pop svg { animation: dpop 0.4s var(--ease); }
@keyframes dpop { 50% { transform: scale(1.35); } }
.dcard-body { padding: 14px 16px 16px; display: grid; gap: 8px; align-content: start; flex: 1; }
.dcard-top { display: flex; gap: 12px; align-items: center; }
.dcard h3 { font-size: 1rem; margin: 0; line-height: 1.25; }
.dloc { margin: 2px 0 0; font-size: 0.84rem; color: var(--text-2); }
.drate { margin: 0; font-size: 0.86rem; display: flex; align-items: center; gap: 4px; }
.dtags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.dtags li { font-size: 0.74rem; padding: 4px 9px; border-radius: 999px; background: var(--bone-2); color: var(--text-2); }
.dtags .more { background: transparent; border: 1px solid var(--line); }
.dprice { margin: 0; font-size: 0.86rem; color: var(--text-2); }
.dprice b { color: var(--ink); }
.dlogo { border-radius: 14px; object-fit: cover; flex: none; background: #fff; }
.dlogo.mono { display: grid; place-items: center; font-family: var(--serif); font-size: 1.2rem; color: #fff; background: linear-gradient(140deg, hsl(var(--h), 32%, 36%), hsl(calc(var(--h) + 30), 30%, 20%)); letter-spacing: 0.02em; }
.dcard .dlogo.mono { font-size: 1rem; border-radius: 11px; }

/* Stars and badges */
.dstars { --r: 0; display: inline-block; width: 5.4em; height: 1em; font-size: 0.95em; background: linear-gradient(90deg, var(--bronze) calc(var(--r) / 5 * 100%), var(--line-2) 0); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 108 20'%3E%3Cg%3E%3Cpath id='s' d='M10 1l2.7 5.8 6.3.7-4.7 4.3 1.3 6.2L10 14.9 4.4 18l1.3-6.2L1 7.5l6.3-.7z'/%3E%3Cuse href='%23s' x='22'/%3E%3Cuse href='%23s' x='44'/%3E%3Cuse href='%23s' x='66'/%3E%3Cuse href='%23s' x='88'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 108 20'%3E%3Cg%3E%3Cpath id='s' d='M10 1l2.7 5.8 6.3.7-4.7 4.3 1.3 6.2L10 14.9 4.4 18l1.3-6.2L1 7.5l6.3-.7z'/%3E%3Cuse href='%23s' x='22'/%3E%3Cuse href='%23s' x='44'/%3E%3Cuse href='%23s' x='66'/%3E%3Cuse href='%23s' x='88'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat; vertical-align: -0.12em; }
.dbadge { display: inline-flex; align-items: center; gap: 4px; padding: 4px 9px; border-radius: 999px; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.02em; background: rgba(255, 255, 255, 0.92); color: var(--ink); }
.dbadge.feat { background: var(--gold); color: var(--night); }
.dbadge.ver { background: var(--green-soft); color: var(--green); }
.dbadge.ver::before { content: "✓"; }
.dbadge.clm { background: var(--bronze-soft); color: var(--bronze-2); }
.dbadge.unc { background: rgba(255, 255, 255, 0.85); color: var(--text-2); }
.dbadge.new { background: var(--ink); color: #fff; }

/* Map */
.dmap { background: var(--bone-2) radial-gradient(rgba(15, 18, 23, 0.08) 1px, transparent 1.3px) 0 0 / 12px 12px; border-radius: var(--r); overflow: hidden; position: relative; }
.dmap-lg { height: 520px; }
.dmap-sm { height: 200px; border-radius: var(--r) var(--r) 0 0; }
.dmap-sticky { position: sticky; top: 92px; height: calc(100vh - 120px); min-height: 420px; }
.dmap-band { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(24px, 4vw, 56px); align-items: center; margin: clamp(48px, 6vw, 88px) 0; }
.dmap-band h2 { font-size: clamp(2rem, 3.4vw, 3rem); }
.dpin { width: 30px; height: 30px; border-radius: 50% 50% 50% 4px; transform: rotate(-45deg); background: var(--ink); border: 2px solid #fff; box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3); cursor: pointer; display: grid; place-items: center; }
.dpin::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.dpin.on, .dpin:hover { background: var(--bronze); }
.maplibregl-popup-content { border-radius: 14px !important; padding: 12px 14px !important; font-family: var(--sans); box-shadow: var(--shadow) !important; }
.maplibregl-popup-content a { font-weight: 600; color: var(--ink); text-decoration: none; }
.maplibregl-popup-content small { display: block; color: var(--text-2); }
.dmap-cluster { width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 700; font-size: 0.85rem; display: grid; place-items: center; border: 3px solid rgba(201, 165, 123, 0.7); cursor: pointer; }

/* Cities and services */
.dcities { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.dcities a, .dsvc a { display: grid; gap: 2px; padding: 14px 16px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); text-decoration: none; transition: border-color 0.2s, transform 0.2s var(--ease); }
.dcities a:hover, .dsvc a:hover { border-color: var(--bronze); transform: translateY(-2px); }
.dcities b, .dsvc b { color: var(--ink); }
.dcities span, .dsvc span { font-size: 0.82rem; color: var(--text-2); }
.dsvc { list-style: none; padding: 0; margin: 0 0 18px; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }

/* How we list, join band */
.dhow { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(24px, 4vw, 64px); padding: clamp(32px, 5vw, 64px); background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); margin: clamp(48px, 6vw, 88px) 0; }
.dhow ol { margin: 0; padding-left: 1.2em; display: grid; gap: 14px; color: var(--text-2); }
.dhow ol b { color: var(--ink); }
.dhow > p { grid-column: 1 / -1; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.djoin-band { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: clamp(28px, 4vw, 56px); border-radius: var(--r-lg); background: var(--night); color: #fff; margin: clamp(48px, 6vw, 88px) 0; isolation: isolate; position: relative; overflow: hidden; }
.djoin-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1.3px) 0 0 / 11px 11px; mask: linear-gradient(90deg, transparent 40%, #000); }
.djoin-band h2 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.6rem); }
.djoin-band p { color: rgba(255, 255, 255, 0.72); max-width: 56ch; margin: 0; }
.djoin-band .eyebrow { color: var(--gold); }
.djoin-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* Search page */
.dfilters { position: sticky; top: 64px; z-index: 30; padding: 14px 0 10px; background: rgba(247, 244, 239, 0.94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.dfilters.wrap { width: 100%; padding-left: max(20px, calc((100% - 1200px) / 2)); padding-right: max(20px, calc((100% - 1200px) / 2)); border-bottom: 1px solid var(--line); }
.dfilters-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.dsel { display: inline-flex; align-items: center; gap: 6px; padding: 0 4px 0 14px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--paper); font-size: 0.85rem; }
.dsel span { color: var(--muted); }
.dsel select { border: 0; background: transparent; font: inherit; font-weight: 600; padding: 9px 8px; color: var(--ink); max-width: 190px; }
.dtoggle { display: inline-flex; align-items: center; gap: 8px; font-size: 0.85rem; cursor: pointer; }
.dtoggle input { accent-color: var(--ink); width: 18px; height: 18px; }
.dview-toggle { display: none; margin-left: auto; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--ink); background: var(--ink); color: #fff; font-weight: 600; font-size: 0.85rem; }
.dview-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.dchips { display: flex; gap: 8px; overflow-x: auto; padding: 10px 0 2px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.dchips::-webkit-scrollbar { display: none; }
.dchips:not(.dchips-local):not(.dchips-links) { flex-wrap: nowrap; }
.dchip { flex: none; cursor: pointer; }
.dchip input { position: absolute; opacity: 0; pointer-events: none; }
.dchip span, .dchip-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--paper); font-size: 0.84rem; white-space: nowrap; color: var(--text); text-decoration: none; cursor: pointer; font-family: inherit; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.dchip input:checked + span, .dchip-btn[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.dchip input:focus-visible + span { outline: 2px solid var(--bronze); outline-offset: 2px; }
.dchip-btn small { opacity: 0.6; }
.dsplit { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px; margin: 24px auto 48px; align-items: start; }
.dsplit-city { margin-top: 8px; }
.dexplain { margin-bottom: 14px; }
.dexplain p { margin: 0 0 6px; color: var(--text-2); }
.dai-chip { display: inline-flex; align-items: center; gap: 4px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; padding: 3px 9px; border-radius: 999px; background: linear-gradient(90deg, #efe7ff, var(--bronze-soft)); color: #5b3fc4; }
.dwiden { background: var(--amber-soft); color: var(--amber); padding: 8px 12px; border-radius: 10px; }
.dcount { font-weight: 600; color: var(--ink) !important; }
.dmore { margin: 20px auto 0; display: flex; }
.dresults.loading .dgrid { opacity: 0.45; transition: opacity 0.2s; }
.dskel { border-radius: var(--r); background: linear-gradient(90deg, var(--bone-2), var(--paper), var(--bone-2)) 0 0 / 200% 100%; animation: dsk 1.2s infinite linear; min-height: 280px; }
@keyframes dsk { to { background-position: -200% 0; } }
.dcard.hl { box-shadow: 0 0 0 2px var(--bronze), var(--shadow); }
.dempty { padding: 28px; border: 1px dashed var(--line-2); border-radius: var(--r); background: var(--paper); }
.dempty p:last-child { margin: 0; }

/* City */
.dcity-data { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 28px 0 18px; }
.dstat { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; }
.dstat b { display: block; font-family: var(--serif); font-weight: 400; font-size: 2.2rem; line-height: 1; color: var(--ink); margin-bottom: 4px; }
.dstat span { font-size: 0.84rem; color: var(--text-2); }
.dcity-insight { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px); }
.dcity-insight h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.dbars { display: grid; gap: 10px; }
.dbars div { display: grid; grid-template-columns: minmax(120px, 0.9fr) 1.4fr 44px; gap: 12px; align-items: center; font-size: 0.88rem; }
.dbars i { height: 10px; border-radius: 99px; background: var(--bone-2); overflow: hidden; }
.dbars i b { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--bronze), var(--gold)); width: 0; transition: width 1s var(--ease); }
.dbars em { font-style: normal; font-weight: 700; text-align: right; }
.dbars-lg div { grid-template-columns: minmax(150px, 1fr) 2fr 48px; }
.dchecklist { padding: 0; list-style: none; display: grid; gap: 10px; }
.dchecklist li { padding-left: 30px; position: relative; color: var(--text-2); }
.dchecklist li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--green-soft); color: var(--green); font-size: 0.75rem; display: grid; place-items: center; font-weight: 700; }

/* Profile */
.dprof-head { position: relative; background: var(--night); color: #fff; padding: calc(76px + 28px) 0 28px; isolation: isolate; overflow: hidden; }
.dprof-cover { position: absolute; inset: 0; z-index: -1; }
.dprof-cover .dcover-img { filter: brightness(0.45) saturate(0.8); }
.dprof-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--night) 0%, rgba(11, 12, 15, 0.5) 60%, rgba(11, 12, 15, 0.75) 100%); }
.dprof-id { display: flex; gap: 22px; align-items: flex-end; margin-top: clamp(40px, 8vw, 110px); }
.dprof-id .dlogo { border-radius: 22px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4); border: 3px solid rgba(255, 255, 255, 0.9); }
.dprof-id .dlogo.mono { font-size: 2rem; }
.dprof-badges { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.dprof-head h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 4rem); margin: 0 0 10px; }
.dprof-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0; color: rgba(255, 255, 255, 0.78); font-size: 0.95rem; align-items: center; }
.dprof-meta a { color: inherit; text-decoration: none; }
.dprof-meta .muted { color: rgba(255, 255, 255, 0.55); }
.dprof-meta .dstars { background: linear-gradient(90deg, var(--gold) calc(var(--r) / 5 * 100%), rgba(255, 255, 255, 0.25) 0); }
.dopen { color: #7fd6a6; font-weight: 600; }
.dclosed { color: #f0a39b; }
.dprof-tag { margin: 10px 0 0; color: rgba(255, 255, 255, 0.85); font-size: 1.05rem; max-width: 60ch; }
.dprof-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.dtabs { position: sticky; top: 64px; z-index: 30; background: rgba(247, 244, 239, 0.94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.dtabs .wrap { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.dtabs a { padding: 14px 14px; text-decoration: none; font-weight: 600; font-size: 0.9rem; color: var(--text-2); white-space: nowrap; border-bottom: 2px solid transparent; }
.dtabs a.on, .dtabs a:hover { color: var(--ink); border-color: var(--bronze); }
.dprof-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(24px, 4vw, 56px); margin-top: 32px; margin-bottom: 48px; align-items: start; }
.dsec { padding: 0 0 clamp(32px, 4vw, 48px); margin-bottom: clamp(32px, 4vw, 48px); border-bottom: 1px solid var(--line); scroll-margin-top: 130px; }
.dsec h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.dsec h3 { margin-top: 22px; }
.dsec-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.dsec-head h2 { margin: 0; }
.dprose p { color: var(--text-2); }
.dnotice { background: var(--bronze-soft); border: 1px solid #ecd9c3; border-radius: var(--r); padding: 16px 18px; margin-bottom: 28px; font-size: 0.92rem; color: var(--text); }
.dnotice a { display: inline-block; margin-top: 6px; font-weight: 700; color: var(--bronze-2); }
.dfacts { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; margin: 18px 0 0; }
.dfacts div { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.dfacts dt { font-size: 0.75rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.dfacts dd { margin: 2px 0 0; font-weight: 600; color: var(--ink); }
.dmenu { width: 100%; border-collapse: collapse; background: var(--paper); border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.dmenu th, .dmenu td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.dmenu td { text-align: right; font-weight: 700; white-space: nowrap; }
.dmenu small { display: block; font-weight: 400; color: var(--text-2); }
.dpricebox { padding: 14px 16px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; color: var(--text-2); }
.dba { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.dba-item { position: relative; margin: 0; border-radius: var(--r); overflow: hidden; aspect-ratio: 1; background: var(--bone-2); --x: 50%; }
.dba-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dba-after { clip-path: inset(0 0 0 var(--x)); }
.dba-item input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; z-index: 2; margin: 0; }
.dba-item::after { content: ""; position: absolute; top: 0; bottom: 0; left: var(--x); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 10px rgba(0, 0, 0, 0.4); pointer-events: none; }
.dba-item figcaption { position: absolute; left: 10px; bottom: 10px; z-index: 1; background: rgba(0, 0, 0, 0.6); color: #fff; font-size: 0.75rem; padding: 4px 8px; border-radius: 8px; }
.dgal { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin-top: 14px; }
.dgal img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; }
.dvid { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; margin-top: 14px; background: #000; }
.dvid iframe, .dvid video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.drev-sum { display: grid; grid-template-columns: 200px 1fr; gap: 24px; align-items: center; padding: 20px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 16px; }
.drev-big { display: grid; gap: 4px; justify-items: start; }
.drev-big b { font-family: var(--serif); font-weight: 400; font-size: 3.4rem; line-height: 1; color: var(--ink); }
.drev-big span:last-child { font-size: 0.8rem; color: var(--text-2); }
.drev-dist div { display: grid; grid-template-columns: 28px 1fr 28px; gap: 10px; align-items: center; font-size: 0.82rem; margin: 3px 0; }
.drev-dist i { height: 8px; background: var(--bone-2); border-radius: 99px; overflow: hidden; }
.drev-dist i b { display: block; height: 100%; background: var(--bronze); border-radius: 99px; }
.dai { position: relative; padding: 16px 18px; border-radius: var(--r); background: linear-gradient(135deg, #f5f0ff, #fbf6ef); border: 1px solid #e6dcf7; margin: 14px 0; }
.dai-label { display: flex; align-items: center; gap: 6px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #5b3fc4; margin: 0 0 8px; }
.dai-label svg { width: 16px; height: 16px; fill: #7a5af8; }
.dai ul { margin: 0; padding-left: 1.1em; color: var(--text-2); }
.dai-hint { font-size: 0.86rem; color: #5b3fc4; background: #f5f0ff; padding: 8px 12px; border-radius: 10px; }
.dthemes { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 8px 0; }
.dthemes li { padding: 5px 11px; border-radius: 999px; font-size: 0.8rem; background: var(--bone-2); }
.dthemes li.positive { background: var(--green-soft); color: var(--green); }
.dthemes li.negative { background: var(--red-soft); color: var(--red); }
.dthemes li.mixed { background: var(--amber-soft); color: var(--amber); }
.dthemes small { opacity: 0.65; margin-left: 2px; }
.drev-list { display: grid; gap: 12px; }
.drev { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; }
.drev header { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; }
.drev header > div { flex: 1; display: grid; }
.drev header span:not(.davatar):not(.dbadge) { font-size: 0.8rem; color: var(--text-2); }
.davatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; background: hsl(var(--h), 30%, 40%); flex: none; }
.drev footer { display: flex; gap: 14px; margin-top: 10px; }
.drev footer button { background: none; border: 0; padding: 0; color: var(--text-2); font-size: 0.82rem; cursor: pointer; font-weight: 600; }
.drev footer button:hover, .drev footer button.on { color: var(--ink); }
.drev-media { display: flex; gap: 8px; margin: 8px 0; }
.drev-media img { width: 84px; height: 84px; object-fit: cover; border-radius: 10px; }
.dreply { margin-top: 12px; padding: 12px 14px; border-left: 3px solid var(--bronze); background: var(--bone); border-radius: 0 12px 12px 0; font-size: 0.92rem; }
.dreply p { margin: 4px 0 0; color: var(--text-2); }
.dcomment { margin-top: 8px; font-size: 0.88rem; color: var(--text-2); padding-left: 14px; border-left: 2px solid var(--line); }
.dqa { padding: 14px 0; border-bottom: 1px solid var(--line); }
.dqa p { margin: 0 0 6px; }
.dqa small { color: var(--muted); margin-left: 6px; }
.dqa-a { padding-left: 18px; color: var(--text-2); }
.dfaq-h { margin-top: 28px !important; }
.dfaq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.dfaq summary { cursor: pointer; font-weight: 600; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.dfaq summary::after { content: "+"; color: var(--bronze); font-size: 1.3rem; line-height: 1; }
.dfaq details[open] summary::after { content: "–"; }
.dfaq p { margin: 10px 0 0; color: var(--text-2); }
.dprof-side { position: sticky; top: 130px; display: grid; gap: 16px; }
.dside-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.dside-body { padding: 18px 20px 20px; }
.dside-body h3 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin: 18px 0 8px; }
.dside-body h3:first-child { margin-top: 0; }
.dside-body p { margin: 0 0 6px; }
.dhours { width: 100%; font-size: 0.9rem; border-collapse: collapse; }
.dhours th { text-align: left; font-weight: 500; color: var(--text-2); padding: 3px 0; }
.dhours td { text-align: right; }
.dhours .today { font-weight: 700; }
.dhours .today th { color: var(--ink); }
.dcontact { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.dcontact a { color: var(--ink); font-weight: 600; text-decoration: none; word-break: break-word; }
.dsocial { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 12px !important; }
.dsocial a { font-size: 0.85rem; color: var(--bronze-2); font-weight: 600; }
.dside-assess { padding: 20px; background: var(--night); color: #fff; border: 0; }
.dside-assess h3 { color: #fff; }
.dside-assess p:not(.eyebrow) { color: rgba(255, 255, 255, 0.72); font-size: 0.92rem; }
.dside-assess .eyebrow { color: var(--gold); margin-bottom: 10px; }
.dside-assess .btn-dark { --bg: var(--gold); --fg: var(--night); }
.dside-links { font-size: 0.82rem; color: var(--text-2); text-align: center; }
.dsticky { display: none; }

/* Forms */
.dform { display: grid; gap: 14px; margin-top: 18px; padding: clamp(18px, 3vw, 28px); background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); }
.dform[hidden] { display: none; }
.dform h2, .dform h3 { margin: 0; }
.dform label { display: grid; gap: 6px; font-size: 0.88rem; font-weight: 600; color: var(--ink); }
.dform label small { font-weight: 400; color: var(--text-2); }
.dform input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="range"]), .dform select, .dform textarea { font: inherit; font-weight: 400; font-size: 1rem; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: #fff; color: var(--ink); width: 100%; transition: border-color 0.2s, box-shadow 0.2s; }
.dform input:focus, .dform select:focus, .dform textarea:focus { outline: 0; border-color: var(--bronze); box-shadow: 0 0 0 3px var(--bronze-soft); }
.dform-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.dform-inline { display: flex; gap: 8px; }
.dcheck { display: flex !important; grid-template-columns: none; align-items: flex-start; gap: 10px !important; font-weight: 400 !important; color: var(--text-2) !important; }
.dcheck input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--ink); flex: none; }
.dform-msg { margin: 0; font-size: 0.9rem; min-height: 0; }
.dform-msg.err { color: var(--red); }
.dform-msg.ok { color: var(--green); font-weight: 600; }
.dstar-input { border: 0; padding: 0; margin: 0; display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.dstar-input legend { font-size: 0.88rem; font-weight: 600; margin-bottom: 6px; width: 100%; float: left; }
.dstar-input input { position: absolute; opacity: 0; }
.dstar-input label { font-size: 2.2rem; line-height: 1; color: var(--line-2); cursor: pointer; transition: color 0.15s, transform 0.15s; display: block; }
.dstar-input label:hover, .dstar-input label:hover ~ label, .dstar-input input:checked ~ label { color: var(--bronze); }
.dstar-input input:focus-visible + label { outline: 2px solid var(--bronze); border-radius: 4px; }
.dfield { border: 1px solid var(--line); border-radius: 14px; padding: 14px; margin: 0; display: grid; gap: 12px; }
.dfield legend { font-weight: 600; font-size: 0.88rem; padding: 0 6px; }
.ddialog { border: 0; border-radius: var(--r-lg); padding: 0; width: min(520px, calc(100% - 32px)); box-shadow: var(--shadow-lg); }
.ddialog::backdrop { background: rgba(11, 12, 15, 0.55); backdrop-filter: blur(3px); }
.ddialog .dform { margin: 0; border: 0; }

/* Auth, join wizard, account */
.djoin-wrap { margin: 32px auto 64px; }
.djoin-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.djoin-why { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.djoin-why li { padding: 16px 18px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); color: var(--text-2); }
.djoin-why b { color: var(--ink); display: block; }
.dauth-intro { font-size: 1.05rem; color: var(--text-2); }
.dseg { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--bone-2); gap: 4px; }
.dseg button { border: 0; background: transparent; padding: 10px 18px; border-radius: 999px; font-weight: 600; cursor: pointer; color: var(--text-2); }
.dseg button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.dwiz { max-width: 780px; margin: 0 auto; }
.dwiz-steps { list-style: none; display: flex; justify-content: space-between; padding: 0; margin: 0 0 10px; counter-reset: s; font-size: 0.78rem; color: var(--muted); }
.dwiz-steps li { counter-increment: s; display: grid; justify-items: center; gap: 4px; flex: 1; text-align: center; }
.dwiz-steps li::before { content: counter(s); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--bone-2); font-weight: 700; color: var(--text-2); transition: background 0.3s, color 0.3s; }
.dwiz-steps li.on::before { background: var(--ink); color: #fff; }
.dwiz-steps li.done::before { content: "✓"; background: var(--green); color: #fff; }
.dwiz-steps li.on { color: var(--ink); font-weight: 600; }
.dwiz-bar { height: 4px; background: var(--bone-2); border-radius: 99px; overflow: hidden; margin-bottom: 20px; }
.dwiz-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--bronze), var(--gold)); transition: width 0.5s var(--ease); }
.dwiz-step { animation: dstep 0.4s var(--ease); }
@keyframes dstep { from { opacity: 0; transform: translateY(10px); } }
.dwiz-nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 6px; }
.dwiz-done { text-align: center; padding: 48px 20px; }
.ddupes { padding: 14px; border-radius: 14px; background: var(--amber-soft); display: grid; gap: 8px; }
.ddupes a { font-weight: 600; }
.ddupe { display: flex; justify-content: space-between; gap: 10px; align-items: center; background: #fff; padding: 10px 12px; border-radius: 10px; flex-wrap: wrap; }
.dupl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.dupl { position: relative; display: grid !important; place-items: center; text-align: center; min-height: 120px; padding: 14px; border: 1.5px dashed var(--line-2); border-radius: 14px; cursor: pointer; background: var(--bone); transition: border-color 0.2s, background 0.2s; }
.dupl:hover, .dupl.drag { border-color: var(--bronze); background: var(--bronze-soft); }
.dupl input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dupl span { display: grid; gap: 4px; font-weight: 400; font-size: 0.78rem; color: var(--text-2); }
.dupl b { font-size: 0.92rem; color: var(--ink); }
.dupl.busy::after { content: "Uploading…"; position: absolute; inset: 0; display: grid; place-items: center; background: rgba(255, 255, 255, 0.85); border-radius: 14px; font-weight: 600; }
.dupl-doc { min-height: 90px; }
.dthumbs { display: flex; flex-wrap: wrap; gap: 10px; margin: 10px 0; }
.dthumbs figure { margin: 0; width: 110px; text-align: center; font-size: 0.72rem; color: var(--text-2); }
.dthumbs img, .dthumb-doc { width: 110px; height: 110px; object-fit: cover; border-radius: 12px; display: grid; place-items: center; background: var(--bone-2); }
.dhours-edit { display: grid; gap: 8px; }
.dhours-row { display: grid; grid-template-columns: 150px 1fr auto 1fr; gap: 10px; align-items: center; }
.dhours-row input[type="time"] { padding: 8px 10px !important; }
.dhours-row:not(.open) input[type="time"] { opacity: 0.35; pointer-events: none; }
.drow-edit { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; margin-bottom: 8px; }
.drow-edit button { border: 0; background: none; color: var(--muted); cursor: pointer; font-size: 1.2rem; }
.dscore { display: flex; gap: 20px; align-items: center; }
.dscore ul { margin: 0; padding-left: 1.1em; color: var(--text-2); font-size: 0.9rem; }
.dscore-ring { --p: 0; flex: none; width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--bronze) calc(var(--p) * 1%), var(--bone-2) 0); position: relative; }
.dscore-ring::before { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: var(--paper); }
.dscore-ring b { position: relative; font-size: 1.3rem; }
.dacc-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(18px, 3vw, 32px); margin-bottom: 22px; }
.dacc-head { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.dacc-head > div:nth-child(2) { flex: 1; }
.dacc-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0; }
.dacc-head p { margin: 4px 0 0; }
.dacc-actions { display: flex; gap: 8px; }
.dacc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 20px; }
.dacc-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.dacc-stats div { background: var(--bone); border-radius: 12px; padding: 12px; font-size: 0.78rem; color: var(--text-2); }
.dacc-stats b { display: block; font-size: 1.5rem; color: var(--ink); }
.dstatus { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 0.78rem; font-weight: 600; background: var(--bone-2); }
.dstatus.published { background: var(--green-soft); color: var(--green); }
.dstatus.pending { background: var(--amber-soft); color: var(--amber); }
.dstatus.rejected { background: var(--red-soft); color: var(--red); }
.drev-own .dform { margin-top: 8px; padding: 0; border: 0; }
.dform-inline-reply { padding: 14px; }
.dclaims { list-style: none; padding: 0; display: grid; gap: 8px; }

/* Compare */
.dcmp-scroll { overflow-x: auto; margin: 28px 0 10px; border-radius: var(--r); border: 1px solid var(--line); background: var(--paper); }
.dcmp, .dtable { width: 100%; border-collapse: collapse; min-width: 640px; }
.dcmp th, .dcmp td, .dtable th, .dtable td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: 0.92rem; }
.dcmp thead th { vertical-align: bottom; }
.dcmp thead a { display: grid; gap: 8px; text-decoration: none; color: var(--ink); }
.dcmp tbody th, .dtable tbody th { color: var(--text-2); font-weight: 600; width: 180px; }
.dcmp small { display: block; color: var(--text-2); }
.dtick span { font-size: 1.1rem; font-weight: 700; color: var(--green); }
.dtick .muted { color: var(--line-2); }
.dcompare-tray { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%) translateY(140%); z-index: 170; background: var(--ink); color: #fff; border-radius: 999px; padding: 8px 8px 8px 18px; display: flex; gap: 14px; align-items: center; box-shadow: var(--shadow-lg); transition: transform 0.4s var(--ease); font-size: 0.9rem; }
.dcompare-tray:not(.on) { visibility: hidden; }
.dcompare-tray.on { transform: translateX(-50%) translateY(0); }
.dcompare-tray .btn { --bg: var(--gold); --fg: var(--night); padding: 10px 16px; }
.dcompare-tray button.x { background: none; border: 0; color: rgba(255, 255, 255, 0.6); cursor: pointer; font-size: 1.1rem; }
[data-compare].on { --bg: var(--gold); --fg: var(--night); }

/* Report */
.narrow { width: min(860px, 100% - 40px); }
.dreport-body { margin: 40px auto 72px; }
.dreport-body h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-top: 48px; }
.dkeys { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.dkeys div { padding: 18px; border-radius: var(--r); background: var(--night); color: #fff; }
.dkeys b { display: block; font-family: var(--serif); font-weight: 400; font-size: 2.3rem; line-height: 1; color: var(--gold); margin-bottom: 6px; }
.dkeys span { font-size: 0.82rem; color: rgba(255, 255, 255, 0.7); }
.dfindings { display: grid; gap: 12px; padding-left: 1.3em; color: var(--text-2); }
.dfindings b { color: var(--ink); }
.drange { margin: 18px 0; }
.drange-track { position: relative; height: 18px; border-radius: 99px; background: var(--bone-2); }
.drange-track b { position: absolute; top: 0; bottom: 0; border-radius: 99px; background: linear-gradient(90deg, var(--bronze), var(--gold)); }
.drange-track em { position: absolute; top: -6px; bottom: -6px; width: 3px; background: var(--ink); border-radius: 2px; }
.drange-labels { display: flex; justify-content: space-between; gap: 10px; font-size: 0.82rem; color: var(--text-2); margin-top: 10px; flex-wrap: wrap; }
.dcite { margin-top: 48px; padding: 24px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); }
.dcite h2 { margin-top: 0 !important; }
.dcopy { display: flex; gap: 10px; align-items: center; margin: 10px 0; }
.dcopy code { flex: 1; min-width: 0; padding: 12px 14px; border-radius: 10px; background: var(--bone); font-size: 0.8rem; overflow-x: auto; white-space: nowrap; display: block; }
.dbadge-preview { padding: 32px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); display: grid; place-items: center; }

/* Responsive */
@media (max-width: 1100px) {
	.dgrid-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.dprof-grid { grid-template-columns: minmax(0, 1fr) 300px; }
}
@media (max-width: 900px) {
	.dgrid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.dsplit { grid-template-columns: 1fr; }
	.dmap-col { display: none; }
	.dsplit.show-map .dmap-col { display: block; }
	.dsplit.show-map .dresults { display: none; }
	.dsplit.show-map .dmap-sticky { position: relative; top: 0; height: calc(100svh - 230px); }
	.dview-toggle { display: inline-flex; }
	.dmap-band, .dhow, .dcity-insight, .djoin-grid, .dacc-grid { grid-template-columns: 1fr; }
	.dprof-grid { grid-template-columns: 1fr; }
	.dprof-side { position: static; }
	.dcity-data, .dkeys { grid-template-columns: 1fr 1fr; }
	.dtrust { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
	.dsearch { padding-left: 14px; }
	.dsearch .dsearch-go { font-size: 0; width: 44px; height: 44px; padding: 0; gap: 0; }
	.dsearch .dsearch-go::before { content: ""; width: 18px; height: 18px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") center / contain no-repeat; }
	.dsearch input { font-size: 16px; }
	/* App-style horizontal rails */
	.drow { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 -20px; padding: 0 20px 6px; scrollbar-width: none; }
	.drow::-webkit-scrollbar { display: none; }
	.drow > * { flex: 0 0 78%; scroll-snap-align: start; }
	.dgrid-2, .dgrid-4:not(.drow) { grid-template-columns: 1fr; }
	.dmap-lg { height: 380px; }
	.dfilters { top: 56px; }
	.dsel select { max-width: 130px; }
	.dfilters-row { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -20px; padding: 0 20px 2px; }
	.dfilters-row::-webkit-scrollbar { display: none; }
	.dfilters-row > * { flex: none; }
	.dview-toggle { order: -1; margin-left: 0; }
	.dexplain p { font-size: 0.92rem; }
	.dform-row { grid-template-columns: 1fr; }
	.drev-sum { grid-template-columns: 1fr; }
	.dprof-id { flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 36px; }
	.dprof-id .dlogo { width: 72px !important; height: 72px !important; }
	.dprof-actions .btn { padding: 12px 16px; }
	.dprof-actions .btn-glass:not(.dsave-btn):not([data-share-open]) { display: none; }
	.dtabs { top: 56px; }
	.dsticky { display: flex; gap: 8px; position: fixed; left: 12px; right: 12px; bottom: calc(80px + env(safe-area-inset-bottom)); z-index: 175; padding: 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: var(--shadow-lg); transform: translateY(160%); transition: transform 0.35s var(--ease); }
	.dsticky.on { transform: none; }
	.dsticky .btn { flex: 1; }
	.dcompare-tray { bottom: calc(84px + env(safe-area-inset-bottom)); }
	.dhours-row { grid-template-columns: 1fr auto auto auto; }
	.dacc-stats { grid-template-columns: repeat(2, 1fr); }
	.dwiz-steps li { font-size: 0; }
	.dbars div { grid-template-columns: 1fr 1fr 40px; }
}
@media (prefers-reduced-motion: reduce) {
	.dcard, .dsave, .dwiz-step, .dbars i b, .dsticky { transition: none; animation: none; }
}

/* =====================================================================
   v1.1 app layer: AI-first discovery, media, sheets, tab bar, viewer
   ===================================================================== */
/* App-like page entrance (content eases in; header and tab bar stay put) */
.smpd main { animation: dvt-in 0.32s cubic-bezier(0.2, 0.7, 0.2, 1) backwards; }
@keyframes dvt-in { from { opacity: 0; transform: translateY(8px); } }
@media (prefers-reduced-motion: reduce) { .smpd main { animation: none; } }

/* AI spark icon */
.dai-spark { display: inline-block; width: 1.1em; height: 1.1em; vertical-align: -0.15em; flex: none; background: conic-gradient(from 0deg, var(--gold), #b49cff, #ffd7a8, var(--gold)); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l2.2 6.1L20.5 10l-6.3 2-2.2 6-2.2-6L3.5 10l6.3-1.9z'/%3E%3Cpath d='M19 15l.9 2.3 2.3.8-2.3.8L19 21l-.9-2.1-2.3-.8 2.3-.8z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l2.2 6.1L20.5 10l-6.3 2-2.2 6-2.2-6L3.5 10l6.3-1.9z'/%3E%3Cpath d='M19 15l.9 2.3 2.3.8-2.3.8L19 21l-.9-2.1-2.3-.8 2.3-.8z'/%3E%3C/svg%3E") center / contain no-repeat; animation: dspin 8s linear infinite; }
@keyframes dspin { to { filter: hue-rotate(360deg); } }

/* AI hero */
.dhero-ai { position: relative; isolation: isolate; overflow: hidden; background: var(--night); color: #fff; padding: calc(76px + clamp(36px, 6vw, 84px)) 0 clamp(36px, 5vw, 64px); }
.dhero-ai::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; z-index: -1; background: radial-gradient(closest-side, rgba(201, 165, 123, 0.22), transparent 70%), radial-gradient(closest-side at 30% 70%, rgba(150, 120, 255, 0.12), transparent 70%); animation: dglow 14s ease-in-out infinite alternate; }
.dhero-ai::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(rgba(255, 255, 255, 0.13) 1px, transparent 1.3px) 0 0 / 14px 14px; -webkit-mask: radial-gradient(ellipse at 80% 20%, #000, transparent 70%); mask: radial-gradient(ellipse at 80% 20%, #000, transparent 70%); }
@keyframes dglow { to { transform: translate(-6%, 8%) scale(1.08); } }
.dhero-ai h1 { color: #fff; font-size: clamp(2.5rem, 6vw, 5rem); max-width: 16ch; margin-bottom: 0.5em; }
.dhero-ai h1 em { color: var(--gold); }
.dhero-ai .eyebrow { color: var(--gold); }
.daibox { max-width: 820px; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 26px; padding: 18px 18px 12px 22px; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.08); display: grid; grid-template-columns: auto 1fr; gap: 12px; transition: border-color 0.3s, box-shadow 0.3s; }
.daibox:focus-within { border-color: rgba(201, 165, 123, 0.6); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.7), 0 0 0 4px rgba(201, 165, 123, 0.15); }
.daibox .dai-spark { font-size: 1.5rem; margin-top: 4px; }
.daibox textarea { background: transparent; border: 0; outline: 0; resize: none; color: #fff; font: inherit; font-size: clamp(1.05rem, 2vw, 1.3rem); line-height: 1.45; min-height: 2.9em; width: 100%; }
.daibox textarea::placeholder { color: rgba(255, 255, 255, 0.5); }
.daibox-foot { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 10px; }
.daibox-loc { display: inline-flex; align-items: center; gap: 6px; background: rgba(255, 255, 255, 0.08); color: #fff; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 999px; padding: 8px 12px; font: inherit; font-size: 0.85rem; cursor: pointer; }
.daibox-loc.on { background: var(--gold); color: var(--night); }
.daibox-loc svg, .daibox-go svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.daibox-hint { font-size: 0.8rem; color: rgba(255, 255, 255, 0.5); margin-right: auto; }
.daibox-go { margin-left: auto; }
.dprompts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.dprompts a { padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); color: rgba(255, 255, 255, 0.82); text-decoration: none; font-size: 0.86rem; transition: background 0.2s; }
.dprompts a:hover { background: rgba(255, 255, 255, 0.14); color: #fff; }

/* City stories */
.dstories { display: flex; gap: 14px; overflow-x: auto; padding: 22px 0 6px; scrollbar-width: none; scroll-snap-type: x proximity; }
.dstories::-webkit-scrollbar { display: none; }
.dstory { flex: none; display: grid; justify-items: center; gap: 6px; width: 76px; text-decoration: none; scroll-snap-align: start; }
.dstory span { position: relative; width: 66px; height: 66px; border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); font-size: 1.5rem; color: #fff; background: linear-gradient(140deg, hsl(var(--h, 30), 35%, 38%), hsl(calc(var(--h, 30) + 40), 30%, 18%)); box-shadow: 0 0 0 2.5px var(--bone), 0 0 0 4.5px var(--gold); transition: transform 0.25s var(--ease); margin-top: 5px; }
.dstory:hover span { transform: scale(1.06); }
.dstory span i { position: absolute; right: -6px; bottom: -4px; font-style: normal; font-family: var(--sans); font-size: 0.66rem; font-weight: 700; background: var(--ink); color: #fff; border-radius: 999px; padding: 2px 6px; border: 2px solid var(--bone); }
.dstory b { font-size: 0.76rem; font-weight: 600; color: var(--text); white-space: nowrap; max-width: 76px; overflow: hidden; text-overflow: ellipsis; }
.dstory-near span { background: var(--ink); box-shadow: 0 0 0 2.5px var(--bone), 0 0 0 4.5px var(--bronze); }
.dstory-near svg { width: 26px; height: 26px; fill: none; stroke: var(--gold); stroke-width: 1.8; }

/* Cards: media badges and generated art */
.dcard-media { position: absolute; left: 10px; bottom: 10px; z-index: 2; display: flex; gap: 6px; pointer-events: none; }
.dcard-media span { background: rgba(11, 12, 15, 0.72); color: #fff; font-size: 0.72rem; font-weight: 600; padding: 4px 9px; border-radius: 999px; backdrop-filter: blur(6px); }
.dcover-gen::before { content: ""; position: absolute; inset: 0; background: var(--art) center / cover no-repeat; opacity: 0.5; mix-blend-mode: screen; }
.dcover-gen b { position: absolute; right: 14px; bottom: 4px; font-family: var(--serif); font-weight: 400; font-size: 3.2rem; line-height: 1; color: rgba(255, 255, 255, 0.16); letter-spacing: -0.02em; }
.dcard { box-shadow: var(--shadow-sm); }
.dcard-cover { aspect-ratio: 4 / 3; }
.dcard-cover img { transition: transform 0.6s var(--ease); }
.dcard:hover .dcard-cover img { transform: scale(1.04); }

/* Transformations */
.dfeed { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.dfeed-grid { margin: 24px 0; }
.dcase { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-sm); }
.dcase .dba-item { border-radius: 0; aspect-ratio: 4 / 5; }
.dba-l, .dba-r { position: absolute; top: 12px; z-index: 1; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; background: rgba(0, 0, 0, 0.5); padding: 4px 8px; border-radius: 6px; pointer-events: none; }
.dba-l { left: 12px; }
.dba-r { right: 12px; }
.dexpand { position: absolute; right: 10px; bottom: 10px; z-index: 3; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.92); display: grid; place-items: center; cursor: pointer; }
.dexpand svg { width: 18px; height: 18px; fill: none; stroke: var(--ink); stroke-width: 2; }
.dba-item::before { content: "‹ ›"; position: absolute; left: var(--x); top: 50%; z-index: 2; transform: translate(-50%, -50%); width: 34px; height: 34px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 0.9rem; font-weight: 700; color: var(--ink); box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35); pointer-events: none; }
.dcase-body { padding: 14px 16px 12px; display: grid; gap: 6px; }
.dcase-title { font-weight: 700; color: var(--ink); text-decoration: none; line-height: 1.3; }
.dcase-meta { margin: 0; font-size: 0.84rem; color: var(--text-2); }
.dcase-meta a { color: var(--ink); font-weight: 600; text-decoration: none; }
.dcase-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.dcase-tags span { font-size: 0.72rem; padding: 3px 8px; border-radius: 999px; background: var(--bone-2); color: var(--text-2); }
.dcase-acts { display: flex; gap: 16px; margin-top: 4px; }
.dcase-acts button { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 4px 0; font: inherit; font-size: 0.85rem; font-weight: 600; color: var(--text-2); cursor: pointer; }
.dcase-acts svg, .dresult-acts svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; }
[data-like][aria-pressed="true"] { color: var(--red) !important; }
[data-like][aria-pressed="true"] svg { fill: currentColor; }
.dvids { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
.dvcard-play { position: relative; display: block; width: 100%; aspect-ratio: 9 / 14; border: 0; padding: 0; border-radius: var(--r); overflow: hidden; background: var(--night); cursor: pointer; }
.dvcard-play img, .dvcard-play .dcover-gen { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dvcard-play::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.65)); }
.dvcard-play i { position: absolute; left: 50%; top: 50%; z-index: 1; transform: translate(-50%, -50%); width: 58px; height: 58px; border-radius: 50%; background: rgba(255, 255, 255, 0.92); display: grid; place-items: center; transition: transform 0.25s var(--ease); }
.dvcard-play:hover i { transform: translate(-50%, -50%) scale(1.08); }
.dvcard-play i svg { width: 22px; height: 22px; fill: var(--ink); margin-left: 3px; }
.dvcard-play em { position: absolute; left: 12px; bottom: 12px; z-index: 1; font-style: normal; color: #fff; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.dvcard p { margin: 8px 2px 0; font-size: 0.86rem; display: grid; }
.dvcard p a { color: var(--text-2); text-decoration: none; font-size: 0.8rem; }
.dfeed-more { height: 1px; }
.dfeed-loading { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 20px; }
.dresults-teaser { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: center; padding: clamp(24px, 4vw, 48px); border-radius: var(--r-lg); background: linear-gradient(135deg, var(--paper), var(--bronze-soft)); border: 1px solid var(--line); margin: clamp(32px, 5vw, 56px) 0; }
.dresults-teaser h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.dresults-teaser p:not(.eyebrow) { color: var(--text-2); margin: 0; }
.dempty-lg { padding: clamp(28px, 5vw, 56px); text-align: center; margin: 24px 0; }
.dempty-lg p { max-width: 60ch; margin-inline: auto; }
.dguide-band { margin: clamp(40px, 6vw, 72px) 0; padding: clamp(24px, 4vw, 48px); background: var(--night); color: #fff; border-radius: var(--r-lg); }
.dguide-band h2 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.4rem); }
.dsteps { counter-reset: st; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.dsteps li { counter-increment: st; color: rgba(255, 255, 255, 0.72); font-size: 0.94rem; }
.dsteps li::before { content: counter(st, decimal-leading-zero); display: block; font-family: var(--serif); font-size: 2rem; color: var(--gold); margin-bottom: 6px; }
.dsteps b { color: #fff; display: block; }

/* Treatment tiles and tools */
.dtreat { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.dtreat a { display: grid; gap: 6px; padding: 16px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); text-decoration: none; transition: transform 0.25s var(--ease), border-color 0.2s, box-shadow 0.25s; height: 100%; }
.dtreat a:hover { transform: translateY(-3px); border-color: var(--bronze); box-shadow: var(--shadow); }
.dtreat svg { width: 30px; height: 30px; fill: none; stroke: var(--bronze); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 4px; }
.dtreat b { color: var(--ink); font-size: 0.92rem; line-height: 1.25; }
.dtreat span { font-size: 0.78rem; color: var(--text-2); }
.dtools { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: clamp(40px, 5vw, 64px) 0; }
.dtools a { display: grid; gap: 4px; padding: 20px; border-radius: var(--r); background: var(--ink); color: #fff; text-decoration: none; position: relative; overflow: hidden; transition: transform 0.25s var(--ease); }
.dtools a::after { content: "→"; position: absolute; right: 18px; top: 18px; color: var(--gold); transition: transform 0.25s var(--ease); }
.dtools a:hover { transform: translateY(-3px); }
.dtools a:hover::after { transform: translateX(4px); }
.dtools span { color: rgba(255, 255, 255, 0.6); font-size: 0.84rem; }

/* Profile: media hero */
.dprof-head.has-media { padding-top: 0; }
.dprof-media { position: relative; height: min(64svh, 560px); background: #000; }
.dprof-track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.dprof-track::-webkit-scrollbar { display: none; }
.dprof-slide { position: relative; flex: 0 0 100%; margin: 0; scroll-snap-align: start; }
@media (min-width: 900px) { .dprof-slide { flex-basis: 50%; } .dprof-slide:only-child { flex-basis: 100%; } }
.dprof-slide img { width: 100%; height: 100%; object-fit: cover; }
.dprof-slide-open { position: absolute; inset: 0; background: none; border: 0; cursor: zoom-in; }
.dprof-media::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(11, 12, 15, 0.6) 0%, transparent 30%, transparent 55%, var(--night) 100%); }
.dprof-dots { position: absolute; left: 50%; bottom: 120px; transform: translateX(-50%); z-index: 3; display: flex; gap: 6px; }
.dprof-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, 0.45); transition: width 0.3s, background 0.3s; }
.dprof-dots i.on { width: 20px; border-radius: 3px; background: #fff; }
.dprof-count { position: absolute; right: 16px; top: calc(76px + 12px); z-index: 3; background: rgba(0, 0, 0, 0.55); color: #fff; font-size: 0.78rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.has-media > .wrap { margin-top: -110px; position: relative; z-index: 2; pointer-events: none; }
.has-media > .wrap > * { pointer-events: auto; }
.has-media .dprof-id { margin-top: 0; }
.has-media .dcrumbs { display: none; }
.dglance { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-bottom: 18px; }
.dglance div { display: grid; grid-template-columns: 34px 1fr; column-gap: 10px; align-items: center; padding: 12px 14px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); }
.dglance i { grid-row: span 2; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-style: normal; font-weight: 700; color: var(--bronze-2); background: var(--bronze-soft); }
.dglance b { font-size: 0.92rem; color: var(--ink); line-height: 1.2; }
.dglance span { font-size: 0.74rem; color: var(--text-2); }
.daskchip { display: flex; align-items: center; gap: 12px; padding: 14px 16px; margin: 0 0 28px; border-radius: var(--r); text-decoration: none; color: var(--text); background: linear-gradient(110deg, #f5f0ff, #fbf4ea); border: 1px solid #e6dcf7; transition: transform 0.2s var(--ease); }
.daskchip:hover { transform: translateY(-2px); }
.daskchip .dai-spark { font-size: 1.4rem; }
.daskchip span:nth-child(2) { flex: 1; font-size: 0.92rem; }
.daskchip b { display: block; color: var(--ink); }
.daskchip svg { width: 18px; height: 18px; fill: none; stroke: #5b3fc4; stroke-width: 2; flex: none; }

/* Result page */
.dresult-head { padding: calc(76px + 24px) 0 32px; background: var(--night); color: #fff; }
.dresult-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.dba-xl { aspect-ratio: 4 / 5; border-radius: var(--r-lg); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8); }
.dresult-info h1 { color: #fff; font-size: clamp(2rem, 4vw, 3.2rem); }
.dresult-info .eyebrow { color: var(--gold); }
.dresult-info .dfacts div { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.1); }
.dresult-info .dfacts dt { color: rgba(255, 255, 255, 0.5); }
.dresult-info .dfacts dd, .dresult-info .dfacts a { color: #fff; }
.dstory-text p { color: rgba(255, 255, 255, 0.75); }
.dresult-info .dsmall { color: rgba(255, 255, 255, 0.5); }
.dresult-acts { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 10px; }
.dresult-acts .btn-ghost { --fg: #fff; border-color: rgba(255, 255, 255, 0.3); }
.dclinic-card { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; padding: 20px 24px; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); margin: 32px 0; }
.dclinic-link { display: flex; gap: 14px; align-items: center; text-decoration: none; color: var(--ink); }
.dclinic-link small { display: block; color: var(--text-2); }

/* Prices, experts, compare, account */
.dprice-tools { display: flex; gap: 10px; flex-wrap: wrap; margin: 14px 0; }
.dprice-table th small { display: block; font-weight: 400; color: var(--text-2); }
.dprice-table th a { color: var(--ink); }
.dprice-cell { white-space: nowrap; }
.dbars-price em { min-width: 64px; }
.dexpert { padding: 24px 0; border-bottom: 1px solid var(--line); }
.dexpert h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem) !important; margin: 0 0 12px !important; }
.dexpert-a { padding: 16px 18px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); }
.dexpert-a p { color: var(--text-2); }
.dexpert-by { display: flex; gap: 10px; align-items: center; text-decoration: none; color: var(--ink); margin-bottom: 8px; }
.dexpert-by small { display: block; color: var(--text-2); }
.dcmp-ai { margin-top: 28px; }
.daddcase { margin: 18px 0; border: 1px solid var(--line); border-radius: var(--r); background: linear-gradient(135deg, var(--paper), var(--bronze-soft)); }
.daddcase summary { list-style: none; cursor: pointer; padding: 16px 18px; font-weight: 700; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.daddcase summary span { width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; }
.daddcase summary small { font-weight: 400; color: var(--text-2); width: 100%; padding-left: 42px; }
.daddcase .dform { margin: 0; border: 0; background: transparent; }
.dchecklist-sm li { font-size: 0.88rem; }

/* Sheets (share, assistant): bottom sheets on phones, centred panels on larger screens */
.dsheet { border: 0; padding: 0 20px 20px; border-radius: 26px; width: min(560px, calc(100% - 32px)); max-height: 86vh; overflow: auto; background: var(--bone); box-shadow: var(--shadow-lg); color: var(--text); }
.dsheet::backdrop { background: rgba(11, 12, 15, 0.5); backdrop-filter: blur(4px); }
.dsheet[open] { animation: dsheet-in 0.32s var(--ease); }
@keyframes dsheet-in { from { opacity: 0; transform: translateY(24px) scale(0.98); } }
.dsheet-grab { width: 44px; height: 5px; border-radius: 3px; background: var(--line-2); margin: 10px auto 2px; cursor: grab; touch-action: none; }
.dsheet-head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; padding: 10px 0; background: var(--bone); }
.dsheet-head h3 { margin: 0; display: flex; align-items: center; gap: 8px; }
.dsheet-x { width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--bone-2); cursor: pointer; font-size: 0.95rem; color: var(--text); flex: none; }
.dsheet-tall { width: min(720px, calc(100% - 32px)); height: min(84vh, 820px); display: none; flex-direction: column; overflow: hidden; }
.dsheet-tall[open] { display: flex; }
.dshare-preview { margin: 0 0 14px; border-radius: 16px; overflow: hidden; background: var(--night); }
.dshare-preview img { width: 100%; aspect-ratio: 1200 / 630; object-fit: cover; }
.dshare-preview figcaption { padding: 10px 14px; color: #fff; font-size: 0.86rem; }
.dshare-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px 6px; }
.dshare-grid a, .dshare-grid button { display: grid; justify-items: center; gap: 6px; font-size: 0.74rem; color: var(--text); text-decoration: none; background: none; border: 0; cursor: pointer; font-family: inherit; padding: 0; }
.dshare-grid i { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: 1.05rem; color: #fff; background: var(--c); transition: transform 0.2s var(--ease); }
.dshare-grid a:hover i, .dshare-grid button:hover i { transform: translateY(-2px); }

/* Chat */
.dchat { display: flex; flex-direction: column; min-height: 0; flex: 1; }
.dchat-log { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 14px; padding: 8px 2px 16px; }
.dmsg { max-width: 88%; animation: dmsg-in 0.35s var(--ease); }
@keyframes dmsg-in { from { opacity: 0; transform: translateY(8px); } }
.dmsg p { margin: 0 0 6px; }
.dmsg-ai { align-self: flex-start; background: var(--paper); border: 1px solid var(--line); border-radius: 6px 20px 20px 20px; padding: 14px 16px; box-shadow: var(--shadow-sm); }
.dmsg-ai.wide { max-width: 100%; width: 100%; }
.dmsg-me { align-self: flex-end; background: var(--ink); color: #fff; border-radius: 20px 6px 20px 20px; padding: 12px 16px; }
.dmsg-me p { margin: 0; }
.dmsg-engine { display: inline-flex; gap: 6px; align-items: center; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #5b3fc4; margin-bottom: 6px; }
.dmsg-answer { margin: 6px 0 10px; padding: 10px 12px; border-left: 3px solid var(--bronze); background: var(--bone); border-radius: 0 12px 12px 0; font-size: 0.92rem; }
.dmsg-widened { font-size: 0.86rem; color: var(--amber); }
.dtyping { display: inline-flex; gap: 4px; padding: 6px 0; }
.dtyping i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: dtype 1s infinite; }
.dtyping i:nth-child(2) { animation-delay: 0.15s; }
.dtyping i:nth-child(3) { animation-delay: 0.3s; }
@keyframes dtype { 50% { opacity: 0.3; transform: translateY(-3px); } }
.dmatches { display: grid; gap: 10px; margin-top: 10px; }
.dmatch { display: grid; grid-template-columns: 88px 1fr; gap: 12px; padding: 10px; border-radius: 16px; background: var(--bone); border: 1px solid var(--line); color: var(--text); position: relative; transition: border-color 0.2s, transform 0.2s var(--ease); animation: dmsg-in 0.4s var(--ease) both; }
.dmatch:hover { border-color: var(--bronze); transform: translateY(-1px); }
.dmatch-link { position: absolute; inset: 0; z-index: 1; border-radius: 16px; }
.dmatch-img { position: relative; width: 88px; height: 88px; border-radius: 12px; overflow: hidden; background: var(--night); }
.dmatch-img img, .dmatch-img .dcover-gen { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dmatch-rank { position: absolute; left: 6px; top: 6px; z-index: 1; width: 22px; height: 22px; border-radius: 50%; background: var(--gold); color: var(--night); font-size: 0.75rem; font-weight: 800; display: grid; place-items: center; }
.dmatch h4 { margin: 0; font-size: 0.98rem; }
.dmatch-sub { font-size: 0.8rem; color: var(--text-2); margin: 2px 0 6px; }
.dmatch-why { font-size: 0.86rem; margin: 0 0 6px; color: var(--text); }
.dmatch ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 0.76rem; }
.dmatch li.ok { color: var(--green); }
.dmatch li.ok::before { content: "✓ "; font-weight: 700; }
.dmatch li.no { color: var(--amber); }
.dmatch li.no::before { content: "! "; font-weight: 800; }
.dmatch-acts { grid-column: 1 / -1; display: flex; gap: 8px; flex-wrap: wrap; }
.dmatch-acts button, .dmatch-acts a { font-size: 0.78rem; font-weight: 600; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--paper); color: var(--ink); text-decoration: none; cursor: pointer; font-family: inherit; position: relative; z-index: 2; }
.dmatch-acts [aria-pressed="true"], .dmatch-acts .on { background: var(--ink); color: #fff; border-color: var(--ink); }
.dfollow, .dchat-starters { display: flex; flex-wrap: wrap; gap: 8px; }
.dfollow { margin-top: 10px; }
.dfollow button, .dchat-starters button { border: 1px solid #ddd2f6; background: #f7f3ff; color: #4b33b0; border-radius: 999px; padding: 8px 13px; font: inherit; font-size: 0.84rem; cursor: pointer; text-align: left; transition: background 0.2s; }
.dfollow button:hover, .dchat-starters button:hover { background: #ece4ff; }
.dchat-form { display: flex; align-items: flex-end; gap: 8px; padding: 8px; border-radius: 24px; background: var(--paper); border: 1px solid var(--line-2); box-shadow: var(--shadow); }
.dchat-form:focus-within { border-color: var(--bronze); }
.dchat-form textarea { flex: 1; border: 0; outline: 0; resize: none; font: inherit; font-size: 16px; padding: 10px 6px; max-height: 140px; background: transparent; color: var(--ink); }
.dchat-loc, .dchat-send { flex: none; width: 42px; height: 42px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; }
.dchat-loc { background: var(--bone-2); color: var(--ink); }
.dchat-loc.on { background: var(--gold); }
.dchat-send { background: var(--ink); color: #fff; }
.dchat-loc svg, .dchat-send svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
.dchat-note { font-size: 0.72rem; color: var(--muted); text-align: center; margin: 8px 0 0; }
.dask-head { background: var(--night); color: #fff; padding: calc(76px + 24px) 0 28px; }
.dask-head h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.4rem); display: flex; gap: 12px; align-items: center; }
.dask-head h1 em { color: var(--gold); }
.dask-head p { color: rgba(255, 255, 255, 0.7); max-width: 64ch; margin: 0; }
.dask-wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 28px; margin-top: 24px; margin-bottom: 48px; align-items: start; }
.dask-wrap .dchat { min-height: 62vh; }
.dask-side { position: sticky; top: 92px; display: grid; gap: 14px; }
.dask-map { height: 360px; }

/* Full-screen viewer */
.dviewer { border: 0; padding: 0; margin: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; background: #000; color: #fff; overflow: hidden; }
.dviewer::backdrop { background: #000; }
.dviewer-track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.dviewer-track::-webkit-scrollbar { display: none; }
.dviewer-slide { flex: 0 0 100%; height: 100%; scroll-snap-align: center; display: grid; place-items: center; position: relative; }
.dviewer-slide > img { max-width: 100%; max-height: 100%; object-fit: contain; }
.dviewer-slide .dba-item { width: min(92vw, 70dvh); aspect-ratio: 4 / 5; border-radius: 12px; }
.dviewer-slide iframe, .dviewer-slide video { width: min(100vw, 177dvh); aspect-ratio: 16 / 9; max-height: 100dvh; border: 0; background: #000; }
.dviewer-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 20px calc(20px + env(safe-area-inset-bottom)); background: linear-gradient(transparent, rgba(0, 0, 0, 0.8)); font-size: 0.92rem; pointer-events: none; }
.dviewer-cap b { display: block; }
.dviewer-cap a { color: var(--gold); pointer-events: auto; font-weight: 600; }
.dviewer-bar { position: absolute; top: 0; left: 0; right: 0; z-index: 3; display: flex; justify-content: space-between; align-items: center; padding: calc(12px + env(safe-area-inset-top)) 16px 12px; background: linear-gradient(rgba(0, 0, 0, 0.6), transparent); font-size: 0.86rem; }
.dviewer-bar button { width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.14); color: #fff; font-size: 1.1rem; cursor: pointer; }
.dviewer-nav { position: absolute; top: 50%; z-index: 3; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.14); color: #fff; font-size: 1.4rem; cursor: pointer; }
.dviewer-prev { left: 16px; }
.dviewer-next { right: 16px; }

/* Filter sheet trigger (phones only) */
.dfilter-btn, .dfilter-head, .dfilter-done, .dfilter-scrim { display: none; }
.dfilter-btn { align-items: center; gap: 6px; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--paper); font: inherit; font-weight: 600; font-size: 0.85rem; cursor: pointer; flex: none; color: var(--ink); }
.dfilter-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.dfilter-btn i { min-width: 18px; height: 18px; border-radius: 9px; background: var(--ink); color: #fff; font-style: normal; font-size: 0.7rem; display: grid; place-items: center; padding: 0 5px; }
@media (min-width: 701px) { .dfilter-panel { display: contents; } }
@media (max-width: 900px) { .dtools { grid-template-columns: 1fr 1fr; } .dresults-teaser, .dresult-grid, .dask-wrap { grid-template-columns: 1fr; } .dask-side { position: static; } }

/* App tab bar + phone layouts */
.dtabbar { display: none; }
@media (max-width: 700px) {
	.smpd .tabbar { display: none !important; }
	.dtabbar { display: grid; grid-template-columns: repeat(5, 1fr); align-items: end; position: fixed; left: 0; right: 0; bottom: 0; z-index: 190; padding: 6px 6px calc(8px + env(safe-area-inset-bottom)); background: rgba(250, 248, 244, 0.92); backdrop-filter: saturate(1.8) blur(20px); -webkit-backdrop-filter: saturate(1.8) blur(20px); border-top: 1px solid rgba(15, 18, 23, 0.08); }
	.dtab { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 0 2px; text-decoration: none; color: var(--muted); -webkit-tap-highlight-color: transparent; }
	.dtab svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.2s var(--ease); }
	.dtab:active svg { transform: scale(0.88); }
	.dtab b { font-size: 0.66rem; font-weight: 600; }
	.dtab.on { color: var(--ink); }
	.dtab.on svg { stroke-width: 2.1; }
	.dtab-dot { position: absolute; top: 4px; left: calc(50% + 8px); min-width: 8px; height: 8px; border-radius: 4px; background: var(--red); }
	.dtab-fab { width: 54px; height: 54px; margin-top: -24px; border-radius: 18px; display: grid; place-items: center; background: linear-gradient(140deg, #1b1d24, #0b0c0f); box-shadow: 0 10px 24px -6px rgba(11, 12, 15, 0.55), inset 0 0 0 1px rgba(201, 165, 123, 0.35); }
	.dtab-fab svg { width: 26px; height: 26px; fill: var(--gold); stroke: none; }
	.dtab-ai b { color: var(--ink); }
	.dsheet { width: 100%; max-width: 100%; margin: auto 0 0; border-radius: 26px 26px 0 0; max-height: 92dvh; padding-bottom: calc(20px + env(safe-area-inset-bottom)); }
	.dsheet[open] { animation: dsheet-up 0.36s var(--ease); }
	@keyframes dsheet-up { from { transform: translateY(100%); } }
	.dsheet-tall { height: 92dvh; width: 100%; }
	.dfilter-btn, .dfilter-head, .dfilter-done { display: flex; }
	.dfilter-scrim { display: block; position: fixed; inset: 0; z-index: 199; background: rgba(11, 12, 15, 0.45); opacity: 0; pointer-events: none; transition: opacity 0.3s; }
	.dfilter-panel { position: fixed; left: 0; right: 0; bottom: 0; z-index: 200; display: grid; gap: 12px; padding: 8px 20px calc(20px + env(safe-area-inset-bottom)); background: var(--bone); border-radius: 26px 26px 0 0; box-shadow: var(--shadow-lg); transform: translateY(110%); transition: transform 0.35s var(--ease); }
	.dfilter-panel.on { transform: none; }
	.dfilter-panel.on + .dfilter-scrim { opacity: 1; pointer-events: auto; }
	.dfilter-panel .dsel { justify-content: space-between; padding: 4px 6px 4px 16px; }
	.dfilter-panel .dsel select { max-width: none; flex: 1; text-align: right; }
	.dfilter-head { justify-content: space-between; align-items: center; padding: 6px 0; }
	.dfilters-row { overflow: visible; }
	.dhero-ai { padding-top: calc(70px + 22px); }
	.daibox { padding: 14px 14px 10px 16px; border-radius: 22px; }
	.daibox-hint { display: none; }
	.daibox-go { padding: 12px 16px; }
	.dprompts { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 14px -20px 0; padding: 0 20px; }
	.dprompts a { flex: none; }
	.dfeed.drow > * { flex: 0 0 82%; }
	.dvids.drow > * { flex: 0 0 46%; }
	.dfeed-grid { grid-template-columns: 1fr; }
	.dask-wrap .dchat { min-height: calc(100dvh - 330px); }
	.dask-head { padding-bottom: 18px; }
	.dask-head p { display: none; }
	.dprof-media { height: 58svh; }
	.dprof-dots { bottom: 100px; }
	.has-media > .wrap { margin-top: -90px; }
	.dviewer-nav { display: none; }
	.dtreat { grid-template-columns: 1fr 1fr; }
	.dmatch { grid-template-columns: 72px 1fr; }
	.dmatch-img { width: 72px; height: 72px; }
	.dtools { grid-template-columns: 1fr; }
}

.smpd [hidden] { display: none !important; }

@media (max-width: 700px) { .dsticky { bottom: calc(98px + env(safe-area-inset-bottom)); } .dcompare-tray { bottom: calc(100px + env(safe-area-inset-bottom)); } }

/* UK regions */
.dregions { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.dregions a { position: relative; display: grid; gap: 2px; padding: 18px 44px 18px 18px; border-radius: var(--r); text-decoration: none; color: #fff; background: linear-gradient(135deg, var(--ink-2), var(--night)); overflow: hidden; transition: transform 0.25s var(--ease); }
.dregions a::before { content: ""; position: absolute; inset: 0; background: radial-gradient(rgba(201, 165, 123, 0.35) 1px, transparent 1.3px) 0 0 / 10px 10px; -webkit-mask: linear-gradient(110deg, transparent 40%, #000); mask: linear-gradient(110deg, transparent 40%, #000); }
.dregions a:hover { transform: translateY(-3px); }
.dregions b { position: relative; font-family: var(--serif); font-weight: 400; font-size: 1.35rem; }
.dregions span { position: relative; font-size: 0.8rem; color: rgba(255, 255, 255, 0.6); }
.dregions i { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-style: normal; color: var(--gold); }
@media (max-width: 700px) { .dregions { grid-template-columns: 1fr 1fr; } .dregions b { font-size: 1.1rem; } }

/* =====================================================================
   v1.3 native layer: app bar, compact heads, app typography (phones)
   ===================================================================== */
.dappbar { display: none; }
.smpd { -webkit-tap-highlight-color: transparent; }
.dcard, .dcase, .dtreat a, .dregions a, .dcities a, .dstory, .dmatch, .dtools a, .btn, .dchip span, .dchip-btn { transition-property: transform, box-shadow, background, border-color, color, opacity; }
.dcard:active, .dcase:active, .dtreat a:active, .dregions a:active, .dcities a:active, .dmatch:active, .dtools a:active { transform: scale(0.975); }
.btn:active, .dchip-btn:active, .dchip:active span { transform: scale(0.96); }

/* Snackbar instead of top toast */
.dtoast { top: auto !important; bottom: calc(24px + env(safe-area-inset-bottom)) !important; border-radius: 14px !important; padding: 12px 18px !important; font-weight: 500; }

@media (max-width: 700px) {
	body.smpd { font-size: 16px; overscroll-behavior-y: none; }
	.smpd .nav, .smpd .skip { display: none !important; }
	.dtoast { bottom: calc(96px + env(safe-area-inset-bottom)) !important; }

	/* App bar */
	.dappbar { display: block; position: fixed; left: 0; right: 0; top: 0; z-index: 195; padding-top: env(safe-area-inset-top); color: #fff; transition: background 0.25s, color 0.25s, box-shadow 0.25s; }
	.dappbar-in { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 6px; height: 56px; padding: 0 10px; }
	.dab-btn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 0; color: inherit; background: rgba(255, 255, 255, 0.14); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); text-decoration: none; cursor: pointer; transition: background 0.2s, transform 0.15s; padding: 0; }
	.dab-btn:active { transform: scale(0.9); }
	.dab-btn svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
	.dab-btn[aria-pressed="true"] svg { fill: var(--red); stroke: var(--red); }
	.dab-brand { display: grid; place-items: center; width: 40px; height: 40px; color: inherit; }
	.dab-brand svg, .dab-brand .brand-mark { width: 34px; height: 34px; color: inherit; }
	.dab-title { margin: 0; text-align: center; font-weight: 650; font-size: 1rem; letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0; transform: translateY(6px); transition: opacity 0.2s, transform 0.2s; }
	.dab-acts { display: flex; gap: 8px; justify-content: flex-end; min-width: 44px; }
	.dappbar.solid { background: rgba(247, 244, 239, 0.86); backdrop-filter: saturate(1.8) blur(20px); -webkit-backdrop-filter: saturate(1.8) blur(20px); color: var(--ink); box-shadow: 0 1px 0 rgba(15, 18, 23, 0.08); }
	.dappbar.solid .dab-btn { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
	.dappbar.solid .dab-title { opacity: 1; transform: none; }
	.dappbar.solid .dab-brand { color: var(--ink); }

	/* Compact page heads (the app bar replaces breadcrumbs) */
	.smpd .page-head, .smpd .dhero-sm, .dask-head, .dresult-head { padding-top: calc(64px + env(safe-area-inset-top)) !important; padding-bottom: 24px !important; min-height: 0; }
	.smpd .dcrumbs { display: none; }
	.smpd .page-head h1, .dask-head h1 { font-size: 2.15rem; line-height: 1.04; margin-bottom: 0.35em; max-width: none; }
	.smpd .page-head .eyebrow { font-size: 0.68rem; margin-bottom: 0.9em; }
	.smpd .page-head p:not(.eyebrow) { font-size: 0.95rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 16px; }
	.smpd .page-head .dsearch { margin-top: 4px; }
	.smpd-search .page-head h1 { display: none; }
	.dhero-ai { padding-top: calc(68px + env(safe-area-inset-top)) !important; padding-bottom: 26px !important; }
	.dhero-ai h1 { font-size: 2.3rem; margin-bottom: 0.45em; }
	.dhero-ai .eyebrow { font-size: 0.66rem; margin-bottom: 1em; }
	.daibox textarea { font-size: 1.05rem; min-height: 3.2em; }
	.dsearch { padding: 5px 5px 5px 14px; }
	.dsearch input { padding: 10px 4px; }
	.dsearch-near, .dsearch .dsearch-go { width: 40px; height: 40px; }

	/* App-style section headers */
	.drail { margin: 26px 0; }
	.dsec-wide { margin: 32px 0; }
	.drail-head { margin-bottom: 12px; align-items: center; }
	.drail-head h2, .dsec-wide > h2, .dsec-wide .drail-head h2 { font-family: var(--sans); font-weight: 700; font-size: 1.2rem; letter-spacing: -0.02em; line-height: 1.25; }
	.drail-head a { font-size: 0.9rem; display: inline-flex; align-items: center; gap: 2px; }
	.drail-head a::after { content: "›"; font-size: 1.25rem; line-height: 1; margin-top: -2px; }

	/* Compact cards */
	.drow > * { flex-basis: 74%; }
	.dcard { border-radius: 20px; }
	.dcard-cover { aspect-ratio: 16 / 10; }
	.dcard-body { padding: 12px 14px 14px; gap: 6px; }
	.dcard h3 { font-size: 0.98rem; }
	.dcard .dlogo { width: 34px !important; height: 34px !important; border-radius: 10px; }
	.dloc { font-size: 0.8rem; }
	.drate { font-size: 0.8rem; }
	.dtags { flex-wrap: nowrap; overflow: hidden; -webkit-mask: linear-gradient(90deg, #000 85%, transparent); mask: linear-gradient(90deg, #000 85%, transparent); }
	.dtags li { flex: none; font-size: 0.7rem; padding: 3px 8px; }
	.dtags li:nth-child(n+3) { display: none; }
	.dprice { font-size: 0.8rem; }
	.dsave { width: 34px; height: 34px; }
	.dgrid-2 .dcard-cover, .dgrid-4:not(.drow) .dcard-cover { aspect-ratio: 16 / 9; }
	.dtrust { margin-top: 0; border-radius: 18px; }
	.dtrust div { padding: 14px; }
	.dtrust b { font-size: 1.5rem; }
	.dstat { padding: 14px 16px; border-radius: 16px; }
	.dstat b { font-size: 1.7rem; }
	.dstat span { font-size: 0.78rem; line-height: 1.35; display: block; }
	.dcity-data { gap: 8px; margin: 18px 0 8px; }

	/* Sticky search filters under the app bar (no blur: it would trap the filter sheet) */
	.dfilters { top: calc(56px + env(safe-area-inset-top)); backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bone); padding-top: 10px; }
	.dview-toggle { position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 150; box-shadow: 0 10px 30px rgba(11, 12, 15, 0.35); padding: 12px 20px; order: 0; }
	.dview-toggle:active { transform: translateX(-50%) scale(0.95); }

	/* Profile: content sheet over the photos */
	.dprof-head { padding-top: calc(64px + env(safe-area-inset-top)); }
	.dprof-head.has-media { padding-top: 0; }
	.dprof-media { height: 50svh; min-height: 320px; }
	.has-media > .wrap { margin-top: -84px; }
	.dprof-dots { bottom: 96px; }
	.dprof-count { top: calc(64px + env(safe-area-inset-top)); }
	.dprof-head h1 { font-size: 2rem; margin-bottom: 6px; }
	.dprof-meta { font-size: 0.86rem; gap: 4px 12px; }
	.dprof-id { gap: 12px; }
	.dprof-id .dlogo { width: 60px !important; height: 60px !important; border-radius: 16px; }
	.dprof-actions { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 18px -20px 0; padding: 0 20px 4px; gap: 8px; }
	.dprof-actions::-webkit-scrollbar { display: none; }
	.dprof-actions .btn { flex: none; padding: 11px 16px; font-size: 0.88rem; }
	.dprof-actions .btn-glass:not(.dsave-btn):not([data-share-open]) { display: inline-flex; }
	.dprof-actions .dsave-btn, .dprof-actions [data-share-open] { display: none; }
	.dtabs { top: calc(56px + env(safe-area-inset-top)); margin-top: -18px; border-radius: 22px 22px 0 0; background: var(--bone); border-bottom: 1px solid var(--line); backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: 0 -8px 24px rgba(11, 12, 15, 0.12); }
	.dtabs .wrap { gap: 0; padding-top: 4px; }
	.dtabs a { padding: 12px 12px; font-size: 0.86rem; }
	.dprof-grid { margin-top: 16px; }
	.dsec { scroll-margin-top: 120px; padding-bottom: 28px; margin-bottom: 28px; }
	.dsec h2 { font-size: 1.65rem; }
	.dglance { grid-template-columns: 1fr 1fr; gap: 8px; }
	.dglance div { padding: 10px 12px; grid-template-columns: 30px 1fr; }
	.dglance i { width: 30px; height: 30px; }
	.dglance b { font-size: 0.84rem; }
	.daskchip { padding: 12px 14px; }
	.dsvc { grid-template-columns: 1fr; gap: 8px; }
	.dsvc a { padding: 12px 14px; }

	/* Results feed, ask, misc */
	.dresult-head .dresult-grid { gap: 18px; }
	.dresult-info h1 { font-size: 1.8rem; }
	.dask-head h1 { font-size: 1.8rem; }
	.dask-wrap { margin-top: 14px; }
	.dask-wrap .dchat { min-height: calc(100dvh - 300px); }
	.dchat-form { position: sticky; bottom: calc(86px + env(safe-area-inset-bottom)); z-index: 5; }
	.djoin-band, .dhow, .dguide-band, .dresults-teaser { border-radius: 22px; padding: 22px; }
	.djoin-band h2, .dhow h2, .dguide-band h2, .dresults-teaser h2 { font-size: 1.6rem; }
	.dmap-band { margin: 32px 0; gap: 14px; }
	.dmap-band h2 { font-size: 1.6rem; }
	.dmap-lg { height: 320px; border-radius: 20px; }
	.dcities { grid-template-columns: 1fr 1fr; gap: 8px; }
	.dcities a { padding: 12px 14px; border-radius: 14px; }
	.dempty { border-radius: 18px; }
	.dstories { padding-top: 16px; }
	.dstory span { width: 60px; height: 60px; font-size: 1.3rem; }
	.dstory { width: 68px; }

	/* Tab bar: active pill */
	.dtab svg { padding: 2px 10px; width: 44px; height: 28px; border-radius: 14px; box-sizing: border-box; transition: background 0.25s, transform 0.2s; }
	.dtab.on svg { background: var(--bone-2); }
}

@media (max-width: 700px) {
	.dtab-ai svg, .dtab.on.dtab-ai svg { padding: 0; width: 26px; height: 26px; background: none; border-radius: 0; }
	.dfollow { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 10px -16px 0; padding: 0 16px 2px; }
	.dfollow::-webkit-scrollbar { display: none; }
	.dfollow > * { flex: none; white-space: nowrap; }
	.dchat-starters button { font-size: 0.86rem; }
	.dask .dchat-log { padding-bottom: 24px; }
	.dmsg-ai { padding: 12px 14px; }
	.dmatch ul { font-size: 0.74rem; }
}

.dfilters .dfilter-done, .dfilters .dfilter-btn, .dfilters .dfilter-head { display: none; }
@media (max-width: 700px) { .dfilters .dfilter-done, .dfilters .dfilter-btn, .dfilters .dfilter-head { display: flex; } }

/* Google Places photos (credited; never stored on this site). */
.dcover-g { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dprof-cover .dcover-g { filter: brightness(0.45) saturate(0.8); }
.dgp-cover-credit { position: absolute; right: 12px; bottom: 10px; z-index: 2; margin: 0; padding: 3px 9px; border-radius: 99px; background: rgba(11, 12, 15, 0.55); color: rgba(255, 255, 255, 0.85); font-size: 0.72rem; }
.dgp-cover-credit a { color: inherit; }
.dprof-head { position: relative; }
.dgp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.dgp-fig { margin: 0; }
.dgp-fig > a { display: block; border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--night, #0b0c0f); }
.dgp-fig img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.3s; }
.dgp-fig > a:hover img { transform: scale(1.04); }
.dgp-fig figcaption { margin-top: 4px; font-size: 0.72rem; color: var(--muted, #6b6f76); line-height: 1.35; }
.dgp-fig figcaption a { color: inherit; }
.dgp-src { margin-top: 10px; font-size: 0.78rem; color: var(--muted, #6b6f76); }
@media (max-width: 600px) { .dgp-grid { grid-template-columns: 1fr 1fr; gap: 8px; } }
