/* CDM-144 2026-11-06: PC-only restore of existing /messages navigation. */
@media(min-width:1024px){
  .cdm144-desktop-messages{
    display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;
    min-height:36px;padding:8px 12px;border-radius:8px;
    color:var(--color-text,#ececec);font-size:13px;font-weight:650;
    text-decoration:none;white-space:nowrap;
  }
  .cdm144-desktop-messages:hover,
  .cdm144-desktop-messages:focus-visible,
  .cdm144-desktop-messages[aria-current="page"]{
    background:var(--color-surface-alt,#292929);
    color:var(--color-text,#ececec);
  }
}
@media(max-width:1023px){.cdm144-desktop-messages{display:none!important}}

/* CDM-144: desktop Messenger uses the same gold capsule design as 投稿.
 * Scoped to its own link; mobile styles and the original 投稿 CTA stay intact. */
@media (min-width:1024px) {
  .global-menu.pc-nav a.cdm144-desktop-messages {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    flex:0 0 auto;
    min-height:0;
    margin-left:0;
    padding:7px 18px;
    border:0;
    border-radius:999px;
    background:var(--color-primary);
    color:#fff;
    font-size:13px;
    font-weight:600;
    line-height:normal;
    letter-spacing:.04em;
    text-decoration:none;
    white-space:nowrap;
    cursor:pointer;
  }
  .global-menu.pc-nav a.cdm144-desktop-messages:hover,
  .global-menu.pc-nav a.cdm144-desktop-messages:focus-visible,
  .global-menu.pc-nav a.cdm144-desktop-messages[aria-current="page"] {
    background:var(--color-primary);
    color:#fff;
    border:0;
    opacity:.9;
  }
  .global-menu.pc-nav a.cdm144-desktop-messages:focus-visible {
    outline:2px solid currentColor;
    outline-offset:3px;
  }
}