/* Legacy theme bridge: eski tasarim klasorlerini yeni Tailwind kabuguna baglar. */

/* KÖPRÜ: bir tema seçildiğinde Tailwind'in beklediği --theme-accent değişkenleri
   --t-accent / --t-accent-strong'tan beslensin (admin tema değişimi her bg-accent /
   text-accent / border-accent class'ına anında yansır). */
html[data-theme-name] {
    --theme-accent:        var(--t-accent);
    --theme-accent-strong: var(--t-accent-strong);
}
/* bg-accent-soft için ham rengi düşük opaklıkla — tema değişince soft da aynı tonun yumuşağı olur. */
html[data-theme-name] .bg-accent-soft { background-color: rgb(var(--theme-accent) / 0.14) !important; }


html[data-theme-name="amethyst"] { --t-accent: 167 139 250; --t-accent-strong: 139 92 246; --t-bg: #120d1f; --t-surface: #1f1733; --t-surface-2: #2b2045; --t-text: #f3eefe; --t-muted: #c7b8e5; }
html[data-theme-name="cherry"] { --t-accent: 239 77 109; --t-accent-strong: 225 29 72; --t-bg: #1b0d12; --t-surface: #2a131b; --t-surface-2: #3a1a25; --t-text: #ffeef2; --t-muted: #f3b7c4; }
html[data-theme-name="citrus"] { --t-accent: 124 163 23; --t-accent-strong: 101 132 15; --t-bg: #fbfaf0; --t-surface: #ffffff; --t-surface-2: #f2f5df; --t-text: #24251d; --t-muted: #66704d; }
html[data-theme-name="cobalt"] { --t-accent: 96 165 250; --t-accent-strong: 37 99 235; --t-bg: #081322; --t-surface: #101e33; --t-surface-2: #162844; --t-text: #eaf2ff; --t-muted: #aac4e7; }
html[data-theme-name="coffee"] { --t-accent: 184 137 90; --t-accent-strong: 146 94 52; --t-bg: #15100c; --t-surface: #211812; --t-surface-2: #302219; --t-text: #f4eadf; --t-muted: #d1b59d; }
html[data-theme-name="cyberpunk"] { --t-accent: 34 211 238; --t-accent-strong: 236 72 153; --t-bg: #080511; --t-surface: #141021; --t-surface-2: #211535; --t-text: #ecfeff; --t-muted: #a5f3fc; }
html[data-theme-name="emerald"] { --t-accent: 16 185 129; --t-accent-strong: 5 150 105; --t-bg: #06130f; --t-surface: #0d211b; --t-surface-2: #133126; --t-text: #ecfdf5; --t-muted: #a7f3d0; }
html[data-theme-name="forest"] { --t-accent: 132 204 22; --t-accent-strong: 101 163 13; --t-bg: #0b1307; --t-surface: #14200d; --t-surface-2: #1d2b13; --t-text: #f2f9e9; --t-muted: #c7dda8; }
html[data-theme-name="glacier"] { --t-accent: 14 165 233; --t-accent-strong: 2 132 199; --t-bg: #f1f8fb; --t-surface: #ffffff; --t-surface-2: #e1f0f7; --t-text: #102533; --t-muted: #587284; }
html[data-theme-name="mars"] { --t-accent: 249 115 22; --t-accent-strong: 194 65 12; --t-bg: #1b0f09; --t-surface: #2a160d; --t-surface-2: #3b1f12; --t-text: #fff1e8; --t-muted: #fdba74; }
html[data-theme-name="midnight"] { --t-accent: 129 140 248; --t-accent-strong: 99 102 241; --t-bg: #080b16; --t-surface: #11172a; --t-surface-2: #18213b; --t-text: #eef2ff; --t-muted: #c7d2fe; }
html[data-theme-name="modern"] { --t-accent: 122 155 58; --t-accent-strong: 94 122 38; --t-bg: #0f0e0c; --t-surface: #1a1916; --t-surface-2: #2a2824; --t-text: #f7f7f6; --t-muted: #b8b4ac; }
html[data-theme-name="ocean"] { --t-accent: 56 189 248; --t-accent-strong: 3 105 161; --t-bg: #07141b; --t-surface: #0d2230; --t-surface-2: #123247; --t-text: #e8f8ff; --t-muted: #bae6fd; }
html[data-theme-name="purple"] { --t-accent: 168 85 247; --t-accent-strong: 126 34 206; --t-bg: #12091d; --t-surface: #21122f; --t-surface-2: #321a49; --t-text: #faf5ff; --t-muted: #e9d5ff; }
html[data-theme-name="retro"] { --t-accent: 183 121 31; --t-accent-strong: 146 84 20; --t-bg: #fbf3df; --t-surface: #fffaf0; --t-surface-2: #f1dfbc; --t-text: #2b2112; --t-muted: #7a6140; }
html[data-theme-name="rose"] { --t-accent: 225 29 72; --t-accent-strong: 190 18 60; --t-bg: #fff5f7; --t-surface: #ffffff; --t-surface-2: #ffe4e9; --t-text: #2b151a; --t-muted: #9f5264; }
html[data-theme-name="sinema"] { --t-accent: 250 204 21; --t-accent-strong: 202 138 4; --t-bg: #0d0d0d; --t-surface: #181715; --t-surface-2: #24221d; --t-text: #fff8dc; --t-muted: #d6c58b; }
html[data-theme-name="slate"] { --t-accent: 148 163 184; --t-accent-strong: 100 116 139; --t-bg: #0f172a; --t-surface: #182235; --t-surface-2: #223049; --t-text: #f8fafc; --t-muted: #cbd5e1; }
html[data-theme-name="sunset"] { --t-accent: 251 113 133; --t-accent-strong: 244 63 94; --t-bg: #1c0f14; --t-surface: #2b171d; --t-surface-2: #3c2029; --t-text: #fff1f2; --t-muted: #fecdd3; }
html[data-theme-name="anka"] { --t-accent: 245 158 11; --t-accent-strong: 217 119 6; --t-bg: #150d05; --t-surface: #231608; --t-surface-2: #33200c; --t-text: #fff7ed; --t-muted: #fed7aa; }
html[data-theme-name="ayaz"] { --t-accent: 2 132 199; --t-accent-strong: 3 105 161; --t-bg: #f0f9ff; --t-surface: #ffffff; --t-surface-2: #dff2fb; --t-text: #0c2635; --t-muted: #527487; }
html[data-theme-name="begonvil"] { --t-accent: 192 38 211; --t-accent-strong: 162 28 175; --t-bg: #fff7fb; --t-surface: #ffffff; --t-surface-2: #fae8ff; --t-text: #311122; --t-muted: #9f4b88; }
html[data-theme-name="bozkir"] { --t-accent: 161 98 7; --t-accent-strong: 133 77 14; --t-bg: #faf7ed; --t-surface: #fffdf7; --t-surface-2: #f1e6c8; --t-text: #2d2415; --t-muted: #78684c; }
html[data-theme-name="denizfeneri"] { --t-accent: 251 191 36; --t-accent-strong: 217 119 6; --t-bg: #06131c; --t-surface: #0d2230; --t-surface-2: #173449; --t-text: #eff8ff; --t-muted: #bfdbfe; }
html[data-theme-name="eflatun"] { --t-accent: 192 132 252; --t-accent-strong: 147 51 234; --t-bg: #130b20; --t-surface: #201132; --t-surface-2: #321b4a; --t-text: #faf5ff; --t-muted: #e9d5ff; }
html[data-theme-name="gececi"] { --t-accent: 163 230 53; --t-accent-strong: 101 163 13; --t-bg: #050605; --t-surface: #11140d; --t-surface-2: #1b2111; --t-text: #f7fee7; --t-muted: #d9f99d; }
html[data-theme-name="gokyuzu"] { --t-accent: 37 99 235; --t-accent-strong: 29 78 216; --t-bg: #f5f8ff; --t-surface: #ffffff; --t-surface-2: #e7efff; --t-text: #111827; --t-muted: #5d6f8e; }
html[data-theme-name="harman"] { --t-accent: 217 119 6; --t-accent-strong: 180 83 9; --t-bg: #140f08; --t-surface: #21190f; --t-surface-2: #332412; --t-text: #fff8e7; --t-muted: #f3c983; }
html[data-theme-name="ipek"] { --t-accent: 219 39 119; --t-accent-strong: 190 24 93; --t-bg: #fffafc; --t-surface: #ffffff; --t-surface-2: #fce7f3; --t-text: #2f1722; --t-muted: #9d5672; }
html[data-theme-name="kuzey"] { --t-accent: 103 232 249; --t-accent-strong: 8 145 178; --t-bg: #061018; --t-surface: #0d1c28; --t-surface-2: #162c3c; --t-text: #ecfeff; --t-muted: #a5f3fc; }
html[data-theme-name="lavanta"] { --t-accent: 139 92 246; --t-accent-strong: 109 40 217; --t-bg: #faf7ff; --t-surface: #ffffff; --t-surface-2: #ede9fe; --t-text: #241a33; --t-muted: #76649a; }
html[data-theme-name="liman"] { --t-accent: 8 145 178; --t-accent-strong: 14 116 144; --t-bg: #f3fbfb; --t-surface: #ffffff; --t-surface-2: #dff5f4; --t-text: #112b2d; --t-muted: #52777a; }
html[data-theme-name="magma"] { --t-accent: 239 68 68; --t-accent-strong: 185 28 28; --t-bg: #170807; --t-surface: #2a0f0d; --t-surface-2: #421512; --t-text: #fff1f1; --t-muted: #fecaca; }
html[data-theme-name="mint"] { --t-accent: 16 185 129; --t-accent-strong: 5 150 105; --t-bg: #f2fbf7; --t-surface: #ffffff; --t-surface-2: #dff7ed; --t-text: #123126; --t-muted: #4d806a; }
html[data-theme-name="neonpazar"] { --t-accent: 34 197 94; --t-accent-strong: 22 163 74; --t-bg: #050b08; --t-surface: #0d1912; --t-surface-2: #14261b; --t-text: #f0fdf4; --t-muted: #bbf7d0; }
html[data-theme-name="pasifik"] { --t-accent: 45 212 191; --t-accent-strong: 13 148 136; --t-bg: #061312; --t-surface: #0d2421; --t-surface-2: #153734; --t-text: #f0fdfa; --t-muted: #99f6e4; }
html[data-theme-name="safran"] { --t-accent: 217 119 6; --t-accent-strong: 180 83 9; --t-bg: #fff9eb; --t-surface: #ffffff; --t-surface-2: #fef0c7; --t-text: #2c2110; --t-muted: #8a6b2d; }
html[data-theme-name="sis"] { --t-accent: 100 116 139; --t-accent-strong: 71 85 105; --t-bg: #f8fafc; --t-surface: #ffffff; --t-surface-2: #e2e8f0; --t-text: #1e293b; --t-muted: #64748b; }
html[data-theme-name="tundra"] { --t-accent: 153 246 228; --t-accent-strong: 20 184 166; --t-bg: #071211; --t-surface: #10201e; --t-surface-2: #18332f; --t-text: #f0fdfa; --t-muted: #99f6e4; }
html[data-theme-name="yakut"] { --t-accent: 225 29 72; --t-accent-strong: 190 18 60; --t-bg: #16070d; --t-surface: #260d15; --t-surface-2: #3a121f; --t-text: #fff1f4; --t-muted: #fda4af; }
html[data-theme-name="zeytin"] { --t-accent: 107 142 35; --t-accent-strong: 85 112 28; --t-bg: #f7f8ef; --t-surface: #ffffff; --t-surface-2: #e8ecd2; --t-text: #232816; --t-muted: #637044; }

/* ─── 20 yeni tema — sözlük v2 ──── */
html[data-theme-name="abanoz"]     { --t-accent: 201 127 36;  --t-accent-strong: 160 102 24; --t-bg: #0c0a09; --t-surface: #1c1917; --t-surface-2: #2a2520; --t-text: #fafaf9; --t-muted: #a8a29e; }
html[data-theme-name="karavela"]   { --t-accent: 190 31 79;   --t-accent-strong: 159 18 57;  --t-bg: #1a0a0e; --t-surface: #2a131b; --t-surface-2: #3a1c27; --t-text: #fff1f4; --t-muted: #d8a3ad; }
html[data-theme-name="acai"]       { --t-accent: 124 58 237;  --t-accent-strong: 109 40 217; --t-bg: #0f0820; --t-surface: #1c1132; --t-surface-2: #2a1a47; --t-text: #ede9fe; --t-muted: #c4b5fd; }
html[data-theme-name="selenit"]    { --t-accent: 214 211 209; --t-accent-strong: 168 162 158;--t-bg: #0a0a0a; --t-surface: #1c1917; --t-surface-2: #292524; --t-text: #fafaf9; --t-muted: #a8a29e; }
html[data-theme-name="kuzguni"]    { --t-accent: 161 161 170; --t-accent-strong: 113 113 122;--t-bg: #09090b; --t-surface: #18181b; --t-surface-2: #27272a; --t-text: #f4f4f5; --t-muted: #a1a1aa; }
html[data-theme-name="iznik"]      { --t-accent: 29 78 216;   --t-accent-strong: 30 64 175;  --t-bg: #0a1428; --t-surface: #142847; --t-surface-2: #1d3760; --t-text: #eff6ff; --t-muted: #93c5fd; }
html[data-theme-name="derin_uzay"] { --t-accent: 99 102 241;  --t-accent-strong: 79 70 229;  --t-bg: #020617; --t-surface: #0f172a; --t-surface-2: #1e293b; --t-text: #e0e7ff; --t-muted: #a5b4fc; }
html[data-theme-name="bambu"]      { --t-accent: 101 163 13;  --t-accent-strong: 77 124 15;  --t-bg: #0d130a; --t-surface: #1a2410; --t-surface-2: #253518; --t-text: #f7fee7; --t-muted: #bef264; }
html[data-theme-name="lacivert"]   { --t-accent: 67 56 202;   --t-accent-strong: 55 48 163;  --t-bg: #050816; --t-surface: #0e1228; --t-surface-2: #161c3a; --t-text: #e0e7ff; --t-muted: #a5b4fc; }
html[data-theme-name="basalt"]     { --t-accent: 234 88 12;   --t-accent-strong: 194 65 12;  --t-bg: #100c0a; --t-surface: #1e1612; --t-surface-2: #2a1f18; --t-text: #fff7ed; --t-muted: #fdba74; }
html[data-theme-name="obsidyen"]   { --t-accent: 52 211 153;  --t-accent-strong: 16 185 129; --t-bg: #050d0a; --t-surface: #0a1612; --t-surface-2: #11231d; --t-text: #ecfdf5; --t-muted: #6ee7b7; }
html[data-theme-name="kagit"]      { --t-accent: 41 37 36;    --t-accent-strong: 28 25 23;   --t-bg: #fafaf9; --t-surface: #ffffff; --t-surface-2: #f5f5f4; --t-text: #1c1917; --t-muted: #78716c; }
html[data-theme-name="somon"]      { --t-accent: 251 146 60;  --t-accent-strong: 234 88 12;  --t-bg: #fff7ed; --t-surface: #ffffff; --t-surface-2: #fed7aa; --t-text: #2c1505; --t-muted: #9a6e3a; }
html[data-theme-name="kekik"]      { --t-accent: 77 124 15;   --t-accent-strong: 63 98 18;   --t-bg: #f7faf2; --t-surface: #ffffff; --t-surface-2: #ecf2dc; --t-text: #1f2911; --t-muted: #5b7c34; }
html[data-theme-name="fildisi"]    { --t-accent: 202 138 4;   --t-accent-strong: 161 98 7;   --t-bg: #fffbeb; --t-surface: #ffffff; --t-surface-2: #fef3c7; --t-text: #2a1f02; --t-muted: #92722c; }
html[data-theme-name="goksu"]      { --t-accent: 6 182 212;   --t-accent-strong: 8 145 178;  --t-bg: #ecfeff; --t-surface: #ffffff; --t-surface-2: #cffafe; --t-text: #082a33; --t-muted: #5b8895; }
html[data-theme-name="defne"]      { --t-accent: 13 148 136;  --t-accent-strong: 15 118 110; --t-bg: #f0fdfa; --t-surface: #ffffff; --t-surface-2: #ccfbf1; --t-text: #042823; --t-muted: #387c75; }
html[data-theme-name="cini"]       { --t-accent: 59 130 246;  --t-accent-strong: 29 78 216;  --t-bg: #eff6ff; --t-surface: #ffffff; --t-surface-2: #dbeafe; --t-text: #0a1c45; --t-muted: #3a4f7d; }
html[data-theme-name="mercan"]     { --t-accent: 251 113 133; --t-accent-strong: 225 29 72;  --t-bg: #fff5f6; --t-surface: #ffffff; --t-surface-2: #ffe4e6; --t-text: #2b0d14; --t-muted: #9b4859; }
html[data-theme-name="lal"]        { --t-accent: 190 24 93;   --t-accent-strong: 157 23 77;  --t-bg: #fdf2f8; --t-surface: #ffffff; --t-surface-2: #fce7f3; --t-text: #2a0a1c; --t-muted: #9b3760; }

/* ─── Tribün ruhu — 6 ──── */
html[data-theme-name="yildiz_lacivert"]  { --t-accent: 253 224 71; --t-accent-strong: 250 204 21; --t-bg: #050b1f; --t-surface: #0a1735; --t-surface-2: #14254a; --t-text: #fefce8; --t-muted: #94a3b8; }
html[data-theme-name="alev_aslan"]       { --t-accent: 245 158 11; --t-accent-strong: 217 119 6;  --t-bg: #1a0a05; --t-surface: #2a1206; --t-surface-2: #3a1d0e; --t-text: #fff7ed; --t-muted: #fcd34d; }
html[data-theme-name="monogram"]         { --t-accent: 250 250 250;--t-accent-strong: 212 212 212;--t-bg: #0a0a0a; --t-surface: #1c1917; --t-surface-2: #292524; --t-text: #fafafa; --t-muted: #a8a29e; }
html[data-theme-name="firtina_bordo"]    { --t-accent: 59 130 246; --t-accent-strong: 30 64 175;  --t-bg: #1a0508; --t-surface: #2a0d12; --t-surface-2: #3a131c; --t-text: #fff1f4; --t-muted: #f9a8b4; }
html[data-theme-name="anatolia_yesili"]  { --t-accent: 22 163 74;  --t-accent-strong: 21 128 61;  --t-bg: #f0fdf4; --t-surface: #ffffff; --t-surface-2: #dcfce7; --t-text: #052e1a; --t-muted: #386645; }
html[data-theme-name="baskent_alev"]     { --t-accent: 220 38 38;  --t-accent-strong: 185 28 28;  --t-bg: #0a0505; --t-surface: #1c0f0f; --t-surface-2: #2a1414; --t-text: #fff1f1; --t-muted: #fda4a4; }

/* ─── Hollywood paletleri — 12 ──── */
html[data-theme-name="yesil_kod"]        { --t-accent: 0 255 65;   --t-accent-strong: 21 128 61;  --t-bg: #000000; --t-surface: #0a0e0a; --t-surface-2: #131e13; --t-text: #d1fae5; --t-muted: #5b8e6b; }
html[data-theme-name="neon_yagmur"]      { --t-accent: 236 72 153; --t-accent-strong: 219 39 119; --t-bg: #050314; --t-surface: #14092a; --t-surface-2: #200d3d; --t-text: #fae8ff; --t-muted: #c4b5fd; }
html[data-theme-name="siyanik_devre"]    { --t-accent: 6 182 212;  --t-accent-strong: 8 145 178;  --t-bg: #000814; --t-surface: #001d3d; --t-surface-2: #002e5c; --t-text: #cffafe; --t-muted: #93c5fd; }
html[data-theme-name="kanvas_kan"]       { --t-accent: 220 38 38;  --t-accent-strong: 185 28 28;  --t-bg: #fef3c7; --t-surface: #ffffff; --t-surface-2: #fde68a; --t-text: #2a0f0f; --t-muted: #92654c; }
html[data-theme-name="gelin_safkan"]     { --t-accent: 250 204 21; --t-accent-strong: 202 138 4;  --t-bg: #0a0a0a; --t-surface: #1a1a0a; --t-surface-2: #2a2810; --t-text: #fefce8; --t-muted: #ca8a04; }
html[data-theme-name="kara_palto"]       { --t-accent: 202 138 4;  --t-accent-strong: 161 98 7;   --t-bg: #1a0f05; --t-surface: #2a1810; --t-surface-2: #3a2412; --t-text: #fce7c8; --t-muted: #b89970; }
html[data-theme-name="pastel_otel"]      { --t-accent: 236 72 153; --t-accent-strong: 219 39 119; --t-bg: #fce7f3; --t-surface: #ffffff; --t-surface-2: #fbcfe8; --t-text: #3a0a20; --t-muted: #9f4366; }
html[data-theme-name="col_furyasi"]      { --t-accent: 217 119 6;  --t-accent-strong: 180 83 9;   --t-bg: #2a1505; --t-surface: #3a1f0a; --t-surface-2: #4a2912; --t-text: #fff7ed; --t-muted: #fdba74; }
html[data-theme-name="sovalye_altin"]    { --t-accent: 202 138 4;  --t-accent-strong: 161 98 7;   --t-bg: #0a0a0a; --t-surface: #1c1917; --t-surface-2: #292524; --t-text: #fef9c3; --t-muted: #d4af37; }
html[data-theme-name="mavi_hatira"]      { --t-accent: 30 64 175;  --t-accent-strong: 30 58 138;  --t-bg: #fff7ed; --t-surface: #ffffff; --t-surface-2: #fed7aa; --t-text: #0a1c3a; --t-muted: #5b6890; }
html[data-theme-name="synthwave"]        { --t-accent: 217 70 239; --t-accent-strong: 192 38 211; --t-bg: #14001f; --t-surface: #240938; --t-surface-2: #340d4f; --t-text: #fae8ff; --t-muted: #c4b5fd; }
html[data-theme-name="kotu_yesil"]       { --t-accent: 101 163 13; --t-accent-strong: 77 124 15;  --t-bg: #1a0a14; --t-surface: #2a1424; --t-surface-2: #3a1d34; --t-text: #fef9c3; --t-muted: #a3a05f; }

/* ─── Türkiye şehirleri — 15 ──── */
html[data-theme-name="istanbul"]         { --t-accent: 245 158 11; --t-accent-strong: 217 119 6;  --t-bg: #0d1928; --t-surface: #142847; --t-surface-2: #1d3760; --t-text: #fff7ed; --t-muted: #cbd5e1; }
html[data-theme-name="izmir"]            { --t-accent: 14 165 233; --t-accent-strong: 2 132 199;  --t-bg: #f0f9ff; --t-surface: #ffffff; --t-surface-2: #e0f2fe; --t-text: #082f49; --t-muted: #4a6c84; }
html[data-theme-name="ankara"]           { --t-accent: 185 28 28;  --t-accent-strong: 153 27 27;  --t-bg: #1a0a0a; --t-surface: #2a0f0f; --t-surface-2: #3a1414; --t-text: #fff1f1; --t-muted: #fca5a5; }
html[data-theme-name="antalya"]          { --t-accent: 6 182 212;  --t-accent-strong: 8 145 178;  --t-bg: #ecfeff; --t-surface: #ffffff; --t-surface-2: #cffafe; --t-text: #082a33; --t-muted: #5b8895; }
html[data-theme-name="bursa"]            { --t-accent: 21 128 61;  --t-accent-strong: 22 101 52;  --t-bg: #f0fdf4; --t-surface: #ffffff; --t-surface-2: #dcfce7; --t-text: #052e1a; --t-muted: #3f6e51; }
html[data-theme-name="erzurum"]          { --t-accent: 148 163 184;--t-accent-strong: 100 116 139;--t-bg: #0a0f17; --t-surface: #131a26; --t-surface-2: #1d2538; --t-text: #f1f5f9; --t-muted: #94a3b8; }
html[data-theme-name="mardin"]           { --t-accent: 217 119 6;  --t-accent-strong: 180 83 9;   --t-bg: #2a1d10; --t-surface: #3a2818; --t-surface-2: #4a3522; --t-text: #fff7ed; --t-muted: #f5b97a; }
html[data-theme-name="van"]              { --t-accent: 14 116 144; --t-accent-strong: 22 78 99;   --t-bg: #051519; --t-surface: #0a2230; --t-surface-2: #142e3f; --t-text: #ecfeff; --t-muted: #7dd3fc; }
html[data-theme-name="kapadokya"]        { --t-accent: 248 113 113;--t-accent-strong: 239 68 68;  --t-bg: #fef2f2; --t-surface: #ffffff; --t-surface-2: #fee2e2; --t-text: #2a0d0d; --t-muted: #b87878; }
html[data-theme-name="rize"]             { --t-accent: 74 222 128; --t-accent-strong: 22 163 74;  --t-bg: #050d0a; --t-surface: #0a1612; --t-surface-2: #14241a; --t-text: #ecfdf5; --t-muted: #6ee7b7; }
html[data-theme-name="mugla"]            { --t-accent: 236 72 153; --t-accent-strong: 219 39 119; --t-bg: #fff5f9; --t-surface: #ffffff; --t-surface-2: #fce7f3; --t-text: #2b0d1d; --t-muted: #a3576f; }
html[data-theme-name="artvin"]           { --t-accent: 101 163 13; --t-accent-strong: 77 124 15;  --t-bg: #0a1408; --t-surface: #14210d; --t-surface-2: #1c2e12; --t-text: #f7fee7; --t-muted: #bef264; }
html[data-theme-name="edirne"]           { --t-accent: 79 70 229;  --t-accent-strong: 67 56 202;  --t-bg: #f0f4ff; --t-surface: #ffffff; --t-surface-2: #e0e7ff; --t-text: #0a1235; --t-muted: #5e6890; }
html[data-theme-name="konya"]            { --t-accent: 99 102 241; --t-accent-strong: 79 70 229;  --t-bg: #fffbeb; --t-surface: #ffffff; --t-surface-2: #fef3c7; --t-text: #1a1233; --t-muted: #6d6890; }
html[data-theme-name="gaziantep"]        { --t-accent: 132 204 22; --t-accent-strong: 101 163 13; --t-bg: #fdf6e3; --t-surface: #ffffff; --t-surface-2: #f7e8b8; --t-text: #2a2305; --t-muted: #8a7e3a; }

/* ─── Film türleri — 6 ──── */
html[data-theme-name="western"]          { --t-accent: 194 65 12;  --t-accent-strong: 154 52 18;  --t-bg: #fef3c7; --t-surface: #ffffff; --t-surface-2: #fde68a; --t-text: #2a1505; --t-muted: #92704c; }
html[data-theme-name="bilim_kurgu"]      { --t-accent: 34 211 238; --t-accent-strong: 6 182 212;  --t-bg: #02040f; --t-surface: #0a1228; --t-surface-2: #142347; --t-text: #cffafe; --t-muted: #67e8f9; }
html[data-theme-name="korku"]            { --t-accent: 185 28 28;  --t-accent-strong: 153 27 27;  --t-bg: #0a0505; --t-surface: #1c0f0f; --t-surface-2: #2a1414; --t-text: #fef2f2; --t-muted: #b87878; }
html[data-theme-name="belgesel"]         { --t-accent: 82 82 82;   --t-accent-strong: 64 64 64;   --t-bg: #fafafa; --t-surface: #ffffff; --t-surface-2: #f5f5f5; --t-text: #171717; --t-muted: #737373; }
html[data-theme-name="gerilim"]          { --t-accent: 239 68 68;  --t-accent-strong: 220 38 38;  --t-bg: #0a0f17; --t-surface: #131a26; --t-surface-2: #1d2538; --t-text: #f1f5f9; --t-muted: #94a3b8; }
html[data-theme-name="fantastik"]        { --t-accent: 192 38 211; --t-accent-strong: 162 28 175; --t-bg: #1a0a2e; --t-surface: #2a1247; --t-surface-2: #3a1d5a; --t-text: #fae8ff; --t-muted: #c084fc; }

html[data-theme-name="purple"] body {
  background-image: linear-gradient(rgb(18 9 29 / 0.86), rgb(18 9 29 / 0.94)), url("../themes/legacy/purple/bg_purple.jpg");
  background-attachment: fixed;
  background-size: cover;
}

html[data-theme-name="sinema"] body {
  background-image: linear-gradient(rgb(13 13 13 / 0.86), rgb(13 13 13 / 0.96)), url("../themes/legacy/sinema/cinema_bg.png");
  background-attachment: fixed;
  background-size: cover;
}

html[data-theme-name] body {
  background-color: var(--t-bg, #0f0e0c) !important;
  color: var(--t-text, #f7f7f6) !important;
}

html[data-theme-name] {
  --theme-accent: var(--t-accent, 122 155 58);
  --theme-accent-strong: var(--t-accent-strong, 94 122 38);
}

html[data-theme-name] .bg-white,
html[data-theme-name] .dark\:bg-ink-800,
html[data-theme-name] .dark\:bg-ink-900 {
  background-color: var(--t-surface, #1a1916) !important;
}

html[data-theme-name] .bg-ink-50,
html[data-theme-name] .dark\:bg-ink-700,
html[data-theme-name] .dark\:bg-ink-800\/80,
html[data-theme-name] .bg-ink-50\/80 {
  background-color: var(--t-bg, #0f0e0c) !important;
}

html[data-theme-name] .bg-ink-100,
html[data-theme-name] .dark\:bg-ink-700 {
  background-color: var(--t-surface-2, #2a2824) !important;
}

html[data-theme-name] .text-ink-900,
html[data-theme-name] .text-ink-700,
html[data-theme-name] .dark\:text-ink-50,
html[data-theme-name] .dark\:text-ink-200 {
  color: var(--t-text, #f7f7f6) !important;
}

html[data-theme-name] .text-ink-500,
html[data-theme-name] .text-ink-400,
html[data-theme-name] .dark\:text-ink-300 {
  color: var(--t-muted, #b8b4ac) !important;
}

html[data-theme-name] .border-ink-200,
html[data-theme-name] .dark\:border-ink-700,
html[data-theme-name] .border-ink-700 {
  border-color: color-mix(in srgb, var(--t-muted, #b8b4ac) 24%, transparent) !important;
}

html[data-theme-name] .bg-accent,
html[data-theme-name] .hover\:bg-accent:hover {
  background-color: rgb(var(--t-accent, 122 155 58)) !important;
}

html[data-theme-name] .hover\:bg-accent-dark:hover,
html[data-theme-name] .bg-accent-dark {
  background-color: rgb(var(--t-accent-strong, 94 122 38)) !important;
}

html[data-theme-name] .text-accent,
html[data-theme-name] .hover\:text-accent:hover {
  color: rgb(var(--t-accent, 122 155 58)) !important;
}

html[data-theme-name] .border-accent,
html[data-theme-name] .focus\:border-accent:focus {
  border-color: rgb(var(--t-accent, 122 155 58)) !important;
}

html[data-theme-name] .bg-accent-soft {
  background-color: rgb(var(--t-accent, 122 155 58) / 0.16) !important;
}

/* ─── opacity variants — bg-white/N, bg-ink-*/N — tüm sapmalar tema ile uyumlu ──── */
html[data-theme-name] .bg-white\/60,
html[data-theme-name] .bg-white\/70,
html[data-theme-name] .bg-white\/90,
html[data-theme-name] .bg-white\/92,
html[data-theme-name] .bg-white\/95,
html[data-theme-name] .bg-white\/30,
html[data-theme-name] .bg-white\/15,
html[data-theme-name] .bg-white\/12,
html[data-theme-name] .dark\:bg-ink-800\/60,
html[data-theme-name] .dark\:bg-ink-800\/80,
html[data-theme-name] .dark\:bg-ink-900\/40,
html[data-theme-name] .dark\:bg-ink-900\/55,
html[data-theme-name] .dark\:bg-ink-900\/60,
html[data-theme-name] .dark\:bg-ink-900\/70,
html[data-theme-name] .dark\:bg-ink-900\/90 {
  background-color: color-mix(in srgb, var(--t-surface, #1a1916) 88%, transparent) !important;
}

html[data-theme-name] .bg-ink-50\/60,
html[data-theme-name] .bg-ink-50\/70,
html[data-theme-name] .bg-ink-50\/80,
html[data-theme-name] .bg-ink-700\/50,
html[data-theme-name] .bg-ink-800\/50,
html[data-theme-name] .bg-ink-800\/60 {
  background-color: color-mix(in srgb, var(--t-bg, #0f0e0c) 80%, transparent) !important;
}

/* eksik text/border varyantları */
html[data-theme-name] .text-ink-50,
html[data-theme-name] .text-ink-200,
html[data-theme-name] .text-ink-300,
html[data-theme-name] .text-ink-800,
html[data-theme-name] .dark\:text-ink-100,
html[data-theme-name] .dark\:text-ink-900 {
  color: var(--t-text, #f7f7f6) !important;
}

html[data-theme-name] .text-ink-600,
html[data-theme-name] .dark\:text-ink-400,
html[data-theme-name] .dark\:text-ink-600 {
  color: var(--t-muted, #b8b4ac) !important;
}

html[data-theme-name] .border-ink-100,
html[data-theme-name] .border-ink-300,
html[data-theme-name] .border-ink-600,
html[data-theme-name] .dark\:border-ink-600 {
  border-color: color-mix(in srgb, var(--t-muted, #b8b4ac) 24%, transparent) !important;
}

/* divide-* (footer ve listeler) */
html[data-theme-name] .divide-ink-100 > :not([hidden]) ~ :not([hidden]),
html[data-theme-name] .dark\:divide-ink-700 > :not([hidden]) ~ :not([hidden]) {
  border-color: color-mix(in srgb, var(--t-muted, #b8b4ac) 22%, transparent) !important;
}

/* footer dahil tüm yüzeylerde input/textarea/select okunaklı kalsın */
html[data-theme-name] input:not([type="checkbox"]):not([type="radio"]),
html[data-theme-name] textarea,
html[data-theme-name] select {
  background-color: color-mix(in srgb, var(--t-bg, #0f0e0c) 85%, transparent);
  color: var(--t-text, #f7f7f6);
  border-color: color-mix(in srgb, var(--t-muted, #b8b4ac) 30%, transparent);
}

/* divider'lar/ayraçlar */
html[data-theme-name] hr {
  border-color: color-mix(in srgb, var(--t-muted, #b8b4ac) 22%, transparent) !important;
}

/* ─── portal-spesifik: standalone portallar (ilan/ulema/görsel/şeyler) `dark:` prefix kullanmadan ──── */
/* body zemini hard-coded → tema baskın olsun */
html[data-theme-name] body,
html[data-theme-name].dark body {
  background-color: var(--t-bg, #0f0e0c) !important;
  color: var(--t-text, #f7f7f6) !important;
}

/* bare bg-ink-* (dark: yok) */
html[data-theme-name] .bg-ink-50  { background-color: var(--t-surface-2, #2a2824) !important; }
html[data-theme-name] .bg-ink-100 { background-color: var(--t-surface-2, #2a2824) !important; }
html[data-theme-name] .bg-ink-200 { background-color: var(--t-surface-2, #2a2824) !important; }
html[data-theme-name] .bg-ink-700 { background-color: var(--t-surface-2, #2a2824) !important; }
html[data-theme-name] .bg-ink-800 { background-color: var(--t-surface, #1a1916) !important; }
html[data-theme-name] .bg-ink-900 { background-color: var(--t-bg, #0f0e0c) !important; }

html[data-theme-name] .hover\:bg-ink-100:hover,
html[data-theme-name] .hover\:bg-ink-200:hover,
html[data-theme-name] .hover\:bg-ink-800:hover { background-color: var(--t-surface-2, #2a2824) !important; }

html[data-theme-name] .text-ink-100,
html[data-theme-name] .text-ink-700 { color: var(--t-text, #f7f7f6) !important; }

html[data-theme-name] .border-ink-800,
html[data-theme-name] .border-ink-900 { border-color: color-mix(in srgb, var(--t-muted, #b8b4ac) 24%, transparent) !important; }

/* ilan portalı: sari-* accent renkleri tema accent'iyle bağla */
html[data-theme-name] .bg-sari-300,
html[data-theme-name] .bg-sari-400,
html[data-theme-name] .bg-sari-500,
html[data-theme-name] .hover\:bg-sari-400:hover { background-color: rgb(var(--t-accent, 122 155 58)) !important; color: var(--t-bg, #0f0e0c) !important; }

html[data-theme-name] .text-sari-300,
html[data-theme-name] .text-sari-400,
html[data-theme-name] .text-sari-500,
html[data-theme-name] .hover\:text-sari-300:hover,
html[data-theme-name] .hover\:text-sari-400:hover { color: rgb(var(--t-accent, 122 155 58)) !important; }

html[data-theme-name] .border-sari-300,
html[data-theme-name] .border-sari-400,
html[data-theme-name] .border-sari-500 { border-color: rgb(var(--t-accent, 122 155 58)) !important; }

/* ulema'daki "soru" mavi vurgu rengi de tema accent'iyle bağla */
html[data-theme-name] .bg-soru,
html[data-theme-name] .text-soru { color: rgb(var(--t-accent, 122 155 58)) !important; }
html[data-theme-name] .bg-soru-soft { background-color: rgb(var(--t-accent, 122 155 58) / 0.14) !important; }

/* hero gradientleri (ulema=.hero, görsel=.hero-bg) — sabit gradient yerine tema renkleri */
html[data-theme-name] .hero,
html[data-theme-name] .hero-bg {
  background:
    radial-gradient(circle at 18% 22%, color-mix(in srgb, var(--t-text, #f7f7f6) 12%, transparent) 0 2px, transparent 2px) 0 0/34px 34px,
    linear-gradient(135deg,
      rgb(var(--t-accent-strong, 94 122 38)) 0%,
      rgb(var(--t-accent, 122 155 58)) 55%,
      var(--t-surface, #1a1916) 100%) !important;
  color: var(--t-text, #f7f7f6);
}

/* şeyler portalında kapak-yok desenli arka plan da tema yüzeyi takip etsin */
html[data-theme-name] .kapak-yok {
  background: repeating-linear-gradient(135deg,
    var(--t-surface-2, #2a2824) 0 14px,
    var(--t-surface, #1a1916) 14px 28px) !important;
}
