/**
 * Ulu Date — mobile-first, glassmorphic UI. Zero external CSS frameworks.
 * Breakpoints: 320 / 375 / 414 / 768 / 1024.
 */

.uludate-app, .uludate-app * { box-sizing: border-box; }

/* The HTML [hidden] attribute must win over our display rules
   (flex/grid would otherwise override it and keep elements visible). */
.uludate-app [hidden] { display: none !important; }

/* Brand tokens also live on :root so body-level modals (partner profile, liker,
   report) — which render OUTSIDE .uludate-app — get the right colors. Without
   this, var(--ud-pink) is undefined there and gradient buttons turn invisible. */
:root {
	--ud-pink: #fd5068;
	--ud-pink-2: #ff7a8a;
	--ud-purple: #7b2ff7;
	--ud-green: #2fd06b;
	--ud-blue: #2f9bff;
	--ud-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

.uludate-app {
	--ud-pink: #fd5068;
	--ud-pink-2: #ff7a8a;
	--ud-purple: #7b2ff7;
	--ud-green: #2fd06b;
	--ud-blue: #2f9bff;
	--ud-bg: #0f1020;
	--ud-card-bg: rgba(255, 255, 255, 0.08);
	--ud-text: #1d1d2b;
	--ud-radius: 18px;
	--ud-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	position: relative;
	max-width: 480px;
	margin: 0 auto;
	min-height: 70vh;
	color: var(--ud-text);
}

.uludate-app.uludate-standalone { min-height: auto; }

/* Full-screen template (no theme header/footer) */
body.uludate-fullscreen { margin: 0; padding: 0; background: #11121f; }
.uludate-fullscreen-main { min-height: 100vh; min-height: 100dvh; display: flex; justify-content: center; }
.uludate-fullscreen .uludate-app {
	width: 100%;
	max-width: 480px;
	min-height: 100vh;
	min-height: 100dvh;
	background: #fff;
	display: flex;
	flex-direction: column;
	box-shadow: 0 0 60px rgba(0,0,0,.4);
}
.uludate-fullscreen .ud-screen { flex: 1; }
.uludate-fullscreen .uludate-app.uludate-standalone,
.uludate-fullscreen .uludate-auth-shell { justify-content: center; }

.uludate-login-notice {
	max-width: 420px;
	margin: 40px auto;
	padding: 28px;
	text-align: center;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 8px 30px rgba(0,0,0,.08);
}

/* Screens */
.ud-screen { padding: 16px 14px 92px; animation: ud-fade .25s ease; }
.uludate-standalone .ud-screen { padding-bottom: 16px; }
@keyframes ud-fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.ud-screen-title { font-size: 22px; margin: 4px 0 16px; }
/* Messages heading: a touch bolder with an accent underline. */
.ud-screen[data-screen="messages"] .ud-screen-title { font-weight: 800; letter-spacing: -.3px; }
.ud-screen[data-screen="messages"] > .ud-screen-title::after {
	content: ""; display: block; width: 34px; height: 4px; border-radius: 999px; margin-top: 8px;
	background: linear-gradient(90deg, var(--ud-pink), var(--ud-purple));
}

/* Buttons */
.ud-btn {
	border: 0;
	border-radius: 999px;
	padding: 13px 22px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: transform .12s ease, box-shadow .2s ease, opacity .2s;
	width: 100%;
	margin-top: 8px;
}
.ud-btn:active { transform: scale(.97); }
.ud-btn-primary { background: linear-gradient(135deg, var(--ud-pink), var(--ud-purple)); color: #fff; box-shadow: 0 8px 22px rgba(253,80,104,.35); }
.ud-btn-ghost { background: rgba(0,0,0,.05); color: #444; }
.ud-btn-small { width: auto; padding: 8px 16px; font-size: 13px; }

/* ===== Swipe deck ===== */
.ud-deck-wrap { display: flex; flex-direction: column; align-items: center; }
.ud-deck {
	position: relative;
	width: 100%;
	max-width: 380px;
	height: 68vh;
	max-height: 560px;
	margin: 0 auto;
}
.ud-card {
	position: absolute;
	inset: 0;
	border-radius: 22px;
	background-size: cover;
	background-position: center;
	background-color: #c9c9d4;
	box-shadow: var(--ud-shadow);
	overflow: hidden;
	touch-action: none;
	will-change: transform;
	user-select: none;
	cursor: grab;
}
.ud-card.is-dragging { cursor: grabbing; transition: none; }
.ud-card-nophoto { background: linear-gradient(135deg, var(--ud-pink-2), var(--ud-purple)); }

/* Tinder/Instagram-style photo progress dots — tap card halves to browse. */
.ud-photo-dots {
	position: absolute; top: 9px; left: 10px; right: 10px; z-index: 5;
	display: flex; gap: 5px; pointer-events: none;
	filter: drop-shadow(0 1px 2px rgba(0,0,0,.45));
}
.ud-photo-dot {
	flex: 1; height: 3.5px; border-radius: 4px;
	background: rgba(255,255,255,.45);
	transition: background .25s ease;
}
.ud-photo-dot.is-on { background: #fff; }
.ud-card::after {
	content: ''; position: absolute; left: 0; right: 0; top: 0; height: 90px;
	background: linear-gradient(to bottom, rgba(0,0,0,.35), transparent); pointer-events: none;
}
.ud-card-info {
	position: absolute;
	left: 0; right: 0; bottom: 0;
	padding: 40px 20px 22px;
	background: linear-gradient(to top, rgba(0,0,0,.85), rgba(0,0,0,.45) 45%, transparent);
	color: #fff; z-index: 2;
}
.ud-card-info h3 { margin: 0 0 6px; font-size: 27px; font-weight: 800; line-height: 1.05; display: flex; align-items: baseline; gap: 9px; }
.ud-card-age { font-size: 21px; font-weight: 500; opacity: .92; }
.ud-card-info p { margin: 4px 0 0; font-size: 14.5px; opacity: .95; }
.ud-card-meta { display: flex; align-items: center; gap: 5px; font-weight: 600; }
.ud-card-pin { font-size: 13px; }
.ud-card-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.ud-chip {
	display: inline-flex; align-items: center; gap: 4px;
	background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.28);
	-webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
	color: #fff; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px;
	max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ud-chip-ico { font-size: 12px; }
.ud-card-bio { max-height: 3.2em; overflow: hidden; opacity: .85 !important; font-size: 13.5px !important; line-height: 1.45; margin-top: 8px !important; }
.ud-card-menu {
	position: absolute; top: 12px; right: 12px; z-index: 3;
	width: 38px; height: 38px; border-radius: 50%;
	background: rgba(0,0,0,.32); color: #fff; border: 0; font-size: 18px; cursor: pointer;
	backdrop-filter: blur(4px); transition: background .2s;
}
.ud-card-menu:hover { background: rgba(0,0,0,.55); }
.ud-stamp {
	position: absolute; top: 30px; z-index: 4;
	font-size: 34px; font-weight: 900; letter-spacing: 2px;
	padding: 6px 16px; border-radius: 12px; border: 4px solid;
	opacity: 0; pointer-events: none; transition: opacity .1s;
	text-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.ud-stamp-like { left: 20px; color: var(--ud-green); border-color: var(--ud-green); transform: rotate(-18deg); }
.ud-stamp-nope { right: 20px; color: var(--ud-pink); border-color: var(--ud-pink); transform: rotate(18deg); }

.ud-deck-actions { display: flex; gap: 18px; justify-content: center; align-items: center; margin-top: 22px; }
.ud-act {
	/* Per-button accent set by the variants below: solid, light (gradient top),
	   ring tint and ambient-glow tint. */
	--ac: #888; --ac2: #aaa; --ac-soft: rgba(0,0,0,.12); --ac-glow: rgba(0,0,0,.16);
	position: relative; width: 62px; height: 62px; border-radius: 50%;
	border: 0; background: #fff; cursor: pointer; color: var(--ac);
	box-shadow: 0 8px 20px var(--ac-glow), inset 0 0 0 2px var(--ac-soft);
	display: flex; align-items: center; justify-content: center; line-height: 0;
	transition: transform .22s cubic-bezier(.2,.7,.3,1.35), box-shadow .22s ease, background .22s ease;
	-webkit-tap-highlight-color: transparent;
}
.ud-act svg { position: relative; z-index: 1; width: 28px; height: 28px; display: block; transition: color .2s ease, transform .25s cubic-bezier(.34,1.56,.64,1); }
.ud-act:hover {
	transform: translateY(-5px) scale(1.1);
	background: linear-gradient(135deg, var(--ac2), var(--ac));
	box-shadow: 0 18px 36px var(--ac-glow), inset 0 0 0 2px transparent;
}
.ud-act:hover svg { transform: scale(1.14) rotate(-4deg); color: #fff; }
.ud-act:active { transform: scale(.9); }
.ud-act:focus-visible { outline: 3px solid rgba(123,47,247,.35); outline-offset: 2px; }

/* Pass / Nope (pink) */
.ud-act-no { --ac: #fd5068; --ac2: #ff7a8a; --ac-soft: rgba(253,80,104,.22); --ac-glow: rgba(253,80,104,.24); }

/* Like (green) — primary, slightly larger, with an attention-drawing pulse. */
.ud-act-yes { --ac: #1fce76; --ac2: #56e39a; --ac-soft: rgba(40,224,123,.22); --ac-glow: rgba(40,224,123,.3); width: 66px; height: 66px; }
.ud-act-yes svg { width: 31px; height: 31px; }
.ud-act-yes::before {
	content: ""; position: absolute; inset: 0; border-radius: 50%; z-index: 0;
	box-shadow: 0 0 0 0 rgba(40,224,123,.5);
	animation: ud-act-pulse 2.4s ease-out infinite;
}

/* Super Like (blue) */
.ud-act-super { --ac: #2f9bff; --ac2: #56b4ff; --ac-soft: rgba(47,155,255,.22); --ac-glow: rgba(47,155,255,.24); width: 54px; height: 54px; }
.ud-act-super svg { width: 24px; height: 24px; }

/* Rewind / Başa dön (amber) */
.ud-act-rewind { --ac: #f5b300; --ac2: #ffce4d; --ac-soft: rgba(245,179,0,.24); --ac-glow: rgba(245,179,0,.22); width: 50px; height: 50px; }
.ud-act-rewind svg { width: 22px; height: 22px; }

@keyframes ud-act-pulse {
	0%   { box-shadow: 0 0 0 0 rgba(40,224,123,.5); }
	70%  { box-shadow: 0 0 0 14px rgba(40,224,123,0); }
	100% { box-shadow: 0 0 0 0 rgba(40,224,123,0); }
}
@media (prefers-reduced-motion: reduce) {
	.ud-act-yes::before { animation: none; }
}

.ud-empty { text-align: center; padding: 50px 20px; color: #888; }
.ud-empty-ico { font-size: 52px; margin-bottom: 10px; }
.ud-limit-title { margin: 6px 0 6px; font-size: 22px; color: #1d1d2b; font-weight: 800; }
.ud-limit .ud-limit-cta { margin-top: 16px; display: inline-block; }

/* "Start over" CTA shown dead-center when the deck runs out of profiles. */
.ud-empty-deck { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ud-restart-btn {
	margin-top: 22px;
	display: inline-flex; align-items: center; gap: 10px;
	padding: 15px 30px; border: 0; border-radius: 999px; cursor: pointer;
	font-size: 17px; font-weight: 800; color: #fff; line-height: 1;
	background: linear-gradient(135deg, var(--ud-pink-2, #fd5068), var(--ud-purple, #7b2ff7));
	box-shadow: 0 10px 26px rgba(123,47,247,.42);
	transition: transform .18s ease, box-shadow .18s ease;
	animation: ud-restart-pulse 1.8s ease-in-out infinite;
}
.ud-restart-btn:hover { transform: translateY(-2px) scale(1.05); box-shadow: 0 16px 36px rgba(253,80,104,.5); }
.ud-restart-btn:active { transform: scale(.97); }
.ud-restart-ico { font-size: 22px; display: inline-block; }
@keyframes ud-restart-pulse {
	0%, 100% { box-shadow: 0 10px 26px rgba(123,47,247,.38); transform: scale(1); }
	50%      { box-shadow: 0 16px 38px rgba(253,80,104,.55); transform: scale(1.045); }
}
@media (prefers-reduced-motion: reduce) { .ud-restart-btn { animation: none; } }

/* ===== Match modal ===== */
.ud-match-modal {
	position: fixed; inset: 0; z-index: 99999;
	background: rgba(15,16,32,.85);
	display: flex; align-items: center; justify-content: center;
	opacity: 0; visibility: hidden; pointer-events: none;
	transition: opacity .3s, visibility .3s; backdrop-filter: blur(6px);
}
.ud-match-modal.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.ud-match-inner { position: relative; text-align: center; color: #fff; padding: 30px; max-width: 360px; width: 90%; }
.ud-match-close {
	position: absolute; top: 4px; right: 4px;
	width: 40px; height: 40px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	font-size: 22px; line-height: 1; color: #fff; cursor: pointer;
	background: rgba(255,255,255,.14); border: 0;
	transition: background .2s, transform .2s;
}
.ud-match-close:hover { background: rgba(255,255,255,.28); transform: scale(1.08); }
.ud-match-title {
	font-size: 38px; margin: 0 0 18px;
	background: linear-gradient(135deg, var(--ud-pink-2), var(--ud-purple));
	-webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.ud-match-avatars { display: flex; justify-content: center; gap: 10px; margin-bottom: 12px; }
.ud-match-avatar { width: 110px; height: 110px; border-radius: 50%; background-size: cover; background-position: center; border: 3px solid #fff; }
.ud-match-name { font-size: 18px; margin-bottom: 18px; }

/* ===== Search ===== */
.ud-search-form {
	display: flex; flex-direction: column; gap: 14px; margin-bottom: 20px;
	background: #fff; border-radius: 18px; padding: 18px;
	box-shadow: 0 6px 20px rgba(0,0,0,.06);
}
.ud-search-head { display: flex; align-items: center; gap: 9px; font-size: 16px; font-weight: 800; color: #1d1d2b; }
.ud-search-ico {
	width: 34px; height: 34px; border-radius: 11px; display: flex; align-items: center; justify-content: center;
	background: linear-gradient(120deg, var(--ud-pink), var(--ud-purple)); font-size: 16px;
}
.ud-filter-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ud-field { display: flex; flex-direction: column; gap: 5px; }
.ud-field--wide { grid-column: 1 / -1; }
.ud-field label { font-size: 13px; color: #555; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.ud-field input, .ud-field select, .ud-field textarea {
	padding: 10px 12px; border: 1px solid #e2e4ea; border-radius: 11px; font-size: 15px; font-family: inherit; background: #f8f9fc;
	transition: border-color .15s, background .15s;
}
.ud-field input:focus, .ud-field select:focus, .ud-field textarea:focus {
	border-color: var(--ud-pink); background: #fff; outline: none;
}
.ud-dist-pill { background: linear-gradient(120deg, var(--ud-pink), var(--ud-purple)); color: #fff; font-size: 11px; font-weight: 800; padding: 2px 9px; border-radius: 999px; }
.ud-field input[type=range] { padding: 0; border: 0; background: transparent; accent-color: var(--ud-pink); }
.ud-adv-wrap { border-top: 1px dashed #e6e8f0; padding-top: 14px; display: flex; flex-direction: column; gap: 12px; }
.ud-adv-title { font-size: 12px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; color: #9a9bab; }
.ud-search-btn { width: 100%; }

.ud-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ud-grid.is-loading { opacity: .5; pointer-events: none; }
.ud-grid-card {
	position: relative; background: #fff; border-radius: 18px; overflow: hidden;
	box-shadow: 0 6px 20px rgba(0,0,0,.1); transition: transform .15s ease, box-shadow .25s ease;
}
.ud-grid-card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(0,0,0,.16); }
.ud-grid-photo {
	position: relative; width: 100%; aspect-ratio: 3/4;
	background-size: cover; background-position: center; background-color: #ddd;
}
.ud-grid-overlay {
	position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 12px; color: #fff;
	background: linear-gradient(to top, rgba(0,0,0,.78), rgba(0,0,0,.15) 70%, transparent);
}
.ud-grid-name { font-weight: 800; font-size: 16px; line-height: 1.15; }
.ud-grid-dist { font-size: 12.5px; opacity: .92; margin-top: 2px; display: flex; align-items: center; gap: 3px; }
.ud-grid-dist .ud-pin { font-size: 12px; }
.ud-like-fab {
	position: absolute; right: 12px; bottom: 12px; z-index: 2;
	width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
	background: #fff; color: var(--ud-pink); font-size: 21px; line-height: 1;
	box-shadow: 0 8px 20px rgba(0,0,0,.28); transition: transform .14s ease, background .2s, color .2s;
	display: flex; align-items: center; justify-content: center;
}
.ud-like-fab:hover { transform: scale(1.12); }
.ud-like-fab:active { transform: scale(.94); }
.ud-like-fab.is-liked { background: linear-gradient(120deg, var(--ud-pink), var(--ud-purple)); color: #fff; transform: scale(1); }
.ud-more { margin-top: 16px; width: 100%; }

/* ===== Matches grid ===== */
/* Shared: sharp photo over a blurred fill of itself (no flat crops / transparency). */
.ud-fill-img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; display: block; }
.ud-match-cell-photo::before, .ud-liker-photo::before {
	content: ""; position: absolute; inset: 0; z-index: 0;
	background-image: var(--bg); background-size: cover; background-position: center;
	filter: blur(16px) brightness(.62); transform: scale(1.3);
}

.ud-match-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.ud-match-cell {
	position: relative; background: none; border: 0; cursor: pointer; padding: 0;
	border-radius: 18px; overflow: hidden; box-shadow: 0 6px 18px rgba(0,0,0,.1);
	transition: transform .18s ease, box-shadow .25s ease;
}
.ud-match-cell::after {
	content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; pointer-events: none;
	box-shadow: inset 0 0 0 0 transparent; transition: box-shadow .2s ease;
}
.ud-match-cell:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(123,47,247,.22); }
.ud-match-cell:hover::after { box-shadow: inset 0 0 0 2.5px rgba(255,255,255,.85); }
.ud-match-cell-photo { position: relative; width: 100%; aspect-ratio: 3/4; overflow: hidden; background: #15121f; }
.ud-match-overlay {
	position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 26px 10px 10px; text-align: left;
	background: linear-gradient(to top, rgba(0,0,0,.82), transparent); color: #fff;
}
.ud-match-overlay span { display: block; font-size: 13.5px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ===== Likes You ===== */
.ud-count {
	display: inline-flex; align-items: center; justify-content: center;
	background: linear-gradient(120deg, var(--ud-pink), var(--ud-purple)); color: #fff;
	border-radius: 999px; font-size: 12.5px; font-weight: 800; min-width: 22px; height: 22px;
	padding: 0 8px; margin-left: 9px; box-shadow: 0 4px 10px rgba(253,80,104,.35);
}
.ud-empty-small { color: #999; padding: 8px 2px 18px; }
.ud-likes-section { margin-bottom: 14px; }
.ud-likes-row { display: flex; gap: 13px; overflow-x: auto; padding: 6px 2px 18px; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; }
.ud-liker { position: relative; flex: 0 0 auto; width: 108px; background: none; border: 0; cursor: pointer; padding: 0; scroll-snap-align: start; }
.ud-liker-photo {
	position: relative; width: 108px; height: 142px; border-radius: 18px; overflow: hidden; background: #15121f;
	box-shadow: 0 6px 18px rgba(0,0,0,.16), 0 0 0 2px #fff, 0 0 0 4px rgba(123,47,247,.22);
	transition: transform .18s ease, box-shadow .2s ease;
}
.ud-liker:hover .ud-liker-photo {
	transform: translateY(-4px);
	box-shadow: 0 14px 30px rgba(123,47,247,.3), 0 0 0 2px #fff, 0 0 0 4px var(--ud-pink);
}
.ud-liker-overlay { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 20px 9px 9px; background: linear-gradient(to top, rgba(0,0,0,.85), transparent); }
.ud-liker-name { display: block; font-size: 12.5px; font-weight: 800; color: #fff; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ud-liker-super {
	position: absolute; top: 8px; right: 8px; z-index: 3;
	background: linear-gradient(120deg, var(--ud-blue), var(--ud-purple)); color: #fff;
	width: 26px; height: 26px; border-radius: 50%; font-size: 14px;
	display: flex; align-items: center; justify-content: center;
	box-shadow: 0 4px 10px rgba(47,155,255,.5), 0 0 0 2px #fff;
}

.ud-liker-modal { position: fixed; inset: 0; z-index: 99998; background: rgba(15,16,32,.8); display: flex; align-items: center; justify-content: center; backdrop-filter: blur(5px); animation: ud-fade .2s ease; }
.ud-liker-card { width: 92%; max-width: 380px; background: #fff; border-radius: 20px; overflow: hidden; box-shadow: var(--ud-shadow); }
.ud-liker-hero { position: relative; width: 100%; aspect-ratio: 3/4; background-size: cover; background-position: center; background-color: #ccc; }
.ud-liker-badge { position: absolute; bottom: 10px; left: 10px; background: rgba(0,0,0,.55); color: #fff; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.ud-liker-info { padding: 14px 16px 4px; }
.ud-liker-info h3 { margin: 0 0 4px; font-size: 20px; }
.ud-liker-info p { margin: 2px 0; color: #777; font-size: 14px; }
.ud-liker-bio { color: #555 !important; }
.ud-liker-acts { display: flex; justify-content: center; gap: 30px; padding: 14px 0 20px; }

/* ===== Conversations + chat ===== */
.ud-convo-list { display: flex; flex-direction: column; gap: 10px; }
.ud-convo {
	position: relative; display: flex; align-items: center; gap: 14px; padding: 12px 40px 12px 12px; border: 0;
	background: #fff; border-radius: 18px; cursor: pointer; text-align: left; width: 100%;
	box-shadow: 0 2px 10px rgba(25,22,55,.05); border: 1px solid rgba(25,22,55,.045);
	transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
/* Chevron affordance on the right. */
.ud-convo::after {
	content: ""; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px;
	border-right: 2px solid #cfc9dd; border-top: 2px solid #cfc9dd;
	transform: translateY(-50%) rotate(45deg); transition: border-color .16s ease, right .16s ease;
}
.ud-convo:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(123,47,247,.13); }
.ud-convo:hover::after { right: 13px; border-color: var(--ud-purple); }
.ud-convo:active { transform: translateY(0) scale(.995); }
.ud-convo.is-unread {
	background: linear-gradient(120deg, rgba(253,80,104,.06), rgba(123,47,247,.05)), #fff;
	border-color: rgba(123,47,247,.16);
}
/* Accent bar down the left edge of unread threads. */
.ud-convo.is-unread::before {
	content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 4px; border-radius: 0 4px 4px 0;
	background: linear-gradient(var(--ud-pink), var(--ud-purple));
}
.ud-convo-photo {
	width: 58px; height: 58px; border-radius: 50%; background-size: cover; background-position: center;
	background-color: #e9e6f2; flex: 0 0 auto;
	box-shadow: 0 3px 12px rgba(0,0,0,.14), 0 0 0 2px #fff, 0 0 0 3.5px rgba(123,47,247,.14);
}
.ud-convo-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.ud-convo-top { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.ud-convo-name { font-weight: 700; font-size: 16px; color: #1d1d2b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ud-convo-time { font-size: 11.5px; color: #b3aec2; flex: 0 0 auto; font-weight: 600; }
.ud-convo.is-unread .ud-convo-time { color: var(--ud-pink); font-weight: 800; }
.ud-convo-bot { display: flex; align-items: center; gap: 8px; }
.ud-convo-last { flex: 1; min-width: 0; font-size: 13.5px; color: #948da6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ud-convo.is-unread .ud-convo-last { color: #3d384a; font-weight: 600; }
.ud-unread {
	flex: 0 0 auto; background: linear-gradient(120deg, var(--ud-pink), var(--ud-purple)); color: #fff;
	border-radius: 999px; min-width: 20px; height: 20px; padding: 0 6px; font-size: 11.5px; font-weight: 800;
	display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 10px rgba(253,80,104,.4);
}
/* Avatar/name get a gentle affordance that they're individually tappable. */
.ud-convo-photo.is-tappable, .ud-convo-name.is-tappable { cursor: pointer; }
.ud-convo-photo.is-tappable { transition: transform .18s ease, box-shadow .18s ease; }
.ud-convo-photo.is-tappable:hover { transform: scale(1.06); box-shadow: 0 5px 16px rgba(123,47,247,.28); }
.ud-convo-name.is-tappable:hover { text-decoration: underline; text-decoration-color: rgba(123,47,247,.4); text-underline-offset: 3px; }
.ud-convo:focus-visible { outline: none; background: #f0ecfb; box-shadow: 0 0 0 2px rgba(123,47,247,.35) inset; }
/* Pink ring + depth on unread avatars. */
.ud-convo.is-unread .ud-convo-photo { box-shadow: 0 0 0 2.5px #fff, 0 0 0 4.5px var(--ud-pink), 0 4px 12px rgba(253,80,104,.28); }

/* --- Free-member locked inbox --- */
.ud-convo.is-locked { cursor: pointer; }
.ud-convo.is-locked .ud-convo-photo { position: relative; }
.ud-convo.is-locked .ud-convo-name { color: #9a93ad; font-style: italic; font-weight: 600; }
.ud-convo.is-locked .ud-convo-last { color: #b3aec2; letter-spacing: .5px; }
/* Frosted lock overlaying the (real) avatar — backdrop-filter blurs the photo
   behind it while the lock glyph itself stays perfectly crisp. */
.ud-convo-lock {
	position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
	font-size: 17px; border-radius: 50%; background: rgba(29,29,43,.28);
	-webkit-backdrop-filter: blur(7px) brightness(.97); backdrop-filter: blur(7px) brightness(.97);
}

/* "See who messaged you" upsell banner. */
.ud-who-locked {
	display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; cursor: pointer;
	border: 0; border-radius: 18px; padding: 13px 15px; margin: 4px 0 12px;
	background: linear-gradient(120deg, #ff5e6c, #ff3d8a 45%, #9b5cff);
	color: #fff; box-shadow: 0 10px 26px rgba(155,92,255,.34);
	transition: transform .18s ease, box-shadow .18s ease;
}
.ud-who-locked:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(155,92,255,.45); }
.ud-who-locked:active { transform: translateY(0) scale(.99); }
.ud-who-ico {
	flex: 0 0 auto; width: 40px; height: 40px; border-radius: 12px; font-size: 19px;
	display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.22);
}
.ud-who-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.ud-who-meta strong { font-size: 15px; font-weight: 800; }
.ud-who-meta span { font-size: 12.5px; opacity: .9; }
.ud-who-cta {
	flex: 0 0 auto; background: #fff; color: #9b1f7a; font-weight: 800; font-size: 12.5px;
	padding: 7px 12px; border-radius: 999px; box-shadow: 0 4px 12px rgba(0,0,0,.18);
}

/* --- Partner profile modal (from the inbox) ---
   NOTE: prefixed .ud-pp-* to avoid colliding with the profile screen's own
   .ud-profile-hero header (which has totally different layout/children). */
.ud-pp-modal {
	position: fixed; inset: 0; z-index: 99998; display: flex; align-items: center; justify-content: center;
	background: rgba(15,16,32,.78); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
	padding: 16px; opacity: 0; transition: opacity .2s ease;
}
.ud-pp-modal.is-open { opacity: 1; }
.ud-pp-card {
	width: 100%; max-width: 380px; max-height: 92vh; overflow-y: auto; background: #fff;
	border-radius: 24px; box-shadow: 0 30px 70px rgba(0,0,0,.4);
	transform: translateY(18px) scale(.96); opacity: .6;
	transition: transform .26s cubic-bezier(.34,1.56,.64,1), opacity .22s ease;
}
.ud-pp-modal.is-open .ud-pp-card { transform: translateY(0) scale(1); opacity: 1; }
.ud-pp-hero {
	position: relative; width: 100%; aspect-ratio: 4/5; overflow: hidden;
	background: #15121f;
}
.ud-pp-hero.has-gallery { cursor: pointer; }
/* Blurred fill of the current photo behind the contained image. */
.ud-pp-hero::before {
	content: ""; position: absolute; inset: 0; z-index: 0;
	background-image: var(--hero-bg); background-size: cover; background-position: center;
	filter: blur(24px) brightness(.55); transform: scale(1.3);
}
.ud-pp-img {
	position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%;
	object-fit: contain; display: block; -webkit-user-drag: none; user-select: none;
}
.ud-pp-hero.ud-card-nophoto { background: linear-gradient(135deg, #ece8f6, #e2dcf0); }
.ud-pp-close {
	position: absolute; top: 12px; right: 12px; z-index: 3; width: 34px; height: 34px; border: 0;
	border-radius: 50%; background: rgba(0,0,0,.45); color: #fff; font-size: 16px; cursor: pointer;
	-webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); line-height: 1;
}
.ud-pp-close:hover { background: rgba(0,0,0,.65); }
.ud-pp-dots {
	position: absolute; top: 10px; left: 12px; right: 56px; z-index: 2; display: flex; gap: 5px;
}
.ud-pp-dot { flex: 1; height: 3.5px; border-radius: 999px; background: rgba(255,255,255,.45); }
.ud-pp-dot.is-on { background: #fff; }
.ud-pp-heading {
	position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 40px 18px 16px; color: #fff;
	font-size: 24px; font-weight: 800; background: linear-gradient(to top, rgba(0,0,0,.7), transparent);
}
.ud-pp-age { font-weight: 400; opacity: .92; }
.ud-pp-info { padding: 14px 18px 4px; }
.ud-pp-loc { margin: 0 0 10px; color: #777; font-size: 14px; }
.ud-pp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
/* Chips live on the white modal here, so override the dark-card chip styling
   (white text on translucent white = invisible) with a light, readable pill. */
.ud-pp-chips .ud-chip {
	background: #f4f1fb; border: 1px solid #e7e1f4; color: #4a4458;
	-webkit-backdrop-filter: none; backdrop-filter: none;
	font-size: 13px; font-weight: 600; padding: 6px 12px; white-space: normal;
}
.ud-pp-bio { margin: 0; color: #555; font-size: 14.5px; line-height: 1.5; }
.ud-pp-acts { padding: 8px 18px 20px; }
.ud-pp-chat { width: 100%; }

/* --- Report / block action sheet (replaces the native prompt) --- */
.ud-report-modal {
	position: fixed; inset: 0; z-index: 99999; display: flex; align-items: flex-end; justify-content: center;
	background: rgba(15,16,32,.6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
	opacity: 0; transition: opacity .18s ease;
}
.ud-report-modal.is-open { opacity: 1; }
.ud-report-card {
	width: 100%; max-width: 460px; background: #fff; border-radius: 22px 22px 0 0;
	padding: 20px 18px calc(env(safe-area-inset-bottom, 12px) + 16px);
	box-shadow: 0 -20px 50px rgba(0,0,0,.3);
	transform: translateY(100%); transition: transform .28s cubic-bezier(.34,1.4,.64,1);
}
.ud-report-modal.is-open .ud-report-card { transform: translateY(0); }
.ud-report-title { margin: 0 0 2px; font-size: 18px; font-weight: 800; color: #1d1d2b; }
.ud-report-sub { margin: 0 0 14px; font-size: 13.5px; color: #8b8698; }
.ud-report-opts { display: flex; flex-direction: column; gap: 8px; }
.ud-report-opt {
	display: flex; align-items: center; justify-content: space-between; gap: 10px;
	width: 100%; text-align: left; border: 1px solid #ece8f4; background: #faf9fd;
	border-radius: 14px; padding: 13px 15px; cursor: pointer;
	font-size: 15px; font-weight: 600; color: #2a2438;
	transition: background .15s ease, border-color .15s ease, transform .1s ease;
}
.ud-report-opt:hover { background: #f3eefc; border-color: #d9cff0; }
.ud-report-opt:active { transform: scale(.99); }
.ud-report-arrow { color: #b9b1cc; font-size: 20px; line-height: 1; }
.ud-report-block {
	width: 100%; margin-top: 12px; border: 0; border-radius: 14px; padding: 13px;
	background: rgba(253,80,104,.1); color: #e23355; font-weight: 800; font-size: 14.5px; cursor: pointer;
	transition: background .15s ease;
}
.ud-report-block:hover { background: rgba(253,80,104,.18); }
.ud-report-cancel {
	width: 100%; margin-top: 8px; border: 0; border-radius: 14px; padding: 13px;
	background: #f1f0f5; color: #555; font-weight: 700; font-size: 14.5px; cursor: pointer;
	transition: background .15s ease;
}
.ud-report-cancel:hover { background: #e8e6ee; }

.ud-chat-header { display: flex; align-items: center; gap: 8px; padding: 6px 0 12px; border-bottom: 1px solid #eee; }
.ud-chat-back { background: none; border: 0; font-size: 28px; cursor: pointer; line-height: 1; color: var(--ud-pink); }
.ud-chat-title { font-weight: 700; font-size: 18px; }
.ud-thread { display: flex; flex-direction: column; gap: 8px; padding: 14px 2px; min-height: 40vh; max-height: 56vh; overflow-y: auto; }
.ud-bubble { max-width: 78%; padding: 10px 14px; border-radius: 18px; font-size: 15px; word-wrap: break-word; }
.ud-bubble-mine { align-self: flex-end; background: linear-gradient(135deg, var(--ud-pink), var(--ud-purple)); color: #fff; border-bottom-right-radius: 4px; }
.ud-bubble-theirs { align-self: flex-start; background: #eef0f3; color: #222; border-bottom-left-radius: 4px; }
.ud-chat-form { display: flex; gap: 8px; padding-top: 10px; border-top: 1px solid #eee; }
.ud-chat-input { flex: 1; padding: 12px 16px; border: 1px solid #ddd; border-radius: 999px; font-size: 15px; }
.ud-chat-form .ud-btn { width: auto; margin: 0; }

/* Bio moderation status (profile edit) */
.ud-bio-status { margin-top: 7px; font-size: 12.5px; font-weight: 600; padding: 10px 13px; border-radius: 11px; line-height: 1.45; border-left: 4px solid transparent; }
.ud-bio-status.pending { background: #fff4e0; color: #b07700; border-left-color: #f0a500; }
.ud-bio-status.rejected { background: #ffe3e6; color: #c0263a; border-left-color: #e23; }
.ud-bio-status.approved { background: #e3f9ec; color: #1a9c52; border-left-color: #2ecc71; }

/* Locked composer for free members */
.ud-chat-form-locked .ud-chat-input {
	background: #f5f3fb; color: #999; cursor: pointer;
	border-color: #e2dcf2; caret-color: transparent;
}
.ud-chat-form-locked .ud-chat-input::placeholder { color: #9a8fb5; font-weight: 600; }
.ud-chat-form-locked .ud-btn { width: auto; margin: 0; }

/* ===== Dashboard / profile ===== */
.ud-screen[data-screen="profile"] { background: #f5f6fa; }

/* Hero header */
.ud-profile-hero {
	position: relative; overflow: hidden;
	display: flex; align-items: center; gap: 14px;
	background: linear-gradient(125deg, var(--ud-pink), var(--ud-purple));
	color: #fff; border-radius: 22px; padding: 20px;
	box-shadow: 0 14px 34px rgba(123,47,247,.3); margin-bottom: 16px;
}
/* Soft decorative glow. */
.ud-profile-hero::before {
	content: ""; position: absolute; top: -40%; right: -10%;
	width: 180px; height: 180px; border-radius: 50%;
	background: radial-gradient(circle, rgba(255,255,255,.28), transparent 70%);
	pointer-events: none;
}
.ud-profile-hero > * { position: relative; z-index: 1; }
.ud-profile-hero .ph-avatar {
	width: 72px; height: 72px; border-radius: 50%; flex: 0 0 auto;
	background-size: cover; background-position: center;
	background-color: rgba(255,255,255,.2); border: 3px solid rgba(255,255,255,.7);
	box-shadow: 0 6px 16px rgba(0,0,0,.22);
	display: flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 800;
}
.ud-profile-hero .ph-meta { flex: 1; min-width: 0; }
.ud-profile-hero .ph-name { font-size: 22px; font-weight: 800; line-height: 1.2; }
.ud-profile-hero .ph-sub { opacity: .92; font-size: 13px; display: flex; align-items: center; gap: 4px; }
.ud-profile-hero .ph-sub::before { content: "📍"; font-size: 11px; }
/* Circular completion ring (conic, driven by --p). Clickable → jumps to the
   first missing profile field. */
.ud-profile-hero .ph-ring { position: relative; width: 66px; height: 66px; flex: 0 0 auto; display: grid; place-items: center; cursor: pointer; border-radius: 50%; transition: transform .18s ease; outline: none; }
.ud-profile-hero .ph-ring:hover { transform: scale(1.06); }
.ud-profile-hero .ph-ring:focus-visible { box-shadow: 0 0 0 3px rgba(255,255,255,.6); }
.ud-profile-hero .ph-ring.is-done { cursor: default; }
.ud-profile-hero .ph-ring.is-done:hover { transform: none; }
/* Gentle nudge when the profile is incomplete. */
.ud-profile-hero .ph-ring:not(.is-done) .ph-ring-track { animation: ud-ring-pulse 2.4s ease-in-out infinite; }
@keyframes ud-ring-pulse { 0%,100% { opacity: 1; } 50% { opacity: .72; } }
@media (prefers-reduced-motion: reduce) { .ud-profile-hero .ph-ring .ph-ring-track { animation: none; } }
.ud-profile-hero .ph-ring-track {
	position: absolute; inset: 0; border-radius: 50%;
	background: conic-gradient(#fff calc(var(--p, 0) * 1%), rgba(255,255,255,.28) 0);
	-webkit-mask: radial-gradient(farthest-side, transparent 62%, #000 63%);
	        mask: radial-gradient(farthest-side, transparent 62%, #000 63%);
	transition: background .6s ease;
}
.ud-profile-hero .ph-ring-inner { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; text-align: center; }
.ud-profile-hero .ph-ring-n { font-size: 17px; font-weight: 800; }
.ud-profile-hero .ph-ring-l { font-size: 8px; opacity: .85; text-transform: uppercase; letter-spacing: .4px; margin-top: 3px; }

/* Card blocks */
.ud-dash, .ud-photos, .ud-profile-form, .ud-billing {
	background: #fff; border-radius: 20px; padding: 18px;
	box-shadow: 0 6px 22px rgba(25,22,55,.06); border: 1px solid rgba(20,20,50,.04);
	margin-bottom: 16px;
}
.ud-dash .ud-screen-title { font-size: 15px; margin: 0 0 12px; color: #777; text-transform: uppercase; letter-spacing: .5px; }
.ud-photos h3, .ud-profile-form h3, .ud-billing h3 {
	margin: 0 0 14px; font-size: 16.5px; font-weight: 800; display: flex; align-items: center; gap: 8px;
}
.ud-photos h3::before { content: "🖼️"; }
.ud-profile-form h3::before { content: "✏️"; }
.ud-billing h3::before { content: "⭐"; }

.ud-dash-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.ud-dash-card {
	background: linear-gradient(180deg, #fafbff, #f4f5fb);
	border-radius: 16px; padding: 15px 8px; text-align: center;
	border: 1px solid #eef0f5; box-shadow: 0 2px 8px rgba(20,20,50,.03);
	transition: transform .18s ease, box-shadow .2s ease;
}
.ud-dash-card:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(123,47,247,.12); }
.ud-dash-ico { font-size: 17px; line-height: 1; margin-bottom: 5px; }
.ud-dash-ico img.emoji { width: 17px; height: 17px; vertical-align: -2px; }
.ud-dash-num { font-size: 21px; font-weight: 800; background: linear-gradient(120deg,var(--ud-pink),var(--ud-purple)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.ud-dash-lbl { font-size: 11.5px; color: #8a8d9a; margin-top: 3px; font-weight: 600; }
.ud-progress { height: 8px; background: #eef0f5; border-radius: 999px; overflow: hidden; margin: 4px 0 0; }
.ud-progress-fill { height: 100%; background: linear-gradient(90deg, var(--ud-pink), var(--ud-purple)); transition: width .5s ease; }

/* Plan countdown */
.ud-countdown {
	margin-top: 16px; padding: 16px 18px; border-radius: 16px; color: #fff;
	background: linear-gradient(120deg, #2a1140, #5a2bd0);
	box-shadow: 0 12px 28px rgba(123,47,247,.3);
}
.ud-cd-lbl { font-size: 12px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; opacity: .85; }
.ud-cd-time { font-size: 28px; font-weight: 900; line-height: 1.1; margin: 4px 0 10px; font-variant-numeric: tabular-nums; letter-spacing: .5px; }
.ud-cd-bar { height: 6px; background: rgba(255,255,255,.2); border-radius: 999px; overflow: hidden; }
.ud-cd-fill { height: 100%; background: linear-gradient(90deg, #ff6e8a, #ffce3a); transition: width 1s linear; }
.ud-countdown.is-soon { background: linear-gradient(120deg, #7a1030, #c0263a); box-shadow: 0 12px 28px rgba(192,38,58,.35); }
.ud-countdown.is-soon .ud-cd-fill { background: #ffce3a; }
.ud-countdown.is-expired { background: linear-gradient(120deg, #3a3a4a, #1d1d2b); }

.ud-photo-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.ud-photo-cell { position: relative; aspect-ratio: 3/4; border-radius: 14px; overflow: hidden; background: #1a1726; box-shadow: 0 4px 12px rgba(20,20,50,.1); transition: transform .18s ease, box-shadow .18s ease; }
.ud-photo-cell:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(123,47,247,.2); }
/* Blurred fill of the photo behind a contained image — logos / odd ratios look
   clean instead of being cropped or sitting on a flat grey box. */
.ud-photo-cell::before {
	content: ""; position: absolute; inset: 0; z-index: 0;
	background-image: var(--bg); background-size: cover; background-position: center;
	filter: blur(16px) brightness(.8); transform: scale(1.25);
}
.ud-photo-img { position: absolute; inset: 0; z-index: 1; background-size: contain; background-position: center; background-repeat: no-repeat; }
.ud-photo-cell.is-primary { box-shadow: 0 0 0 3px var(--ud-pink), 0 8px 20px rgba(253,80,104,.35); }
.ud-photo-cell.is-primary::after { content: "★ Birincil"; position: absolute; top: 7px; left: 7px; z-index: 3; background: linear-gradient(120deg, var(--ud-pink), var(--ud-purple)); color: #fff; font-size: 10px; font-weight: 800; padding: 3px 8px; border-radius: 8px; box-shadow: 0 2px 8px rgba(253,80,104,.5); }
.ud-photo-pending { position: absolute; top: 7px; right: 7px; z-index: 3; background: rgba(29,29,43,.82); color: #ffd24a; font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 8px; }
.ud-photo-tools {
	position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
	display: flex; justify-content: space-between; align-items: flex-end; gap: 6px; padding: 8px;
	background: linear-gradient(to top, rgba(0,0,0,.5), transparent); opacity: 1; transition: opacity .18s ease;
}
.ud-photo-star, .ud-photo-del {
	width: 32px; height: 32px; border-radius: 50%; border: 0; cursor: pointer; font-size: 14px;
	display: flex; align-items: center; justify-content: center;
	background: rgba(255,255,255,.95); box-shadow: 0 2px 8px rgba(0,0,0,.3);
	transition: transform .12s ease, background .15s ease, color .15s ease;
}
.ud-photo-star:hover { background: #fff; color: #f5b300; transform: scale(1.12); }
.ud-photo-del { color: var(--ud-pink); }
.ud-photo-del:hover { background: var(--ud-pink); color: #fff; transform: scale(1.12); }
/* On devices with a real pointer, reveal the tools on hover for a cleaner grid. */
@media (hover: hover) {
	.ud-photo-tools { opacity: 0; }
	.ud-photo-cell:hover .ud-photo-tools { opacity: 1; }
}
/* Add-photo tile, sized like a gallery cell. */
.ud-photo-add {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
	aspect-ratio: 3/4; border: 2px dashed #d3d6e0; border-radius: 14px; cursor: pointer;
	color: #9aa0ad; font-weight: 700; font-size: 13px; background: #fafbfd; text-align: center;
	transition: border-color .15s ease, color .15s ease, background .15s ease, transform .15s ease;
}
.ud-photo-add:hover { border-color: var(--ud-pink); color: var(--ud-pink); background: rgba(253,80,104,.05); transform: translateY(-2px); }
.ud-photo-add-ico { font-size: 30px; line-height: 1; font-weight: 400; }
.ud-photo-add.is-loading { pointer-events: none; opacity: .6; }
.ud-photo-file { display: none; }

/* Two-column form */
.ud-profile-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ud-profile-form h3, .ud-profile-form .ud-btn { grid-column: 1 / -1; }
.ud-profile-form .ud-field { margin: 0; }
.ud-profile-form .ud-field--wide,
.ud-profile-form .ud-field:has(textarea) { grid-column: 1 / -1; }
/* Section divider inside the profile form. */
.ud-form-section {
	grid-column: 1 / -1; display: flex; align-items: center; gap: 8px;
	margin: 14px 0 2px; font-size: 13px; font-weight: 800; color: #1d1d2b;
	text-transform: uppercase; letter-spacing: .5px;
}
.ud-form-section::after {
	content: ""; flex: 1; height: 1px;
	background: linear-gradient(90deg, rgba(123,47,247,.25), transparent);
}
.ud-form-section:first-of-type { margin-top: 4px; }
.ud-field label { font-size: 12.5px; color: #777; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.ud-field-ico { font-size: 14px; line-height: 1; }
/* Bigger, bolder name field — it's the headline of the profile. */
.ud-profile-form .ud-field--wide input { font-size: 16px; font-weight: 600; }
.ud-field input, .ud-field select, .ud-field textarea {
	padding: 11px 13px; border: 1px solid #e2e4ec; border-radius: 11px; font-size: 15px; font-family: inherit; background: #fafbfd; transition: border-color .15s, box-shadow .15s;
}
.ud-field input:focus, .ud-field select:focus, .ud-field textarea:focus {
	outline: none; border-color: var(--ud-pink); box-shadow: 0 0 0 3px rgba(253,80,104,.12); background: #fff;
}
/* Flash a field the completion ring jumped to. */
.ud-field-flash > label { color: var(--ud-pink); }
.ud-field-flash input, .ud-field-flash select, .ud-field-flash textarea {
	border-color: var(--ud-pink) !important; background: #fff;
	animation: ud-field-flash 1.6s ease;
}
@keyframes ud-field-flash {
	0%, 100% { box-shadow: 0 0 0 0 rgba(253,80,104,0); }
	15% { box-shadow: 0 0 0 4px rgba(253,80,104,.28); }
	60% { box-shadow: 0 0 0 4px rgba(253,80,104,.14); }
}

/* Custom chevron on profile selects. */
.ud-profile-form select {
	-webkit-appearance: none; -moz-appearance: none; appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 13px center;
	padding-right: 34px;
}

.ud-profile-tools { display: flex; flex-direction: column; gap: 10px; margin: 4px 0 8px; }
.ud-profile-tools .ud-btn { margin: 0; }
.ud-btn-logout { color: var(--ud-pink); background: rgba(253,80,104,.08); font-weight: 700; }
.ud-btn-logout:hover { background: rgba(253,80,104,.14); }
.ud-geo { display: flex; flex-direction: column; gap: 7px; }
.ud-geo-status { font-size: 12px; color: #9a9aa6; text-align: center; padding: 7px; border-radius: 10px; background: #f4f5fb; }
.ud-geo-status.is-set { color: #1a9c52; font-weight: 600; background: #e9f9ef; }

.ud-billing { background: #fff; border-radius: 18px; padding: 18px; box-shadow: 0 4px 16px rgba(0,0,0,.05); }
.ud-current-plan { margin: 4px 0 2px; }
.ud-plan-row { display: flex; flex-direction: column; gap: 12px; margin-top: 14px; }
.ud-dev-note { font-size: 12px; color: #aaa; margin-top: 12px; }
.ud-billing-exp { color: #888; font-size: 14px; }

/* Attractive plan cards (matches the public pricing page) */
.ud-plan-row { gap: 14px; }
.ud-plan-card {
	display: flex; flex-direction: column; gap: 4px;
	border: 0; cursor: pointer; text-align: left;
	padding: 20px; border-radius: 20px; color: #fff;
	box-shadow: 0 12px 28px rgba(0,0,0,.18);
	transition: transform .18s ease, box-shadow .25s ease;
	position: relative; overflow: hidden;
}
/* Diagonal shine sweep on hover. */
.ud-plan-card::before {
	content: ''; position: absolute; top: 0; left: -70%; width: 55%; height: 100%;
	background: linear-gradient(100deg, transparent, rgba(255,255,255,.28), transparent);
	transform: skewX(-20deg); transition: left .65s ease; pointer-events: none; z-index: 1;
}
.ud-plan-card:hover::before { left: 130%; }
.ud-plan-card > * { position: relative; z-index: 2; }
.ud-plan-card:active { transform: scale(.98); }
.ud-plan-card:hover { transform: translateY(-3px); box-shadow: 0 20px 40px rgba(0,0,0,.28); }
.ud-plan-card.premium { background: linear-gradient(135deg, #ff8a9b, #ff3d8a 55%, #ff5e7e); }
.ud-plan-card.premium_plus { background: linear-gradient(135deg, #34164f, #6a32e0 60%, #8b46ff); box-shadow: 0 18px 40px rgba(123,47,247,.42); }
.ud-plan-card.vip { background: linear-gradient(135deg, #8b46ff, #5a2bd0 55%, #2f1b6b); }
.ud-plan-card.vip::after {
	content: '👑'; position: absolute; right: 18px; top: 16px; font-size: 22px; opacity: .9; z-index: 2;
	filter: drop-shadow(0 2px 4px rgba(0,0,0,.3));
}
/* Popular plan stands out: scaled, glowing ring. */
.ud-plan-card.is-pop { transform: scale(1.025); border: 2px solid rgba(255,255,255,.45); box-shadow: 0 22px 48px rgba(123,47,247,.55); }
.ud-plan-card.is-pop:hover { transform: scale(1.025) translateY(-3px); }
.ud-plan-tag {
	position: absolute; right: 16px; top: 16px; z-index: 2;
	background: linear-gradient(120deg, #ffb14a, #fd5068); color: #fff;
	font-size: 11px; font-weight: 800; letter-spacing: .4px;
	padding: 5px 12px; border-radius: 999px; box-shadow: 0 6px 16px rgba(253,80,104,.5);
}
.ud-plan-name { font-size: 12px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; opacity: .88; }
.ud-plan-price { font-size: 30px; font-weight: 900; line-height: 1.05; margin-top: 2px; text-shadow: 0 2px 8px rgba(0,0,0,.18); }
.ud-plan-price small { font-size: 13px; font-weight: 600; opacity: .8; }
.ud-plan-feats { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; order: 1; }
.ud-plan-feat { display: flex; align-items: flex-start; gap: 8px; font-size: 12.5px; font-weight: 600; text-align: left; line-height: 1.3; }
.ud-plan-feat::before {
	content: '✓'; flex: 0 0 auto; width: 18px; height: 18px; border-radius: 50%;
	background: rgba(255,255,255,.32); color: #fff; display: inline-flex; align-items: center; justify-content: center;
	font-size: 11px; font-weight: 800; margin-top: 1px;
}
/* Buy button — full-width white pill at the bottom of the card. */
.ud-plan-cta {
	order: 2; margin-top: 16px; width: 100%;
	display: inline-flex; align-items: center; justify-content: center; gap: 7px;
	font-size: 15px; font-weight: 800; color: #2a1140;
	background: #fff; padding: 12px 16px; border-radius: 13px;
	box-shadow: 0 6px 16px rgba(0,0,0,.18);
	transition: transform .15s ease, box-shadow .2s ease;
}
.ud-plan-card:hover .ud-plan-cta { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(0,0,0,.25); }
.ud-plan-desc { font-size: 12.5px; opacity: .92; margin-top: 6px; order: 1; }

/* ===== "Buy me" animations — draw the eye to the recommended plan ===== */
/* The popular card softly breathes a brighter glow so it pulls focus. */
.ud-plan-card.is-pop { animation: ud-pop-glow 2.6s ease-in-out infinite; }
@keyframes ud-pop-glow {
	0%, 100% { box-shadow: 0 22px 48px rgba(123,47,247,.5); }
	50%      { box-shadow: 0 26px 62px rgba(123,47,247,.78), 0 0 0 2px rgba(255,255,255,.28); }
}
/* "EN POPÜLER" badge gently pops. */
.ud-plan-tag { animation: ud-tag-pop 1.9s ease-in-out infinite; transform-origin: center; }
@keyframes ud-tag-pop {
	0%, 100% { transform: scale(1) rotate(0deg); box-shadow: 0 6px 16px rgba(253,80,104,.5); }
	50%      { transform: scale(1.09) rotate(-2deg); box-shadow: 0 9px 24px rgba(253,80,104,.82); }
}
/* The buy button on the recommended plan invites a tap: a breathing scale +
   warm glow ring, with a golden shimmer sweeping across it. */
.ud-plan-card.is-pop .ud-plan-cta {
	position: relative; overflow: hidden;
	animation: ud-buy-pulse 1.8s ease-in-out infinite;
}
.ud-plan-card.is-pop .ud-plan-cta::after {
	content: ""; position: absolute; top: 0; left: -65%; width: 45%; height: 100%; z-index: 1;
	background: linear-gradient(100deg, transparent, rgba(255,190,90,.65), transparent);
	transform: skewX(-20deg); pointer-events: none;
	animation: ud-buy-shine 3s ease-in-out infinite;
}
@keyframes ud-buy-pulse {
	0%, 100% { transform: scale(1); box-shadow: 0 6px 16px rgba(0,0,0,.2); }
	50%      { transform: scale(1.04); box-shadow: 0 12px 28px rgba(255,160,60,.6), 0 0 0 4px rgba(255,255,255,.3); }
}
@keyframes ud-buy-shine {
	0%       { left: -65%; }
	55%, 100% { left: 145%; }
}
@media (prefers-reduced-motion: reduce) {
	.ud-plan-card.is-pop,
	.ud-plan-tag,
	.ud-plan-card.is-pop .ud-plan-cta,
	.ud-plan-card.is-pop .ud-plan-cta::after { animation: none; }
}

/* ===== Auth (join / login) ===== */
/* Premium gradient backdrop fills the whole auth surface; card is centered. */
.uludate-fullscreen .uludate-app.uludate-auth-shell {
	background: linear-gradient(165deg, #1a0a2e 0%, #3a1170 50%, #6a2cff 100%);
	padding: 0;
}
/* The auth screen fills the panel and vertically + horizontally centers the card. */
.uludate-auth-shell .ud-screen {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px 16px;
}
.uludate-auth-shell { max-width: 480px; }
.ud-auth {
	width: 100%;
	max-width: 400px;
	background: #fff;
	border-radius: 24px;
	padding: 32px 26px 26px;
	box-shadow: 0 30px 70px rgba(0,0,0,.4);
	margin: 0 auto;
}
.ud-auth-logo { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 32px; font-weight: 900; }
.ud-auth-logo span {
	background: linear-gradient(135deg, var(--ud-pink), var(--ud-purple));
	-webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.ud-auth-tag { text-align: center; color: #8a8aa0; margin: 5px 0 22px; font-size: 15px; }
.ud-auth-tabs { display: flex; background: #f0f1f5; border-radius: 999px; padding: 5px; margin-bottom: 20px; }
.ud-auth-tab { flex: 1; border: 0; background: none; padding: 11px 8px; border-radius: 999px; cursor: pointer; font-weight: 700; color: #888; font-size: 14px; white-space: nowrap; transition: all .15s; }
.ud-auth-tab.is-active { background: #fff; color: var(--ud-pink); box-shadow: 0 3px 10px rgba(0,0,0,.1); }
.ud-auth-form { display: flex; flex-direction: column; }
.ud-auth-form .ud-field { margin-bottom: 14px; }
.ud-auth .ud-field label { display: block; font-size: 13px; color: #555; font-weight: 700; margin-bottom: 5px; }
.ud-auth .ud-field input {
	width: 100%; padding: 13px 15px; border: 1px solid #e2e4ea; border-radius: 13px;
	background: #f8f9fc; font-size: 15px; font-family: inherit; transition: border-color .15s, background .15s, box-shadow .15s;
}
.ud-auth .ud-field input:focus { border-color: var(--ud-pink); background: #fff; outline: none; box-shadow: 0 0 0 3px rgba(253,80,104,.12); }
.ud-auth .ud-btn-primary {
	background: linear-gradient(135deg, var(--ud-pink), var(--ud-purple)) !important;
	color: #fff !important; box-shadow: 0 12px 28px rgba(253,80,104,.4);
	margin-top: 6px; padding: 14px; font-size: 16px; border: 0;
}
.ud-remember { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #555; font-weight: 600; margin: 2px 0 14px; cursor: pointer; user-select: none; }
.ud-remember input { width: 17px; height: 17px; accent-color: var(--ud-pink); cursor: pointer; margin: 0; }
.ud-auth-link { display: block; width: 100%; background: none; border: 0; cursor: pointer; color: var(--ud-pink); font-weight: 700; font-size: 14px; padding: 12px 4px 2px; text-align: center; }
.ud-auth-link:hover { text-decoration: underline; }
.ud-auth-fine { text-align: center; font-size: 12px; color: #999; margin-top: 12px; }
.ud-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.ud-auth .ud-chip { border: 1.5px solid #e2e4ea; background: #fff; border-radius: 999px; padding: 9px 14px; cursor: pointer; font-size: 14px; font-weight: 600; color: #555; transition: all .15s; }
.ud-auth .ud-chip.is-on { border-color: var(--ud-pink); color: var(--ud-pink); background: rgba(253,80,104,.07); }

@media (max-width: 480px) {
	.uludate-fullscreen .uludate-app.uludate-auth-shell { padding: 14px 10px; }
	.ud-auth { padding: 26px 18px 22px; border-radius: 20px; }
	/* Profile edit form: single column so fields aren't cramped on phones. */
	.ud-profile-form { grid-template-columns: 1fr; gap: 11px; }
	.ud-dash, .ud-photos, .ud-profile-form, .ud-billing { padding: 16px 13px; }
}

/* ===== Bottom nav (floating active chip) ===== */
.ud-bottom-nav {
	position: sticky; bottom: 0; left: 0; right: 0;
	display: flex; justify-content: space-around; align-items: flex-end;
	background: rgba(255,255,255,.86);
	-webkit-backdrop-filter: blur(20px) saturate(180%);
	backdrop-filter: blur(20px) saturate(180%);
	border-top: 1px solid rgba(255,255,255,.6);
	border-radius: 26px 26px 0 0;
	padding: 12px 6px calc(env(safe-area-inset-bottom, 8px) + 8px);
	box-shadow: 0 -10px 34px rgba(25,22,55,.1);
	z-index: 50;
}
/* Rainbow hairline along the top edge — with a slow shimmering sweep. */
.ud-bottom-nav::before {
	content: ""; position: absolute; top: 0; left: 18px; right: 18px; height: 3px;
	border-radius: 999px;
	background: linear-gradient(90deg, #ff5e6c, #ff3d8a, #9b5cff, #2fa9ff, #ff9f43, #ff5e6c);
	background-size: 200% 100%;
	opacity: .92;
	animation: ud-nav-shimmer 6s linear infinite;
}
@keyframes ud-nav-shimmer {
	to { background-position: -200% 0; }
}
.ud-nav-btn {
	position: relative; background: none; border: 0; cursor: pointer;
	display: flex; flex-direction: column; align-items: center; gap: 5px;
	padding: 2px 6px; font-size: 11px;
	/* Each tab carries its own accent (--c) plus matching soft/shadow tints. */
	--c: #9b5cff; --c-soft: rgba(155,92,255,.13); --c-hover: rgba(155,92,255,.24);
	--c-grad: #c4a0ff; --c-sh: rgba(155,92,255,.45);
	color: var(--c);
	transition: color .25s ease;
	-webkit-tap-highlight-color: transparent;
}

/* Per-tab signature colors. */
.ud-nav-btn[data-go="deck"]     { --c: #ff5e6c; --c-soft: rgba(255,94,108,.13); --c-hover: rgba(255,94,108,.24); --c-grad: #ffa3ab; --c-sh: rgba(255,94,108,.45); }
.ud-nav-btn[data-go="search"]   { --c: #9b5cff; --c-soft: rgba(155,92,255,.13); --c-hover: rgba(155,92,255,.24); --c-grad: #c4a0ff; --c-sh: rgba(155,92,255,.45); }
.ud-nav-btn[data-go="matches"]  { --c: #ff3d8a; --c-soft: rgba(255,61,138,.13); --c-hover: rgba(255,61,138,.24); --c-grad: #ff8fbb; --c-sh: rgba(255,61,138,.45); }
.ud-nav-btn[data-go="messages"] { --c: #2fa9ff; --c-soft: rgba(47,169,255,.13); --c-hover: rgba(47,169,255,.24); --c-grad: #8fd0ff; --c-sh: rgba(47,169,255,.45); }
.ud-nav-btn[data-go="profile"]  { --c: #ff9f43; --c-soft: rgba(255,159,67,.15); --c-hover: rgba(255,159,67,.26); --c-grad: #ffc587; --c-sh: rgba(255,159,67,.45); }

/* Icon chip — tinted at rest, fills with its accent + floats up when active. */
.ud-ico {
	position: relative; overflow: hidden;
	display: flex; align-items: center; justify-content: center;
	width: 46px; height: 46px; border-radius: 16px;
	background: var(--c-soft);
	color: var(--c);
	transition: transform .32s cubic-bezier(.34,1.56,.64,1), background .26s ease, box-shadow .26s ease, color .2s ease;
}
.ud-ico svg { position: relative; z-index: 1; width: 25px; height: 25px; display: block; transition: transform .26s ease; }
.ud-nav-btn:hover:not(.is-active) .ud-ico { background: var(--c-hover); transform: translateY(-3px) scale(1.04); }
.ud-nav-btn:active .ud-ico { transform: scale(.9); }
.ud-nav-btn.is-active .ud-ico {
	background: linear-gradient(135deg, var(--c-grad), var(--c));
	color: #fff;
	transform: translateY(-12px) scale(1.06);
	box-shadow: 0 14px 24px var(--c-sh), 0 4px 10px var(--c-sh);
	/* gentle continuous bob once it has popped into place */
	animation: ud-ico-pop .42s cubic-bezier(.34,1.56,.64,1), ud-ico-bob 2.8s ease-in-out .42s infinite;
}
.ud-nav-btn.is-active .ud-ico svg { transform: scale(1.08); }
/* Pulsing glow ring behind the active chip. */
.ud-nav-btn.is-active .ud-ico::after {
	content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 0;
	box-shadow: 0 0 0 0 var(--c-sh);
	animation: ud-ico-ring 2.2s ease-out infinite;
}
/* Diagonal shine sweeping across the active chip. */
.ud-nav-btn.is-active .ud-ico::before {
	content: ""; position: absolute; top: -60%; left: -40%; z-index: 0;
	width: 40%; height: 220%;
	background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent);
	transform: rotate(20deg);
	animation: ud-ico-shine 3.2s ease-in-out 1s infinite;
}
@keyframes ud-ico-pop {
	0% { transform: translateY(-12px) scale(.6); }
	60% { transform: translateY(-14px) scale(1.18); }
	100% { transform: translateY(-12px) scale(1.06); }
}
@keyframes ud-ico-bob {
	0%, 100% { transform: translateY(-12px) scale(1.06); }
	50% { transform: translateY(-15px) scale(1.06); }
}
@keyframes ud-ico-ring {
	0% { box-shadow: 0 0 0 0 var(--c-sh); }
	70%, 100% { box-shadow: 0 0 0 14px rgba(255,255,255,0); }
}
@keyframes ud-ico-shine {
	0% { left: -40%; }
	28%, 100% { left: 140%; }
}

.ud-nav-label { font-weight: 600; transition: font-weight .2s ease, transform .3s cubic-bezier(.34,1.56,.64,1), opacity .2s ease; opacity: .7; }
.ud-nav-btn.is-active { color: var(--c); }
.ud-nav-btn.is-active .ud-nav-label { font-weight: 800; opacity: 1; transform: translateY(-8px); }
/* Little glowing dot under the active tab — softly breathing. */
.ud-nav-btn.is-active::after {
	content: ""; position: absolute; bottom: -4px; left: 50%; transform: translateX(-50%);
	width: 5px; height: 5px; border-radius: 50%; background: var(--c);
	box-shadow: 0 0 8px var(--c);
	animation: ud-dot-breathe 2.2s ease-in-out infinite;
}
@keyframes ud-dot-breathe {
	0%, 100% { opacity: 1; box-shadow: 0 0 6px var(--c); }
	50% { opacity: .55; box-shadow: 0 0 12px var(--c); }
}

.ud-badge {
	position: absolute; top: -2px; right: 4px;
	background: linear-gradient(135deg, #ff5269, #fd2d55); color: #fff;
	border-radius: 999px; min-width: 18px; height: 18px; font-size: 10px; font-weight: 700;
	display: flex; align-items: center; justify-content: center; padding: 0 5px;
	border: 2px solid #fff; box-shadow: 0 2px 7px rgba(253,45,85,.55);
	z-index: 2;
	animation: ud-badge-pulse 1.6s ease-in-out infinite;
}
@keyframes ud-badge-pulse {
	0%, 100% { transform: scale(1); box-shadow: 0 2px 7px rgba(253,45,85,.55); }
	50% { transform: scale(1.14); box-shadow: 0 3px 12px rgba(253,45,85,.8); }
}

/* Respect users who prefer reduced motion. */
/* "Keşfet" flame — flickers like a live flame with a warm glow so the eye is
   drawn to it and the user wants to tap in. The icon keeps dancing whether the
   tab is active or not; when inactive it also gets a soft pulsing halo. */
.ud-nav-btn[data-go="deck"] .ud-ico svg {
	transform-origin: 50% 80%;
	animation: ud-flame-flicker 1.5s ease-in-out infinite, ud-flame-glow 2.4s ease-in-out infinite;
}
.ud-nav-btn[data-go="deck"]:not(.is-active) .ud-ico {
	animation: ud-flame-halo 2.4s ease-in-out infinite;
}
@keyframes ud-flame-flicker {
	0%, 100% { transform: scale(1) rotate(0deg); }
	20%  { transform: scale(1.08, 1.15) rotate(-3deg); }
	40%  { transform: scale(.95, 1.05) rotate(2.5deg); }
	60%  { transform: scale(1.06, 1.1) rotate(-1.5deg); }
	80%  { transform: scale(.98, 1.03) rotate(1.5deg); }
}
@keyframes ud-flame-glow {
	0%, 100% { filter: drop-shadow(0 0 2px rgba(255,120,50,.5)); }
	50%      { filter: drop-shadow(0 1px 8px rgba(255,70,35,.92)); }
}
@keyframes ud-flame-halo {
	0%, 100% { box-shadow: 0 0 0 0 rgba(255,94,108,0); }
	50%      { box-shadow: 0 0 16px 2px rgba(255,120,60,.45); }
}

@media (prefers-reduced-motion: reduce) {
	.ud-bottom-nav::before,
	.ud-nav-btn.is-active .ud-ico,
	.ud-nav-btn.is-active .ud-ico::before,
	.ud-nav-btn.is-active .ud-ico::after,
	.ud-nav-btn.is-active::after,
	.ud-nav-btn[data-go="deck"] .ud-ico svg,
	.ud-nav-btn[data-go="deck"]:not(.is-active) .ud-ico,
	.ud-badge { animation: none; }
}

/* ===== Toast + spinner ===== */
.ud-toast {
	position: fixed; left: 50%; bottom: 90px; transform: translateX(-50%) translateY(20px);
	background: #1d1d2b; color: #fff; padding: 12px 20px; border-radius: 999px; font-size: 14px;
	opacity: 0; pointer-events: none; transition: all .3s ease; z-index: 100000; max-width: 90%;
}
.ud-toast.is-visible { opacity: 1; transform: translateX(-50%) translateY(0); }
.ud-spinner { text-align: center; padding: 40px; color: #999; }

/* ===== Responsive ===== */
@media (max-width: 374px) {
	.ud-dash-grid, .ud-photo-grid, .ud-match-grid { grid-template-columns: 1fr 1fr; }
	/* Scale the action buttons down but keep the size hierarchy intact. */
	.ud-deck-actions { gap: 14px; }
	.ud-act { width: 54px; height: 54px; }
	.ud-act-yes { width: 58px; height: 58px; }
	.ud-act-super { width: 48px; height: 48px; }
	.ud-act-rewind { width: 44px; height: 44px; }
}
@media (min-width: 768px) {
	.uludate-app:not(.uludate-standalone) { max-width: 480px; }
	.ud-grid { grid-template-columns: 1fr 1fr 1fr; }
	.ud-nav-label { font-size: 12px; }
}
@media (min-width: 1024px) {
	.uludate-standalone .ud-grid { grid-template-columns: repeat(4, 1fr); }
}
