/*
Theme Name: TChristSongs Responsive
Theme URI: https://tchristsongs.com/
Author: TChristSongs
Description: Clean, responsive music and album blog theme with light and dark modes designed to work with Auto Post Content album posts and audio player.
Version: 1.3.0
Requires at least: 5.8
Requires PHP: 7.4
Text Domain: tchristsongs-responsive
*/
:root{--tc-ink:#202634;--tc-muted:#687386;--tc-line:#e6eaf0;--tc-bg:#f5f7fb;--tc-card:#fff;--tc-accent:#6844d6;--tc-accent2:#3e8bdc;--tc-radius:16px;--tc-shadow:0 8px 28px rgba(25,35,55,.07)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--tc-bg);color:var(--tc-ink);font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:16px;line-height:1.7}a{color:var(--tc-accent);text-decoration:none}a:hover{text-decoration:underline}img{max-width:100%;height:auto}.site{min-height:100vh;display:flex;flex-direction:column}.site-header{background-color:#30205f;background-image:linear-gradient(115deg,#30205f,#5740a8 55%,#2776b8);background-position:center;background-size:cover;background-repeat:no-repeat;color:#fff;box-shadow:0 4px 20px rgba(25,25,60,.15)}.header-inner{max-width:1200px;margin:auto;padding:24px 22px;display:flex;align-items:center;justify-content:space-between;gap:24px}.branding{min-width:0}.site-title{font-size:clamp(1.5rem,3vw,2.15rem);font-weight:800;line-height:1.2;margin:0}.site-title a{color:#fff}.site-description{margin:5px 0 0;color:#e8e4ff;font-size:.92rem}.custom-logo{max-height:64px;width:auto}.main-nav{background:rgba(0,0,0,.12)}.nav-inner{max-width:1200px;margin:auto;padding:0 22px}.main-nav ul{list-style:none;margin:0;padding:0;display:flex;gap:4px;flex-wrap:wrap}.main-nav li{margin:0}.main-nav a{display:block;color:#fff;padding:12px 15px;font-weight:600;border-radius:9px}.main-nav a:hover,.main-nav .current-menu-item>a{background:rgba(255,255,255,.16);text-decoration:none}.menu-toggle{display:none;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.35);color:#fff;padding:9px 13px;border-radius:9px;font:inherit}.site-main{width:min(1200px,calc(100% - 40px));margin:34px auto 54px;display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:28px;align-items:start;flex:1}.content-area{min-width:0}.content-card,.post-card,.widget,.comments-area{background:var(--tc-card);border:1px solid var(--tc-line);border-radius:var(--tc-radius);box-shadow:var(--tc-shadow)}.post-card{padding:clamp(18px,3vw,30px);margin-bottom:22px;overflow:hidden}.entry-title{font-size:clamp(1.45rem,3vw,2rem);line-height:1.3;margin:0 0 9px}.entry-title a{color:var(--tc-ink)}.entry-meta,.archive-description,.page-links{color:var(--tc-muted);font-size:.9rem}.entry-meta{margin-bottom:18px}.entry-content{overflow-wrap:anywhere}.entry-content p{margin:0 0 1.15em}.entry-content h2,.entry-content h3{line-height:1.35;margin:1.6em 0 .65em}.entry-content ul,.entry-content ol{padding-left:1.5em}.entry-content iframe,.entry-content video{max-width:100%}.post-thumbnail{display:block;margin:0 0 18px}.post-thumbnail img{width:100%;max-height:380px;object-fit:cover;border-radius:12px}.read-more{display:inline-flex;margin-top:10px;padding:9px 15px;border-radius:999px;background:#f0edff;color:#5033b5;font-weight:700}.pagination,.posts-navigation,.post-navigation{margin:24px 0;padding:16px;background:#fff;border:1px solid var(--tc-line);border-radius:12px}.nav-links{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}.page-numbers{display:inline-block;padding:7px 12px;border-radius:8px;background:#f1f3f8;margin:2px}.page-numbers.current{background:var(--tc-accent);color:#fff}.sidebar{min-width:0}.widget{padding:20px;margin-bottom:18px;overflow-wrap:anywhere}.widget-title{font-size:1.08rem;line-height:1.35;margin:0 0 14px;padding-bottom:10px;border-bottom:1px solid var(--tc-line)}.widget ul{list-style:none;margin:0;padding:0}.widget li{padding:8px 0;border-bottom:1px solid #f0f2f6}.widget li:last-child{border-bottom:0;padding-bottom:0}.widget select,.widget input[type=search],.search-form input[type=search]{max-width:100%;width:100%;padding:10px 12px;border:1px solid var(--tc-line);border-radius:9px;font:inherit}.search-form{display:flex;gap:8px}.search-form input[type=submit],.search-form button{border:0;border-radius:9px;padding:10px 14px;background:var(--tc-accent);color:#fff;font-weight:700;cursor:pointer}.comments-area{padding:22px;margin-top:24px}.comments-title{margin-top:0}.comment-list{padding-left:22px}.comment-body{padding:12px 0;border-bottom:1px solid var(--tc-line)}.comment-meta{font-size:.88rem;color:var(--tc-muted)}.comment-form input:not([type=submit]),.comment-form textarea{width:100%;padding:11px;border:1px solid var(--tc-line);border-radius:9px;font:inherit}.comment-form textarea{min-height:130px}.comment-form input[type=submit],.form-submit input{border:0;border-radius:9px;padding:11px 18px;background:var(--tc-accent);color:white;font-weight:700;cursor:pointer}.site-footer{margin-top:auto;background:#20243a;color:#dce1ef}.footer-inner{max-width:1200px;margin:auto;padding:26px 22px;display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}.site-footer a{color:#fff}.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.alignwide{max-width:100%}.wp-caption{max-width:100%}.gallery{display:flex;flex-wrap:wrap;gap:12px}.gallery-item{max-width:100%}.no-results{padding:24px;background:#fff;border-radius:14px}
/* Auto Post Content player compatibility */
.apc-player{width:100%;max-width:100%;margin:20px 0}.apc-songs{max-width:100%}.apc-song{min-width:0}.apc-song__name{overflow-wrap:anywhere}.apc-mini{padding-bottom:calc(8px + env(safe-area-inset-bottom,0px));max-width:100vw}.apc-player button,.apc-mini button{touch-action:manipulation}.entry-content .apc-related{max-width:100%}
@media(max-width:900px){.site-main{grid-template-columns:minmax(0,1fr) 260px;gap:18px}.header-inner{padding:20px}.widget{padding:16px}}
@media(max-width:700px){.header-inner{align-items:flex-start;flex-wrap:wrap}.header-tools{margin-left:auto}.menu-toggle{display:inline-block}.main-nav .nav-inner{padding:8px 18px}.main-nav ul{display:none;flex-direction:column;gap:2px}.main-nav.is-open ul{display:flex}.main-nav a{padding:10px 12px}.site-main{width:min(100% - 26px,620px);margin:20px auto 38px;display:flex;flex-direction:column;gap:22px}.content-area,.sidebar{width:100%}.sidebar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.widget{margin:0}.post-card{padding:18px}.site-description{font-size:.85rem}}
@media(max-width:460px){body{font-size:15px}.header-inner{padding:17px 14px}.site-main{width:calc(100% - 20px);margin-top:14px}.sidebar{display:block}.widget{margin-bottom:12px;padding:16px}.post-card{padding:15px;border-radius:12px}.apc-player{padding:12px}.apc-player__ctrl{gap:4px}.apc-btn{width:36px;height:36px}.apc-btn--play{width:44px;height:44px}.apc-song{gap:7px;padding:8px 2px}.apc-song__name{font-size:.94rem}.apc-song__dl{padding:7px}.comments-area{padding:16px}.search-form{flex-wrap:wrap}.search-form input[type=search]{flex:1 1 100%}}

/* search: header box, suggestions while typing, matching songs */
.header-search{max-width:1200px;margin:0 auto;padding:0 22px 18px}.header-search .search-form{max-width:560px}.search-form{position:relative}
.header-search .search-form input[type=search]{background:#fff;color:var(--tc-ink);border-color:transparent}
.search-songs{margin:0 0 10px;color:var(--tc-muted);font-size:.92rem;line-height:1.6}
.tcr-live{position:absolute;left:0;right:0;top:calc(100% + 6px);z-index:60;background:#fff;color:var(--tc-ink);border:1px solid var(--tc-line);border-radius:14px;box-shadow:0 14px 40px rgba(25,35,55,.22);overflow:hidden;max-height:70vh;overflow-y:auto;text-align:left}
.tcr-live[hidden]{display:none}
.tcr-live__item{display:flex;align-items:center;gap:12px;padding:9px 12px;color:var(--tc-ink);border-bottom:1px solid #f0f2f6;text-decoration:none}
.tcr-live__item:hover,.tcr-live__item:focus{background:#f3f0ff;text-decoration:none}
.tcr-live__item img{width:44px;height:44px;border-radius:8px;object-fit:cover;flex:none}
.tcr-live__text{min-width:0;display:flex;flex-direction:column}.tcr-live__text strong{line-height:1.35;overflow-wrap:anywhere}.tcr-live__text small{color:var(--tc-muted);line-height:1.4;overflow-wrap:anywhere}
.tcr-live__all{display:block;padding:11px 14px;font-weight:700;text-align:center;background:#faf9ff}
.tcr-live__none{padding:14px;color:var(--tc-muted)}
@media(max-width:460px){.header-search{padding:0 14px 14px}.header-search .search-form{flex-wrap:nowrap}.header-search .search-form input[type=search]{flex:1 1 auto}}

/* ===== TChristSongs 1.2.0: icon-only buttons (both themes) ===== */
.menu-toggle span{display:none}
.menu-toggle{font-size:22px;line-height:1;min-width:44px;height:44px;padding:0;border-radius:50%}
@media(max-width:700px){.menu-toggle{display:inline-grid;place-items:center}}
.search-form button[type=submit]{position:relative;flex:none;width:44px;height:44px;padding:0;overflow:hidden;font-size:0;line-height:0;border-radius:50%}
.search-form button[type=submit]::before{content:"";position:absolute;inset:0;margin:auto;width:20px;height:20px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-4-4'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-4-4'/%3E%3C/svg%3E") center/contain no-repeat}
.apc-queue__actions button,.apc-share__close,.apc-share__links button[data-copy]{position:relative;display:inline-grid;place-items:center;height:42px;padding:0;overflow:hidden;font-size:0!important;line-height:0;border-radius:999px}
.apc-queue__actions button::before,.apc-share__close::before,.apc-share__links button[data-copy]::before{content:"";display:block;width:20px;height:20px;background:currentColor;-webkit-mask:var(--dk-ic) center/contain no-repeat;mask:var(--dk-ic) center/contain no-repeat}
.apc-queue__actions button[data-q=playall]{--dk-ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E")}
.apc-queue__actions button[data-q=clear]{--dk-ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h16M9 7V4h6v3M6 7l1 13h10l1-13M10 11v6M14 11v6'/%3E%3C/svg%3E")}
.apc-queue__actions button[data-q=export]{--dk-ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v11M7 10l5 5 5-5M5 20h14'/%3E%3C/svg%3E")}
.apc-queue__actions button[data-q=import]{--dk-ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 16V5M7 10l5-5 5 5M5 20h14'/%3E%3C/svg%3E")}
.apc-share__links button[data-copy]{--dk-ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='9' width='11' height='11' rx='2'/%3E%3Cpath d='M5 15V6a2 2 0 0 1 2-2h8'/%3E%3C/svg%3E")}
.apc-share__close{width:100%;--dk-ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E")}
.apc-song__dltext{display:none}.apc-song__dl{padding:8px}

/* theme switch button (icon only) */
.header-tools{display:flex;align-items:center;gap:8px}
.theme-toggle{display:inline-grid;place-items:center;width:44px;height:44px;padding:0;color:#fff;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.35);border-radius:50%;cursor:pointer}
.theme-toggle svg{display:block;width:22px;height:22px;pointer-events:none}
.theme-toggle .tcr-sun{display:none}
html[data-theme=dark] .theme-toggle .tcr-sun{display:block}
html[data-theme=dark] .theme-toggle .tcr-moon{display:none}
.theme-toggle:focus-visible{outline:2px solid #fff;outline-offset:2px}

/* ===== TChristSongs 1.2.0: DARK THEME (same palette as player.css) ===== */
html[data-theme="dark"]{--dk-page:#080d22;--dk-bg:#111a36;--dk-bg-2:#0c1430;--dk-text:#f4f5ff;--dk-muted:#b5bfd9;--dk-line:rgba(166,180,232,.18);--dk-accent:#9b5cff;--dk-accent-hi:#c5a4ff;--dk-accent-soft:rgba(155,92,255,.16);--dk-on-accent:#fff;--dk-shadow:0 14px 38px rgba(0,0,0,.28);--tc-ink:var(--dk-text);--tc-muted:var(--dk-muted);--tc-line:var(--dk-line);--tc-bg:var(--dk-page);--tc-card:var(--dk-bg);--tc-accent:var(--dk-accent);--tc-accent2:var(--dk-accent-hi);--tc-shadow:var(--dk-shadow);color-scheme:dark}
html[data-theme="dark"] body{color:var(--dk-text);background:radial-gradient(ellipse at 12% 0%,rgba(64,75,174,.20),transparent 34rem),radial-gradient(ellipse at 90% 18%,rgba(116,45,188,.13),transparent 30rem),var(--dk-page)}
html[data-theme="dark"] a{color: var(--dk-accent-hi);}
html[data-theme="dark"] .site-header{background-color:#070c1f;background-image:linear-gradient(115deg,#070c1f,#1a1240 60%,#0f2548);border-bottom:1px solid rgba(167,142,255,.25);box-shadow:0 8px 26px rgba(0,0,0,.35)}
html[data-theme="dark"] .site-description{color: var(--dk-muted);}
html[data-theme="dark"] .main-nav{background: rgba(0, 0, 0, 0.28);}
html[data-theme="dark"] .main-nav a:hover,html[data-theme="dark"] .main-nav .current-menu-item > a{background: var(--dk-accent-soft); color: var(--dk-accent-hi);}
html[data-theme="dark"] .site-footer{color: var(--dk-muted); background: #0d0e14; border-top: 1px solid var(--dk-line);}
html[data-theme="dark"] .site-footer a{color: var(--dk-text);}
html[data-theme="dark"] .content-card,html[data-theme="dark"] .post-card,html[data-theme="dark"] .widget,html[data-theme="dark"] .comments-area,html[data-theme="dark"] .no-results,html[data-theme="dark"] .pagination,html[data-theme="dark"] .posts-navigation,html[data-theme="dark"] .post-navigation{color: var(--dk-text); background: var(--dk-bg); border-color: var(--dk-line);}
html[data-theme="dark"] .entry-title a{color: var(--dk-text);}
html[data-theme="dark"] .entry-meta,html[data-theme="dark"] .archive-description,html[data-theme="dark"] .page-links,html[data-theme="dark"] .comment-meta,html[data-theme="dark"] .search-songs{color: var(--dk-muted);}
html[data-theme="dark"] .widget li{border-bottom-color: var(--dk-line);}
html[data-theme="dark"] .comment-body{border-bottom-color: var(--dk-line);}
html[data-theme="dark"] .read-more{color: var(--dk-accent-hi); background: var(--dk-accent-soft);}
html[data-theme="dark"] .page-numbers{color: var(--dk-text); background: var(--dk-bg-2);}
html[data-theme="dark"] .page-numbers.current{color: var(--dk-on-accent); background: var(--dk-accent);}
html[data-theme="dark"] .widget select,html[data-theme="dark"] .widget input[type="search"],html[data-theme="dark"] .search-form input[type="search"],html[data-theme="dark"] .header-search .search-form input[type="search"],html[data-theme="dark"] .comment-form input:not([type="submit"]),html[data-theme="dark"] .comment-form textarea{color: var(--dk-text); background: var(--dk-bg-2); border: 1px solid var(--dk-line); box-shadow: none;}
html[data-theme="dark"] .search-form input[type="search"]::placeholder,html[data-theme="dark"] .comment-form textarea::placeholder{color: var(--dk-muted); opacity: 1;}
html[data-theme="dark"] .widget select:focus,html[data-theme="dark"] .widget input[type="search"]:focus,html[data-theme="dark"] .search-form input[type="search"]:focus,html[data-theme="dark"] .comment-form input:focus,html[data-theme="dark"] .comment-form textarea:focus{border-color: var(--dk-accent); outline: 0;}
html[data-theme="dark"] .comment-form input[type="submit"],html[data-theme="dark"] .form-submit input{color: var(--dk-on-accent); background: var(--dk-accent);}
html[data-theme="dark"] .tcr-live{color: var(--dk-text); background: var(--dk-bg); border-color: var(--dk-line); box-shadow: var(--dk-shadow); scrollbar-color: var(--dk-line) transparent; scrollbar-width: thin;}
html[data-theme="dark"] .tcr-live__item{color: var(--dk-text); border-bottom-color: var(--dk-line);}
html[data-theme="dark"] .tcr-live__item:hover,html[data-theme="dark"] .tcr-live__item:focus{background: var(--dk-accent-soft);}
html[data-theme="dark"] .tcr-live__all{color: var(--dk-accent-hi); background: var(--dk-bg-2);}
html[data-theme="dark"] .tcr-live__text small,html[data-theme="dark"] .tcr-live__none{color: var(--dk-muted);}
html[data-theme="dark"] .menu-toggle{display: none; min-width: 44px; height: 44px; padding: 0; font-size: 22px; line-height: 1; color: var(--dk-text); background: var(--dk-accent-soft); border: 1px solid var(--dk-line); border-radius: 50%; cursor: pointer;}
html[data-theme="dark"] .menu-toggle span{display: none;}
@media (max-width: 700px){html[data-theme="dark"] .menu-toggle{display: inline-grid; place-items: center;}}
html[data-theme="dark"] .search-form button[type="submit"]{position: relative; flex: none; width: 44px; height: 44px; padding: 0; overflow: hidden; font-size: 0; line-height: 0; color: var(--dk-on-accent); background: var(--dk-accent); border: 0; border-radius: 50%;}
html[data-theme="dark"] .search-form button[type="submit"]:hover{background: var(--dk-accent-hi);}
html[data-theme="dark"] .search-form button[type="submit"]::before{content: ""; position: absolute; inset: 0; margin: auto; width: 20px; height: 20px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-4-4'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-4-4'/%3E%3C/svg%3E") center / contain no-repeat;}
html[data-theme="dark"] .apc-player,html[data-theme="dark"] .apc-mini,html[data-theme="dark"] .apc-share__box,html[data-theme="dark"] .apc-queue.apc-queue{--apc-accent: var(--dk-accent); --apc-line: var(--dk-line); --apc-soft: var(--dk-bg-2);}
html[data-theme="dark"] .apc-player p,html[data-theme="dark"] .apc-songs,html[data-theme="dark"] .apc-songs li,html[data-theme="dark"] .apc-queue__list,html[data-theme="dark"] .apc-queue__list li{list-style: none !important;}
html[data-theme="dark"] .apc-songs li,html[data-theme="dark"] .apc-queue p{margin-top: 0 !important;}
html[data-theme="dark"] .apc-player a,html[data-theme="dark"] .apc-songs a,html[data-theme="dark"] .apc-song__dl,html[data-theme="dark"] .apc-song__dl:hover,html[data-theme="dark"] .apc-song__dl:focus{text-decoration: none !important; box-shadow: none !important;}
html[data-theme="dark"] .apc-player{color: var(--dk-text); background: var(--dk-bg); border: 1px solid var(--dk-line); border-radius: 24px; box-shadow: var(--dk-shadow);}
html[data-theme="dark"] .apc-player__album{color: var(--dk-accent-hi); opacity: 1;}
html[data-theme="dark"] .apc-player__art{box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.06);}
html[data-theme="dark"] .apc-cur,html[data-theme="dark"] .apc-dur{color: var(--dk-muted);}
html[data-theme="dark"] .apc-seek,html[data-theme="dark"] .apc-volume{accent-color: var(--dk-accent);}
html[data-theme="dark"] .apc-btn{color: var(--dk-text); opacity: 1; background: transparent; transition: background-color 0.15s ease, color 0.15s ease, transform 0.12s ease;}
html[data-theme="dark"] .apc-btn:hover{background: var(--dk-bg-2);}
html[data-theme="dark"] .apc-btn:active{transform: scale(0.92);}
html[data-theme="dark"] .apc-btn.is-on,html[data-theme="dark"] .apc-btn[aria-pressed="true"]{color: var(--dk-accent-hi); background: var(--dk-accent-soft);}
html[data-theme="dark"] .apc-btn--play,html[data-theme="dark"] .apc-btn--play:hover{color: var(--dk-on-accent); background: var(--dk-accent); box-shadow: 0 8px 22px rgba(139, 124, 255, 0.35);}
html[data-theme="dark"] .apc-btn--play:hover{background: var(--dk-accent-hi); filter: none;}
html[data-theme="dark"] .apc-btn:focus-visible,html[data-theme="dark"] .apc-song__play:focus-visible,html[data-theme="dark"] .apc-song__add:focus-visible,html[data-theme="dark"] .apc-song__share:focus-visible,html[data-theme="dark"] .apc-queue button:focus-visible,html[data-theme="dark"] .apc-share button:focus-visible,html[data-theme="dark"] .apc-share a:focus-visible{outline: 2px solid var(--dk-accent-hi); outline-offset: 2px;}
html[data-theme="dark"] .apc-song{border-bottom-color: var(--dk-line); border-radius: 12px; transition: background-color 0.12s ease;}
html[data-theme="dark"] .apc-song:hover{background: var(--dk-bg-2);}
html[data-theme="dark"] .apc-song.is-active{background: var(--dk-accent-soft);}
html[data-theme="dark"] .apc-song.is-active .apc-song__name{color: var(--dk-accent-hi); font-weight: 700;}
html[data-theme="dark"] .apc-song::before,html[data-theme="dark"] .apc-song__meta{color: var(--dk-muted); opacity: 1;}
html[data-theme="dark"] .apc-song__play,html[data-theme="dark"] .apc-song__add,html[data-theme="dark"] .apc-song__share{color: var(--dk-text); background: var(--dk-bg-2); border: 1px solid var(--dk-line); transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;}
html[data-theme="dark"] .apc-song__add:hover,html[data-theme="dark"] .apc-song__share:hover{color: var(--dk-accent-hi); border-color: var(--dk-accent); background: var(--dk-accent-soft);}
html[data-theme="dark"] .apc-song__play:hover,html[data-theme="dark"] .apc-song.is-playing .apc-song__play{color: var(--dk-on-accent); background: var(--dk-accent); border-color: var(--dk-accent);}
html[data-theme="dark"] .apc-song__dl{color: var(--dk-muted) !important; background: var(--dk-bg-2); border: 1px solid var(--dk-line);}
html[data-theme="dark"] .apc-song__dl:hover,html[data-theme="dark"] .apc-song__dl:focus{color: var(--dk-on-accent) !important; background: var(--dk-accent); border-color: var(--dk-accent);}
html[data-theme="dark"] .apc-song__dltext{display: none;}
html[data-theme="dark"] .apc-song__dl{padding: 8px;}
html[data-theme="dark"] .apc-lyrics{background: var(--dk-bg); border-color: var(--dk-line);}
html[data-theme="dark"] .apc-lyrics summary{color: var(--dk-text);}
html[data-theme="dark"] .apc-related__card span{color: var(--dk-text);}
html[data-theme="dark"] .apc-mini{color: var(--dk-text); background: var(--dk-bg-2); border-top: 1px solid var(--dk-line); box-shadow: 0 -10px 34px rgba(0, 0, 0, 0.5);}
html[data-theme="dark"] .apc-mini__bar{color: var(--dk-muted);}
html[data-theme="dark"] .apc-mini .apc-btn{color: var(--dk-text);}
html[data-theme="dark"] .apc-mini .apc-btn.is-on{color: var(--dk-accent-hi);}
html[data-theme="dark"] .apc-mini .apc-btn--play{color: var(--dk-on-accent); background: var(--dk-accent);}
html[data-theme="dark"] .apc-qcount{color: var(--dk-on-accent); background: var(--dk-accent-hi);}
html[data-theme="dark"] .apc-toast{color: var(--dk-on-accent); font-weight: 600; background: var(--dk-accent-hi); box-shadow: 0 10px 26px rgba(0, 0, 0, 0.4);}
html[data-theme="dark"] .apc-share{background: rgba(5, 6, 15, 0.66);}
html[data-theme="dark"] .apc-share__box{color: var(--dk-text); background: var(--dk-bg); border: 1px solid var(--dk-line); box-shadow: 0 -18px 50px rgba(0, 0, 0, 0.45);}
html[data-theme="dark"] .apc-share__links a,html[data-theme="dark"] .apc-share__links button{color: var(--dk-text); background: var(--dk-bg-2); border-color: var(--dk-line);}
html[data-theme="dark"] .apc-share__links a:hover,html[data-theme="dark"] .apc-share__links button:hover{color: var(--dk-accent-hi); background: var(--dk-accent-soft); border-color: var(--dk-accent);}
html[data-theme="dark"] .apc-queue.apc-queue{color: var(--dk-text); background: var(--dk-bg); border: 1px solid var(--dk-line); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);}
html[data-theme="dark"] .apc-queue__now{background: var(--dk-bg-2); border-color: var(--dk-line);}
html[data-theme="dark"] .apc-queue .apc-btn:hover{background: var(--dk-accent-soft);}
html[data-theme="dark"] .apc-queue__list{scrollbar-color: var(--dk-line) transparent; scrollbar-width: thin;}
html[data-theme="dark"] .apc-queue__list li{border-bottom-color: var(--dk-line);}
html[data-theme="dark"] .apc-queue__list li.is-active{background: var(--dk-accent-soft);}
html[data-theme="dark"] .apc-queue__song small,html[data-theme="dark"] .apc-queue__keys,html[data-theme="dark"] .apc-queue__empty{color: var(--dk-muted); opacity: 1;}
html[data-theme="dark"] .apc-queue__actions button,html[data-theme="dark"] .apc-share__close,html[data-theme="dark"] .apc-share__links button[data-copy]{position: relative; display: inline-grid; place-items: center; height: 42px; padding: 0; overflow: hidden; font-size: 0 !important; line-height: 0; color: var(--dk-text); background: var(--dk-bg-2); border: 1px solid var(--dk-line); border-radius: 999px; cursor: pointer;}
html[data-theme="dark"] .apc-queue__actions button:hover,html[data-theme="dark"] .apc-share__links button[data-copy]:hover{color: var(--dk-accent-hi); background: var(--dk-accent-soft); border-color: var(--dk-accent);}
html[data-theme="dark"] .apc-queue__actions button::before,html[data-theme="dark"] .apc-share__close::before,html[data-theme="dark"] .apc-share__links button[data-copy]::before{content: ""; display: block; width: 20px; height: 20px; background: currentColor; -webkit-mask: var(--dk-ic) center / contain no-repeat; mask: var(--dk-ic) center / contain no-repeat;}
html[data-theme="dark"] .apc-queue__actions button[data-q="playall"]{--dk-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E");}
html[data-theme="dark"] .apc-queue__actions button[data-q="clear"]{--dk-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h16M9 7V4h6v3M6 7l1 13h10l1-13M10 11v6M14 11v6'/%3E%3C/svg%3E");}
html[data-theme="dark"] .apc-queue__actions button[data-q="export"]{--dk-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v11M7 10l5 5 5-5M5 20h14'/%3E%3C/svg%3E");}
html[data-theme="dark"] .apc-queue__actions button[data-q="import"]{--dk-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 16V5M7 10l5-5 5 5M5 20h14'/%3E%3C/svg%3E");}
html[data-theme="dark"] .apc-share__links button[data-copy]{--dk-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='9' width='11' height='11' rx='2'/%3E%3Cpath d='M5 15V6a2 2 0 0 1 2-2h8'/%3E%3C/svg%3E");}
html[data-theme="dark"] .apc-share__close{width: 100%; color: var(--dk-on-accent); background: var(--dk-accent); border-color: var(--dk-accent); --dk-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E");}
html[data-theme="dark"] .apc-share__close:hover{background: var(--dk-accent-hi);}
html[data-theme="dark"] .apc-queue__x,html[data-theme="dark"] .apc-queue__rm{color: var(--dk-muted);}
html[data-theme="dark"] .apc-queue__x:hover,html[data-theme="dark"] .apc-queue__rm:hover{color: var(--dk-text);}
@media (hover: none), (pointer: coarse){html[data-theme="dark"] .apc-song__play,html[data-theme="dark"] .apc-song__add,html[data-theme="dark"] .apc-song__share,html[data-theme="dark"] .apc-song__dl{min-width: 40px; min-height: 40px;}}
@media (prefers-reduced-motion: reduce){html[data-theme="dark"] .apc-btn,html[data-theme="dark"] .apc-song,html[data-theme="dark"] .apc-song__play,html[data-theme="dark"] .apc-song__add,html[data-theme="dark"] .apc-song__share{transition: none !important;}}

/* Songbook look (dark): navy cards with a soft gradient, purple buttons */
html[data-theme="dark"] .post-card,html[data-theme="dark"] .widget,html[data-theme="dark"] .content-card,html[data-theme="dark"] .apc-player{background:linear-gradient(155deg,rgba(24,35,72,.98),rgba(14,22,47,.98))}
html[data-theme="dark"] .post-card:hover{border-color:rgba(184,133,255,.45)}
html[data-theme="dark"] .read-more{color:#fff;background:linear-gradient(135deg,#7d43e8,#b54cf2);box-shadow:0 5px 16px rgba(135,67,232,.22)}
html[data-theme="dark"] .search-form button[type=submit]{background:linear-gradient(135deg,#8246ef,#bd50ff)}
html[data-theme="dark"] .widget-title{color:#d8c3ff}
html[data-theme="dark"] .entry-title,html[data-theme="dark"] .entry-title a,html[data-theme="dark"] h1,html[data-theme="dark"] h2,html[data-theme="dark"] h3{color:#fff}
html[data-theme="dark"] .entry-content a{color:#c7a6ff}
html[data-theme="dark"] .site-footer{background:radial-gradient(ellipse at 15% 0%,rgba(106,61,189,.22),transparent 32rem),#070c1e;border-top:1px solid rgba(165,126,255,.28)}
