/* Claude 연결 보정 (2026-11-03) — GPT screens-v2.css 다음에 읽습니다.
   로그인한 상태의 닉네임 버튼(.me-btn.on)이 흰 바탕 + 흰 글자로 안 보이는 문제를
   기존 동작대로 진한 바탕으로 되돌립니다. 디자인 변경이 아니라 기존 상태 표시 유지용입니다. */
body:not(:has(#rankView:not([hidden]))):has(:is(#listView,#weekView,#monthView,#infoView):not([hidden])) .me-btn.on{
  background:var(--ink);color:#fff;border-color:var(--ink)}
body:not(:has(#rankView:not([hidden]))):has(:is(#listView,#weekView,#monthView,#infoView):not([hidden])) .me-btn.bad{
  background:#fff4f4;color:#c0392b;border-color:#e6b3b3}

/* ===== 사용자 요청 보정 (2026-11-03 15:02) ===== */
/* 1. 주간 "이번 주" · 달력 "오늘" 글자를 버튼 가운데로 */
#weekView .cal-nav .wk-this,#monthView .cal-nav .wk-this{
  display:inline-flex;align-items:center;justify-content:center;line-height:1;padding-top:0;padding-bottom:0}
/* 2. 홈 빠른 메뉴 아이콘을 가운데로 (글자 줄은 그대로) */
body:not(:has(#rankView:not([hidden]))) #listView .quick-btn svg{align-self:center}
/* 3. 날짜 상세 창 — 스크롤해도 맨 위 손잡이 줄 · 날짜 · X 는 항상 보이게 */
body:not(:has(#rankView:not([hidden]))) #playerModal:has(#pmBody > :is(.rcard,.empty:only-child)) > .sheet::before{display:none}
body:not(:has(#rankView:not([hidden]))) #playerModal:has(#pmBody > :is(.rcard,.empty:only-child)) .sheet-head{
  position:sticky;top:-14px;z-index:3;margin:-14px -18px 22px;padding:36px 18px 12px;
  background:linear-gradient(#cdd6cb,#cdd6cb) center 14px / 34px 4px no-repeat,#f8f8f3}
@media(max-width:350px){
  body:not(:has(#rankView:not([hidden]))) #playerModal:has(#pmBody > :is(.rcard,.empty:only-child)) .sheet-head{margin-left:-12px;margin-right:-12px;padding-left:12px;padding-right:12px}}
/* 6. "관리 모드" 글자 표시는 숨김 — 관리 모드는 로고 둘레 색(.brand.adm)으로만 표시. 요소·동작은 그대로 */
.admbar-tag{display:none}

/* ===== 사용자 요청 보정 2 (2026-11-03 15:10) ===== */
/* 1. 빠른 메뉴 — 아이콘과 글자를 함께 가운데로 (화살표는 글자 바로 뒤) */
body:not(:has(#rankView:not([hidden]))) #listView .quick-btn{align-items:center;text-align:center}
body:not(:has(#rankView:not([hidden]))) #listView .quick-btn span{justify-content:center;gap:3px}
body:not(:has(#rankView:not([hidden]))) #listView .quick-btn span i{margin-left:0}
/* 2. 주간·달력 머리줄 — 양끝 화살표 사이 가운데에 [날짜 + 이번 주/오늘] 묶음 */
#weekView .cal-nav .cal-title,#monthView .cal-nav .cal-title{flex:0 1 auto;margin-left:auto;text-align:center}
#weekView .cal-nav .wk-this,#monthView .cal-nav .wk-this{margin-left:8px;margin-right:auto;width:auto;
  height:28px;font-size:11px;padding:0 9px;border:1px solid var(--line-2);border-radius:999px;background:transparent}
