/* e-akor teması: eski tasarımın birebir karşılığı, Bootstrap olmadan. */
:root {
	--accent: #ffbf00;
	--accent-dark: #dea700;
	--navy: #1e272e;
	--navy-2: #14182a;
	--navy-3: #151b20;
	--text: #212529;
	--muted: rgba(33, 37, 41, .75);
	--line: #e0e0e0;
	--bg: #ffffff;
	--panel: #ffffff;
	--hover: #eeeeee;
	--font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif;
	--mono: "Cousine", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
	color-scheme: light;
}
[data-theme="dark"] {
	--text: #e1e1e1;
	--muted: #a8a8a8;
	--line: #292929;
	--bg: #171717;
	--panel: #1f1f1f;
	--hover: #262626;
	color-scheme: dark;
}

/* Temel */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 1rem; line-height: 1.5; color: var(--text); background: var(--bg); }
img, svg { vertical-align: middle; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1rem; }
p a { color: var(--accent); }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .5rem; font-weight: 500; line-height: 1.2; color: var(--text); }
h1, .h1 { font-size: 24px; }
h2, .h2 { font-size: calc(1.325rem + .9vw); }
h3, .h3 { font-size: calc(1.3rem + .6vw); }
h4, .h4 { font-size: calc(1.275rem + .3vw); }
h5, .h5 { font-size: 1.25rem; }
@media (min-width: 1200px) { h2, .h2 { font-size: 2rem; } h3, .h3 { font-size: 1.75rem; } h4, .h4 { font-size: 1.5rem; } }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
ul, ol { margin-top: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.skip-link { position: absolute; left: 8px; top: -100px; z-index: 100000; padding: 8px 12px; background: var(--accent); color: #111; font-weight: 600; }
.skip-link:focus { top: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }

/* Izgara */
.container { width: 100%; margin: 0 auto; padding: 0 12px; }
@media (min-width: 576px) { .container { max-width: 540px; } }
@media (min-width: 768px) { .container { max-width: 720px; } }
@media (min-width: 992px) { .container { max-width: 960px; } }
@media (min-width: 1200px) { .container { max-width: 1140px; } }
@media (min-width: 1400px) { .container { max-width: 1320px; } }
@media (max-width: 575px) { .container { max-width: 425px; } }
.page-body { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
@media (min-width: 992px) { .layout { grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); } }
.grid-2 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 24px; }
@media (min-width: 768px) { .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Başlık altı vurgu çizgisi */
.page-title, .section-title, .page-body h1 { position: relative; padding-bottom: 15px; margin-bottom: 10px; }
.section-title { font-size: 18px; padding-bottom: 10px; }
.page-title, .page-title.h4 { font-size: 24px; }
.page-title::after, .section-title::after, .page-body h1::after {
	content: ""; position: absolute; bottom: 0; left: -15px; width: 100px; height: 5px;
	background: radial-gradient(50% 50% at 50% 50%, var(--accent), rgba(255, 42, 112, 0) 60%);
}
.lead-text { color: var(--muted); margin-bottom: 1rem; }

/* Düğmeler */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 7px 14px; border: 0; background: var(--accent); color: #fff; font-size: 14px; font-weight: 600; transition: background .3s; }
.btn:hover { background: var(--navy); color: #fff; }
.btn-dark { background: var(--navy); }
.btn-dark:hover { background: var(--accent); }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; padding: 6px; border: 0; background: none; color: #d5d5d5; transition: color .3s; }
.icon-btn:hover { color: #fff; }

/* Üst bölüm */
.header { position: relative; }
.main-navbar { position: relative; z-index: 100; height: 60px; background: var(--navy); box-shadow: 0 0 9px 1px rgba(4, 4, 4, .1); }
.navbar-inner { position: relative; display: flex; align-items: center; height: 100%; }
#menu_btn { color: #fff; margin-right: 10px; padding: 7px; }
.navbar-logo { display: inline-flex; align-items: center; width: 110px; height: 44px; }
.navbar-logo img { width: 100%; height: auto; }
.navbar-actions { display: flex; align-items: center; gap: 1rem; margin-left: auto; }
#user_panel { color: #d5d5d5; }

/* Arama katmanı */
#search_form { position: absolute; inset: 0; z-index: 110; background: #fff; opacity: 0; visibility: hidden; transform: translate3d(0, -100%, 0); transition: all .3s; }
#search_form.active { opacity: 1; visibility: visible; transform: translate3d(0, 0, 0); }
.search-inner { position: relative; height: 100%; }
#search_input { width: 100%; height: 100%; padding: 14px 72px 14px 14px; border: 0; outline: none; background: #fff; color: #000; font-size: 24px; font-weight: 300; }
#search_input::-webkit-search-cancel-button { display: none; }
#close_btn { position: absolute; top: 0; right: 12px; width: 60px; height: 60px; color: #212529; transition: transform .2s .25s; }
#search_form.active #close_btn { transform: rotate(-90deg); }

/* Dil seçici */
.language-menu { position: relative; display: inline-block; }
.language-toggle { padding: 8px 14px; border: 1px solid rgba(255, 255, 255, .08); border-radius: 20px; background: var(--navy-2); color: #fff; font-family: monospace; font-size: 14px; font-weight: 700; }
.language-dropdown { position: absolute; top: calc(100% + 16px); left: 50%; z-index: 150; display: flex; gap: 8px; padding: 10px; border-radius: 3px; background: var(--accent); opacity: 0; visibility: hidden; pointer-events: none; transform: translateX(-50%) translateY(-4px); transition: .18s ease; }
.language-menu.open .language-dropdown { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.language-arrow { position: absolute; top: -8px; left: 50%; width: 16px; height: 16px; background: var(--accent); transform: translateX(-50%) rotate(45deg); }
.language-item { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border: 3px solid #fff; background: var(--accent); color: #fff; font-size: 14px; font-weight: 700; }
.language-item:hover { color: #fff; }
.language-item.active { background: #fff; color: #111; }

/* Ana menü şeridi */
.content-nav { display: none; height: 56px; border-bottom: 6px solid var(--accent); background: var(--navy-2); }
@media (min-width: 992px) { .content-nav { display: block; } }
.content-nav ul { display: flex; margin: 0; padding: 0; list-style: none; }
.content-nav li { border-bottom: 6px solid var(--nav-color, #3498db); }
.content-nav a { display: flex; align-items: center; height: 44px; padding: 10px 20px; color: #fff; font-weight: 600; transition: background .3s; }
.content-nav li.current a, .content-nav li:hover a { background: #2c3e50; }
@media (max-width: 1199px) { .content-nav a { padding: 10px 14px; } }

/* Sol panel */
#left_sidebar { position: fixed; top: 0; left: 0; z-index: 99999; width: 260px; height: 100%; overflow: hidden; background: var(--panel); transform: translate3d(-100%, 0, 0); transition: transform .3s, box-shadow .3s; }
#left_sidebar.active { transform: translate3d(0, 0, 0); box-shadow: 0 0 20px rgba(0, 0, 0, .5); }
.sidebar-header { position: absolute; top: 0; left: 0; z-index: 10; display: flex; align-items: center; justify-content: center; width: 100%; height: 60px; padding: 10px 15px; background: var(--navy); }
.sidebar-title { font-size: 16px; font-weight: 500; color: #fff; }
.sidebar-header .icon-btn { position: absolute; right: 10px; color: #fff; transition: transform .2s .25s; }
#left_sidebar.active > .sidebar-header .icon-btn, #settingsMenu.active .sidebar-header .icon-btn { transform: rotate(-90deg); }
#sideMenu { position: absolute; top: 60px; left: 0; width: 100%; max-height: calc(100% - 110px); margin: 0; padding: 0; overflow: auto; list-style: none; }
#sideMenu li { border-bottom: 1px solid var(--line); }
#sideMenu a { display: flex; align-items: center; justify-content: space-between; height: 48px; padding: 0 15px; color: var(--text); white-space: nowrap; transition: background .3s; }
#sideMenu a:hover { background: var(--hover); }
#sideMenu .icon { color: var(--muted); }
#settingsMenu { position: absolute; inset: 0 0 50px 0; z-index: 20; background: var(--panel); transform: translateX(-100%); transition: transform .3s; }
#settingsMenu.active { transform: translateX(0); }
.settings-content { position: absolute; top: 60px; left: 0; right: 0; bottom: 0; overflow: auto; padding: 15px; }
.settings-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; }
.settings-label { font-size: 16px; font-weight: 500; }
.sidebar-footer { position: absolute; bottom: 0; left: 0; z-index: 30; display: flex; flex-direction: row-reverse; width: 100%; height: 50px; padding: 4px 5px; background: var(--navy); }
.switch { position: relative; display: inline-block; width: 48px; height: 22px; }
.switch input { width: 0; height: 0; opacity: 0; }
.slider { position: absolute; inset: 0; border-radius: 34px; background: #ccc; cursor: pointer; transition: .4s; }
.slider::before { content: ""; position: absolute; left: 3px; bottom: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: .4s; }
.switch input:checked + .slider { background: #007cdf; }
.switch input:checked + .slider::before { transform: translateX(26px); }
.switch input:focus-visible + .slider { outline: 2px solid var(--accent); outline-offset: 2px; }
.panel-backdrop { position: fixed; inset: 0; z-index: 5999; background: rgba(0, 0, 0, .3); }
html.with-panel body { overflow: hidden; }

/* Sayfa yolu */
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 1rem; padding: 0; list-style: none; font-size: 14px; color: var(--muted); }
.breadcrumbs li + li::before { content: "›"; margin-right: 4px; }
.breadcrumbs a:hover { color: var(--accent-dark); }

/* Şarkı listeleri (modüller kullanır) */
.song-list { margin: 0 0 1.5rem; padding: 0; list-style: none; }
.song-list-li { position: relative; display: flex; align-items: center; width: 100%; padding: 6px 40px 6px 0; border-bottom: 1px solid var(--line); }
.song-list-li .no { flex: 0 0 48px; width: 48px; height: 48px; margin-right: 6px; background: var(--accent); color: #fff; font-size: 28px; font-weight: 600; line-height: 48px; text-align: center; }
.song-list-li .song-name { min-width: 0; padding: 5px 0; overflow: hidden; white-space: nowrap; }
.song-list-li .song-name a, .song-list-li .song-name h3, .song-list-li .song-name h5 { display: block; margin: 0; overflow: hidden; font-size: 16px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; color: var(--text); transition: color .3s; }
.song-list-li .song-name small { display: block; overflow: hidden; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.song-list-li:hover .song-name a { color: var(--accent); }
.song-list-li .format { position: absolute; right: 0; }
.layout-sidebar .song-list-li .no { flex-basis: 30px; width: 30px; height: 30px; font-size: 17px; line-height: 30px; }
.layout-sidebar .song-list-li .song-name { padding: 0; line-height: 13px; }
.layout-sidebar .song-list-li .song-name a { font-size: 14px; line-height: 1.3; }
.layout-sidebar .song-list-li .song-name small { font-size: 70%; }
.stretched-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }

/* Sekmeler */
.tabs { display: flex; gap: 4px; margin: 0 0 6px; padding: 0 0 4px; border-bottom: 3px solid var(--accent); list-style: none; }
.tabs button { padding: 6px 12px; border: 0; background: none; color: var(--text); font-size: 14px; }
.tabs button[aria-selected="true"] { background: var(--accent); color: #fff; }
[role="tabpanel"][hidden] { display: none; }

/* Sanatçı listesi */
.artist-list { margin: 0; padding: 0; list-style: none; }
.artist-list li { border-bottom: 1px solid var(--line); }
.artist-list li:last-child { border-color: transparent; }
.artist-list a { position: relative; display: block; height: 48px; padding: 13px 65px 13px 0; overflow: hidden; font-size: 14px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; color: var(--text); transition: color .3s; background: url("https://e-akor.com/cms/eakor/assets/img/right-arrow.svg") no-repeat calc(100% - 16px) center / 8px 13px; }
.artist-list a span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.artist-list a:hover { color: var(--accent); }
.artist-list a small { position: absolute; right: 35px; top: 15px; }

/* Sayfalama */
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 20px auto; padding: 0; list-style: none; }
.pagination a, .pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 33px; height: 33px; padding: 7px 12px; background: var(--accent); color: #fff; font-size: 14px; transition: background .3s; }
.pagination a:hover, .pagination [aria-current="page"] { background: var(--navy); }

/* Kenar çubuğu yazıları */
.sidebar-blog .item { position: relative; margin-bottom: 15px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.sidebar-blog .item:last-child { border: 0; }
.sidebar-blog .item img { display: block; width: 100%; height: auto; margin-bottom: 10px; }
.sidebar-blog .item .title { display: block; font-size: 14px; font-weight: 600; line-height: 17px; color: var(--text); transition: color .3s; }
.sidebar-blog .item:hover .title { color: var(--accent); }

/* İçerik sayfaları */
.page-article { max-width: 860px; }
.page-content img { height: auto; }
.not-found { max-width: 640px; margin: 2rem auto; text-align: center; }
.not-found .page-title::after { left: 50%; transform: translateX(-50%); }
.not-found-code { margin: 0; font-size: 96px; font-weight: 700; line-height: 1; color: var(--accent); }
.not-found-search { display: flex; gap: 8px; margin: 0 0 1rem; }
.not-found-search input { flex: 1; min-width: 0; padding: 7px 12px; border: 1px solid var(--line); background: var(--bg); }

/* Alt bölüm */
#main_footer { border-top: 6px solid var(--accent); background: var(--navy); color: #fff; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 24px; padding: 35px 0 10px; color: #7e7e7e; }
@media (min-width: 768px) { .footer-top { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); padding-bottom: 35px; } }
.footer-logo img { width: 100%; max-width: 110px; height: auto; }
.footer-info { padding: 15px 0; margin: 0 0 20px; font-size: 12px; }
.footer-title { font-size: 16px; color: #ededed; }
.footer-menu { margin: 0 0 25px; padding: 0; list-style: none; }
.footer-menu a { display: block; padding: 5px 0; color: #bdbdbd; font-size: 14px; transition: color .3s; }
.footer-menu a:hover { color: #fff; }
.footer-bottom { padding: 20px 0; background: var(--navy-3); }
.footer-bottom-inner { display: flex; flex-direction: column; align-items: center; gap: 10px; }
@media (min-width: 768px) { .footer-bottom-inner { flex-direction: row; justify-content: space-between; } }
.copyright { margin: 3px 0 0; color: #ababab; font-size: 14px; }

/* Mobil */
@media (max-width: 767px) {
	.main-navbar { height: 56px; }
	#menu_btn { padding: 13px 13px 13px 0; }
	.navbar-logo { width: 80px; height: 56px; }
	#close_btn { width: 56px; height: 56px; }
	.sidebar-header { height: 57px; }
	#sideMenu { top: 57px; }
}
@media (max-width: 575px) {
	.d-none-xs { display: none !important; }
	.navbar-actions { gap: .5rem; }
}
/* Akor ayarları (sol paneldeki Ayarlar): vurgu rengi, akor rengi, kalın/italik. */
.ch-picker { margin-bottom: 8px; padding: 10px; border: 1px solid var(--line, #e0e0e0); border-radius: 8px; background: var(--panel, #fff); }
.ch-picker-title { margin-bottom: 9px; font-size: 12px; font-weight: 600; }
.ch-options { display: flex; flex-wrap: wrap; gap: 9px; margin: 0; padding: 0; list-style: none; }
.ch-options button { position: relative; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 50%; background: var(--picker-color, #eef1f5); box-shadow: 0 3px 8px rgba(26, 38, 72, .16); color: #252c35; font-size: 20px; line-height: 1; }
.ch-options button.is-none { background: #eef1f5; }
.ch-options button.active::after, .ch-style-btn.active::after { content: "✓"; position: absolute; top: -4px; right: -4px; display: flex; align-items: center; justify-content: center; width: 14px; height: 14px; border: 2px solid #fff; border-radius: 50%; background: #3885ff; color: #fff; font-size: 8px; font-weight: 700; }
.ch-style-buttons { display: flex; gap: 7px; margin-top: 9px; }
.ch-style-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; padding: 0; border: 1px solid #d9e1ec; border-radius: 8px; background: #eef2f7; color: #222a36; font-size: 17px; }
.ch-style-btn.active { border-color: #4d82ff; background: #4d72ed; color: #fff; }
[data-theme="dark"] .ch-options button.is-none, [data-theme="dark"] .ch-style-btn:not(.active) { border-color: #46515d; background: #313b46; color: #e8ebee; }
/* Herkese açık eski profil sayfası (/user/{ad}) */
.member-profile-card { display: flex; gap: 8px; margin-bottom: 1rem; padding: 8px; border: 1px solid rgba(0, 0, 0, .125); background: var(--panel, #fff); font-size: 14px; }
[data-theme="dark"] .member-profile-card { border-color: var(--line, #292929); }
.member-avatar { flex: 0 0 120px; width: 120px; height: 120px; overflow: hidden; }
.member-avatar img { display: block; width: 100%; height: 100%; object-fit: cover; }
.member-avatar span { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; background: var(--accent, #ffbf00); color: #fff; font-size: 2.25rem; font-weight: 600; }
.member-facts { min-width: 0; flex: 1; margin: 0; padding: 0 8px; }
.member-facts div { display: flex; flex-wrap: wrap; gap: 4px; }
.member-facts dt { font-weight: 700; }
.member-facts dt::after { content: ":"; }
.member-facts dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.member-about { white-space: pre-line; }
@media (max-width: 767px) { .member-avatar { flex-basis: 80px; width: 80px; height: 80px; } }
/* Alt bilgide "Keşfet" sütunu: dört sütunlu yerleşim. */
@media (min-width: 768px) { .footer-top { grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); } }
/* MeloRep tanıtımı: eski sitedeki koyu panel (#1e272e), sarı vurgu, keskin köşeli düğmeler. */
.melorep-cta { position: relative; margin: 28px 0; padding: 22px 80px 22px 22px; border-top: 3px solid #ffbf00; background: #1e272e; color: #f5f7fb; }
.melorep-badge { display: inline-block; margin-bottom: 10px; padding: 2px 8px; background: #ffbf00; color: #1e272e; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.melorep-title { position: relative; margin: 0 0 12px; padding-bottom: 10px; color: #fff; font-size: 18px; font-weight: 600; }
.melorep-title::after { content: ""; position: absolute; left: -15px; bottom: 0; width: 100px; height: 5px; background: radial-gradient(ellipse closest-side at 50% 50%, #ffbf00, rgba(255, 42, 112, 0) 60%); }
.melorep-text { margin: 0 0 16px; color: #aab3c3; font-size: 14px; line-height: 1.6; }
.melorep-text strong { color: #fff; }
.melorep-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.melorep-btn { display: inline-block; padding: 7px 16px; border: 1px solid #ffbf00; background: #ffbf00; color: #1e272e; font-size: 14px; font-weight: 600; line-height: 1.4; }
.melorep-btn:hover { border-color: #dea700; background: #dea700; color: #1e272e; }
.melorep-more { margin-left: 6px; color: #ffbf00; font-size: 14px; }
.melorep-more:hover { color: #dea700; }
.melorep-side { display: none; margin-bottom: 1.5rem; }
@media (min-width: 992px) { .melorep-side { display: block; } }
.melorep-side .section-title { margin-bottom: 10px; }
.melorep-side-text { margin: 0 0 12px; color: var(--text, #212529); font-size: 14px; line-height: 1.6; opacity: .75; }
.melorep-side .melorep-btn { padding: 6px 12px; font-size: 13px; }
@media (max-width: 575px) { .melorep-cta { padding-right: 22px; } }
.melorep-btn-outline { background: transparent; color: #ffbf00; }
.melorep-btn-outline:hover { background: #ffbf00; color: #1e272e; }
.melorep-guide { margin: 1rem 0 0; font-size: .875em; }
.melorep-guide a { color: #aab3c3; text-decoration: underline; }
.melorep-guide a:hover { color: #ffbf00; }
/* Cihaza göre tek mağaza düğmesi (sınıfı assets/melorep.js ekler) */
.melorep-ios .melorep-btn[data-melorep=android], .melorep-android .melorep-btn[data-melorep=ios] { display: none; }