/* 協力ページ */
:root{
	--aq-bg:#0f1024; --aq-bg2:#1a1c3a; --aq-card:#20234a; --aq-line:#33376b;
	--aq-txt:#eef0ff; --aq-sub:#a7abd8; --aq-acc:#ff4d8d; --aq-acc2:#6c7bff; --aq-ok:#31d089; --aq-ng:#ff5a6a;
}
*{box-sizing:border-box}
body{margin:0;background:linear-gradient(160deg,var(--aq-bg),var(--aq-bg2));color:var(--aq-txt);
	font-family:"Hiragino Kaku Gothic ProN","Noto Sans JP",system-ui,-apple-system,"Segoe UI",sans-serif;
	-webkit-font-smoothing:antialiased;min-height:100vh}
.aq-wrap{min-height:100vh;display:flex;flex-direction:column}
.aq-main{flex:1}
.aq-songs-main{padding:28px 18px 40px}
.aq-footer{flex-shrink:0;text-align:center;color:var(--aq-sub);font-size:12px;padding:16px}
.aq-nav{display:flex;gap:16px;justify-content:center;margin-bottom:8px}
.aq-nav a{color:var(--aq-sub);text-decoration:none;font-size:13px}
.aq-nav a:hover{color:var(--aq-txt)}

.cb-app{max-width:1360px;margin:0 auto}
.cb-invalid{text-align:center;color:var(--aq-ng);padding:40px 0;font-size:16px}
.cb-back{display:inline-block;color:var(--aq-sub);text-decoration:none;font-size:13px;margin-bottom:8px}
.cb-back:hover{color:var(--aq-acc2)}
.cb-title{font-size:26px;font-weight:800;margin:0 0 4px}
.cb-count{font-size:14px;font-weight:600;color:var(--aq-acc);margin-left:8px}
.cb-lead{color:var(--aq-sub);font-size:13px;margin:0 0 14px}
.cb-years{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0 12px}
.cb-year{display:inline-block;padding:6px 12px;border-radius:999px;font-size:13px;text-decoration:none;
	border:1px solid var(--aq-line);background:var(--aq-card);color:var(--aq-sub)}
.cb-year:hover{color:var(--aq-txt);border-color:var(--aq-acc2)}
.cb-year.is-active{background:var(--aq-acc2);border-color:var(--aq-acc2);color:#fff;font-weight:700}
.cb-searchbar{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-bottom:6px}
.cb-search{flex:1 1 260px;max-width:420px;background:var(--aq-card);border:1px solid var(--aq-line);
	border-radius:12px;padding:11px 16px;color:var(--aq-txt);font-size:15px}
.cb-search::placeholder{color:#7c80b0}
#cb-search-all{flex:0 0 auto;white-space:nowrap}
.cb-searchnote{margin:0 0 16px;color:#9aa0d0;font-size:12.5px;line-height:1.7}
.cb-searchnote strong{color:var(--aq-txt)}
.cb-scope{margin:-4px 0 14px;font-size:13px}
.cb-scope a{color:var(--aq-acc2)}

.cb-list{display:flex;flex-direction:column;gap:8px}
.cb-row{display:flex;align-items:center;gap:10px;background:rgba(255,255,255,.02);border:1px solid var(--aq-line);
	border-radius:12px;padding:10px 12px}
.cb-row.cb-done{border-color:rgba(49,208,137,.5);background:rgba(49,208,137,.06)}
.cb-info{flex:2 1 360px;min-width:220px}
.cb-song{font-weight:700;font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cb-type{font-size:10px;color:var(--aq-sub);border:1px solid var(--aq-line);border-radius:6px;padding:1px 6px;margin-left:6px;white-space:nowrap}
.cb-meta{font-size:12px;color:var(--aq-sub);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cb-url{flex:1 1 200px;min-width:120px;background:var(--aq-bg);color:var(--aq-txt);border:1px solid var(--aq-line);
	border-radius:8px;padding:8px 10px;font-size:13px}
.cb-btn{flex:0 0 auto;background:var(--aq-card);color:var(--aq-txt);border:1px solid var(--aq-line);
	border-radius:8px;padding:8px 12px;cursor:pointer;font-size:13px}
.cb-btn:hover{border-color:var(--aq-acc2)}
.cb-save{background:linear-gradient(90deg,var(--aq-acc),var(--aq-acc2));border:0;color:#fff;font-weight:700}
.cb-intro,.cb-chorus{flex:0 0 auto;width:76px;background:var(--aq-bg);color:var(--aq-txt);
	border:1px solid var(--aq-line);border-radius:8px;padding:8px 6px;font-size:12px}
.cb-intro::placeholder,.cb-chorus::placeholder{color:#7c80b0;font-size:11px}
.cb-diff{flex:0 0 auto;background:var(--aq-bg);color:var(--aq-txt);border:1px solid var(--aq-line);
	border-radius:8px;padding:8px 6px;font-size:12px;cursor:pointer}
input.cb-flash{background:#fff6a8;color:#111}
.cb-status{flex:0 0 auto;font-size:12px;min-width:64px;color:var(--aq-sub)}
.cb-status.ok{color:var(--aq-ok)}
.cb-status.ng{color:var(--aq-ng)}
.cb-status.other{color:var(--aq-acc2)}

/* 秒セット用プレイヤー（右下に固定表示） */
.cb-player-panel{position:fixed;right:16px;bottom:16px;z-index:60;width:392px;max-width:92vw;
	background:var(--aq-card);border:1px solid var(--aq-line);border-radius:12px;padding:10px;box-shadow:0 12px 40px rgba(0,0,0,.5)}
.cb-player-panel[hidden]{display:none}
.cb-player-panel #cb-player{width:100%;height:210px;background:#000;border-radius:8px}
.cb-player-ctrl{display:flex;gap:6px;align-items:center;flex-wrap:wrap;margin-top:8px}
.cb-player-ctrl #cb-now{font-variant-numeric:tabular-nums;font-weight:700;min-width:54px;color:var(--aq-txt)}

@media(max-width:640px){
	.cb-row{flex-wrap:wrap}
	.cb-info{flex:1 1 100%}
	.cb-url{flex:1 1 60%}
}

/* ヘッダーナビ（全ページ共通） */
.aq-head{display:flex;flex-wrap:wrap;align-items:center;gap:6px 16px;padding:12px 18px;
	border-bottom:1px solid var(--aq-line);background:rgba(0,0,0,.18)}
.aq-head-logo{font-weight:900;font-size:16px;color:var(--aq-txt);text-decoration:none;white-space:nowrap}
.aq-head-logo span{color:var(--aq-acc)}
.aq-head-nav{display:flex;flex-wrap:wrap;gap:4px 6px}
.aq-head-nav a{font-size:12.5px;color:var(--aq-sub);text-decoration:none;padding:5px 10px;border-radius:999px;border:1px solid transparent;white-space:nowrap}
.aq-head-nav a:hover{color:var(--aq-txt);border-color:var(--aq-acc2)}

.aq-head-toggle{display:none}
@media(max-width:640px){
	.aq-head{justify-content:space-between;gap:8px}
	.aq-head-toggle{display:inline-flex;flex-direction:column;justify-content:center;gap:4px;
		width:42px;height:38px;padding:9px 10px;background:transparent;border:1px solid var(--aq-line);
		border-radius:10px;cursor:pointer}
	.aq-head-toggle span{display:block;height:2px;border-radius:2px;background:var(--aq-txt);transition:.2s}
	.aq-head.is-open .aq-head-toggle span:nth-child(1){transform:translateY(6px) rotate(45deg)}
	.aq-head.is-open .aq-head-toggle span:nth-child(2){opacity:0}
	.aq-head.is-open .aq-head-toggle span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}
	.aq-head-nav{display:none;width:100%;flex-direction:column;gap:2px;padding:6px 0 4px}
	.aq-head.is-open .aq-head-nav{display:flex}
	.aq-head-nav a{display:block;font-size:14px;padding:11px 12px;border-radius:10px}
}

/* 一般公開の申請ページ */
.cb-state{display:inline-flex;align-items:center;gap:6px;margin-left:auto;padding:5px 12px;border-radius:999px;
	border:1px solid transparent;font-size:12px;font-weight:700;white-space:nowrap}
.cb-state--done{background:rgba(49,208,137,.16);border-color:rgba(49,208,137,.45);color:#4fe3a4}
.cb-state--done::before{content:"";width:6px;height:6px;border-radius:50%;background:#31d089}
.cb-state--pending{background:rgba(255,193,79,.14);border-color:rgba(255,193,79,.42);color:#ffc14f}
.cb-state--pending::before{content:"";width:6px;height:6px;border-radius:50%;background:#ffc14f}
.cb-row--done,.cb-row--pending{opacity:.72}
.cb-public .cb-lead strong{color:var(--aq-txt)}
