

/* Artist search page: CocoonのSNS共有ボタンは不要 */
.chordlab-artist-search-page .sns-share,
.chordlab-artist-search-page .sns-share-buttons,
.chordlab-artist-search-page .sns-buttons,
.chordlab-artist-search-page .share-button,
.chordlab-artist-search-page .share-buttons,
.chordlab-artist-search-page .sns-share-message,
.chordlab-artist-search-page .sns-share.ss-top,
.chordlab-artist-search-page .sns-share.ss-bottom{
  display:none!important;
}


/* ChordLab song pages:
   keep the title inside the chord viewer, hide Cocoon/WordPress duplicate title
   and Cocoon social share controls. */
.single-chordlab_song .entry-title,
.single-chordlab_song .article-header .entry-title,
.single-chordlab_song .entry-header .entry-title,
.single-chordlab_song h1.entry-title{
  display:none!important;
}

/* Cocoon share buttons: top/bottom variations and common wrappers */
.single-chordlab_song .sns-share,
.single-chordlab_song .sns-share-buttons,
.single-chordlab_song .sns-buttons,
.single-chordlab_song .share-button,
.single-chordlab_song .share-buttons,
.single-chordlab_song .sns-share-message,
.single-chordlab_song .bc-brand-color,
.single-chordlab_song .bc-brand-color-white,
.single-chordlab_song .sns-share.ss-top,
.single-chordlab_song .sns-share.ss-bottom{
  display:none!important;
}

.single-chordlab_song .entry-content{max-width:none}
.cl-song-shell{width:100%}.cl-song-hero{max-width:1180px;margin:0 auto 18px;padding:22px 24px 18px;border:1px solid #e3e5e8;border-radius:16px;background:#fff;box-shadow:0 3px 14px rgba(0,0,0,.035)}.cl-song-hero-main{min-width:0}.cl-song-id{margin-bottom:5px;font-size:12px;line-height:1.4;letter-spacing:.04em;color:#777}.cl-song-title{margin:0;font-size:clamp(28px,4vw,44px);line-height:1.15;letter-spacing:-.02em}.cl-song-artist{margin-top:8px;font-size:17px;font-weight:600}.cl-song-artist a{text-decoration:none}.cl-song-artist a:hover{text-decoration:underline}.cl-song-stats{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}.cl-song-stat{display:inline-flex;align-items:baseline;gap:8px;min-width:92px;padding:8px 12px;border:1px solid #e3e5e8;border-radius:10px;background:#fafafa}.cl-song-stat-label{font-size:12px;color:#6b7280}.cl-song-stat strong{font-size:16px}.cl-song-credits{display:flex;flex-wrap:wrap;gap:8px 20px;margin:16px 0 0;padding-top:14px;border-top:1px solid #eceef0}.cl-song-credits div{display:flex;gap:7px;align-items:baseline}.cl-song-credits dt{font-size:12px;color:#777}.cl-song-credits dd{margin:0;font-size:14px;font-weight:500}.cl-public-viewer{width:100%}.cl-public-frame{display:block;width:100%;min-height:620px;border:0;background:#fff}.cl-public-empty{max-width:900px;margin:24px auto 40px;padding:20px;border:1px solid #ddd;border-radius:12px;background:#fafafa}.chordlab-artist-songs{margin-top:28px}.chordlab-artist-songs ul{padding-left:1.2em}.chordlab-artist-songs li{margin:.45em 0}@media(max-width:660px){.cl-public-page{padding:8px 0 28px}.cl-song-hero{margin:0 10px 10px;padding:16px 15px 14px;border-radius:12px}.cl-song-title{font-size:27px}.cl-song-artist{font-size:15px}.cl-song-stats{gap:7px;margin-top:13px}.cl-song-stat{min-width:0;padding:6px 9px}.cl-song-credits{display:grid;grid-template-columns:1fr;gap:6px;margin-top:12px;padding-top:11px}.cl-public-frame{min-height:520px}}


/* Artist search */
.cl-artist-search{max-width:980px;margin:0 auto 48px}
.cl-artist-search-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;margin:8px 0 14px}
.cl-artist-search-form input[type="search"]{
  width:100%;min-height:50px;padding:10px 15px;border:1px solid #d8dce2;border-radius:12px;
  background:#fff;font-size:16px;line-height:1.4;box-sizing:border-box
}
.cl-artist-search-form button{
  min-width:96px;min-height:50px;padding:10px 18px;border:0;border-radius:12px;
  background:#202226;color:#fff;font-size:15px;font-weight:700;cursor:pointer
}
.cl-artist-search-form button:hover{opacity:.88}
.cl-artist-search-summary{margin:0 0 14px;color:#666;font-size:14px}
.cl-artist-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.cl-artist-result{
  display:flex;align-items:center;justify-content:space-between;gap:16px;min-width:0;
  padding:15px 16px;border:1px solid #e1e4e8;border-radius:12px;background:#fff;
  color:inherit;text-decoration:none!important
}
.cl-artist-result:hover{border-color:#b9c0ca;background:#fafbfc}
.cl-artist-result-name{min-width:0;font-size:17px;font-weight:750;overflow-wrap:anywhere}
.cl-artist-result-meta{flex:0 0 auto;color:#777;font-size:12px}
.cl-artist-no-results{padding:22px;border:1px solid #e1e4e8;border-radius:12px;background:#fafafa;color:#666}
.cl-artist-pagination{display:flex;justify-content:center;align-items:center;gap:18px;margin:22px 0 0}
.cl-artist-pagination a{text-decoration:none;font-weight:650}
@media(max-width:660px){
  .cl-artist-search-form{grid-template-columns:1fr}
  .cl-artist-search-form button{width:100%}
  .cl-artist-results{grid-template-columns:1fr}
  .cl-artist-result{padding:13px 14px}
}


/* Song search page */
.chordlab-song-search-page .sns-share,
.chordlab-song-search-page .sns-share-buttons,
.chordlab-song-search-page .sns-buttons,
.chordlab-song-search-page .share-button,
.chordlab-song-search-page .share-buttons,
.chordlab-song-search-page .sns-share-message,
.chordlab-song-search-page .sns-share.ss-top,
.chordlab-song-search-page .sns-share.ss-bottom{
  display:none!important;
}

.cl-song-search{max-width:980px;margin:0 auto 48px}
.cl-song-search-form{
  display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;margin:8px 0 16px
}
.cl-song-search-form input[type="search"]{
  width:100%;min-height:52px;padding:11px 15px;border:1px solid #d8dce2;border-radius:12px;
  background:#fff;font-size:16px;line-height:1.4;box-sizing:border-box
}
.cl-song-search-form button{
  min-width:100px;min-height:52px;padding:10px 18px;border:0;border-radius:12px;
  background:#202226;color:#fff;font-size:15px;font-weight:700;cursor:pointer
}
.cl-song-search-form button:hover{opacity:.88}
.cl-song-search-summary{margin:0 0 16px;color:#666;font-size:14px}
.cl-song-search-heading{margin:8px 0 14px}
.cl-song-search-heading h2{margin:0;font-size:22px}
.cl-song-results{display:grid;gap:10px}
.cl-song-result{
  padding:16px 18px;border:1px solid #e1e4e8;border-radius:12px;background:#fff
}
.cl-song-result-title{
  display:inline-block;color:inherit;text-decoration:none!important;
  font-size:18px;font-weight:800;line-height:1.45;overflow-wrap:anywhere
}
.cl-song-result-title:hover{text-decoration:underline!important}
.cl-song-result-info{
  display:flex;align-items:center;flex-wrap:wrap;gap:7px 10px;margin-top:8px;color:#686d73;font-size:13px
}
.cl-song-result-artist a{color:inherit;text-decoration:none!important;font-weight:650}
.cl-song-result-artist a:hover{text-decoration:underline!important}
.cl-song-result-chip{
  display:inline-flex;align-items:center;min-height:27px;padding:3px 9px;
  border:1px solid #e0e3e7;border-radius:999px;background:#fafafa;color:#555
}
.cl-song-no-results{
  padding:22px;border:1px solid #e1e4e8;border-radius:12px;background:#fafafa;color:#666
}
.cl-song-pagination{
  display:flex;justify-content:center;align-items:center;gap:18px;margin:22px 0 0
}
.cl-song-pagination a{text-decoration:none;font-weight:650}
@media(max-width:660px){
  .cl-song-search-form{grid-template-columns:1fr}
  .cl-song-search-form button{width:100%}
  .cl-song-result{padding:14px}
}


/* ChordLab Home */
.chordlab-home-page .entry-title,
.chordlab-home-page .article-header,
.chordlab-home-page .entry-header,
.chordlab-home-page .sns-share,
.chordlab-home-page .sns-share-buttons,
.chordlab-home-page .sns-buttons,
.chordlab-home-page .share-button,
.chordlab-home-page .share-buttons,
.chordlab-home-page .sns-share-message,
.chordlab-home-page .date-tags,
.chordlab-home-page .post-date,
.chordlab-home-page .post-update,
.chordlab-home-page .author-info,
.chordlab-home-page .sidebar{
  display:none!important;
}
.chordlab-home-page .content-in{display:block!important}
.chordlab-home-page main.main,
.chordlab-home-page .main{
  width:100%!important;
  max-width:none!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
.chordlab-home-page .entry-content{margin-top:0!important}

.cl-home{max-width:1080px;margin:0 auto;padding:12px 0 56px}
.cl-home-hero{
  padding:16px 34px 40px;border:1px solid #e2e5e9;border-radius:22px;background:#fff;
  text-align:center;box-shadow:0 10px 34px rgba(20,25,35,.045)
}
.cl-home-hero h1{margin:0;font-size:38px;line-height:1.25;letter-spacing:-.02em}
.cl-home-lead{margin:12px 0 26px;color:#666d76;font-size:15px}
.cl-home-search{
  display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;max-width:760px;margin:0 auto
}
.cl-home-search input[type="search"]{
  width:100%;min-height:56px;padding:12px 17px;border:1px solid #d6dae0;border-radius:13px;
  background:#fff;font-size:16px;line-height:1.4;box-sizing:border-box
}
.cl-home-search button{
  min-width:112px;min-height:56px;padding:10px 22px;border:0;border-radius:13px;
  background:#1e2024;color:#fff;font-size:16px;font-weight:800;cursor:pointer
}
.cl-home-search button:hover{opacity:.88}
.cl-home-links{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:17px}
.cl-home-link{
  display:inline-flex;align-items:center;justify-content:center;min-height:43px;padding:8px 17px;
  border:1px solid #d8dce2;border-radius:999px;background:#fff;color:#30343a!important;
  font-size:14px;font-weight:750;text-decoration:none!important
}
.cl-home-link:hover{background:#f6f7f8}
.cl-home-link-primary{background:#f3f5f7}
.cl-home-stats{
  display:flex;justify-content:center;gap:18px;flex-wrap:wrap;margin-top:23px;color:#7a8088;font-size:12px
}
.cl-home-latest{margin-top:34px}
.cl-home-section-head{
  display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 2px 13px
}
.cl-home-section-head h2{margin:0;font-size:23px}
.cl-home-section-head a{font-size:13px;font-weight:700;text-decoration:none!important}
.cl-home-song-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.cl-home-song{
  padding:17px 18px;border:1px solid #e2e5e9;border-radius:14px;background:#fff
}
.cl-home-song-title{
  display:block;color:inherit!important;text-decoration:none!important;font-size:18px;font-weight:850;
  line-height:1.4;overflow-wrap:anywhere
}
.cl-home-song-title:hover{text-decoration:underline!important}
.cl-home-song-artist{margin-top:6px;color:#60666e;font-size:13px;font-weight:650}
.cl-home-song-artist a{color:inherit!important;text-decoration:none!important}
.cl-home-song-artist a:hover{text-decoration:underline!important}
.cl-home-song-meta{display:flex;gap:7px;flex-wrap:wrap;margin-top:10px}
.cl-home-song-meta span{
  display:inline-flex;align-items:center;min-height:25px;padding:2px 8px;border:1px solid #e2e5e9;
  border-radius:999px;background:#fafbfb;color:#646a72;font-size:11px
}
.cl-home-empty{padding:24px;border:1px solid #e2e5e9;border-radius:14px;background:#fafafa;color:#6b7179}

@media(max-width:660px){
  .cl-home{padding-top:4px}
  .cl-home-hero{padding:30px 16px 28px;border-radius:16px}
  .cl-home-hero h1{font-size:29px}
  .cl-home-search{grid-template-columns:1fr}
  .cl-home-search button{width:100%}
  .cl-home-song-grid{grid-template-columns:1fr}
  .cl-home-section-head h2{font-size:20px}
}


/* =========================================================
   ChordLab v1.0.12 — Xwrite song-page layout
   ① Sidebar retained only for song detail pages
   ② Hide theme article header/breadcrumb and show ChordLab dates
   ========================================================= */

/* Xwrite/Cocoon/standard WP: the public viewer itself owns the song title. */
body.single-chordlab_song article > header,
body.single-chordlab_song .entry-header,
body.single-chordlab_song .article-header,
body.single-chordlab_song .post-header,
body.single-chordlab_song .post-title,
body.single-chordlab_song .article-title,
body.single-chordlab_song .xw-post-title,
body.single-chordlab_song .xw-entry-title{
  display:none!important;
}

/* Hide breadcrumb only on a ChordLab song page. */
body.single-chordlab_song .breadcrumb,
body.single-chordlab_song .breadcrumbs,
body.single-chordlab_song [class*="breadcrumb"],
body.single-chordlab_song nav[aria-label="breadcrumb"],
body.single-chordlab_song nav[aria-label="Breadcrumb"]{
  display:none!important;
}

/* Our own date row replaces the theme's article date. */
.cl-song-page-dates{
  display:flex;
  justify-content:flex-end;
  align-items:center;
  flex-wrap:wrap;
  gap:6px 16px;
  margin:0 0 8px;
  color:#777;
  font-size:12px;
  line-height:1.5;
}
.cl-song-page-dates > span{white-space:nowrap}
.cl-song-page-date-label{margin-right:5px;color:#999}

/* Do not artificially narrow ChordLab inside the article column. */
body.single-chordlab_song .entry-content,
body.single-chordlab_song .post-content,
body.single-chordlab_song .article-body{
  width:100%!important;
  max-width:none!important;
}
body.single-chordlab_song .cl-song-shell,
body.single-chordlab_song .cl-public-viewer,
body.single-chordlab_song .cl-public-frame{
  width:100%!important;
  max-width:none!important;
}

/* public.js finds Xwrite's actual main/sidebar wrapper and adds these classes.
   Existing theme layout stays intact; only its available width is increased. */
@media(min-width:993px){
  .cl-xwrite-song-layout{
    width:calc(100% - 32px)!important;
    max-width:1500px!important;
    margin-left:auto!important;
    margin-right:auto!important;
    box-sizing:border-box!important;
  }
  .cl-xwrite-song-layout.cl-xwrite-song-layout-flex{
    display:flex!important;
    align-items:flex-start!important;
    gap:28px!important;
  }
  .cl-xwrite-song-layout.cl-xwrite-song-layout-grid{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 300px!important;
    column-gap:28px!important;
    align-items:start!important;
  }
  .cl-xwrite-song-layout-flex > .cl-xwrite-song-main-column{
    flex:1 1 auto!important;
    width:auto!important;
    max-width:none!important;
    min-width:0!important;
  }
  .cl-xwrite-song-layout-flex > .cl-xwrite-song-sidebar-column{
    flex:0 0 300px!important;
    width:300px!important;
    max-width:300px!important;
    min-width:0!important;
  }
  .cl-xwrite-song-layout-grid > .cl-xwrite-song-main-column,
  .cl-xwrite-song-layout-grid > .cl-xwrite-song-sidebar-column{
    width:auto!important;
    max-width:none!important;
    min-width:0!important;
    margin:0!important;
  }
}

/* Same-artist block inserted into Xwrite's existing sidebar below Search. */
.cl-same-artist-widget{
  overflow:hidden;
  margin:28px 0 0;
  border-radius:10px;
  background:#fff;
  box-shadow:0 4px 18px rgba(20,24,32,.05);
}
.cl-same-artist-widget-title{
  padding:15px 18px;
  background:#f0f0f0;
  color:#56504c;
  font-size:16px;
  font-weight:750;
  line-height:1.4;
}
.cl-same-artist-widget-artist{
  padding:14px 18px 3px;
  color:#777;
  font-size:12px;
  font-weight:650;
}
.cl-same-artist-widget-list{
  list-style:none!important;
  margin:0!important;
  padding:6px 18px 10px!important;
}
.cl-same-artist-widget-list li{
  margin:0!important;
  padding:0!important;
  border-bottom:1px solid #eee;
}
.cl-same-artist-widget-list li:last-child{border-bottom:0}
.cl-same-artist-widget-list a{
  display:block;
  padding:10px 0;
  color:inherit!important;
  font-size:13px;
  font-weight:650;
  line-height:1.45;
  text-decoration:none!important;
  overflow-wrap:anywhere;
}
.cl-same-artist-widget-list a:hover{text-decoration:underline!important}
.cl-same-artist-widget-more{
  display:block;
  padding:11px 18px 14px;
  border-top:1px solid #eee;
  color:#666!important;
  font-size:12px;
  font-weight:700;
  text-decoration:none!important;
}
.cl-same-artist-widget-more:hover{text-decoration:underline!important}

/* ChordLab pages other than individual songs do not use the blog sidebar. */
.chordlab-home-page .sidebar,
.chordlab-home-page .widget-area,
.chordlab-song-search-page .sidebar,
.chordlab-song-search-page .widget-area,
.chordlab-artist-search-page .sidebar,
.chordlab-artist-search-page .widget-area,
.chordlab-artist-page .sidebar,
.chordlab-artist-page .widget-area{
  display:none!important;
}

@media(max-width:660px){
  .cl-song-page-dates{
    margin:0 8px 6px;
    gap:4px 11px;
    font-size:11px;
  }
  .cl-same-artist-widget{margin-top:18px}
}


/* v1.0.13: same-artist widget remains visible even with zero other songs. */
.cl-same-artist-widget-empty{
  padding:12px 18px 15px;
  color:#777;
  font-size:12px;
  line-height:1.6;
}


/* =========================================================
   ChordLab v1.0.14 — song detail refinement
   ========================================================= */

/* Keep the page a little wider than Xwrite's normal article layout,
   but do not stretch it to the previous 1500px maximum. */
@media(min-width:993px){
  .cl-xwrite-song-layout{
    width:calc(100% - 44px)!important;
    max-width:1360px!important;
  }

  .cl-xwrite-song-layout.cl-xwrite-song-layout-grid{
    grid-template-columns:minmax(0,1fr) 292px!important;
    column-gap:24px!important;
  }

  .cl-xwrite-song-layout-flex{
    gap:24px!important;
  }

  .cl-xwrite-song-layout-flex > .cl-xwrite-song-sidebar-column{
    flex:0 0 292px!important;
    width:292px!important;
    max-width:292px!important;
  }

  /*
   * The sidebar follows the page on desktop.
   * It only becomes internally scrollable when its contents exceed
   * the available viewport height, so a large artist catalogue remains usable.
   */
  .cl-xwrite-song-sidebar-column{
    position:sticky!important;
    top:18px!important;
    align-self:flex-start!important;
    max-height:calc(100vh - 36px)!important;
    overflow-y:auto!important;
    overscroll-behavior:contain;
    scrollbar-width:thin;
  }
}

/* The artist name is already included in the widget title now. */
.cl-same-artist-widget-artist{
  display:none!important;
}
.cl-same-artist-widget-list{
  padding-top:8px!important;
}

/* Compact the empty space above the ChordLab date row / public chart.
   No negative positioning is used, so the dates cannot be covered. */
body.single-chordlab_song .entry-content,
body.single-chordlab_song .post-content,
body.single-chordlab_song .article-body{
  margin-top:0!important;
  padding-top:0!important;
}
body.single-chordlab_song article,
body.single-chordlab_song .article,
body.single-chordlab_song .post{
  padding-top:0!important;
}
.cl-song-page-dates{
  margin-top:0!important;
  margin-bottom:6px!important;
}


/* =========================================================
   ChordLab v1.0.15 — wider chart + sticky sidebar header offset
   ========================================================= */
@media(min-width:993px){
  /* v1.0.14 was 1360px. Widen only a little more. */
  .cl-xwrite-song-layout{
    width:calc(100% - 32px)!important;
    max-width:1440px!important;
  }

  /* Keep the sidebar itself nearly the same width so most of the added
     space goes to the chord-chart area. */
  .cl-xwrite-song-layout.cl-xwrite-song-layout-grid{
    grid-template-columns:minmax(0,1fr) 292px!important;
    column-gap:22px!important;
  }

  .cl-xwrite-song-layout-flex{
    gap:22px!important;
  }

  /*
   * Xwrite's site header is fixed while scrolling.
   * v1.0.14 used top:18px, so the sidebar's Search heading could slide
   * underneath the Chord Lab header.
   *
   * 72px keeps the complete Search widget below the fixed header.
   */
  .cl-xwrite-song-sidebar-column{
    top:72px!important;
    max-height:calc(100vh - 88px)!important;
    scroll-padding-top:12px;
  }
}


/* =========================================================
   Chord Lab v1.0.19 — artist detail page
   ========================================================= */

/* Artist page is a dedicated Chord Lab page, not a blog article. */
body.single-chordlab_artist article > header,
body.single-chordlab_artist .entry-header,
body.single-chordlab_artist .article-header,
body.single-chordlab_artist .post-header,
body.single-chordlab_artist .post-title,
body.single-chordlab_artist .article-title,
body.single-chordlab_artist .xw-post-title,
body.single-chordlab_artist .xw-entry-title,
body.single-chordlab_artist .breadcrumb,
body.single-chordlab_artist .breadcrumbs,
body.single-chordlab_artist [class*="breadcrumb"],
body.single-chordlab_artist nav[aria-label="breadcrumb"],
body.single-chordlab_artist nav[aria-label="Breadcrumb"]{
  display:none!important;
}

body.single-chordlab_artist .entry-content,
body.single-chordlab_artist .post-content,
body.single-chordlab_artist .article-body{
  width:100%!important;
  max-width:none!important;
  margin-top:0!important;
  padding-top:0!important;
}

body.single-chordlab_artist article,
body.single-chordlab_artist .article,
body.single-chordlab_artist .post{
  padding-top:0!important;
}

.cl-artist-detail{
  width:100%;
  max-width:1120px;
  margin:0 auto;
  padding:12px 0 34px;
}

.cl-artist-detail-hero{
  padding:28px 30px 26px;
  border:1px solid #e3e5e8;
  border-radius:16px;
  background:#fff;
}

.cl-artist-detail-hero h1{
  margin:0;
  color:#25272b;
  font-size:34px;
  font-weight:850;
  line-height:1.25;
  letter-spacing:-.02em;
  overflow-wrap:anywhere;
}

.cl-artist-detail-count{
  margin-top:10px;
  color:#72777f;
  font-size:13px;
  font-weight:650;
}

.cl-artist-detail-songs{
  margin-top:30px;
}

.cl-artist-detail-heading{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:20px;
  margin:0 2px 14px;
}

.cl-artist-detail-heading h2{
  margin:0;
  color:#2c2f34;
  font-size:23px;
  font-weight:850;
  line-height:1.3;
}

.cl-artist-sort{
  display:flex;
  align-items:center;
  flex:0 0 auto;
  color:#a1a5aa;
  font-size:13px;
  font-weight:650;
  white-space:nowrap;
}

.cl-artist-sort a{
  color:#747981!important;
  text-decoration:none!important;
}

.cl-artist-sort a:hover,
.cl-artist-sort a.is-active{
  color:#222!important;
}

.cl-artist-sort a.is-active{
  font-weight:850;
}

.cl-artist-song-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}

.cl-artist-song-card{
  min-width:0;
  border:1px solid #e2e5e9;
  border-radius:14px;
  background:#fff;
  overflow:hidden;
  transition:transform .12s ease,box-shadow .12s ease,border-color .12s ease;
}

.cl-artist-song-card:hover{
  transform:translateY(-1px);
  border-color:#d6d9de;
  box-shadow:0 7px 20px rgba(20,24,32,.055);
}

.cl-artist-song-card-link{
  display:block;
  height:100%;
  padding:18px 19px 17px;
  color:inherit!important;
  text-decoration:none!important;
}

.cl-artist-song-card h3{
  margin:0;
  color:#292c31;
  font-size:18px;
  font-weight:850;
  line-height:1.4;
  overflow-wrap:anywhere;
}

.cl-artist-song-credits{
  display:flex;
  flex-wrap:wrap;
  gap:5px 18px;
  margin-top:10px;
  color:#737981;
  font-size:12px;
  line-height:1.55;
}

.cl-artist-song-credits span{
  min-width:0;
  overflow-wrap:anywhere;
}

.cl-artist-detail-empty{
  padding:28px 24px;
  border:1px solid #e2e5e9;
  border-radius:14px;
  background:#fafafa;
  color:#70767e;
  font-size:14px;
}

@media(max-width:660px){
  .cl-artist-detail{
    padding:4px 0 25px;
  }

  .cl-artist-detail-hero{
    padding:22px 18px 20px;
    border-radius:14px;
  }

  .cl-artist-detail-hero h1{
    font-size:27px;
  }

  .cl-artist-detail-songs{
    margin-top:24px;
  }

  .cl-artist-detail-heading{
    align-items:flex-start;
    flex-direction:column;
    gap:9px;
    margin-bottom:12px;
  }

  .cl-artist-detail-heading h2{
    font-size:20px;
  }

  .cl-artist-song-grid{
    grid-template-columns:1fr;
    gap:9px;
  }

  .cl-artist-song-card-link{
    padding:16px 16px 15px;
  }

  .cl-artist-song-card h3{
    font-size:17px;
  }
}


/* =========================================================
   Chord Lab v1.0.20 — artist page cleanup
   Hide blog-only extras on artist detail pages.
   ========================================================= */

body.single-chordlab_artist .sns-share,
body.single-chordlab_artist .sns-share-buttons,
body.single-chordlab_artist .share-buttons,
body.single-chordlab_artist .share-button,
body.single-chordlab_artist .article-share,
body.single-chordlab_artist .post-share,
body.single-chordlab_artist .xw-share,
body.single-chordlab_artist [class*="sns-share"],
body.single-chordlab_artist [class*="share-buttons"],
body.single-chordlab_artist .author-box,
body.single-chordlab_artist .author-info,
body.single-chordlab_artist .author-profile,
body.single-chordlab_artist .profile-box,
body.single-chordlab_artist .post-author,
body.single-chordlab_artist [class*="author-box"],
body.single-chordlab_artist [class*="author-profile"],
body.single-chordlab_artist .related-posts,
body.single-chordlab_artist .related-entries,
body.single-chordlab_artist .related-articles,
body.single-chordlab_artist .post-related,
body.single-chordlab_artist [class*="related-post"],
body.single-chordlab_artist [class*="related-entry"],
body.single-chordlab_artist [class*="related-article"]{
  display:none!important;
}


/* Chord Lab v1.0.21 — /songs/ composer/arranger credits */
.cl-song-result-credit{
  color:#737981;
  font-size:12px;
  line-height:1.55;
  overflow-wrap:anywhere;
}


/* Chord Lab v1.0.23 — top-page latest-song credits */
.cl-home-song-meta{
  display:flex;
  flex-wrap:wrap;
  gap:5px 18px;
  color:#737981;
  font-size:12px;
  line-height:1.55;
}


/* =========================================================
   Chord Lab v1.0.27 — hide Xwrite share + author blocks
   Only on Chord Lab song / artist detail pages.
   ========================================================= */

/* Social share blocks */
body.single-chordlab_song .sns-share,
body.single-chordlab_song .sns-share-buttons,
body.single-chordlab_song .share-buttons,
body.single-chordlab_song .post-share,
body.single-chordlab_song .article-share,
body.single-chordlab_song [class*="sns-share"],
body.single-chordlab_song [class*="share-button"],
body.single-chordlab_song [class*="share-buttons"],
body.single-chordlab_artist .sns-share,
body.single-chordlab_artist .sns-share-buttons,
body.single-chordlab_artist .share-buttons,
body.single-chordlab_artist .post-share,
body.single-chordlab_artist .article-share,
body.single-chordlab_artist [class*="sns-share"],
body.single-chordlab_artist [class*="share-button"],
body.single-chordlab_artist [class*="share-buttons"]{
  display:none!important;
}

/* Author / "この記事を書いた人" blocks */
body.single-chordlab_song .author-box,
body.single-chordlab_song .author-profile,
body.single-chordlab_song .post-author,
body.single-chordlab_song .article-author,
body.single-chordlab_song [class*="author-box"],
body.single-chordlab_song [class*="author-profile"],
body.single-chordlab_song [class*="post-author"],
body.single-chordlab_artist .author-box,
body.single-chordlab_artist .author-profile,
body.single-chordlab_artist .post-author,
body.single-chordlab_artist .article-author,
body.single-chordlab_artist [class*="author-box"],
body.single-chordlab_artist [class*="author-profile"],
body.single-chordlab_artist [class*="post-author"]{
  display:none!important;
}


/* =========================================================
   Chord Lab v1.0.28 — fully remove share / author regions
   Song + artist detail pages only.
   ========================================================= */

body.single-chordlab_song .sns-buttons,
body.single-chordlab_song .sns-share-message,
body.single-chordlab_song .sns-share.ss-top,
body.single-chordlab_song .sns-share.ss-bottom,
body.single-chordlab_song .shareBtn,
body.single-chordlab_song .shareBtn__list,
body.single-chordlab_song [class*="shareBtn"],
body.single-chordlab_song [class*="share-btn"],
body.single-chordlab_song [class*="share_btn"],
body.single-chordlab_song [class*="socialShare"],
body.single-chordlab_song [class*="social-share"],
body.single-chordlab_artist .sns-buttons,
body.single-chordlab_artist .sns-share-message,
body.single-chordlab_artist .sns-share.ss-top,
body.single-chordlab_artist .sns-share.ss-bottom,
body.single-chordlab_artist .shareBtn,
body.single-chordlab_artist .shareBtn__list,
body.single-chordlab_artist [class*="shareBtn"],
body.single-chordlab_artist [class*="share-btn"],
body.single-chordlab_artist [class*="share_btn"],
body.single-chordlab_artist [class*="socialShare"],
body.single-chordlab_artist [class*="social-share"]{
  display:none!important;
  margin:0!important;
  padding:0!important;
  height:0!important;
  min-height:0!important;
  border:0!important;
}

body.single-chordlab_song .author-info,
body.single-chordlab_song .authorInfo,
body.single-chordlab_song .writer-info,
body.single-chordlab_song .writerInfo,
body.single-chordlab_song [class*="authorInfo"],
body.single-chordlab_song [class*="author-info"],
body.single-chordlab_song [class*="author_profile"],
body.single-chordlab_song [class*="author-profile"],
body.single-chordlab_song [class*="writerInfo"],
body.single-chordlab_song [class*="writer-info"],
body.single-chordlab_artist .author-info,
body.single-chordlab_artist .authorInfo,
body.single-chordlab_artist .writer-info,
body.single-chordlab_artist .writerInfo,
body.single-chordlab_artist [class*="authorInfo"],
body.single-chordlab_artist [class*="author-info"],
body.single-chordlab_artist [class*="author_profile"],
body.single-chordlab_artist [class*="author-profile"],
body.single-chordlab_artist [class*="writerInfo"],
body.single-chordlab_artist [class*="writer-info"]{
  display:none!important;
  margin:0!important;
  padding:0!important;
  height:0!important;
  min-height:0!important;
  border:0!important;
}

/* =========================================================
   Chord Lab v1.0.36 — public song print protection
   Public song detail pages only. Admin/editor/artist pages are untouched.
   Browser printing is intentionally reduced to a short notice; the chord
   chart and all surrounding page content are suppressed in print output.
   ========================================================= */
@media print {
  body.single-chordlab_song * {
    visibility: hidden !important;
  }

  body.single-chordlab_song::before {
    content: "このコード譜は印刷できません。Chord Lab上でご覧ください。";
    visibility: visible !important;
    display: block !important;
    position: fixed !important;
    inset: 0 !important;
    padding: 28mm 20mm !important;
    background: #fff !important;
    color: #111 !important;
    font-size: 16pt !important;
    font-weight: 700 !important;
    line-height: 1.7 !important;
    text-align: center !important;
  }
}



/* =========================================================
   ChordLab v1.0.53 — tighter desktop song-page spacing
   Reduce the blank area above the published/updated dates and
   tighten the horizontal space between the chart and Search.
   Smartphone layout is intentionally unchanged.
   ========================================================= */
@media(min-width:993px){
  body.single-chordlab_song .cl-xwrite-song-layout{
    margin-top:-56px!important;
  }
  body.single-chordlab_song .cl-xwrite-song-layout.cl-xwrite-song-layout-grid{
    column-gap:6px!important;
  }
  body.single-chordlab_song .cl-xwrite-song-layout.cl-xwrite-song-layout-flex{
    gap:6px!important;
  }
}


/* =========================================================
   ChordLab v1.0.54 — desktop horizontal edge alignment
   Match the visible chord-chart/search span to the custom header:
   chart left edge = Chord Lab brand left edge, search card right edge
   = desktop nav right edge. JS supplies the measured width/shift.
   Smartphone layout is intentionally unchanged.
   ========================================================= */
@media(min-width:993px){
  body.single-chordlab_song .cl-xwrite-song-layout{
    width:var(--cl-song-layout-target-width, calc(100% - 32px))!important;
    position:relative!important;
    left:var(--cl-song-layout-shift, 0px)!important;
  }
  body.single-chordlab_song .cl-xwrite-song-layout.cl-xwrite-song-layout-grid{
    column-gap:2px!important;
  }
  body.single-chordlab_song .cl-xwrite-song-layout.cl-xwrite-song-layout-flex{
    gap:2px!important;
  }
}

/* =========================================================
   ChordLab v1.0.58 — home hero top gap = 10px (desktop only)
   Hard-reset layout properties so theme styles cannot preserve a blank band
   above the first heading. Mobile layout is intentionally unchanged.
   ========================================================= */
@media(min-width:661px){
  body.chordlab-home-page .entry-content .cl-home-hero{
    padding-top:10px!important;
    padding-block-start:10px!important;
    min-height:0!important;
    height:auto!important;
    display:block!important;
    align-content:normal!important;
    justify-content:initial!important;
  }
  body.chordlab-home-page .entry-content .cl-home-hero::before{
    content:none!important;
    display:none!important;
  }
  body.chordlab-home-page .entry-content .cl-home-hero > h1{
    margin-top:0!important;
    margin-block-start:0!important;
    padding-top:0!important;
    transform:none!important;
  }
}
