:root { --bg-dark: #0D1B2A; --primary: #1B263B; --primary-rgb: 27, 38, 59; --light-blue: #E0E1DD; --slate: #778DA9; --accent: #56E39F; --accent-rgb: 86, 227, 159; --card-shadow: rgba(0, 0, 0, .5); --xp-bar-bg: #415A77; --xp-bar-fill: var(--accent); --kart-aciklama-yazi-boyutu: .85rem; }

body.swamp-secrets-theme { --bg-dark: #2D3A3A; --primary: #40514E; --primary-rgb: 64, 81, 78; --light-blue: #E4EFE7; --slate: #82988A; --accent: #F7FF58; --accent-rgb: 247, 255, 88; --card-shadow: rgba(0, 0, 0, 0.5); --xp-bar-bg: #5D7370; }

body.sakura-theme { --bg-dark: #2F343F; --primary: #4A505E; --primary-rgb: 74, 80, 94; --light-blue: #F5E9F0; --slate: #A9B0C0; --accent: #F472B6; --accent-rgb: 244, 114, 182; --card-shadow: rgba(0, 0, 0, .3); --xp-bar-bg: #6B7280; }

body.winter-theme { --bg-dark: #1A202C; --primary: #2D3748; --primary-rgb: 45, 55, 72; --light-blue: #F7FAFC; --slate: #718096; --accent: #FFFFFF; --accent-rgb: 255, 255, 255; --card-shadow: rgba(0, 0, 0, 0.5); --xp-bar-bg: #4A5568; }

.control-btn { position: relative; background: var(--primary); color: var(--light-blue); border: 1px solid transparent; border-radius: 50%; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all .2s; }

.control-btn:hover { border-color: var(--accent); color: var(--accent); }

.control-btn.reset { background-color: rgba(233, 76, 76, .95); color: #fff; }

.control-btn.hint { background-color: rgba(255, 193, 7, .95); color: var(--bg-dark); }

#notification-btn { background: transparent; border: none; }

/* Profil Butonu (Masaüstü Stili) */
#profile-button { background: var(--primary); padding: 8px 15px; border-radius: 20px; display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--light-blue); cursor: pointer; border: 1px solid transparent; transition: all .2s ease; }

#profile-button:hover { border-color: var(--accent); color: var(--accent); }

#profile-button i { color: var(--accent); width: 1.5rem; height: 1.5rem; flex-shrink: 0; transition: all .2s ease; }

#profile-button-name { display: block; font-size: .9rem; font-weight: 700; transition: all .2s ease; }

/* Açılır Menü (Masaüstü Stili) */
.profile-menu-container { position: relative; }
#profile-dropdown { display: none; position: absolute; top: calc(100% + 10px); right: 0; width: 280px; background: rgba(var(--primary-rgb), 0.4); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 12px; box-shadow: 0 10px 30px -15px var(--card-shadow); z-index: 100; overflow: hidden; }
#profile-dropdown.active { display: block; animation: fadeIn .25s; }
.dropdown-header { padding: 15px; border-bottom: 1px solid rgba(255, 255, 255, 0.05); display: flex; align-items: center; justify-content: space-between; }
.dropdown-header h4 { margin: 0; color: #fff; font-size: 0.95rem; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.dropdown-header h4 i { width: 16px; height: 16px; color: var(--accent); }
.dropdown-close-btn { background: none; border: none; color: var(--slate); cursor: pointer; padding: 4px; border-radius: 6px; display: flex; transition: all .2s; }
.dropdown-close-btn:hover { background: rgba(255,255,255,0.1); color: #fff; }
.dropdown-tabs { display: flex; border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
.tab-btn { flex: 1; padding: 12px 0; background: none; border: none; color: var(--slate); font-weight: 600; font-size: 0.85rem; cursor: pointer; border-bottom: 2px solid transparent; transition: all .2s; display: flex; justify-content: center; align-items: center; gap: 6px; }
.tab-btn i { width: 14px; height: 14px; }
.tab-btn.active { color: var(--accent); border-bottom-color: var(--accent); background: rgba(var(--accent-rgb), 0.05); }
.dropdown-body { height: 350px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--accent) transparent; }
@media (max-width: 480px) {
  #profile-dropdown { width: 85vw; max-width: 280px; right: -2px; }
}

/* Tablet Stilleri (900px ve altı) */
@media (max-width: 900px) {
  #profile-button { width: 44px; height: 44px; padding: 8px; border-radius: 50%; gap: 0; }
  #profile-button-name { display: none; }
  #profile-button i { width: 1.3rem; height: 1.3rem; }
}

/* Telefon Stilleri (600px ve altı) */
@media (max-width: 600px) {
  #profile-dropdown { width: 80vw; max-width: 250px; right: -2px; }
}
        
        #notification-badge { position: absolute; top: 2px; right: 2px; background: #e94c4c; color: #fff; font-size: 10px; font-weight: 700; min-width: 18px; height: 18px; border-radius: 9px; display: none; align-items: center; justify-content: center; border: 2px solid var(--primary); z-index: 2; }

        .profile-tabs { display: flex; background: rgba(0, 0, 0, 0.2); }
        .tab-btn { flex: 1; background: 0 0; border: none; color: var(--slate); padding: 12px; font-size: 1rem; font-weight: 600; cursor: pointer; transition: color .2s, background-color .2s; border-bottom: 3px solid transparent; }
        .tab-btn:hover { background-color: rgba(var(--accent-rgb), .05); }
        .tab-btn.active { color: var(--accent); border-bottom-color: var(--accent); }
        .tab-content { display: none; }
        .tab-content.active { display: block; }
        .tab-content-inner { padding: 15px; }
        .profile-form-group { margin-bottom: 15px; display: grid; gap: 10px; }
        .profile-form-group.two-col { grid-template-columns: 1fr 1fr; }
        .profile-form-group label { font-size: .8rem; color: var(--slate); margin-bottom: 4px; display: block; }
        .profile-form-group input, .profile-form-group select { width: 100%; background: rgba(0, 0, 0, 0.2); border: 1px solid rgba(255, 255, 255, 0.1); color: var(--light-blue); padding: 8px; border-radius: 6px; font-family: Poppins, sans-serif; }
        .profile-form-group select { appearance: none; -webkit-appearance: none; background-color: rgba(0, 0, 0, 0.3); background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e"); background-repeat: no-repeat; background-position: right 10px center; background-size: 16px; padding-right: 30px; cursor: pointer; color: #fff; }
        .profile-form-group select:focus { outline: none; border-color: var(--accent); }
        .profile-form-group option { background-color: var(--bg-dark); color: #ffffff; padding: 10px; font-family: Poppins, sans-serif; }
        .profile-form-group .birthdate-selects { display: grid; grid-template-columns: 1fr 1.5fr 1fr; gap: 10px; }
        .save-btn { width: 100%; background: var(--accent); color: var(--bg-dark); border: none; padding: 10px; border-radius: 6px; font-weight: 700; cursor: pointer; transition: all .2s; }
        .save-btn:hover { box-shadow: 0 0 10px var(--accent); }
        .level-progress-container { margin-top: 12px; }
        .level-info { display: flex; justify-content: space-between; font-size: .9rem; margin-bottom: 5px; font-weight: 600; }
        .xp-bar { width: 100%; height: 8px; background: var(--xp-bar-bg); border-radius: 4px; overflow: hidden; }
        .xp-bar-fill { width: 0; height: 100%; background: var(--xp-bar-fill); border-radius: 4px; transition: width .5s; }
        .stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
        .stat-card { background: rgba(0, 0, 0, 0.2); padding: 10px; border-radius: 8px; text-align: center; }
        .stat-card .value { font-size: 1.2rem; font-weight: 700; color: #fff; }
        .stat-card .label { font-size: .8rem; color: var(--slate); }
        .controls-section { border-top: 1px solid rgba(255, 255, 255, 0.1); margin-top: 12px; padding-top: 12px; }
        .controls-section h4 { text-align: center; color: var(--slate); font-size: .9rem; margin-bottom: 10px; }
        .theme-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 15px; }
        .theme-btn { padding: 10px; background: rgba(0, 0, 0, 0.2); border: 1px solid rgba(255, 255, 255, 0.1); color: var(--slate); border-radius: 8px; font-weight: 600; font-size: 0.9rem; cursor: pointer; transition: all 0.2s ease; text-align: center; }
        .theme-btn:hover { border-color: rgba(255, 255, 255, 0.3); color: var(--light-blue); }
        .theme-btn.active { background: rgba(var(--accent-rgb), 0.15); border-color: var(--accent); color: var(--accent); box-shadow: 0 0 10px rgba(var(--accent-rgb), 0.2); }
        .sound-buttons { display: flex; flex-direction: column; gap: 8px; }
        .audio-toggle-btn { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 12px 15px; background: rgba(0,0,0,0.2); border: 1px solid rgba(255,255,255,0.1); color: var(--light-blue); border-radius: 8px; font-size: 0.95rem; font-weight: 600; cursor: pointer; transition: all 0.2s ease; }
        .audio-toggle-btn:hover { border-color: var(--accent); }
        .audio-toggle-btn.muted-active { background: rgba(233, 76, 76, 0.15); border-color: rgba(233, 76, 76, 0.4); color: #e94c4c; }
        .audio-toggle-btn.muted-active .status-text { color: #e94c4c; }
        .audio-toggle-btn .status-text { color: var(--accent); font-weight: 700; }
        .notifications-header { display: flex; justify-content: space-between; align-items: center; padding-bottom: 10px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); margin-bottom: 10px; }
        .notifications-header h3 { font-size: 1rem; color: #fff; margin: 0; }
        .notification-actions button { background: 0 0; border: none; color: var(--slate); cursor: pointer; font-size: .85rem; margin-left: 10px; padding: 4px; }
        .notification-actions button:hover { color: var(--accent); }
        #notification-list { max-height: 280px; overflow-y: auto; padding-right: 5px; }
        .notification-item { padding: 10px 12px; margin-bottom: 8px; border-radius: 14px; font-size: .85rem; color: var(--light-blue); display: flex; align-items: flex-start; gap: 12px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); transition: border-color .2s ease, background .2s ease; }
        .notification-item:last-child { margin-bottom: 0; }
        .notif-icon-wrap { width: 36px; height: 36px; border-radius: 11px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: rgba(var(--accent-rgb), 0.12); border: 1px solid rgba(var(--accent-rgb), 0.28); color: var(--accent); }
        .notif-icon-wrap i { width: 17px; height: 17px; }
        .notification-item.unread { background: rgba(var(--accent-rgb), 0.08); border-color: rgba(var(--accent-rgb), 0.28); }
        .notification-item.unread .notif-icon-wrap { box-shadow: 0 0 12px rgba(var(--accent-rgb), 0.25); }
        .notification-item-content { flex: 1; min-width: 0; }
        .notif-title { display: block; margin: 0 0 4px; font-size: .88rem; color: #fff; font-weight: 700; }
        .notif-message { margin: 0 0 6px; line-height: 1.45; color: var(--light-blue); font-size: .82rem; }
        .notif-date { font-size: .72rem; color: var(--slate); font-weight: 600; }
        .no-notifications { padding: 28px 15px; text-align: center; color: var(--slate); display: flex; flex-direction: column; align-items: center; gap: 10px; }
        .no-notifications i { width: 28px; height: 28px; opacity: .5; }
        .no-notifications p { margin: 0; font-size: .85rem; }
        .title .beta-text { font-size: 50%; font-weight: 700; color: var(--slate); vertical-align: top; margin-left: 4px; }
        * { box-sizing: border-box; margin: 0; padding: 0; }
        @keyframes fadeIn { from { opacity: 0; transform: translateY(10px) } to { opacity: 1; transform: translateY(0) } }
        @keyframes heartbeat { 0%, 100% { box-shadow: 0 0 15px 5px var(--accent) } 50% { box-shadow: 0 0 25px 10px var(--accent) } }
        @keyframes errorGlow { 50% { box-shadow: 0 0 25px 10px rgba(233, 76, 76, .8) } }
        html { font-size: 16px; scroll-behavior: smooth; }
        @media (max-width:900px) { html { font-size: 15px; } }
        @media (max-width:600px) { html { font-size: 14px; } }
        body, html { width: 100%; height: 100%; font-family: Poppins, sans-serif; background-color: var(--bg-dark); color: var(--light-blue); -webkit-tap-highlight-color: transparent; -webkit-touch-callout: none; user-select: none; overflow-x: hidden; }
        input, textarea, select { user-select: auto; }
        .app-container { width: 100%; max-width: 900px; margin: 0 auto; padding: calc(15px + var(--safe-area-inset-top, env(safe-area-inset-top, 0px))) calc(15px + var(--safe-area-inset-right, env(safe-area-inset-right, 0px))) calc(20px + var(--safe-area-inset-bottom, env(safe-area-inset-bottom, 0px))) calc(15px + var(--safe-area-inset-left, env(safe-area-inset-left, 0px))); display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; box-sizing: border-box; }
        @media (min-width:600px) { .app-container { padding: calc(20px + var(--safe-area-inset-top, env(safe-area-inset-top, 0px))) calc(20px + var(--safe-area-inset-right, env(safe-area-inset-right, 0px))) calc(20px + var(--safe-area-inset-bottom, env(safe-area-inset-bottom, 0px))) calc(20px + var(--safe-area-inset-left, env(safe-area-inset-left, 0px))); } }
        .top-bar { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; margin-bottom: 20px; animation: fadeIn .5s ease-out; flex-wrap: wrap; gap: 10px; flex-shrink: 0; }
        .top-bar .title { font-size: 1.5rem; font-weight: 700; color: #fff; display: flex; align-items: center; }
        .top-bar .title img { height: 2.5rem; margin-right: 10px; cursor: pointer; }
        @media (min-width:600px) { .top-bar .title img { height: 3rem; margin-right: 15px; } }
        .top-bar-right { display: flex; align-items: center; gap: 10px; }
        @media (min-width:600px) { .top-bar-right { gap: 15px; } }
        
        #main-content { display: flex; flex-direction: column; flex-grow: 1; }
        
        .player-stat { padding: 8px 12px; border-radius: 8px; display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 1.1rem; border: 1px solid transparent; color: var(--light-blue); }
        .player-stat > span { color: var(--accent); }
        .player-stat i, .player-stat svg { color: var(--accent); width: 22px; height: 22px; }

        .main-menu-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; animation: fadeIn .7s ease-out; }
        @media (min-width:768px) { .main-menu-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
        .module-card { position: relative; aspect-ratio: 16/10; border-radius: 12px; overflow: hidden; cursor: pointer; box-shadow: 0 10px 30px -15px var(--card-shadow); transition: transform .3s ease-out, box-shadow .3s ease-out; background-color: var(--primary); display: flex; flex-direction: column; justify-content: flex-end; padding: 1.2rem; text-decoration: none; color: inherit; }
        .module-card-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: 0; pointer-events: none; }
        .module-card:hover { transform: translateY(-5px); box-shadow: 0 20px 30px -15px var(--card-shadow); }
        .module-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .8) 0, rgba(0, 0, 0, .1) 60%); pointer-events: none; z-index: 0; }
        .module-content { position: relative; z-index: 1; }
        .module-content h2 { font-size: 1.4rem; font-weight: 700; color: #fff; }
        .module-indicator { position: absolute; top: 15px; right: 15px; background: rgba(0, 0, 0, .6); padding: 5px 12px; border-radius: 15px; font-size: .9rem; font-weight: 600; color: #fff; z-index: 1; backdrop-filter: blur(4px); }
        .module-content .module-description { font-size: var(--kart-aciklama-yazi-boyutu); color: var(--light-blue); line-height: 1.3; margin-bottom: 8px; font-weight: 400; }
        .module-content .module-description p { margin: 0; padding: 0; }
        .content-section { margin-top: 40px; animation: fadeIn .9s ease-out; }
        .section-title { font-size: 1.2rem; font-weight: 700; margin-bottom: 16px; color: #fff; text-align: left; display: flex; align-items: center; gap: 10px; letter-spacing: .2px; }
        .section-title::before { content: ""; width: 4px; height: 1.05em; border-radius: 999px; background: linear-gradient(180deg, var(--accent), rgba(var(--accent-rgb), 0.25)); flex-shrink: 0; box-shadow: 0 0 8px rgba(var(--accent-rgb), 0.5); }
        .info-card-img { width: 50px; height: 80px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
        @media (min-width:600px) { .info-card-img { width: 60px; height: 96px; } }
        .focus-wrapper { position: relative; }
        .daily-focus-container { display: flex; overflow-x: auto; gap: 15px; padding-bottom: 5px; scroll-snap-type: x mandatory; scrollbar-width: none; -ms-overflow-style: none; }
        .daily-focus-container::-webkit-scrollbar { display: none; }
        .daily-focus-container>.info-card { flex: 0 0 100%; scroll-snap-align: start; box-sizing: border-box; border: 2px solid transparent; transition: border-color .3s ease, box-shadow .3s ease; padding-left: 60px; padding-right: 60px; padding-bottom: 40px; position: relative; }
        .daily-focus-container>.info-card.active { border-color: var(--card-color, var(--accent)); box-shadow: 0 0 15px var(--card-color-glow, rgba(var(--accent-rgb), 0.4)); }
        .focus-nav-btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; background-color: rgba(var(--primary-rgb), .7); color: var(--light-blue); border: 1px solid var(--slate); border-radius: 50%; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all .2s ease; backdrop-filter: blur(4px); }
        .focus-nav-btn:hover { border-color: var(--accent); color: var(--accent); }
        .focus-nav-btn:disabled { opacity: .3; cursor: not-allowed; }
        #focus-prev-btn { left: 12px; }
        #focus-next-btn { right: 12px; }
        .focus-dots { position: absolute; bottom: 15px; left: 0; width: 100%; display: flex; justify-content: center; gap: 8px; z-index: 3; }
        .dot { width: 10px; height: 10px; border-radius: 50%; background-color: rgba(255,255,255,0.3); transition: background-color .3s ease, transform .3s ease; cursor: pointer; }
        .dot.active { background-color: var(--accent); transform: scale(1.2); }
        /* --- Modern Daily Focus cards --- */
        .daily-focus-container > .info-card.focus-card { flex-direction: column; align-items: stretch; gap: 14px; min-height: 200px; border-radius: 20px; padding-top: 1.3rem; background: radial-gradient(135% 90% at 0% 0%, rgba(var(--card-rgb, var(--accent-rgb)), 0.18), transparent 55%), linear-gradient(165deg, rgba(var(--primary-rgb), 0.92), var(--primary)); border: 1.5px solid rgba(var(--card-rgb, var(--accent-rgb)), 0.22); box-shadow: 0 10px 30px rgba(0,0,0,0.28); }
        .daily-focus-container > .info-card.focus-card.active { border-color: var(--card-color, var(--accent)); box-shadow: 0 14px 36px rgba(0,0,0,0.32), 0 0 22px var(--card-color-glow, rgba(var(--accent-rgb), 0.4)); }
        .focus-card.tappable { cursor: pointer; transition: transform .25s ease, box-shadow .25s ease; }
        .focus-card.tappable:hover { transform: translateY(-3px); }
        .focus-card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
        .focus-badge { display: inline-flex; align-items: center; gap: 7px; padding: 6px 13px; border-radius: 999px; background: rgba(var(--card-rgb, var(--accent-rgb)), 0.14); border: 1px solid rgba(var(--card-rgb, var(--accent-rgb)), 0.32); color: var(--card-color, var(--accent)); font-size: 0.78rem; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; white-space: nowrap; }
        .focus-badge i { width: 15px; height: 15px; }
        .focus-meta-right { font-size: 0.74rem; color: var(--slate); font-weight: 600; text-align: right; }
        .focus-body { display: flex; gap: 14px; align-items: stretch; }
        .focus-visual { width: 86px; height: 128px; border-radius: 14px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: rgba(var(--card-rgb, var(--accent-rgb)), 0.12); border: 1px solid rgba(var(--card-rgb, var(--accent-rgb)), 0.4); box-shadow: 0 6px 18px rgba(var(--card-rgb, var(--accent-rgb)), 0.18), inset 0 0 18px rgba(var(--card-rgb, var(--accent-rgb)), 0.08); overflow: hidden; position: relative; }
        .focus-visual img { width: 100%; height: 100%; object-fit: cover; }
        .focus-visual.bare { background: none; border: none; box-shadow: none; }
        .focus-body-text { display: flex; flex-direction: column; flex: 1; min-width: 0; justify-content: flex-start; }
        .focus-body-text h4 { margin: 0 0 6px; color: #fff; font-size: 1.05rem; font-weight: 700; line-height: 1.25; }
        .focus-desc { margin: 0; color: var(--light-blue); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
        .focus-chips { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,0.08); }
        .focus-divider { border-top: 1px solid rgba(255,255,255,0.08); }
        .focus-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; font-size: 0.74rem; font-weight: 600; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); color: #cfd6e4; }
        .focus-chip i { width: 13px; height: 13px; color: var(--card-color, var(--accent)); }
        .focus-chip strong { color: #fff; font-weight: 700; }
        .focus-chip.cta { background: rgba(var(--card-rgb, var(--accent-rgb)), 0.12); border-color: rgba(var(--card-rgb, var(--accent-rgb)), 0.3); color: var(--card-color, var(--accent)); }
        .focus-chip.cta strong { color: var(--card-color, var(--accent)); }
        /* --- Modern Discover (Keşfet) card --- */
        .discover-card { display: block; text-decoration: none; position: relative; overflow: hidden; border-radius: 20px; padding: 1.2rem; border: 1.5px solid rgba(var(--accent-rgb), 0.22); background: radial-gradient(130% 90% at 100% 0%, rgba(var(--accent-rgb), 0.16), transparent 55%), linear-gradient(160deg, rgba(var(--primary-rgb), 0.92), var(--primary)); box-shadow: 0 10px 30px rgba(0,0,0,0.28); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
        .discover-card:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: 0 14px 36px rgba(0,0,0,0.32), 0 0 22px rgba(var(--accent-rgb), 0.3); }
        .discover-carousel { width: 100%; }
        .discover-track {
          display: flex;
          overflow-x: auto;
          scroll-snap-type: x mandatory;
          -webkit-overflow-scrolling: touch;
          scrollbar-width: none;
          gap: 0;
        }
        .discover-track::-webkit-scrollbar { display: none; }
        .discover-slide {
          flex: 0 0 100%;
          width: 100%;
          scroll-snap-align: center;
          scroll-snap-stop: always;
          padding: 2px 0;
          box-sizing: border-box;
        }
        .discover-slide .discover-card { width: 100%; box-sizing: border-box; }
        .discover-dots {
          display: flex;
          justify-content: center;
          align-items: center;
          gap: 7px;
          margin-top: 12px;
        }
        .discover-dot {
          width: 7px;
          height: 7px;
          padding: 0;
          border: none;
          border-radius: 999px;
          background: rgba(255,255,255,0.28);
          cursor: pointer;
          transition: width .25s ease, background .25s ease;
        }
        .discover-dot.active {
          width: 20px;
          background: var(--accent);
        }
        .discover-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
        .discover-badge { display: inline-flex; align-items: center; gap: 7px; padding: 6px 13px; border-radius: 999px; background: rgba(var(--accent-rgb), 0.14); border: 1px solid rgba(var(--accent-rgb), 0.32); color: var(--accent); font-size: 0.78rem; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; white-space: nowrap; }
        .discover-badge i { width: 15px; height: 15px; }
        .discover-tag { font-size: 0.7rem; color: var(--slate); font-weight: 600; text-transform: uppercase; letter-spacing: .5px; }
        .discover-body { display: flex; gap: 14px; align-items: center; }
        .discover-icon { width: 90px; height: 90px; border-radius: 20px; flex-shrink: 0; object-fit: cover; border: 1px solid rgba(var(--accent-rgb), 0.4); box-shadow: 0 6px 18px rgba(var(--accent-rgb), 0.22), inset 0 0 18px rgba(var(--accent-rgb), 0.08); }
        .discover-info { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
        .discover-info h3 { margin: 0 0 4px; color: #fff; font-size: 1.32rem; font-weight: 700; display: flex; align-items: center; gap: 7px; }
        .discover-info h3 .verified { color: var(--accent); width: 20px; height: 20px; }
        .discover-info p { margin: 0; color: var(--light-blue); font-size: 0.85rem; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
        .discover-cta { align-self: flex-start; display: inline-flex; align-items: center; justify-content: center; max-width: 100%; margin: 10px 0 0; padding: 6px 15px; border-radius: 9px; background: var(--accent); color: var(--bg-dark); font-weight: 800; font-size: 0.82rem; letter-spacing: .3px; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: filter .2s ease, transform .2s ease; }
        .discover-card:hover .discover-cta { filter: brightness(1.06); transform: translateY(-1px); }
        /* --- Slimmer Focus & Discover cards on mobile --- */
        @media (max-width:600px) {
          .daily-focus-container > .info-card.focus-card { gap: 9px; min-height: 165px; border-radius: 15px; padding-top: 0.85rem; padding-bottom: 38px; padding-left: 44px; padding-right: 44px; }
          .focus-card-head { gap: 8px; }
          .focus-badge { padding: 3px 11px; font-size: 0.62rem; gap: 5px; letter-spacing: .3px; line-height: 1; }
          .focus-badge i { width: 11px; height: 11px; }
          .focus-meta-right { font-size: 0.64rem; }
          .focus-body { gap: 10px; }
          .focus-visual { width: 62px; height: 88px; border-radius: 10px; }
          .focus-body-text h4 { font-size: 0.88rem; margin-bottom: 2px; }
          .focus-desc { font-size: 0.75rem; line-height: 1.35; -webkit-line-clamp: 3; }
          .focus-chips { gap: 6px; padding-top: 8px; }
          .focus-chip { padding: 3px 10px; font-size: 0.62rem; gap: 5px; line-height: 1; }
          .focus-chip i { width: 11px; height: 11px; }

          .discover-card { border-radius: 15px; padding: 0.85rem; }
          .discover-head { margin-bottom: 9px; gap: 8px; }
          .discover-badge { padding: 3px 11px; font-size: 0.62rem; gap: 5px; letter-spacing: .3px; line-height: 1; }
          .discover-badge i { width: 11px; height: 11px; }
          .discover-tag { font-size: 0.6rem; }
          .discover-body { gap: 10px; }
          .discover-icon { width: 68px; height: 68px; border-radius: 15px; }
          .discover-info h3 { font-size: 1.12rem; margin-bottom: 2px; }
          .discover-info h3 .verified { width: 17px; height: 17px; }
          .discover-info p { font-size: 0.75rem; line-height: 1.35; -webkit-line-clamp: 2; }
          .discover-cta { margin: 8px 0 0; padding: 4px 12px; font-size: 0.73rem; border-radius: 8px; line-height: 1.25; }
        }
        .welcome-banner { position: relative; display: flex; flex-direction: column; justify-content: center; padding: 1.6rem; border-radius: 20px; overflow: hidden; background-size: cover; background-position: center; color: #fff; text-align: left; border: 1.5px solid rgba(var(--accent-rgb), 0.22); box-shadow: 0 10px 30px rgba(0,0,0,0.28); }
        .welcome-banner::after { content: ''; position: absolute; inset: 0; background: radial-gradient(130% 90% at 0% 0%, rgba(var(--accent-rgb), 0.18), transparent 55%), linear-gradient(100deg, rgba(0,0,0,.92) 0, rgba(0,0,0,.72) 55%, rgba(0,0,0,.35) 100%); }
        .welcome-content { position: relative; z-index: 1; max-width: 500px; display: flex; flex-direction: column; gap: 12px; }
        .welcome-badge { align-self: flex-start; display: inline-flex; align-items: center; gap: 7px; padding: 6px 13px; border-radius: 999px; background: rgba(var(--accent-rgb), 0.16); border: 1px solid rgba(var(--accent-rgb), 0.34); color: var(--accent); font-size: 0.78rem; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; }
        .welcome-badge i { width: 15px; height: 15px; }
        .welcome-content h3 { font-size: 1.6rem; font-weight: 700; margin: 0; }
        .welcome-subtitle { font-size: 0.95rem; color: var(--light-blue); margin: 0; font-weight: 400; line-height: 1.5; }
        .welcome-chips { display: grid; grid-template-columns: repeat(2, max-content); gap: 8px 18px; margin: 2px 0; align-items: center; }
        .welcome-chips .focus-chip { border: none; background: transparent; padding-left: 0; padding-right: 0; justify-self: start; }
        .welcome-cta { align-self: flex-start; display: inline-flex; align-items: center; justify-content: center; gap: 8px; margin-top: 4px; padding: 11px 20px; border-radius: 12px; background: var(--accent); color: var(--bg-dark); font-weight: 700; font-size: 0.9rem; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
        .welcome-cta i { width: 17px; height: 17px; }
        .welcome-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(var(--accent-rgb), 0.35); }
        .info-card-button { display: inline-block; margin-top: 1rem; font-weight: 600; color: var(--bg-dark); background-color: var(--accent); padding: 10px 20px; border-radius: 20px; text-decoration: none; cursor: pointer; border: none; font-size: 0.9rem; transition: all .2s ease; }
        .info-card-button:hover { transform: scale(1.05); box-shadow: 0 0 15px var(--accent); }
        @media (max-width:600px) {
          .welcome-banner { padding: 1.1rem; border-radius: 15px; }
          .welcome-content { gap: 9px; }
          .welcome-badge { padding: 3px 11px; font-size: 0.62rem; gap: 5px; letter-spacing: .3px; line-height: 1; }
          .welcome-badge i { width: 11px; height: 11px; }
          .welcome-content h3 { font-size: 1.2rem; }
          .welcome-subtitle { font-size: 0.8rem; line-height: 1.4; }
          .welcome-chips { gap: 6px 14px; margin: 0; }
          .welcome-cta { margin-top: 2px; padding: 8px 16px; font-size: 0.78rem; border-radius: 9px; line-height: 1; }
          .welcome-cta i { width: 15px; height: 15px; }
        }
        .screen { display: none; width: 100%; animation: fadeIn .5s ease-out; }
        .screen.active { display: flex; flex-direction: column; flex-grow: 1; }
        .screen-header { display: flex; align-items: center; gap: 15px; margin-bottom: 30px; flex-shrink: 0; }
        .back-button { background: var(--primary); border: 1px solid var(--slate); color: var(--light-blue); cursor: pointer; padding: 8px 15px; border-radius: 20px; display: flex; align-items: center; gap: 8px; font-weight: 600; transition: all .2s ease; }
        .back-button:hover { background-color: rgba(var(--primary-rgb), 0.8); color: var(--accent); border-color: var(--accent); }
        .back-button i { width: 1.2rem; height: 1.2rem; }
        .screen-title { font-size: 2rem; font-weight: 700; color: #fff; }
        .panel-content { background: var(--primary); border-radius: 12px; padding: 1.2rem; display: flex; flex-direction: column; flex-grow: 1; }
        @media (min-width:600px) { .panel-content { padding: 2rem; } }
        /* Galeri/açılım üzerinde blur(8px) WebView'de kasma yapıyordu; koyu overlay yeterli. */
        .popup-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, .82); z-index: 1000; display: flex; align-items: center; justify-content: center; animation: fadeIn .3s; padding: 15px; }
        .card-modal-content { display: flex; flex-direction: column; gap: 20px; align-items: center; background: linear-gradient(145deg, rgba(40,40,55,0.95), rgba(15,15,25,0.95)); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.1); padding: 30px; border-radius: 24px; max-width: 850px; width: 100%; box-shadow: 0 10px 30px rgba(0,0,0,0.8), inset 0 1px 1px rgba(255,255,255,0.1); position: relative; }
        @media (min-width:768px) { .card-modal-content { flex-direction: row; align-items: flex-start; gap: 35px; padding: 45px; } }
        .card-modal-close-btn { position: absolute; top: 15px; right: 15px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 50%; color: rgba(255,255,255,0.7); cursor: pointer; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; transition: all 0.3s ease; }
        .card-modal-close-btn:hover { background: rgba(233, 76, 76, 0.2); color: #e94c4c; border-color: rgba(233, 76, 76, 0.4); transform: rotate(90deg); }
        .card-modal-image-wrapper { flex-shrink: 0; width: clamp(200px, 60vw, 240px); }
        @media (min-width:768px) { .card-modal-image-wrapper { width: 280px; } }
        .card-modal-image-wrapper .draw-card-inner { width: 100%; height: auto; aspect-ratio: 220/352; cursor: default; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.5), 0 0 20px rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); }
        .card-modal-info-wrapper { flex-grow: 1; text-align: left; width: 100%; }
        .card-modal-info-wrapper .info-bubble-category { justify-content: flex-start; }
        .card-modal-info-wrapper .info-bubble-title { font-size: clamp(1.5rem, 5vw, 2rem); color: #fff; margin-bottom: 10px; }
        .card-modal-info-wrapper .info-bubble-message { font-size: 1rem; color: var(--light-blue); line-height: 1.6; }
        .card-modal-actions { display: flex; gap: 10px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--slate); }
        .popup-content { display: flex; flex-direction: column; max-width: 320px; width: 90%; text-align: center; background: var(--primary); padding: 20px; border-radius: 15px; box-shadow: 0 10px 50px rgba(0, 0, 0, .5); margin: auto; }
        .popup-content.game-modal, .custom-popup-content.game-modal { border-radius: 20px; padding: 1.2rem 1.2rem; border: 1.5px solid rgba(var(--accent-rgb), 0.22); background: radial-gradient(130% 90% at 0% 0%, rgba(var(--accent-rgb), 0.16), transparent 55%), linear-gradient(160deg, rgba(var(--primary-rgb), 0.96), var(--primary)); box-shadow: 0 16px 40px rgba(0,0,0,0.45), 0 0 24px rgba(var(--accent-rgb), 0.12); margin: auto; }
        .game-modal-badge { align-self: center; display: inline-flex; align-items: center; gap: 7px; padding: 5px 13px; border-radius: 999px; background: rgba(var(--accent-rgb), 0.14); border: 1px solid rgba(var(--accent-rgb), 0.32); color: var(--accent); font-size: 0.72rem; font-weight: 700; letter-spacing: .35px; text-transform: uppercase; margin-bottom: 14px; }
        .game-modal-badge i { width: 14px; height: 14px; }
        .game-modal-text { color: var(--light-blue); font-size: 1rem; line-height: 1.55; margin: 0 0 22px; }
        .game-modal-text.draw-limit-detail { text-align: left; font-size: 0.92rem; line-height: 1.6; }
        .level-complete-modal { display: flex; flex-direction: column; align-items: center; gap: 10px; }
        .level-complete-title { margin: 0; font-size: 1.35rem; font-weight: 800; color: #fff; line-height: 1.25; }
        .level-complete-sub { margin: 0; color: var(--slate); font-size: 0.88rem; }
        .level-reward-chip { display: inline-flex; align-items: center; gap: 8px; margin: 6px 0 4px; padding: 8px 16px; border-radius: 999px; background: rgba(var(--accent-rgb), 0.16); border: 1px solid rgba(var(--accent-rgb), 0.34); color: var(--accent); font-size: 1.05rem; font-weight: 800; }
        .level-reward-chip i { width: 18px; height: 18px; }
        .level-loading-row { display: inline-flex; align-items: center; gap: 10px; margin-top: 8px; padding: 8px 14px; border-radius: 12px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); color: var(--light-blue); font-size: 0.82rem; font-weight: 600; }
        .level-loading-spinner { width: 18px; height: 18px; border: 2px solid rgba(var(--accent-rgb), 0.2); border-top-color: var(--accent); border-radius: 50%; animation: spin 0.8s linear infinite; flex-shrink: 0; }
        @keyframes spin { to { transform: rotate(360deg); } }

        /* Modern game toasts */
        .game-toast, .custom-alert-banner, .badge-notification, .level-up-notification, .score-gain-notification { position: fixed; top: calc(16px + var(--safe-area-inset-top, env(safe-area-inset-top, 0px))); left: 50%; transform: translateX(-50%); width: min(92vw, 420px); padding: 12px 14px; border-radius: 16px; z-index: 9999; display: flex; align-items: flex-start; gap: 12px; box-shadow: 0 12px 32px rgba(0,0,0,0.38); border: 1.5px solid rgba(255,255,255,0.1); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
        .game-toast-icon { width: 36px; height: 36px; border-radius: 11px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
        .game-toast-icon i { width: 18px; height: 18px; }
        .game-toast-body { flex: 1; min-width: 0; font-size: 0.88rem; font-weight: 600; line-height: 1.45; color: #fff; text-align: left; }
        .game-toast--info, .custom-alert-banner:not(.game-toast--error):not(.game-toast--success):not(.game-toast--warning) { background: radial-gradient(130% 90% at 0% 0%, rgba(var(--accent-rgb), 0.14), transparent 55%), linear-gradient(160deg, rgba(var(--primary-rgb), 0.96), var(--primary)); border-color: rgba(var(--accent-rgb), 0.28); animation: toastSlide 4s forwards; }
        .game-toast--info .game-toast-icon, .custom-alert-banner:not(.game-toast--error):not(.game-toast--success):not(.game-toast--warning) .game-toast-icon { background: rgba(var(--accent-rgb), 0.16); border: 1px solid rgba(var(--accent-rgb), 0.3); color: var(--accent); }
        .game-toast--success, .custom-alert-banner.success { background: radial-gradient(130% 90% at 0% 0%, rgba(52,211,153,0.18), transparent 55%), linear-gradient(160deg, rgba(20,60,45,0.96), rgba(15,40,30,0.98)); border-color: rgba(52,211,153,0.4); animation: toastSlide 4s forwards; }
        .game-toast--success .game-toast-icon, .custom-alert-banner.success .game-toast-icon { background: rgba(52,211,153,0.18); border: 1px solid rgba(52,211,153,0.4); color: #34d399; }
        .game-toast--warning { background: radial-gradient(130% 90% at 0% 0%, rgba(251,191,36,0.18), transparent 55%), linear-gradient(160deg, rgba(60,45,15,0.96), rgba(40,30,10,0.98)); border-color: rgba(251,191,36,0.4); animation: toastSlide 4s forwards; }
        .game-toast--warning .game-toast-icon { background: rgba(251,191,36,0.16); border: 1px solid rgba(251,191,36,0.4); color: #fbbf24; }
        .game-toast--error, .custom-alert-banner.error { background: radial-gradient(130% 90% at 0% 0%, rgba(233,76,76,0.18), transparent 55%), linear-gradient(160deg, rgba(60,20,20,0.96), rgba(40,15,15,0.98)); border-color: rgba(233,76,76,0.4); animation: toastSlide 4s forwards; }
        .game-toast--error .game-toast-icon, .custom-alert-banner.error .game-toast-icon { background: rgba(233,76,76,0.18); border: 1px solid rgba(233,76,76,0.4); color: #f87171; }
        .game-toast--level, .level-up-notification { background: radial-gradient(130% 90% at 0% 0%, rgba(167,139,250,0.2), transparent 55%), linear-gradient(160deg, rgba(var(--primary-rgb), 0.96), var(--primary)); border-color: rgba(167,139,250,0.35); animation: toastSlide 3s forwards; }
        .game-toast--level .game-toast-icon { background: rgba(167,139,250,0.18); border: 1px solid rgba(167,139,250,0.35); color: #a78bfa; }
        .game-toast--badge, .badge-notification { background: radial-gradient(130% 90% at 0% 0%, rgba(251,191,36,0.18), transparent 55%), linear-gradient(160deg, rgba(var(--primary-rgb), 0.96), var(--primary)); border-color: rgba(251,191,36,0.35); animation: toastSlide 3.5s forwards; }
        .game-toast--badge .game-toast-icon { background: rgba(251,191,36,0.16); border: 1px solid rgba(251,191,36,0.35); color: #fbbf24; }
        .game-toast--bonus { background: radial-gradient(130% 90% at 0% 0%, rgba(52,211,153,0.18), transparent 55%), linear-gradient(160deg, rgba(var(--primary-rgb), 0.96), var(--primary)); border-color: rgba(52,211,153,0.35); animation: toastSlide 3.5s forwards; }
        .game-toast--bonus .game-toast-icon { background: rgba(52,211,153,0.16); border: 1px solid rgba(52,211,153,0.35); color: #34d399; }
        .score-gain-notification { background: radial-gradient(130% 90% at 0% 0%, rgba(var(--accent-rgb), 0.2), transparent 55%), linear-gradient(160deg, rgba(var(--primary-rgb), 0.96), var(--primary)); border-color: rgba(var(--accent-rgb), 0.35); animation: toastSlide 2s forwards; }
        .score-gain-notification .game-toast-icon { background: rgba(var(--accent-rgb), 0.18); border: 1px solid rgba(var(--accent-rgb), 0.35); color: var(--accent); }
        .score-gain-notification.session { border-color: rgba(253,230,138,0.4); }
        .score-gain-notification.session .game-toast-icon { color: #fde68a; border-color: rgba(253,230,138,0.4); background: rgba(253,230,138,0.12); }
        @keyframes toastSlide { 0% { opacity: 0; transform: translateX(-50%) translateY(-16px); } 12% { opacity: 1; transform: translateX(-50%) translateY(0); } 82% { opacity: 1; transform: translateX(-50%) translateY(0); } 100% { opacity: 0; transform: translateX(-50%) translateY(-12px); } }
        
.match-game-header { display: flex; align-items: center; justify-content: space-between; width: 100%; margin-bottom: 25px; background: rgba(30,30,30,0.65); border: 1px solid rgba(255,255,255,0.1); border-radius: 20px; padding: 10px 20px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 10px 30px rgba(0,0,0,0.25); overflow-x: auto; scrollbar-width: none; white-space: nowrap; }
.match-game-header::-webkit-scrollbar { display: none; }

.mg-stats, .mg-actions { display: flex; align-items: center; }
.mg-stats { gap: 16px; }
.mg-actions { gap: 8px; }

.mg-stat { display: flex; align-items: center; gap: 6px; cursor: default; }
.mg-stat i, .mg-stat svg { width: 16px; height: 16px; color: rgba(255,255,255,0.7); display: block; }
.mg-label { color: rgba(255,255,255,0.6); font-weight: 500; font-size: 14px; margin-right: -2px; }
.mg-val { color: #fff; font-weight: 600; font-size: 16px; line-height: 1; }

.mg-separator { width: 1px; height: 20px; background: rgba(255,255,255,0.15); margin: 0 4px; }

.mg-btn { width: 32px; height: 32px; min-width: 32px; background: rgba(255,255,255,0.1); border: none; border-radius: 50%; color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; transition: all 0.2s; }
.mg-btn i, .mg-btn svg { width: 16px; height: 16px; display: block; }
.mg-btn:hover { background: rgba(255,255,255,0.25); transform: scale(1.05); }

.mg-label-top { color: rgba(255,255,255,0.6); font-weight: 500; font-size: 14px; }

@media (max-width: 600px) {
    .match-game-header { padding: 6px 8px; justify-content: space-between; gap: 4px; border-radius: 16px; }
    .mg-label { display: none; }
    .mg-label-top { font-size: 10px; }
    .mg-stats { gap: 6px; }
    .mg-stat { gap: 2px; }
    .mg-stat i, .mg-stat svg { width: 12px; height: 12px; }
    .mg-val { font-size: 11px; }
    .mg-btn { width: 24px; height: 24px; min-width: 24px; }
    .mg-btn i, .mg-btn svg { width: 12px; height: 12px; }
    .mg-separator { height: 12px; margin: 0 2px; }
}

        .match-game-board { display: grid; grid-template-columns: repeat(var(--mg-cols, 4), var(--mg-card-w, 80px)); gap: var(--mg-gap, 15px); perspective: 1000px; justify-content: center; align-content: center; flex: 1 1 auto; width: 100%; margin: 0 auto; }
        
        .wave-enter { animation: waveEnter 0.5s ease-out forwards; opacity: 0; transform: translateY(20px); }
        .wave-exit { animation: waveExit 0.4s ease-in forwards; pointer-events: none; }
        @keyframes waveEnter { to { opacity: 1; transform: translateY(0); } }
        @keyframes waveExit { to { opacity: 0; transform: scale(0.8); } }
        
        .match-card-outer { aspect-ratio: 5 / 8; cursor: pointer; transition: transform .3s; }
        .slot-empty { pointer-events: none; opacity: 0 !important; }
        .match-card-inner { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .45s, box-shadow .3s ease; border-radius: 16px; box-shadow: 0 10px 20px var(--card-shadow); }
        @keyframes floatCard { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
        .match-card-outer.flipped .match-card-inner { transform: rotateY(180deg); }
        .match-card-inner.error-glow { animation: errorGlow .6s forwards; }
        .match-card-outer.matched .match-card-inner { animation: heartbeat 1s ease-in-out; cursor: default; box-shadow: 0 0 15px 5px var(--accent); }
        .match-card-outer.matched { opacity: .8; cursor: default; }
        .match-card-face { position: absolute; width: 100%; height: 100%; backface-visibility: hidden; border-radius: 16px; overflow: hidden; background-size: cover; background-position: center; }
        .match-card-back { background-image: url(../assets/models/2.png); }
        .match-card-front { transform: rotateY(180deg); background-color: var(--bg-dark); }
        .match-game-controls { text-align: center; margin-top: 30px; display: flex; justify-content: center; gap: 15px; }
        .game-button { background: var(--accent); color: var(--bg-dark); border: none; padding: 12px 24px; border-radius: 20px; cursor: pointer; font-size: 1rem; font-weight: 700; transition: transform .2s, box-shadow .2s; }
        .game-button:hover { transform: scale(1.05); }
        .spread-options-container { display: grid; grid-template-columns: 1fr; gap: 11px; }
        @media (min-width: 768px) { .spread-options-container { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
        .spread-option-card { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 9px; text-align: left; cursor: pointer; width: 100%; color: var(--light-blue); border-radius: 14px; padding: 0.85rem 1rem; border: 1.5px solid rgba(var(--card-rgb, var(--accent-rgb)), 0.25); background: radial-gradient(130% 90% at 0% 0%, rgba(var(--card-rgb, var(--accent-rgb)), 0.16), transparent 55%), linear-gradient(160deg, rgba(var(--primary-rgb), 0.92), var(--primary)); box-shadow: 0 8px 22px rgba(0,0,0,0.24); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
        .spread-option-card:not(.disabled):hover { transform: translateY(-4px); border-color: var(--card-color, var(--accent)); box-shadow: 0 16px 38px rgba(0,0,0,0.32), 0 0 22px rgba(var(--card-rgb, var(--accent-rgb)), 0.32); }
        .spread-option-card.disabled { opacity: .55; cursor: not-allowed; }
        .spread-option-card.limit-locked { opacity: .6; cursor: not-allowed; position: relative; }
        .spread-option-card.limit-locked .spread-option-cta { opacity: .75; }
        .spread-option-head { display: flex; align-items: center; gap: 6px; }
        .spread-option-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: rgba(var(--card-rgb, var(--accent-rgb)), 0.16); border: 1px solid rgba(var(--card-rgb, var(--accent-rgb)), 0.34); color: var(--card-color, var(--accent)); font-size: 0.76rem; font-weight: 700; letter-spacing: .3px; flex-shrink: 0; }
        .spread-option-badge i { width: 13px; height: 13px; }
        .spread-option-limit { display: inline-flex; align-items: center; justify-content: center; gap: 4px; margin: 0; padding: 4px 10px; border-radius: 999px; background: rgba(var(--card-rgb, var(--accent-rgb)), 0.14); border: 1px solid rgba(var(--card-rgb, var(--accent-rgb)), 0.38); color: var(--card-color, var(--accent)); font-size: 0.72rem; font-weight: 700; letter-spacing: .2px; white-space: nowrap; font-variant-numeric: tabular-nums; flex-shrink: 0; }
        .spread-option-limit i { width: 12px; height: 12px; flex-shrink: 0; }
        .spread-option-limit.is-locked { background: rgba(var(--card-rgb, var(--accent-rgb)), 0.08); border-color: rgba(var(--card-rgb, var(--accent-rgb)), 0.28); color: var(--card-color, var(--accent)); opacity: 0.9; min-width: 76px; }
        .spread-option-limit.is-exempt { background: rgba(52,211,153,0.14); border-color: rgba(52,211,153,0.42); color: #34d399; }
        .spread-option-cost { display: inline-flex; align-items: center; gap: 5px; margin-left: auto; padding: 4px 9px; border-radius: 999px; font-size: 0.74rem; font-weight: 700; white-space: nowrap; flex-shrink: 0; }
        .spread-option-cost.free { background: rgba(52,211,153,0.16); border: 1px solid rgba(52,211,153,0.4); color: #34d399; }
        .spread-option-cost.paid { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); color: #fff; }
        .spread-option-cost i { width: 13px; height: 13px; }
        .spread-option-body { display: flex; align-items: center; gap: 0.8rem; flex: 1; }
        .spread-option-icon { background: rgba(var(--card-rgb, var(--accent-rgb)), 0.12); color: var(--card-color, var(--accent)); width: 40px; height: 40px; border-radius: 11px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; border: 1px solid rgba(var(--card-rgb, var(--accent-rgb)), 0.3); }
        .spread-option-icon i { width: 19px; height: 19px; }
        .spread-option-text h3 { font-size: 1rem; font-weight: 700; color: #fff; margin: 0 0 2px; }
        .spread-option-text p { font-size: .78rem; color: var(--slate); margin: 0; line-height: 1.35; }
        .spread-option-cta { display: flex; align-items: center; justify-content: center; gap: 7px; padding: 7px; border-radius: 10px; background: rgba(var(--card-rgb, var(--accent-rgb)), 0.16); border: 1px solid rgba(var(--card-rgb, var(--accent-rgb)), 0.3); color: var(--card-color, var(--accent)); font-weight: 700; font-size: 0.8rem; transition: background .25s ease, color .25s ease; }
        .spread-option-cta i { width: 14px; height: 14px; }
        .spread-option-card:not(.disabled):hover .spread-option-cta { background: var(--card-color, var(--accent)); color: var(--bg-dark, #0b1020); }
        .spread-option-lock { position: absolute; inset: 0; background: rgba(0,0,0,0.62); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border-radius: 14px; z-index: 10; }
        .spread-option-lock i { color: var(--accent); width: 26px; height: 26px; }
        .spread-option-lock span { font-size: 13px; font-weight: 600; color: #fff; }
        .inline-icon { width: 1em; height: 1em; vertical-align: -.15em; margin-right: 4px; }
        .draw-card-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; width: 100%; max-width: 800px; margin: 0 auto; }
        @media (min-width: 768px) { .draw-card-grid { gap: 20px; } }
        .draw-card-outer { perspective: 1200px; display: flex; flex-direction: column; align-items: center; width: calc(33.33% - 10px); min-width: 90px; max-width: 160px; }
        .draw-card-inner { width: 100%; max-width: 160px; height: auto; aspect-ratio: 220/352; position: relative; transform-style: preserve-3d; transition: transform .7s cubic-bezier(.25, 1, .5, 1); cursor: pointer; border-radius: 12px; }
        .draw-card-inner.flipped { transform: rotateY(180deg); animation: heartbeat 2s ease-in-out infinite; }
        .draw-card-face { position: absolute; width: 100%; height: 100%; backface-visibility: hidden; border-radius: 16px; overflow: hidden; background-size: cover; background-position: center; box-shadow: 0 10px 30px -15px var(--card-shadow); }
        .draw-card-back-face { background-image: url(../assets/models/2.png); border-radius: 16px; overflow: hidden; }
        .draw-card-front-face { transform: rotateY(180deg); }
        .card-info-bubble { background: rgba(var(--primary-rgb), 0.95); backdrop-filter: blur(4px); border-radius: 12px; padding: 1rem; width: 100%; max-width: 240px; text-align: center; margin-top: 15px; border: 1px solid var(--slate); }
        .info-bubble-category { font-size: .9em; font-weight: 600; color: var(--accent); margin-bottom: 5px; display: flex; align-items: center; justify-content: center; gap: 5px; }
        .info-bubble-title { font-size: 1.1em; font-weight: 700; color: var(--light-blue); margin-bottom: 8px; }
        .info-bubble-message { font-size: .9em; line-height: 1.5; color: var(--light-blue); margin-bottom: 15px; }
        .info-bubble-actions { display: flex; justify-content: center; gap: 10px; }
        .icon-btn { background: rgba(var(--accent-rgb), .1); border: 1px solid rgba(var(--accent-rgb), .3); color: var(--light-blue); border-radius: 50%; width: 40px; height: 40px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: all .2s; }
        .icon-btn:hover { background: rgba(var(--accent-rgb), .2); color: var(--accent); }
        .icon-btn.speaking { background: rgba(233, 76, 76, .18); border-color: rgba(233, 76, 76, .55); color: #e94c4c; box-shadow: 0 0 14px rgba(233, 76, 76, .35); animation: speakPulse 1.2s ease-in-out infinite; }
        @keyframes speakPulse { 0%, 100% { box-shadow: 0 0 10px rgba(233, 76, 76, .25); } 50% { box-shadow: 0 0 18px rgba(233, 76, 76, .55); } }
        .fav-note-section { width: 100%; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--slate); }
        .fav-note-textarea { width: 100%; background: var(--bg-dark); border: 1px solid var(--slate); border-radius: 8px; color: #fff; padding: 10px; min-height: 100px; font-family: Poppins, sans-serif; font-size: .9em; }
        .list-item { display: flex; align-items: center; gap: 15px; background: rgba(var(--primary-rgb), 0.5); padding: 1rem; border-radius: 8px; margin-bottom: 10px; border-left: 3px solid var(--primary); transition: all .3s; }
        .list-item:hover { border-left-color: var(--accent); background: rgba(var(--primary-rgb), 0.7); }
        .list-item-icon { color: var(--accent); flex-shrink: 0; }
        .list-item-content { flex-grow: 1; text-align: left; }
        .list-item-title { font-weight: 600; color: #fff; }
        .list-item-desc { font-size: .9em; color: var(--slate); }
        .list-item-status { font-size: 1.2em; color: var(--accent); }
        .list-item-status.locked { color: var(--slate); }
        .history-group { margin-bottom: 10px; }
        .history-group-header { display: flex; justify-content: space-between; align-items: center; cursor: pointer; padding: 12px 15px; background: rgba(var(--accent-rgb), .05); border-radius: 8px; transition: background-color .3s; }
        .history-group-header:hover { background: rgba(var(--accent-rgb), .1); }
        .history-group-header h3 { color: var(--accent); font-size: 1.1rem; font-weight: 600; margin: 0; }
        .history-group-header .toggle-icon { transition: transform .3s ease; color: var(--accent); }
        .history-group-header.active .toggle-icon { transform: rotate(180deg); }
        .history-items-container { display: none; padding-left: 15px; border-left: 2px solid var(--slate); margin-left: 15px; margin-top: 10px; }
        .history-items-container.active { display: block; animation: fadeIn .4s; }
        .history-card-grid { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
        .history-card { width: 80px; height: 128px; border-radius: 12px; overflow: hidden; background-size: cover; background-position: center; cursor: pointer; transition: transform .2s; }
        .history-card:hover { transform: scale(1.05); }
        .all-cards-controls { display: flex; flex-direction: column; gap: 10px; margin-bottom: 25px; }
        @media (min-width:600px) { .all-cards-controls { flex-direction: row; gap: 15px; } }
        .all-cards-controls input, .all-cards-controls select { background: var(--bg-dark); border: 1px solid var(--slate); color: #fff; padding: 10px; border-radius: 8px; font-family: Poppins, sans-serif; font-size: 1rem; }
        .all-cards-controls input { flex-grow: 2; }
        .all-cards-controls select { flex-grow: 1; }
        .all-cards-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(50px, 1fr)); gap: 7px; }
        @media (min-width:300px) { .all-cards-gallery { gap: 10px; grid-template-columns: repeat(auto-fill, minmax(75px, 1fr)); } }
        .gallery-card-outer { perspective: 1000px; }
        .gallery-card-inner { width: 100%; aspect-ratio: 220/352; position: relative; transition: transform .3s ease, box-shadow .3s ease; cursor: pointer; border-radius: 16px; overflow: hidden; box-shadow: 0 5px 15px var(--card-shadow); }
        .gallery-card-inner:hover { transform: translateY(-5px) scale(1.05); box-shadow: 0 10px 25px var(--card-shadow); }
        .gallery-card-face { position: absolute; width: 100%; height: 100%; background-size: cover; background-position: center; }
        .info-card { background: var(--primary); border: 1px solid var(--slate); border-radius: 12px; padding: 1.2rem; display: flex; align-items: center; gap: 1.2rem; text-align: left; }
        .info-card-icon { font-size: 48px; flex-shrink: 0; }
        .info-card-info h3 { font-size: 1.3rem; font-weight: 600; color: #fff; }
        .info-card-info p { color: var(--slate); font-size: .9rem; }
        /* ─── Yekpare Holy Rabbit Okuma Sahnesi ───────────────────────── */
        .interpretation-container {
          position: relative;
          isolation: isolate;
          width: min(100%, 780px);
          overflow: hidden;
          margin: 2.5rem auto 0;
          padding: clamp(1rem, 2.5vw, 1.5rem) clamp(0.75rem, 2.2vw, 1.15rem);
          text-align: left;
          color: var(--light-blue);
          background:
            radial-gradient(circle at 88% 0%, rgba(var(--accent-rgb), .16), transparent 34%),
            radial-gradient(circle at 4% 42%, rgba(124, 58, 237, .10), transparent 32%),
            linear-gradient(155deg, rgba(var(--primary-rgb), .98), rgba(8, 15, 27, .98));
          border: 1px solid rgba(var(--accent-rgb), .28);
          border-radius: 26px;
          box-shadow: 0 28px 70px -38px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .06);
          animation: fadeIn .8s ease-out;
        }
        #screen-draw-content > .draw-card-grid { transition: opacity .3s ease, transform .3s ease; }
        #screen-draw-content.reading-mode > .draw-card-grid { display: none; }
        #screen-draw-content.reading-mode > .interpretation-container { margin-top: .5rem; }
        .interpretation-container::before {
          content: '';
          position: absolute;
          inset: 0;
          z-index: -1;
          pointer-events: none;
          opacity: .12;
          background-image: radial-gradient(circle, rgba(255, 255, 255, .75) 0 1px, transparent 1.4px);
          background-size: 31px 31px;
          mask-image: linear-gradient(to bottom, #000, transparent 72%);
        }
        .interpretation-container::after {
          content: '';
          position: absolute;
          inset: 8px;
          z-index: -1;
          pointer-events: none;
          border: 1px solid rgba(255, 255, 255, .035);
          border-radius: 19px;
        }
        .gemini-reading, .oracle-reading { color: var(--light-blue); line-height: 1.72; }
        .oracle-hero { max-width: none; width: 100%; margin: 0; padding-inline: 0; text-align: center; }
        .oracle-kicker {
          display: inline-flex;
          align-items: center;
          gap: 7px;
          margin-bottom: .65rem;
          color: var(--accent);
          font-size: .69rem;
          font-weight: 800;
          letter-spacing: .18em;
          text-transform: uppercase;
        }
        .oracle-kicker i, .oracle-kicker svg { width: 14px; height: 14px; }
        .interpretation-title, .oracle-title {
          max-width: none;
          width: 100%;
          margin: 0;
          color: #fff;
          font-size: clamp(1.35rem, 4vw, 2rem);
          font-weight: 700;
          line-height: 1.25;
          letter-spacing: -.02em;
          text-align: center;
          text-wrap: balance;
        }
        .gemini-opening, .oracle-opening {
          display: block;
          box-sizing: border-box;
          position: relative;
          max-width: none !important;
          width: 100% !important;
          margin: 1.1rem 0 0;
          padding: 0;
          color: rgba(224, 225, 221, .78);
          font-size: .94rem;
          line-height: 1.85;
          font-style: normal;
          text-align: left !important;
          text-wrap: pretty;
        }
        /* Tırnak süslemesi metin genişliğini daraltmasın */
        .oracle-opening::before,
        .oracle-opening::after {
          display: none;
        }
        .oracle-divider {
          display: grid;
          grid-template-columns: 1fr auto 1fr;
          align-items: center;
          gap: 12px;
          margin: 1.65rem 0 .35rem;
          color: rgba(var(--accent-rgb), .72);
          font-size: .72rem;
        }
        .oracle-divider::before, .oracle-divider::after { content: ''; height: 1px; background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), .28)); }
        .oracle-divider::after { transform: scaleX(-1); }
        .oracle-card-thread { display: flex; flex-direction: column; gap: .25rem; }
        .oracle-card-grid {
          display: grid;
          grid-template-columns: repeat(3, minmax(0, 1fr));
          gap: clamp(.55rem, 2.2vw, 1rem);
          margin: 1.1rem 0 .25rem;
          padding: .15rem 0 .35rem;
        }
        .oracle-card-tile {
          display: flex;
          flex-direction: column;
          align-items: center;
          gap: .45rem;
          min-width: 0;
          text-align: center;
        }
        .oracle-card-grid .oracle-card-portrait {
          width: min(100%, 112px);
          margin: 0 auto;
        }
        .oracle-card-grid .oracle-card-portrait img {
          width: 100%;
          max-width: 112px;
          margin: 0 auto;
        }
        .oracle-card-tile-meta {
          display: flex;
          flex-direction: column;
          align-items: center;
          gap: .2rem;
          width: 100%;
          min-width: 0;
        }
        .oracle-card-tile-meta .oracle-card-position {
          letter-spacing: .08em;
          font-size: .58rem;
          white-space: normal;
          text-wrap: balance;
        }
        .oracle-card-tile-meta h3 {
          margin: 0;
          color: #fff;
          font-size: clamp(.72rem, 2.6vw, .88rem);
          font-weight: 700;
          line-height: 1.25;
          text-wrap: balance;
        }
        .oracle-interpretation--unified {
          margin-top: 1.35rem;
        }
        .oracle-interpretation--unified .gemini-section-label {
          margin-bottom: .55rem;
        }
        .oracle-interpretation--unified p {
          max-width: none;
          width: 100%;
          margin-bottom: .9rem;
          line-height: 1.75;
        }
        .oracle-interpretation--unified p:last-child {
          margin-bottom: 0;
        }
        /* 3/6 kart açılımı — 3 ayrı bölümlü yorum düzeni */
        .oracle-spread-reading {
          width: 100%;
          margin: 1.4rem 0 0;
          padding: 1rem 0.85rem 0.95rem;
          background: rgba(255, 255, 255, .03);
          border: 1px solid rgba(255, 255, 255, .07);
          border-radius: 14px;
        }
        .oracle-spread-reading > .gemini-section-label {
          margin-bottom: .8rem;
        }
        .oracle-spread-card-section {
          padding: 1rem 0 .8rem;
        }
        .oracle-spread-card-section p {
          margin: .55rem 0 0;
          line-height: 1.78;
          color: rgba(255,255,255,.88);
          font-size: .92rem;
        }
        .oracle-spread-pos-label {
          display: flex;
          align-items: center;
          gap: .5rem;
          flex-wrap: wrap;
          margin-bottom: .25rem;
        }
        .oracle-spread-card-name {
          color: rgba(255,255,255,.45);
          font-size: .75rem;
          font-style: italic;
          font-weight: 400;
        }
        .oracle-spread-divider {
          border: none;
          border-top: 1px solid rgba(255,255,255,.1);
          margin: 0;
        }
        /* pre-line paragraf blokları: \n satır sonları arayüzde korunur, mobilde otomatik boyutlanır */
        .oracle-spread-para,
        .oracle-interp-para {
          white-space: pre-line;
          word-break: break-word;
          overflow-wrap: anywhere;
          line-height: 1.68;
          color: rgba(255,255,255,.90);
          font-size: clamp(0.85rem, 3.8vw, 0.94rem);
          margin: 0 0 1rem;
          width: 100%;
          max-width: 100%;
          box-sizing: border-box;
        }
        .oracle-spread-para:last-child,
        .oracle-interp-para:last-child {
          margin-bottom: 0;
        }
        /* TTS Kelime Vurgulama */
        .tts-word {
          display: inline;
          transition: color 0.15s ease, background-color 0.15s ease;
          border-radius: 3px;
          padding: 0 1px;
        }
        .tts-word.tts-highlight {
          color: #10b981;
          background-color: rgba(16, 185, 129, 0.12);
        }
        .oracle-card-chapter {
          display: flex;
          flex-direction: column;
          gap: 0;
          padding: 1.45rem 0;
          border-bottom: 1px solid rgba(255, 255, 255, .08);
          background: transparent;
          width: 100%;
          max-width: 100%;
          align-self: stretch;
          box-sizing: border-box;
        }
        .oracle-card-head {
          display: grid;
          grid-template-columns: 72px minmax(0, 1fr);
          gap: clamp(1rem, 3vw, 1.45rem);
          align-items: start;
          width: 100%;
          max-width: 100%;
          align-self: stretch;
          box-sizing: border-box;
        }
        .oracle-card-portrait {
          position: relative;
          width: 72px;
          padding: 0;
          overflow: visible;
          background: transparent;
          border: 0;
          border-radius: 12px;
          cursor: pointer;
          box-shadow: 0 13px 28px -15px rgba(0, 0, 0, .95);
          transition: transform .25s ease, filter .25s ease;
        }
        .oracle-card-portrait:hover { transform: translateY(-3px) rotate(-1deg); filter: brightness(1.08); }
        .oracle-card-portrait:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
        .oracle-card-portrait img { display: block; width: 72px; aspect-ratio: 220/352; object-fit: cover; border: 1px solid rgba(var(--accent-rgb), .48); border-radius: 11px; }
        .oracle-card-thread--single .oracle-card-head { grid-template-columns: 88px minmax(0, 1fr); }
        .oracle-card-thread--single .oracle-card-portrait, .oracle-card-thread--single .oracle-card-portrait img { width: 88px; }
        .oracle-card-copy { min-width: 0; }
        .oracle-card-meta {
          display: flex;
          flex-wrap: wrap;
          align-items: center;
          gap: .55rem .7rem;
          margin-bottom: .7rem;
        }
        .oracle-card-position {
          flex: 0 0 auto;
          color: var(--accent);
          font-size: .67rem;
          font-weight: 800;
          letter-spacing: .12em;
          text-transform: uppercase;
          line-height: 1.2;
          white-space: nowrap;
        }
        .oracle-card-meta-rule {
          flex: 0 0 auto;
          width: 1px;
          height: 1em;
          background: rgba(255, 255, 255, .28);
        }
        .oracle-card-meta h3 {
          flex: 1 1 auto;
          margin: 0;
          color: #fff;
          font-size: 1.08rem;
          line-height: 1.3;
          min-width: 0;
        }
        /* Kart adı subtle etiket (h3 yerine) — 3/6 kart ve tek kart layout */
        .oracle-card-name-subtle {
          flex: 1 1 auto;
          margin: 0;
          color: rgba(255, 255, 255, .52);
          font-size: .78rem;
          font-weight: 500;
          font-style: italic;
          line-height: 1.3;
          min-width: 0;
          letter-spacing: .01em;
        }
        /* Arapça: düzen LTR kalır, sadece metin blokları sağa hizalanır */
        .oracle-reading--ar .oracle-opening,
        .oracle-reading--ar .oracle-essence p,
        .oracle-reading--ar .oracle-interpretation p,
        .oracle-reading--ar .oracle-synthesis p,
        .oracle-reading--ar .oracle-practice p,
        .oracle-reading--ar .oracle-question blockquote,
        .oracle-reading--ar .oracle-closing p,
        .oracle-reading--ar .oracle-feedback-prompt,
        html[lang="ar"] .oracle-fallback-prose,
        html[lang="ar"] .interpretation-body {
          direction: rtl;
          text-align: right;
          unicode-bidi: isolate;
        }
        html[lang="ar"] body.rtl-language {
          direction: ltr;
        }
        .gemini-section-label {
          display: flex;
          align-items: center;
          gap: 6px;
          margin-bottom: .42rem;
          color: var(--accent);
          font-size: .67rem;
          font-weight: 800;
          letter-spacing: .11em;
          line-height: 1.3;
          text-transform: uppercase;
        }
        .gemini-section-label i, .gemini-section-label svg { width: 13px; height: 13px; flex-shrink: 0; }
        .oracle-essence {
          margin: 0;
          padding: .65rem .85rem;
          color: rgba(224, 225, 221, .76);
          font-size: .82rem;
          line-height: 1.65;
          border-inline-start: 2px solid rgba(var(--accent-rgb), .55);
          background: rgba(255, 255, 255, .02);
          border-radius: 0 10px 10px 0;
        }
        .oracle-essence p { margin: 0; }
        .oracle-essence .gemini-section-label { margin-inline-start: -.1rem; }
        .oracle-interpretation {
          width: 100%;
          max-width: 100%;
          box-sizing: border-box;
          margin: 1.15rem 0 0;
          padding: 1rem 0.85rem 0.95rem;
          color: rgba(255, 255, 255, .92);
          font-size: clamp(0.85rem, 3.8vw, 0.94rem);
          line-height: 1.68;
          background: rgba(255, 255, 255, .03);
          border: 1px solid rgba(255, 255, 255, .07);
          border-radius: 14px;
          word-break: break-word;
          overflow-wrap: anywhere;
        }
        .oracle-interpretation p { margin: 0; max-width: 100%; width: 100%; box-sizing: border-box; }
        .oracle-synthesis {
          display: block;
          width: 100%;
          margin: .35rem 0 0;
          padding: 1.55rem 0;
          border-bottom: 1px solid rgba(255, 255, 255, .08);
        }
        .oracle-synthesis-mark { display: none; }
        .gemini-synthesis p,
        .oracle-synthesis p { margin: 0; color: rgba(255, 255, 255, .9); font-size: .93rem; line-height: 1.75; max-width: none; width: 100%; }
        .oracle-practice-grid {
          display: grid;
          grid-template-columns: repeat(2, minmax(0, 1fr));
          border-bottom: 1px solid rgba(255, 255, 255, .08);
        }
        .oracle-practice { min-width: 0; padding: 1.35rem 1.2rem 1.35rem 0; }
        .oracle-practice + .oracle-practice { padding-inline: 1.2rem 0; border-inline-start: 1px solid rgba(255, 255, 255, .08); }
        .oracle-practice-grid--single { grid-template-columns: 1fr; }
        .oracle-practice-grid--single .oracle-practice { padding-inline: 0; }
        .oracle-practice p { margin: 0; color: rgba(224, 225, 221, .88); font-size: .93rem; line-height: 1.75; }
        .oracle-question { position: relative; padding: 1.45rem 0 1.35rem; }
        .oracle-question blockquote {
          position: relative;
          margin: .25rem 0 0;
          padding-inline-start: 1.05rem;
          color: rgba(255, 255, 255, .92);
          font-family: inherit;
          font-size: .93rem;
          font-style: normal;
          font-weight: 500;
          line-height: 1.75;
          border-inline-start: 2px solid rgba(var(--accent-rgb), .56);
        }
        .oracle-closing {
          display: flex;
          flex-direction: column;
          align-items: center;
          justify-content: center;
          gap: .55rem;
          padding: .85rem 0 .15rem;
          color: rgba(224, 225, 221, .78);
          text-align: center;
        }
        .oracle-closing-moon,
        .oracle-closing > span {
          display: block;
          color: var(--accent);
          font-size: 1.55rem;
          line-height: 1;
        }
        .oracle-closing p { margin: 0; max-width: 36ch; font-size: .9rem; font-style: normal; line-height: 1.7; }
        .oracle-corner-actions {
          position: absolute;
          inset: 10px 10px auto 10px;
          z-index: 4;
          display: flex;
          flex-direction: row;
          align-items: center;
          justify-content: space-between;
          pointer-events: none;
        }
        .oracle-corner-actions .oracle-corner-btn {
          pointer-events: auto;
        }
        .oracle-corner-actions .oracle-corner-btn--left {
          margin-inline-end: auto;
        }
        .oracle-corner-actions .oracle-corner-btn--right {
          margin-inline-start: auto;
        }
        .oracle-corner-actions .oracle-corner-btn,
        .interpretation-container > .oracle-listen-btn {
          width: 40px;
          height: 40px;
          margin: 0;
          padding: 0;
          display: inline-flex;
          align-items: center;
          justify-content: center;
          border-radius: 50%;
          border: 1px solid rgba(var(--accent-rgb), .35);
          background: rgba(8, 15, 27, .55);
          color: var(--light-blue);
          backdrop-filter: blur(8px);
          -webkit-backdrop-filter: blur(8px);
          cursor: pointer;
          transition: border-color .2s ease, background .2s ease, color .2s ease;
        }
        .oracle-corner-actions .oracle-corner-btn:hover,
        .interpretation-container > .oracle-listen-btn:hover {
          border-color: rgba(var(--accent-rgb), .65);
          background: rgba(var(--accent-rgb), .14);
          color: #fff;
        }
        .oracle-corner-actions .oracle-corner-btn i,
        .oracle-corner-actions .oracle-corner-btn svg {
          width: 18px;
          height: 18px;
        }
        .oracle-corner-actions .oracle-corner-btn.speaking {
          color: var(--accent);
          border-color: rgba(var(--accent-rgb), .7);
          background: rgba(var(--accent-rgb), .16);
        }
        .oracle-toolbar {
          display: flex;
          flex-wrap: wrap;
          justify-content: center;
          align-items: center;
          gap: 8px;
          margin-top: 1.45rem;
          padding-top: 1.1rem;
          border-top: 1px solid rgba(255, 255, 255, .09);
        }
        .oracle-toolbar .toolbar-group {
          display: flex;
          flex-wrap: wrap;
          gap: 8px;
          justify-content: center;
          width: 100%;
        }
        .oracle-feedback-prompt {
          flex: 1 0 100%;
          margin: 0 0 .15rem;
          color: rgba(255, 255, 255, .92);
          font-size: .84rem;
          font-weight: 700;
          line-height: 1.45;
          text-align: center;
          text-wrap: balance;
        }
        .oracle-toolbar .oracle-feedback-btn {
          width: auto;
          min-height: 38px;
          padding: 8px 14px;
          display: inline-flex;
          align-items: center;
          justify-content: center;
          gap: 6px;
          color: rgba(255, 255, 255, .82);
          background: rgba(255, 255, 255, .045);
          border: 1px solid rgba(255, 255, 255, .1);
          border-radius: 999px;
          font-size: .78rem;
          font-weight: 700;
          box-shadow: none;
        }
        .oracle-toolbar .oracle-feedback-btn:hover { color: #fff; border-color: rgba(var(--accent-rgb), .45); background: rgba(var(--accent-rgb), .09); box-shadow: none; }
        .oracle-toolbar .oracle-feedback-btn:disabled { opacity: .65; cursor: default; }
        .oracle-toolbar .oracle-feedback-btn i, .oracle-toolbar .oracle-feedback-btn svg { width: 16px; height: 16px; }
        .oracle-toolbar .oracle-feedback-btn.is-submitted { color: var(--accent); border-color: rgba(var(--accent-rgb), .45); background: rgba(var(--accent-rgb), .1); }
        .oracle-loading { display: grid; justify-items: center; gap: 14px; padding: 3.25rem 1rem; color: rgba(224, 225, 221, .68); text-align: center; }
        .oracle-loading-orbit { width: 46px; height: 46px; border: 2px solid rgba(var(--accent-rgb), .2); border-top-color: var(--accent); border-radius: 50%; animation: spin 1s linear infinite; }
        .oracle-loading p { margin: 0; font-size: .88rem; }
        .oracle-fallback-prose { color: rgba(255, 255, 255, .88); font-size: .93rem; line-height: 1.78; }
        .oracle-fallback-prose strong { color: #fff; font-weight: 700; }
        .oracle-fallback-heading { margin: 1rem 0 .35rem; color: var(--accent); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
        .interpretation-quote { margin: .65rem 0; padding-inline-start: 1rem; border-inline-start: 2px solid var(--accent); font-style: italic; color: var(--light-blue); }
        .oracle-reading[dir="rtl"] { text-align: right; }
        @media (max-width: 600px) {
          .interpretation-container { border-radius: 20px; }
          .interpretation-container::after { inset: 6px; border-radius: 15px; }
          .oracle-opening { font-size: .9rem; line-height: 1.72; }
          .oracle-synthesis p,
          .oracle-practice p,
          .oracle-question blockquote { font-size: .9rem; line-height: 1.72; }
          .oracle-closing p { font-size: .88rem; line-height: 1.65; }
          .oracle-card-grid {
            gap: .45rem;
            margin-top: .9rem;
          }
          .oracle-card-grid .oracle-card-portrait,
          .oracle-card-grid .oracle-card-portrait img {
            max-width: 96px;
          }
          .oracle-card-tile-meta .oracle-card-position { font-size: .52rem; letter-spacing: .06em; }
          .oracle-card-tile-meta h3 { font-size: .7rem; }
          .oracle-interpretation--unified { margin-top: 1.1rem; }
          .oracle-card-chapter { padding: 1.2rem 0; }
          .oracle-card-head { grid-template-columns: 54px minmax(0, 1fr); gap: .9rem; }
          .oracle-card-portrait, .oracle-card-portrait img { width: 54px; }
          .oracle-card-grid .oracle-card-portrait { width: min(100%, 96px); }
          .oracle-card-grid .oracle-card-portrait img { width: 100%; }
          .oracle-card-thread--single .oracle-card-head { grid-template-columns: 70px minmax(0, 1fr); }
          .oracle-card-thread--single .oracle-card-portrait, .oracle-card-thread--single .oracle-card-portrait img { width: 70px; }
          .oracle-interpretation {
            margin-top: 1rem;
            padding: 0.85rem 0.75rem;
            font-size: clamp(0.82rem, 3.6vw, 0.9rem);
            line-height: 1.62;
            width: 100%;
            max-width: 100%;
            box-sizing: border-box;
            word-break: break-word;
            overflow-wrap: anywhere;
          }
          .oracle-card-index { min-width: 22px; height: 22px; font-size: .57rem; }
          .oracle-card-meta h3 { font-size: 1rem; }
          .oracle-essence { font-size: .78rem; }
          .oracle-synthesis { padding: 1.25rem 0; }
          .oracle-practice-grid { grid-template-columns: 1fr; }
          .oracle-practice { padding: 1.15rem 0; }
          .oracle-practice + .oracle-practice { padding: 0 0 1.15rem; border-inline-start: 0; }
          .oracle-toolbar { justify-content: flex-start; flex-wrap: wrap; }
          .oracle-toolbar .oracle-feedback-btn { flex: 1 1 auto; padding-inline: 10px; }
          .oracle-corner-actions { inset: 8px 8px auto 8px; }
          .oracle-corner-actions .oracle-corner-btn { width: 36px; height: 36px; }
        }

        /* ─── Niyet/Konu Seçim Ekranı ──────────────────────────────────── */
        .intention-chips { display: flex; flex-wrap: wrap; gap: 8px; }
        .intention-chip { background: rgba(255,255,255,0.07); border: 1.5px solid rgba(255,255,255,0.15); border-radius: 20px; padding: 7px 13px; color: #ddd; font-size: 0.82rem; cursor: pointer; display: flex; align-items: center; gap: 6px; transition: all 0.2s ease; font-family: inherit; }
        .intention-chip:hover { border-color: var(--accent); color: #fff; background: rgba(138,43,226,0.15); }
        .intention-chip.selected { background: rgba(138,43,226,0.35); border-color: var(--accent); color: #fff; box-shadow: 0 0 10px rgba(138,43,226,0.4); }
        .intention-chip i, .intention-chip svg { width: 13px; height: 13px; flex-shrink: 0; }
        @media (max-width:600px) { .app-container { padding-top: calc(15px + var(--safe-area-inset-top, env(safe-area-inset-top, 0px))); } .top-bar { flex-wrap: nowrap; gap: 4px; } .top-bar-right { gap: 4px; } .player-stat { padding: 6px 10px; font-size: 0.95rem; gap: 6px; } .top-bar .title { font-size: 1.15rem; white-space: nowrap; } .top-bar .title img { height: 2rem; margin-right: 6px; } .module-card { padding: 0.8rem; } .module-content h2 { font-size: 1rem; } .module-content .module-description { font-size: 0.75rem; margin-bottom: 4px; } .module-indicator { font-size: 0.75rem; padding: 4px 8px; top: 10px; right: 10px; } .section-title { font-size: 1.05rem; margin-bottom: 12px; } .info-card { padding: 0.8rem; gap: 0.8rem; } .daily-focus-container > .info-card { padding-left: 48px; padding-right: 48px; } .focus-nav-btn { width: 34px; height: 34px; } #focus-prev-btn { left: 8px; } #focus-next-btn { right: 8px; } .info-card-info h3 { font-size: 1rem; } .info-card-info p { font-size: 0.75rem; } .info-card-icon { font-size: 32px; } .info-card-img { width: 40px; height: 64px; border-radius: 6px; } .screen-title { font-size: 1.5rem; } .back-button { padding: 6px 12px; font-size: .85rem; gap: 5px; } .back-button i { width: 1rem; height: 1rem; } .tab-btn { padding: 10px; font-size: 1rem; } .tab-content-inner { padding: 12px; } .notification-item { padding: 8px 10px; font-size: 0.85rem; } .interpretation-container { padding: 0.85rem 0.75rem !important; margin-top: 1rem !important; width: 100% !important; max-width: 100% !important; box-sizing: border-box !important; align-self: stretch !important; line-height: 1.6; } .interpretation-title { font-size: 1.3rem; margin-bottom: 1rem; } .interpretation-quote { margin-left: .75rem; padding-left: .75rem; } .control-btn, #profile-button { width: 38px !important; height: 38px !important; } .control-btn i, .control-btn svg, #profile-button i, #profile-button svg { width: 18px !important; height: 18px !important; } .player-stat i, .player-stat svg { width: 20px !important; height: 20px !important; } .welcome-banner { padding: 1rem; min-height: auto; } .welcome-content h3 { font-size: 1.1rem; margin-bottom: 4px; } .welcome-subtitle { font-size: 0.8rem; margin-bottom: 8px; } .game-features-list { margin: 10px 0; } .feature-item { font-size: 0.8rem; margin-bottom: 6px; gap: 6px; } .feature-item i, .feature-item svg { width: 1rem !important; height: 1rem !important; } .info-card-button { padding: 8px 16px; font-size: 0.85rem; margin-top: 5px; } }
        @keyframes flipAndShine { 0%, 100% { transform: rotateY(0) scale(1); opacity: 0.85; } 50% { transform: rotateY(360deg) scale(1.1); opacity: 1; text-shadow: 0 0 10px var(--accent); } }
        #top-bar-score-visible .lucide-diamond, .inline-icon[data-lucide="diamond"], .info-card-icon .lucide-diamond { animation: flipAndShine 9s ease-in-out infinite; will-change: transform, opacity; }
        .favorites-list-container { display: flex; flex-direction: column; gap: 15px; margin-top: 20px; }
        .favorite-list-item { display: flex; gap: 1.2rem; background: rgba(var(--primary-rgb), 0.6); padding: 1rem; border-radius: 12px; border: 1px solid var(--slate); transition: all .3s ease; align-items: center; }
        .favorite-list-item:hover { border-color: var(--accent); background: rgba(var(--primary-rgb), 0.8); }
        .favorite-item-image { width: 90px; height: 144px; border-radius: 8px; object-fit: cover; flex-shrink: 0; cursor: pointer; transition: transform .2s ease; }
        .favorite-item-image:hover { transform: scale(1.05); }
        .favorite-item-info { flex-grow: 1; text-align: left; }
        .favorite-item-header { margin-bottom: 10px; }
        .favorite-item-title { font-size: 1.3rem; font-weight: 700; color: #fff; margin: 0; }
        .favorite-item-category { font-size: .9rem; font-weight: 600; color: var(--slate); display: flex; align-items: center; gap: 5px; }
        .favorite-item-category i { width: 1em; height: 1em; }
        .favorite-item-message { font-size: .95rem; color: var(--light-blue); font-style: italic; margin-bottom: 12px; }
        .favorite-item-note { background: var(--bg-dark); padding: 8px 12px; border-radius: 6px; font-size: .9rem; }
        .favorite-item-note strong { color: var(--accent); }
        .favorite-item-note p { color: var(--light-blue); margin: 5px 0 0; }
        .favorite-item-actions { display: flex; flex-direction: column; gap: 10px; }
        .favorite-item-actions .icon-btn.remove { background-color: rgba(233, 76, 76, .1); border-color: rgba(233, 76, 76, .3); }
        .favorite-item-actions .icon-btn.remove:hover { color: #e94c4c; background-color: rgba(233, 76, 76, .2); }
        @media (max-width:600px) { .favorite-list-item { flex-direction: column; align-items: flex-start; } .favorite-item-actions { flex-direction: row; width: 100%; justify-content: flex-end; margin-top: 10px; } .favorite-item-title { font-size: 1.1rem; } }
        .history-list-item { align-items: flex-start !important; }
        .history-item-actions { display: flex; flex-direction: column; gap: 10px; align-self: center; padding-left: 15px; }
        .history-item-actions .icon-btn.remove { background-color: rgba(233, 76, 76, .1); border-color: rgba(233, 76, 76, .3); }
        .history-item-actions .icon-btn.remove:hover { color: #e94c4c; background-color: rgba(233, 76, 76, .2); }
        @media (max-width:600px) { .history-item-actions { flex-direction: row; width: 100%; justify-content: flex-end; padding-left: 0; margin-top: 10px; order: 3; } .history-list-item .list-item-content { width: 100%; } .history-list-item { flex-wrap: wrap; } }
        .history-controls { display: flex; gap: 15px; margin-bottom: 20px; }
        .history-controls input { flex-grow: 1; background: var(--bg-dark); border: 1px solid var(--slate); color: #fff; padding: 10px; border-radius: 8px; }
        .clear-history-btn { background-color: rgba(233, 76, 76, .1); border: 1px solid rgba(233, 76, 76, .3); color: #e94c4c; padding: 0 15px; border-radius: 8px; cursor: pointer; transition: all .2s ease; }
        .clear-history-btn:hover { background-color: rgba(233, 76, 76, .2); }
        .favorite-list-item { user-select: none; cursor: grab; }
        .favorite-list-item.dragging { opacity: .5; cursor: grabbing; border-color: var(--accent); box-shadow: 0 0 15px var(--accent); }
        .custom-popup-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, .72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 15px; animation: fadeIn .3s; }
        .custom-popup-content { background: var(--primary); border: 1px solid var(--slate); padding: 20px; border-radius: 15px; max-width: 320px; width: 90%; box-shadow: 0 10px 50px rgba(0, 0, 0, .5); text-align: center; margin: auto; }
        .custom-popup-content p { color: var(--light-blue); font-size: 1.1rem; line-height: 1.6; margin-bottom: 25px; }
        .custom-popup-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
        .custom-popup-btn { padding: 10px 22px; border: none; border-radius: 12px; font-weight: 700; font-size: 0.92rem; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; min-width: 110px; }
        .custom-popup-btn.confirm { background: var(--accent); color: var(--bg-dark); }
        .custom-popup-btn.confirm:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(var(--accent-rgb), 0.35); }
        .custom-popup-btn.cancel { background: rgba(255,255,255,0.08); color: #fff; border: 1px solid rgba(255,255,255,0.12); }
        .custom-popup-btn.cancel:hover { background: rgba(255,255,255,0.12); }
        .custom-alert-banner { font-weight: 600; font-size: 1rem; text-align: left; }
        @keyframes slideDownFadeOut { 0% { opacity: 0; transform: translateX(-50%) translateY(-16px); } 12% { opacity: 1; transform: translateX(-50%) translateY(0); } 82% { opacity: 1; transform: translateX(-50%) translateY(0); } 100% { opacity: 0; transform: translateX(-50%) translateY(-12px); } }
        @media (max-width:600px) { .history-controls { flex-direction: column; align-items: stretch; gap: 10px; } .history-items-container { padding-left: 10px; margin-left: 10px; } .history-list-item { flex-direction: column; align-items: stretch; padding: 8px !important; gap: 8px !important; } .history-card-grid { gap: 8px; } .history-card { width: 50px !important; height: 80px !important; border-radius: 10px; } .history-item-actions { order: 3; flex-direction: row; justify-content: flex-end; padding: 0; margin-top: 5px; width: 100%; } }
        @media (max-width:600px) { .screen-title { font-size: 1.2rem !important; } .back-button { padding: 6px 10px !important; font-size: 0.8rem !important; gap: 4px !important; } .back-button i, .back-button svg { width: 14px !important; height: 14px !important; } .tab-btn { padding: 8px !important; font-size: 0.85rem !important; } .tab-content-inner { padding: 10px !important; } .profile-form-group label { font-size: 0.75rem !important; margin-bottom: 2px !important; } .profile-form-group input, .profile-form-group select { padding: 6px !important; font-size: 0.8rem !important; border-radius: 4px !important; } .save-btn { padding: 8px !important; font-size: 0.9rem !important; } .level-info { font-size: 0.8rem !important; margin-bottom: 4px !important; } .stat-card { padding: 6px !important; border-radius: 6px !important; } .stat-card .value { font-size: 1rem !important; } .stat-card .label { font-size: 0.7rem !important; } .theme-btn, .audio-toggle-btn { padding: 6px 10px !important; font-size: 0.8rem !important; } .audio-toggle-btn i, .audio-toggle-btn svg { width: 14px !important; height: 14px !important; } .controls-section h4 { font-size: 0.8rem !important; margin-bottom: 6px !important; } .app-container { padding: 10px 10px 15px 10px !important; } .gallery-card-inner { border-radius: 12px !important; } .favorite-item-title { font-size: 0.9rem !important; } .favorite-item-meaning { font-size: 0.75rem !important; } .history-item-details h4 { font-size: 0.9rem !important; margin-bottom: 2px !important; } .history-item-details p { font-size: 0.75rem !important; } .badge-item, .favorite-list-item { padding: 8px !important; gap: 8px !important; border-radius: 8px !important; } .badge-item h3, .badge-item h4 { font-size: 0.9rem !important; } .badge-item p { font-size: 0.75rem !important; } .badge-icon, .badge-item i { width: 24px !important; height: 24px !important; font-size: 24px !important; } .favorite-list-item img { width: 45px !important; height: 72px !important; border-radius: 8px !important; } .gallery-grid, .all-cards-gallery { grid-template-columns: repeat(5, 1fr) !important; gap: 6px !important; } }
        .lang-menu-profile { display: flex; flex-direction: column; gap: 8px; }
        .lang-menu-profile .lang-option { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.12); background: rgba(255,255,255,0.05); color: #fff; cursor: pointer; font-size: 0.9rem; transition: all .2s ease; }
        .lang-menu-profile .lang-option:hover { background: rgba(255,255,255,0.1); border-color: var(--accent); }
        .lang-menu-profile .lang-option.active { background: rgba(88,101,242,0.2); border-color: var(--accent); box-shadow: 0 0 10px rgba(88,101,242,0.25); }
        .lang-menu-profile .lang-option-flag { border-radius: 2px; object-fit: cover; }
        
        /* SHARE READING STYLES */
        .share-reading-overlay { position: fixed; inset: 0; background: rgba(10, 15, 30, 0.85); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); z-index: 3000; display: flex; align-items: center; justify-content: center; padding: 20px; animation: fadeIn 0.3s ease; }
        .share-reading-modal { background: var(--primary); border: 1px solid var(--slate); border-radius: 16px; width: 100%; max-width: 520px; padding: 24px; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6); display: flex; flex-direction: column; gap: 16px; }
        .share-reading-modal h3 { color: #fff; font-size: 1.25rem; font-weight: 600; text-align: center; margin: 0; }
        .share-reading-preview { background: rgba(0, 0, 0, 0.2); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 12px; padding: 16px; color: var(--light-blue); font-size: 0.95rem; line-height: 1.6; white-space: pre-wrap; word-wrap: break-word; max-height: 40vh; overflow-y: auto; user-select: text; outline: none; }
        .share-reading-preview:focus-visible { outline: 2px solid var(--accent); }
        .share-reading-actions { display: flex; gap: 12px; justify-content: flex-end; margin-top: 8px; flex-wrap: wrap; }
        .share-copy-btn, .share-close-btn { padding: 12px 20px; border: none; border-radius: 12px; font-weight: 600; font-size: 0.95rem; cursor: pointer; display: flex; align-items: center; gap: 8px; transition: all 0.2s ease; min-height: 44px; min-width: 44px; justify-content: center; }
        .share-copy-btn { background: var(--accent); color: var(--bg-dark); }
        .share-copy-btn:hover { transform: translateY(-2px); box-shadow: 0 4px 15px rgba(var(--accent-rgb), 0.3); }
        .share-close-btn { background: rgba(255, 255, 255, 0.1); color: #fff; }
        .share-close-btn:hover { background: rgba(255, 255, 255, 0.15); }
        .share-copy-btn:focus-visible, .share-close-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
        @media (max-width: 600px) {
          .share-reading-actions { justify-content: center; width: 100%; }
          .share-copy-btn, .share-close-btn { flex: 1; }
        }

        /* ══════════════════════════════════════════════════════
           BADGES SCREEN — Mistik Rozet Koleksiyonu
           ══════════════════════════════════════════════════════ */

        /* Hero Bölümü */
        .badges-hero {
          display: flex;
          align-items: center;
          gap: 24px;
          padding: 28px 24px;
          margin-bottom: 24px;
          background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.6), rgba(var(--accent-rgb), 0.08));
          border: 1px solid rgba(var(--accent-rgb), 0.15);
          border-radius: 20px;
          backdrop-filter: blur(12px);
        }
        .badges-progress-ring {
          position: relative;
          width: 110px;
          height: 110px;
          flex-shrink: 0;
        }
        .progress-svg {
          width: 100%;
          height: 100%;
          transform: rotate(-90deg);
        }
        .progress-bg {
          fill: none;
          stroke: rgba(var(--accent-rgb), 0.1);
          stroke-width: 8;
        }
        .progress-fill {
          fill: none;
          stroke: var(--accent);
          stroke-width: 8;
          stroke-linecap: round;
          transition: stroke-dashoffset 1.2s cubic-bezier(0.4, 0, 0.2, 1);
          filter: drop-shadow(0 0 6px rgba(var(--accent-rgb), 0.5));
        }
        .progress-text {
          position: absolute;
          inset: 0;
          display: flex;
          align-items: center;
          justify-content: center;
          gap: 2px;
        }
        .progress-number {
          font-size: 2rem;
          font-weight: 800;
          color: var(--accent);
          line-height: 1;
        }
        .progress-divider {
          font-size: 1.3rem;
          color: var(--slate);
          font-weight: 300;
        }
        .progress-total {
          font-size: 1.1rem;
          color: var(--slate);
          font-weight: 600;
          margin-top: 6px;
        }
        .badges-hero-info {
          flex: 1;
          min-width: 0;
        }
        .badges-hero-title {
          font-size: 1.4rem;
          font-weight: 700;
          color: #fff;
          margin: 0 0 4px 0;
        }
        .badges-hero-subtitle {
          font-size: 0.85rem;
          color: var(--slate);
          margin: 0 0 14px 0;
          line-height: 1.4;
        }
        .badges-hero-bar {
          height: 6px;
          background: rgba(var(--accent-rgb), 0.12);
          border-radius: 6px;
          overflow: hidden;
          margin-bottom: 6px;
        }
        .badges-hero-bar-fill {
          height: 100%;
          background: linear-gradient(90deg, var(--accent), rgba(var(--accent-rgb), 0.7));
          border-radius: 6px;
          transition: width 1s ease;
          box-shadow: 0 0 10px rgba(var(--accent-rgb), 0.4);
        }
        .badges-hero-pct {
          font-size: 0.78rem;
          color: var(--accent);
          font-weight: 600;
          opacity: 0.85;
        }

        /* Kategori Başlıkları */
        .badge-category {
          margin-bottom: 24px;
        }
        .badge-category-header {
          display: flex;
          align-items: center;
          justify-content: space-between;
          margin-bottom: 14px;
          padding: 0 4px;
        }
        .badge-category-left {
          display: flex;
          align-items: center;
          gap: 8px;
          color: var(--light-blue);
          font-weight: 600;
          font-size: 1.05rem;
        }
        .badge-category-left i,
        .badge-category-left svg {
          width: 18px;
          height: 18px;
          color: var(--accent);
        }
        .badge-category-count {
          font-size: 0.85rem;
          color: var(--slate);
          font-weight: 500;
          background: rgba(var(--primary-rgb), 0.5);
          padding: 3px 10px;
          border-radius: 12px;
        }

        /* Rozet Grid */
        .badge-grid {
          display: grid;
          grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
          gap: 14px;
        }

        /* Rozet Kartı */
        .badge-card {
          position: relative;
          display: flex;
          flex-direction: column;
          align-items: center;
          text-align: center;
          padding: 20px 12px 16px;
          background: rgba(var(--primary-rgb), 0.45);
          border: 1px solid rgba(255, 255, 255, 0.06);
          border-radius: 16px;
          transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
          cursor: default;
        }
        .badge-card.earned {
          background: rgba(var(--primary-rgb), 0.6);
          border-color: rgba(var(--accent-rgb), 0.25);
        }
        .badge-card.earned:hover {
          transform: translateY(-4px);
          border-color: rgba(var(--accent-rgb), 0.45);
          box-shadow: 0 8px 28px -8px rgba(var(--accent-rgb), 0.25);
        }
        .badge-card.locked {
          opacity: 0.5;
        }
        .badge-card.locked:hover {
          opacity: 0.7;
        }

        /* Rozet İkon Çemberi */
        .badge-icon-wrap {
          position: relative;
          width: 62px;
          height: 62px;
          margin-bottom: 12px;
        }
        .badge-icon-circle {
          width: 100%;
          height: 100%;
          border-radius: 50%;
          display: flex;
          align-items: center;
          justify-content: center;
          background: rgba(var(--primary-rgb), 0.8);
          border: 2px solid var(--slate);
          transition: all 0.4s ease;
        }
        .badge-icon-circle i,
        .badge-icon-circle svg {
          width: 26px;
          height: 26px;
          color: var(--slate);
          transition: all 0.4s ease;
        }
        .badge-card.earned .badge-icon-circle {
          border-color: var(--accent);
          background: rgba(var(--accent-rgb), 0.12);
          box-shadow: 0 0 20px rgba(var(--accent-rgb), 0.2);
        }
        .badge-card.earned .badge-icon-circle i,
        .badge-card.earned .badge-icon-circle svg {
          color: var(--accent);
        }

        /* Glow efekti (kazanılmış) */
        .badge-glow {
          position: absolute;
          inset: -6px;
          border-radius: 50%;
          opacity: 0;
          transition: opacity 0.4s ease;
        }
        .badge-card.earned .badge-glow {
          opacity: 1;
          background: radial-gradient(circle, rgba(var(--accent-rgb), 0.18) 0%, transparent 70%);
          animation: badgePulse 3s ease-in-out infinite;
        }
        @keyframes badgePulse {
          0%, 100% { opacity: 0.6; transform: scale(1); }
          50% { opacity: 1; transform: scale(1.08); }
        }

        /* Onay işareti (kazanılmış) */
        .badge-check {
          position: absolute;
          bottom: -2px;
          right: -2px;
          width: 22px;
          height: 22px;
          background: var(--accent);
          border-radius: 50%;
          display: flex;
          align-items: center;
          justify-content: center;
          border: 2px solid var(--bg-dark);
          box-shadow: 0 2px 8px rgba(var(--accent-rgb), 0.4);
        }
        .badge-check i,
        .badge-check svg {
          width: 12px;
          height: 12px;
          color: var(--bg-dark);
          stroke-width: 3;
        }

        /* Rozet adı ve açıklama */
        .badge-name {
          font-size: 0.88rem;
          font-weight: 600;
          color: #fff;
          margin: 0 0 4px 0;
          line-height: 1.3;
        }
        .badge-card.locked .badge-name {
          color: var(--slate);
        }
        .badge-desc {
          font-size: 0.75rem;
          color: var(--slate);
          margin: 0;
          line-height: 1.4;
          opacity: 0.8;
        }

        /* ── Responsive ── */
        @media (max-width: 600px) {
          .badges-hero {
            flex-direction: column;
            text-align: center;
            padding: 20px 16px;
            gap: 16px;
          }
          .badges-progress-ring {
            width: 90px;
            height: 90px;
          }
          .progress-number { font-size: 1.6rem; }
          .progress-total { font-size: 0.95rem; }
          .badges-hero-title { font-size: 1.2rem; }
          .badges-hero-subtitle { font-size: 0.8rem; margin-bottom: 10px; }
          .badge-grid {
            grid-template-columns: repeat(2, 1fr);
            gap: 10px;
          }
          .badge-card { padding: 14px 8px 12px; }
          .badge-icon-wrap { width: 50px; height: 50px; margin-bottom: 8px; }
          .badge-icon-circle i,
          .badge-icon-circle svg { width: 22px; height: 22px; }
          .badge-name { font-size: 0.82rem; }
          .badge-desc { font-size: 0.7rem; }
          .badge-check { width: 18px; height: 18px; }
          .badge-check i,
          .badge-check svg { width: 10px; height: 10px; }
        }
