/* ==========================================
   RetsuScans — Modern Profile & Premium Styles
   Wide Dashboard Layout (1180px)
   Zero Emojis — 100% Crisp Scalable SVGs
   ========================================== */

/* ===== Container & Layout ===== */
.profile-dashboard-wrap {
	width: 100%;
	min-height: 80vh;
	padding-top: 6.5rem;
	padding-bottom: 6rem;
}
.profile-dashboard-container {
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 1.25rem;
}

/* Success Notice */
.profile-alert-success {
	display: flex;
	align-items: center;
	gap: 12px;
	background: linear-gradient(135deg, rgba(5, 150, 105, 0.95), rgba(16, 185, 129, 0.95));
	color: #ffffff;
	padding: 14px 20px;
	border-radius: 12px;
	margin-bottom: 2rem;
	font-weight: 600;
	font-size: 0.9rem;
	box-shadow: 0 10px 25px rgba(5, 150, 105, 0.35);
}

/* ===== Hero Profile Card (Wide 1180px) ===== */
.profile-hero-card {
	background: color-mix(in srgb, var(--background-soft) 75%, transparent);
	backdrop-filter: blur(24px) saturate(150%);
	border-radius: 20px;
	overflow: hidden;
	border: 1px solid var(--border);
	position: relative;
	box-shadow: 0 20px 40px var(--shadow-color);
	margin-bottom: 2rem;
	transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.profile-hero-card:hover {
	border-color: var(--border-strong);
}
.profile-hero-card.premium-glow {
	border-color: rgba(245, 158, 11, 0.4);
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(245, 158, 11, 0.15);
}

/* ===== Panoramic Cover Banner ===== */
.profile-hero-banner {
	width: 100%;
	height: 240px;
	background-color: var(--profile-color, var(--primary));
	background-size: cover;
	background-position: center;
	position: relative;
}
@media (max-width: 768px) {
	.profile-hero-banner {
		height: 160px;
	}
}
.profile-hero-banner-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to bottom, rgba(13, 15, 20, 0.15) 0%, rgba(13, 15, 20, 0.85) 100%);
	pointer-events: none;
}
.profile-banner-quick-actions {
	position: absolute;
	top: 14px;
	right: 14px;
	z-index: 5;
	display: flex;
	gap: 8px;
}
.profile-banner-upload-pill,
.profile-banner-remove-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 14px;
	font-size: 0.72rem;
	font-family: 'Tourney', sans-serif;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #ffffff;
	background: rgba(13, 15, 20, 0.65);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 9999px;
	cursor: pointer;
	text-decoration: none;
	transition: all 0.2s ease;
}
.profile-banner-upload-pill:hover {
	background: rgba(13, 15, 20, 0.9);
	border-color: var(--accent);
	color: var(--accent);
}
.profile-banner-remove-pill {
	border-color: rgba(244, 63, 94, 0.4);
	color: #f87171;
}
.profile-banner-remove-pill:hover {
	background: rgba(244, 63, 94, 0.2);
	border-color: #f43f5e;
}

/* ===== Identity Section (Avatar + Bio + Actions) ===== */
.profile-identity-section {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	padding: 0 28px 24px;
	position: relative;
	z-index: 4;
}
@media (max-width: 900px) {
	.profile-identity-section {
		flex-direction: column;
		align-items: center;
		text-align: center;
		padding: 0 20px 20px;
	}
}

/* Avatar Block */
.profile-avatar-block {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-top: -60px;
	flex-shrink: 0;
	position: relative;
}
.profile-avatar-frame-wrap {
	position: relative;
	width: 120px;
	height: 120px;
	border-radius: 50%;
	border: 4px solid var(--background-soft);
	background: var(--surface);
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
}
.profile-avatar-img {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	object-fit: cover;
	display: block;
}
.profile-frame-img {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 130%;
	height: 130%;
	max-width: none;
	max-height: none;
	pointer-events: none;
	z-index: 5;
	object-fit: contain;
}
.profile-avatar-edit-overlay {
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.55);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #ffffff;
	opacity: 0;
	cursor: pointer;
	transition: opacity 0.2s ease;
	z-index: 6;
}
.profile-avatar-frame-wrap:hover .profile-avatar-edit-overlay {
	opacity: 1;
}
.profile-avatar-level-tag {
	margin-top: -12px;
	z-index: 7;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	background: linear-gradient(135deg, var(--primary), var(--accent));
	color: #ffffff;
	font-family: 'Tourney', sans-serif;
	font-size: 0.7rem;
	font-weight: 800;
	padding: 3px 10px;
	border-radius: 9999px;
	box-shadow: 0 4px 12px var(--accent-glow);
	border: 2px solid var(--background-soft);
}
.profile-avatar-level-tag span {
	font-size: 0.6rem;
	opacity: 0.85;
}

/* Identity Details (Name, Badges, Meta) */
.profile-identity-main {
	flex: 1;
	min-width: 0;
}
.profile-name-header {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	margin-bottom: 6px;
}
@media (max-width: 900px) {
	.profile-name-header {
		justify-content: center;
	}
}
.profile-display-name {
	font-family: 'Cinzel Decorative', 'Tourney', serif;
	font-size: 1.65rem;
	font-weight: 800;
	color: var(--foreground);
	margin: 0;
	line-height: 1.15;
}
.profile-badges-row {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
.profile-premium-badge {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-family: 'Tourney', sans-serif;
	font-size: 0.68rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	padding: 3px 10px;
	background: linear-gradient(135deg, #f59e0b, #d97706);
	color: #ffffff;
	border-radius: 9999px;
	box-shadow: 0 0 14px rgba(245, 158, 11, 0.45);
}
.profile-level-title-tag {
	font-family: 'Tourney', sans-serif;
	font-size: 0.7rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	padding: 3px 10px;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.12);
	color: var(--foreground);
	border-radius: 9999px;
}
.profile-meta-info-row {
	display: flex;
	align-items: center;
	gap: 8px;
	font-family: 'Outfit', sans-serif;
	font-size: 0.8rem;
	color: var(--foreground-muted);
	margin-bottom: 8px;
	flex-wrap: wrap;
}
@media (max-width: 900px) {
	.profile-meta-info-row {
		justify-content: center;
	}
}
.profile-username-tag {
	font-weight: 600;
	color: var(--accent);
}
.profile-meta-divider {
	opacity: 0.4;
}
.profile-date-meta,
.profile-premium-exp-meta {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}
.profile-premium-exp-meta {
	color: #fbbf24;
	font-weight: 600;
}
.profile-bio-quote {
	font-family: 'Outfit', sans-serif;
	font-size: 0.86rem;
	line-height: 1.5;
	color: var(--foreground-muted);
	background: var(--surface);
	padding: 10px 16px;
	border-radius: 10px;
	border: 1px solid var(--border);
	margin-top: 6px;
	max-width: 680px;
}
@media (max-width: 900px) {
	.profile-bio-quote {
		margin: 8px auto 0;
	}
}

/* Action Buttons */
.profile-identity-actions {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
}
@media (max-width: 900px) {
	.profile-identity-actions {
		width: 100%;
		justify-content: center;
		margin-top: 8px;
	}
}
.profile-action-btn,
.profile-action-btn-danger,
.profile-upgrade-action-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 16px;
	font-size: 0.75rem;
	font-family: 'Tourney', sans-serif;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	border-radius: 8px;
	text-decoration: none;
	cursor: pointer;
	transition: all 0.2s ease;
}
.profile-action-btn-danger {
	border-color: rgba(244, 63, 94, 0.4);
	color: #f87171;
}
.profile-action-btn-danger:hover {
	background: rgba(244, 63, 94, 0.15);
	border-color: #f43f5e;
	color: #ffffff;
}
.profile-upgrade-action-pill {
	background: linear-gradient(135deg, #f59e0b, #d97706);
	color: #ffffff;
	border: none;
	box-shadow: 0 4px 15px rgba(245, 158, 11, 0.35);
}
.profile-upgrade-action-pill:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
	color: #ffffff;
}

/* ===== Progression Panel ===== */
.profile-progression-panel {
	background: rgba(0, 0, 0, 0.25);
	border-top: 1px solid var(--border);
	padding: 14px 28px;
}
@media (max-width: 768px) {
	.profile-progression-panel {
		padding: 12px 18px;
	}
}
.profile-progression-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 8px;
	flex-wrap: wrap;
}
.profile-progression-left {
	display: flex;
	align-items: center;
	gap: 10px;
}
.profile-progression-lvl-label {
	font-family: 'Tourney', sans-serif;
	font-size: 0.72rem;
	font-weight: 800;
	color: var(--accent);
	letter-spacing: 0.08em;
}
.profile-progression-title {
	font-family: 'Cinzel Decorative', 'Tourney', serif;
	font-size: 0.9rem;
	font-weight: 700;
	color: var(--foreground);
}
.profile-progression-right {
	display: flex;
	align-items: center;
	gap: 6px;
	font-family: 'Outfit', sans-serif;
	font-size: 0.8rem;
	color: var(--foreground-muted);
}
.profile-xp-counter strong {
	color: var(--foreground);
}
.profile-xp-percentage {
	color: var(--accent);
	font-weight: 700;
}
.profile-xp-bar-track {
	width: 100%;
	height: 9px;
	background: rgba(255, 255, 255, 0.08);
	border-radius: 9999px;
	overflow: hidden;
	position: relative;
}
.profile-xp-bar-fill {
	height: 100%;
	background: linear-gradient(90deg, var(--primary), var(--accent));
	border-radius: 9999px;
	box-shadow: 0 0 12px var(--accent-glow);
	transition: width 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ===== 5-Metric Counter Cards Bar ===== */
.profile-metrics-bar {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	border-top: 1px solid var(--border);
	background: var(--surface);
}
@media (max-width: 992px) {
	.profile-metrics-bar {
		grid-template-columns: repeat(3, 1fr);
	}
}
@media (max-width: 600px) {
	.profile-metrics-bar {
		grid-template-columns: repeat(2, 1fr);
	}
}
.profile-metric-box {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 16px 20px;
	border-right: 1px solid var(--border);
	transition: background 0.2s ease;
}
.profile-metric-box:last-child {
	border-right: none;
}
.profile-metric-box:hover {
	background: rgba(255, 255, 255, 0.03);
}
.profile-metric-icon {
	width: 44px;
	height: 44px;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid var(--border);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--accent);
	flex-shrink: 0;
}
.profile-metric-box-highlight .profile-metric-icon {
	background: rgba(245, 158, 11, 0.12);
	border-color: rgba(245, 158, 11, 0.3);
	color: #fbbf24;
}
.profile-metric-data {
	min-width: 0;
}
.profile-metric-num {
	font-family: 'Tourney', sans-serif;
	font-size: 1.35rem;
	font-weight: 800;
	color: var(--foreground);
	line-height: 1;
	margin-bottom: 2px;
}
.profile-metric-sub {
	font-size: 0.8rem;
	color: var(--foreground-muted);
	font-weight: 500;
}
.profile-metric-lbl {
	font-family: 'Outfit', sans-serif;
	font-size: 0.72rem;
	color: var(--foreground-muted);
	text-transform: uppercase;
	letter-spacing: 0.06em;
	white-space: nowrap;
}

/* ===== Profile Tabs Navigation Bar ===== */
.profile-tabs-section {
	width: 100%;
}
.profile-tabs-navbar {
	display: flex;
	align-items: center;
	gap: 10px;
	border-bottom: 1px solid var(--border);
	padding-bottom: 14px;
	margin-bottom: 24px;
	overflow-x: auto;
	scrollbar-width: none;
}
.profile-tabs-navbar::-webkit-scrollbar {
	display: none;
}
.profile-nav-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 10px;
	color: var(--foreground-muted);
	font-family: 'Tourney', sans-serif;
	font-size: 0.8rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	padding: 10px 20px;
	cursor: pointer;
	transition: all 0.25s ease;
	white-space: nowrap;
}
.profile-nav-btn:hover {
	color: var(--foreground);
	border-color: var(--border-strong);
	transform: translateY(-1px);
}
.profile-nav-btn.active {
	background: linear-gradient(135deg, var(--primary), var(--accent));
	color: #ffffff;
	border-color: transparent;
	box-shadow: 0 4px 18px var(--accent-glow);
}
.profile-tab-content-pane {
	display: none;
	animation: profileFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.profile-tab-content-pane.active {
	display: block;
}

/* ===== TAB 1: Son Okunanlar (Modern Wide Grid) ===== */
.profile-reads-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
	gap: 16px;
}
@media (max-width: 640px) {
	.profile-reads-grid {
		grid-template-columns: 1fr;
	}
}
.profile-read-card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 14px;
	overflow: hidden;
	transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.profile-read-card:hover {
	transform: translateY(-3px);
	border-color: var(--accent);
	box-shadow: 0 12px 28px var(--shadow-color);
}
.profile-read-link {
	display: flex;
	gap: 16px;
	padding: 12px;
	text-decoration: none;
	align-items: center;
}
.profile-read-cover {
	width: 72px;
	height: 96px;
	border-radius: 8px;
	object-fit: cover;
	flex-shrink: 0;
	background: var(--background);
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}
.profile-read-body {
	flex: 1;
	min-width: 0;
}
.profile-read-series {
	font-family: 'Outfit', sans-serif;
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--foreground);
	margin-bottom: 6px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.profile-read-chap-tag {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	background: rgba(99, 102, 241, 0.12);
	color: var(--accent);
	font-family: 'Tourney', sans-serif;
	font-size: 0.7rem;
	font-weight: 800;
	text-transform: uppercase;
	padding: 3px 10px;
	border-radius: 6px;
	margin-bottom: 6px;
}
.profile-read-time {
	display: flex;
	align-items: center;
	gap: 4px;
	font-size: 0.75rem;
	color: var(--foreground-muted);
}
.profile-read-arrow {
	color: var(--foreground-muted);
	transition: transform 0.2s ease, color 0.2s ease;
	flex-shrink: 0;
	padding-right: 6px;
}
.profile-read-card:hover .profile-read-arrow {
	color: var(--accent);
	transform: translateX(4px);
}

/* Empty State */
.profile-empty-state {
	text-align: center;
	padding: 4rem 2rem;
	background: var(--surface);
	border: 1px dashed var(--border);
	border-radius: 16px;
}
.profile-empty-icon {
	color: var(--foreground-muted);
	margin-bottom: 1rem;
	opacity: 0.7;
}
.profile-empty-title {
	font-family: 'Cinzel Decorative', 'Tourney', serif;
	font-size: 1.15rem;
	color: var(--foreground);
	margin-bottom: 0.5rem;
}
.profile-empty-desc {
	font-family: 'Outfit', sans-serif;
	font-size: 0.85rem;
	color: var(--foreground-muted);
	margin-bottom: 1.5rem;
}

/* ===== TAB 2: Başarımlar (Achievements Grid) ===== */
.achievements-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 16px;
}
.achievement-card {
	display: flex;
	gap: 16px;
	padding: 16px;
	border-radius: 14px;
	border: 1px solid var(--border);
	background: var(--surface);
	transition: all 0.25s ease;
	position: relative;
	overflow: hidden;
}
.achievement-card.unlocked {
	border-color: rgba(245, 158, 11, 0.35);
	box-shadow: 0 6px 20px rgba(245, 158, 11, 0.08);
}
.achievement-card.unlocked .achievement-icon-box {
	background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(217, 119, 6, 0.2));
	border-color: rgba(245, 158, 11, 0.4);
	color: #fbbf24;
	box-shadow: 0 0 14px rgba(245, 158, 11, 0.3);
}
.achievement-card.locked {
	opacity: 0.6;
	filter: grayscale(80%);
}
.achievement-card.locked .achievement-icon-box {
	background: rgba(255, 255, 255, 0.04);
	border-color: rgba(255, 255, 255, 0.1);
	color: var(--foreground-muted);
}
.achievement-icon-box {
	width: 52px;
	height: 52px;
	border-radius: 12px;
	border: 1px solid;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.achievement-details {
	flex: 1;
	min-width: 0;
}
.achievement-title {
	font-family: 'Cinzel Decorative', 'Tourney', serif;
	font-size: 0.92rem;
	font-weight: 700;
	color: var(--foreground);
	margin-bottom: 3px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}
.achievement-check {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-family: 'Outfit', sans-serif;
	font-size: 0.7rem;
	color: #10b981;
	font-weight: 700;
}
.achievement-desc {
	font-family: 'Outfit', sans-serif;
	font-size: 0.78rem;
	color: var(--foreground-muted);
	line-height: 1.4;
	margin-bottom: 8px;
}
.achievement-reward {
	display: flex;
	gap: 8px;
	font-family: 'Tourney', sans-serif;
	font-size: 0.68rem;
	font-weight: 700;
	color: var(--accent);
}
.achievement-reward span {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	background: rgba(255, 255, 255, 0.05);
	padding: 2px 8px;
	border-radius: 4px;
}

/* ===== TAB 3: Dijital Çerçeve Mağazası ===== */
.profile-store-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 14px;
	padding: 16px 20px;
	margin-bottom: 24px;
	flex-wrap: wrap;
}
.profile-store-title {
	font-family: 'Cinzel Decorative', 'Tourney', serif;
	font-size: 1.15rem;
	color: var(--foreground);
	margin: 0 0 2px;
}
.profile-store-desc {
	font-size: 0.8rem;
	color: var(--foreground-muted);
	margin: 0;
}
.profile-store-balance-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: rgba(245, 158, 11, 0.12);
	border: 1px solid rgba(245, 158, 11, 0.3);
	color: #fbbf24;
	font-family: 'Tourney', sans-serif;
	font-size: 0.82rem;
	font-weight: 700;
	padding: 6px 14px;
	border-radius: 9999px;
}
.frames-store-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 20px;
}
.frame-store-card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 16px;
	padding: 20px 16px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	position: relative;
	transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.frame-store-card:hover {
	transform: translateY(-4px);
	border-color: var(--border-strong);
	box-shadow: 0 14px 30px var(--shadow-color);
}
.frame-store-card.is-active {
	border-color: var(--accent);
	box-shadow: 0 0 20px var(--accent-glow);
}
.frame-store-card.is-owned {
	border-color: rgba(16, 185, 129, 0.4);
}
.frame-store-avatar-box {
	position: relative;
	width: 88px;
	height: 88px;
	border-radius: 50%;
	aspect-ratio: 1 / 1;
	margin-bottom: 14px;
}
.frame-store-avatar-img {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	display: block;
	background: var(--background);
}
.frame-store-frame-overlay {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 126%;
	height: 126%;
	max-width: none;
	max-height: none;
	pointer-events: none;
	z-index: 2;
	object-fit: contain;
}
.frame-store-name {
	font-family: 'Cinzel Decorative', 'Tourney', serif;
	font-size: 1rem;
	font-weight: 700;
	color: var(--foreground);
	margin-bottom: 4px;
}
.frame-store-desc {
	font-family: 'Outfit', sans-serif;
	font-size: 0.78rem;
	color: var(--foreground-muted);
	line-height: 1.4;
	margin-bottom: 14px;
	min-height: 2.2em;
}
.frame-store-price-row {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-bottom: 16px;
	width: 100%;
}
.price-tag-points {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-family: 'Tourney', sans-serif;
	font-size: 0.8rem;
	font-weight: 700;
	color: #fbbf24;
	background: rgba(245, 158, 11, 0.12);
	border: 1px solid rgba(245, 158, 11, 0.25);
	padding: 4px 10px;
	border-radius: 6px;
}
.price-tag-money {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-family: 'Tourney', sans-serif;
	font-size: 0.8rem;
	font-weight: 700;
	color: var(--accent);
	background: rgba(99, 102, 241, 0.12);
	border: 1px solid rgba(99, 102, 241, 0.25);
	padding: 4px 10px;
	border-radius: 6px;
}
.frame-store-actions {
	width: 100%;
}

/* ===== TAB 4: Profili Düzenle ===== */
.profile-edit-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
	margin-bottom: 20px;
}
@media (max-width: 860px) {
	.profile-edit-grid {
		grid-template-columns: 1fr;
	}
}
.profile-edit-box {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 16px;
	padding: 20px;
}
.profile-edit-box-title {
	display: flex;
	align-items: center;
	gap: 8px;
	font-family: 'Cinzel Decorative', 'Tourney', serif;
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--foreground);
	margin-bottom: 16px;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--border);
}
.profile-edit-field {
	margin-bottom: 14px;
}
.profile-edit-field:last-child {
	margin-bottom: 0;
}
.profile-edit-label {
	display: block;
	font-family: 'Tourney', sans-serif;
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--foreground-muted);
	margin-bottom: 6px;
}
.color-picker-grid {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}
.color-swatch {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	cursor: pointer;
	border: 2px solid transparent;
	transition: transform 0.2s, box-shadow 0.2s;
}
.color-swatch:hover {
	transform: scale(1.15);
}
.color-swatch.active {
	border-color: var(--foreground);
	box-shadow: 0 0 0 3px var(--accent-glow), inset 0 0 0 2px var(--background);
}
.frame-selector-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(58px, 1fr));
	gap: 10px;
}
.frame-option {
	aspect-ratio: 1;
	border-radius: 10px;
	background: var(--background);
	border: 2px solid var(--border);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 4px;
	transition: border-color 0.2s, transform 0.2s;
	position: relative;
}
.frame-option:hover {
	transform: scale(1.06);
	border-color: var(--border-strong);
}
.frame-option img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}
.frame-option.active {
	border-color: var(--accent);
	box-shadow: 0 0 12px var(--accent-glow);
}
.frame-option.locked {
	opacity: 0.4;
	cursor: not-allowed;
}
.frame-option.locked::after {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.55);
	border-radius: 8px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.5'%3E%3Crect x='3' y='11' width='18' height='11' rx='2' ry='2'%3E%3C/rect%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'%3E%3C/path%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
}

/* ==============================================
   PAYWALL & PREMIUM PAGE STYLES (Cleaned of Emojis)
   ============================================== */
.retsu-paywall {
	max-width: 620px;
	margin: 2.5rem auto;
	padding: 3rem 2rem;
	text-align: center;
}
.retsu-paywall-icon {
	color: #f59e0b;
	margin-bottom: 1.25rem;
	display: flex;
	justify-content: center;
}
.retsu-paywall h2 {
	font-family: 'Cinzel Decorative', 'Tourney', serif;
	font-size: 1.6rem;
	color: var(--foreground);
	margin-bottom: 0.5rem;
}
.retsu-paywall p {
	font-family: 'Outfit', system-ui, sans-serif;
	color: var(--foreground-muted);
	margin-bottom: 2rem;
	font-size: 0.92rem;
}
.retsu-paywall-plans, .vip-plans-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
	margin-bottom: 2rem;
}
@media (max-width: 640px) {
	.retsu-paywall-plans, .vip-plans-grid {
		grid-template-columns: 1fr;
		max-width: 320px;
		margin-left: auto;
		margin-right: auto;
	}
}
.plan-card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 14px;
	padding: 1.75rem 1.25rem;
	text-align: center;
	position: relative;
	transition: transform 0.2s, box-shadow 0.2s;
}
.plan-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 30px var(--shadow-color);
}
.plan-card.featured {
	border-color: var(--accent);
	box-shadow: 0 0 24px var(--accent-glow);
}
.plan-badge {
	position: absolute;
	top: -10px;
	left: 50%;
	transform: translateX(-50%);
	background: linear-gradient(135deg, var(--primary), var(--accent));
	color: #ffffff;
	font-family: 'Tourney', sans-serif;
	font-size: 0.65rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	padding: 3px 12px;
	border-radius: 9999px;
}
.plan-name {
	font-family: 'Tourney', sans-serif;
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--foreground-muted);
	margin-bottom: 8px;
}
.plan-price {
	font-family: 'Cinzel Decorative', 'Tourney', serif;
	font-size: 2.2rem;
	font-weight: 800;
	color: var(--foreground);
	line-height: 1;
	margin-bottom: 6px;
}
.plan-price span {
	font-size: 0.75rem;
	font-weight: 400;
	color: var(--foreground-muted);
}
.plan-save {
	font-family: 'Outfit', system-ui, sans-serif;
	font-size: 0.72rem;
	color: #10b981;
	font-weight: 600;
}

/* Premium Page Feature Table */
.vip-hero-title {
	font-family: 'Cinzel Decorative', 'Tourney', serif;
	font-size: 2.5rem;
	font-weight: 800;
	text-align: center;
	color: var(--foreground);
	margin-bottom: 0.5rem;
}
.vip-hero-desc {
	text-align: center;
	font-size: 1rem;
	color: var(--foreground-muted);
	max-width: 540px;
	margin: 0 auto 2.5rem;
}
.vip-features-table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 2rem;
}
.vip-features-table th, .vip-features-table td {
	padding: 12px 16px;
	text-align: left;
	border-bottom: 1px solid var(--border);
	font-family: 'Outfit', system-ui, sans-serif;
	font-size: 0.88rem;
}
.vip-features-table th {
	font-family: 'Tourney', sans-serif;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 0.75rem;
	color: var(--foreground-muted);
}
.vip-features-table td:nth-child(2), .vip-features-table td:nth-child(3) {
	text-align: center;
}

/* Card Premium Badge */
.card-premium-badge {
	position: absolute;
	top: 8px;
	right: 8px;
	background: linear-gradient(135deg, #f59e0b, #d97706);
	color: #ffffff;
	font-family: 'Tourney', sans-serif;
	font-size: 0.6rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	padding: 3px 8px;
	border-radius: 6px;
	z-index: 3;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

@keyframes profileFadeIn {
	from {
		opacity: 0;
		transform: translateY(8px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}
