@charset "UTF-8";

/*!
Theme Name: Cocoon Child EN
Template:   cocoon-master
Version:    1.0.0
Description: Child theme for the English site en.sosyage-meister.com. Keeps English-site customizations separate from the Cocoon parent; the JP site's child theme customizations are intentionally NOT carried over.
*/

/* 1. Base — Japan Pulse / approved dark forum palette */
:root {
  --bg: #0b0e14;
  --panel: #131722;
  --panel2: #171c2b;
  --line: #232a3d;
  --text: #e8ecf4;
  --muted: #8a94a8;
  --red: #ff4d42;
  --orange: #ff7a29;
  --blue: #58a6ff;
  --teal: #2a9d8f;
}
html {
  color-scheme: dark;
}
body.body {
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  line-height: 1.55;
}
body.body *,
body.body *::before,
body.body *::after {
  box-sizing: border-box;
}
body.body .container,
body.body .content,
body.body .content-in,
body.body .main,
body.body .sidebar {
  background: var(--bg);
  color: var(--text);
  border-color: var(--line);
}
body.body .main,
body.body .sidebar {
  min-width: 0;
}
body.body :is(h1, h2, h3, h4, h5, h6) {
  color: var(--text);
}
body.body a {
  color: var(--blue);
  text-decoration: none;
  overflow-wrap: anywhere;
}
body.body a:hover {
  text-decoration: underline;
}
::selection {
  background: var(--red);
  color: #fff;
}
body.body input,
body.body textarea,
body.body button,
body.body select {
  font: inherit;
}
body.body img {
  max-width: 100%;
}

/* 2. Header, navigation and Cocoon mobile drawers */
body.body #header-container.header-container,
body.body .header-container-in,
body.body #header.header,
body.body #header-in.header-in,
body.body #navi.navi,
body.body #navi-in.navi-in {
  background: var(--bg);
  color: var(--text);
}
body.body #header-container.header-container {
  border-bottom: 1px solid var(--line);
}
body.body #header-in.header-in {
  padding: 12px 16px;
}
body.body .logo-header {
  margin: 0;
  padding: 4px 0;
  line-height: 1.25;
}
body.body .logo-text,
body.body .site-name-text,
body.body .site-name-text-link {
  color: var(--text);
  font-weight: 800;
  letter-spacing: .4px;
}
body.body .logo-header img {
  width: auto;
  height: auto;
  max-height: 46px;
  object-fit: contain;
}
body.body .tagline {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}
body.body .navi .menu-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  padding: 6px 12px 10px;
}
body.body .navi .menu-top > li {
  width: auto;
  height: auto;
  min-width: 0;
  background: transparent;
}
body.body .navi .menu-top a,
body.body .menu-drawer a {
  height: auto;
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}
body.body .navi .menu-top a:hover,
body.body .navi .menu-top .current-menu-item > a,
body.body .navi .menu-top .current_page_item > a,
body.body .menu-drawer a:hover,
body.body .menu-drawer .current-menu-item > a {
  background: var(--panel2);
  color: var(--text);
  text-decoration: none;
}
body.body .navi .menu-top ul {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
}
body.body .mobile-menu-buttons,
body.body .menu-button,
body.body .menu-content,
body.body .menu-drawer,
body.body .search-menu-content {
  background: var(--panel);
  color: var(--muted);
  border-color: var(--line);
}
body.body .mobile-menu-buttons {
  border-top: 1px solid var(--line);
}
body.body .menu-button-in,
body.body .menu-icon,
body.body .menu-caption,
body.body .menu-close-button {
  color: var(--muted);
}
body.body .menu-button-in:hover {
  background: var(--panel2);
  color: var(--text);
  text-decoration: none;
}

/* 3. Entry cards — the rail is decorative and deliberately empty */
body.body a.entry-card-wrap {
  display: block;
  padding: 0;
  margin-bottom: 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--text);
  overflow: hidden;
  text-decoration: none;
  transition: border-color .15s ease;
}
body.body a.entry-card-wrap:hover {
  background: var(--panel);
  border-color: #33405e;
  color: var(--text);
  text-decoration: none;
}
body.body .entry-card-wrap .entry-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(100px, 24%) minmax(0, 1fr);
  align-items: start;
  gap: 16px;
  min-height: 120px;
  margin: 0;
  padding: 14px 16px 14px 62px;
  background: transparent;
  border: 0;
}
body.body .entry-card-wrap .entry-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 46px;
  background: var(--panel2);
  border-right: 1px solid var(--line);
  pointer-events: none;
}

/* Replace float/clearfix layout inside the grid only. */
body.body .entry-card-wrap .entry-card::after {
  content: none;
}
body.body .entry-card .entry-card-thumb {
  position: relative;
  float: none;
  width: 100%;
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
}
body.body .entry-card-thumb img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
}
body.body .entry-card .entry-card-content {
  min-width: 0;
  margin: 0;
  padding: 0;
}
body.body .entry-card .entry-card-title {
  margin: 0 0 6px;
  padding: 0;
  background: transparent;
  border: 0;
  color: var(--text);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
body.body .entry-card .entry-card-snippet {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}
body.body .entry-card .entry-card-meta {
  position: static;
  margin-top: 9px;
  color: var(--muted);
  font-size: 12px;
  text-align: left;
}
body.body .entry-card .entry-card-info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  color: var(--muted);
}
body.body .entry-card-info > span {
  margin: 0;
}
body.body .entry-card-info .post-comment-count {
  color: var(--blue);
  font-weight: 800;
}
body.body .entry-card-info .comment-icon {
  margin-right: 5px;
  color: var(--blue);
}
body.body .entry-card-categorys {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

/* Category settings can emit inline colors; these chip colors must win. */
body.body .cat-label,
body.body .entry-card-categorys span {
  display: inline-block;
  padding: 2px 8px;
  background: #2b3448 !important;
  border: 0;
  border-radius: 999px;
  color: #c7d0e0 !important;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: .8px;
  text-transform: uppercase;
}
body.body .cat-label.cat-label-3,
body.body .entry-card-categorys .cat-label-3 {
  background: var(--red) !important;
  color: #fff !important;
}
body.body .cat-label.cat-label-2,
body.body .entry-card-categorys .cat-label-2 {
  background: var(--teal) !important;
  color: #fff !important;
}

/* 4. Single articles, related cards and previous/next links */
body.body .article,
body.body .article .entry-content {
  background: var(--bg);
  color: var(--text);
  font-size: 18px;
  line-height: 1.75;
  overflow-wrap: anywhere;
}
body.body .article .entry-title {
  color: var(--text);
  font-size: clamp(26px, 3.5vw, 36px);
  line-height: 1.3;
}
body.body .entry-content h2 {
  margin: 2em 0 1em;
  padding: 10px 16px;
  background: var(--panel);
  border: 0;
  border-left: 4px solid var(--red);
  color: var(--text);
  font-size: 1.35em;
  line-height: 1.4;
}
body.body .entry-content :is(h3, h4, h5, h6) {
  padding: 0 0 8px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  line-height: 1.45;
}
body.body .entry-content table {
  width: 100%;
  border-collapse: collapse;
  background: var(--panel);
  color: var(--text);
  font-size: .9em;
}
body.body .entry-content :is(th, td) {
  padding: 10px 12px;
  border: 1px solid var(--line);
  overflow-wrap: anywhere;
}
body.body .entry-content th {
  background: var(--panel2);
  color: var(--text);
}
body.body .entry-content tr {
  background: var(--panel);
}
body.body .entry-content blockquote {
  margin: 1.5em 0;
  padding: 14px 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 4px solid var(--orange);
  border-radius: 0 10px 10px 0;
  color: var(--text);
}
body.body .entry-content blockquote::before,
body.body .entry-content blockquote::after {
  content: none;
}
body.body .entry-content code,
body.body .entry-content pre {
  background: var(--panel2);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: .9em;
}
body.body .entry-content code {
  padding: 2px 5px;
}
body.body .entry-content pre {
  padding: 16px;
  overflow-x: auto;
  line-height: 1.6;
}
body.body .entry-content pre code {
  padding: 0;
  border: 0;
  background: transparent;
  font-size: inherit;
}
body.body .entry-content img,
body.body .eye-catch,
body.body .eye-catch img {
  border-radius: 10px;
}
body.body .breadcrumb,
body.body .breadcrumb a,
body.body .date-tags,
body.body .footer-meta,
body.body .sns-share-message,
body.body .sns-follow-message {
  color: var(--muted);
  font-size: 12px;
}
body.body .sns-buttons .sns-button {
  background: var(--panel2);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  box-shadow: none;
}
body.body .sns-buttons .sns-button:hover {
  background: var(--panel);
  border-color: #33405e;
  color: var(--text);
  text-decoration: none;
}
body.body .author-box,
body.body .pager-links a,
body.body .related-entry-card-wrap {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--text);
}
body.body .author-box {
  padding: 16px;
}
body.body .pager-links a:hover,
body.body .related-entry-card-wrap:hover {
  background: var(--panel);
  border-color: #33405e;
  color: var(--text);
  text-decoration: none;
}

/* 5. Speech balloons — standard Cocoon tail, both directions */
body.body .speech-wrap {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 16px 0;
}
body.body .speech-wrap.sbp-r {
  flex-direction: row-reverse;
}
body.body .speech-wrap .speech-person {
  flex: 0 0 44px;
  width: 44px;
  margin: 0;
}
body.body .speech-icon img {
  display: block;
  width: 44px;
  height: 44px;
  object-fit: cover;
  border: 2px solid var(--line);
  border-radius: 50%;
}
body.body .speech-name {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.4;
  text-align: center;
}
body.body .speech-wrap .speech-balloon {
  position: relative;
  flex: 0 1 auto;
  min-width: 0;
  max-width: 78%;
  margin: 0;
  padding: 9px 13px;
  background: var(--panel2);
  border: 1px solid var(--line);
  border-radius: 14px;
  border-top-left-radius: 4px;
  color: var(--text);
  font-size: 14px;
  line-height: 1.65;
}
body.body .speech-wrap.sbp-r .speech-balloon {
  border-top-left-radius: 14px;
  border-top-right-radius: 4px;
}
body.body .speech-balloon > :first-child {
  margin-top: 0;
}
body.body .speech-balloon > :last-child {
  margin-bottom: 0;
}

/* Rebuild only the standard style's border triangles. */
body.body .speech-wrap.sbs-stn .speech-balloon::before,
body.body .speech-wrap.sbs-stn .speech-balloon::after {
  content: "";
  position: absolute;
  top: 13px;
  left: -9px;
  right: auto;
  width: 0;
  height: 0;
  background: transparent;
  border: 8px solid transparent;
  border-left-width: 0;
  border-right-color: var(--line);
  transform: none;
}
body.body .speech-wrap.sbs-stn .speech-balloon::after {
  left: -7px;
  border-right-color: var(--panel2);
}
body.body .speech-wrap.sbs-stn.sbp-r .speech-balloon::before,
body.body .speech-wrap.sbs-stn.sbp-r .speech-balloon::after {
  left: auto;
  right: -9px;
  border: 8px solid transparent;
  border-right-width: 0;
  border-left-color: var(--line);
}
body.body .speech-wrap.sbs-stn.sbp-r .speech-balloon::after {
  right: -7px;
  border-left-color: var(--panel2);
}

/* 6. Sidebar — classic widgets and the verified block widgets */
body.body .sidebar .widget {
  margin-bottom: 16px;
  padding: 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--muted);
  font-size: 13px;
}
body.body .sidebar .widget-title,
body.body .sidebar .wp-block-heading,
body.body .sidebar .wp-block-search__label {
  display: block;
  margin: 0 0 10px;
  padding: 0;
  background: transparent;
  border: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}
body.body .sidebar .widget ul {
  padding-left: 0;
  list-style: none;
}
body.body .sidebar .widget li {
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
body.body .sidebar .widget li:last-child {
  border-bottom: 0;
}
body.body .search-edit,
body.body .wp-block-search__input {
  min-width: 0;
  padding: 8px 14px;
  background: var(--panel2);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
}
body.body input::placeholder,
body.body textarea::placeholder {
  color: var(--muted);
  opacity: 1;
}
body.body .wp-block-search__inside-wrapper {
  gap: 6px;
  flex-wrap: wrap;
}
body.body .wp-block-search__button,
body.body .search-submit {
  background: var(--panel2);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  cursor: pointer;
}
body.body .wp-block-search__button {
  margin-left: 0;
  padding: 8px 12px;
  font-size: 13px;
}

/* 7. Footer and back-to-top */
body.body #footer.footer-container,
body.body .footer-bottom,
body.body .navi-footer {
  background: var(--bg);
  color: var(--muted);
  font-size: 12px;
}
body.body #footer.footer-container {
  border-top: 1px solid var(--line);
  padding: 22px 16px;
}
body.body .footer-bottom a,
body.body .navi-footer a {
  color: var(--muted);
}
body.body .footer-bottom a:hover,
body.body .navi-footer a:hover {
  color: var(--text);
}
body.body .go-to-top-button {
  background: var(--panel2);
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--muted);
}

/* 8. Comments — Cocoon's .commets-list spelling is intentional */
body.body #comment-area.comment-area,
body.body #comments {
  background: var(--bg);
  color: var(--text);
  border-color: var(--line);
}
body.body .comment-list {
  background: transparent;
  color: var(--text);
}
body.body .commets-list,
body.body .comment-list .children {
  padding: 0;
  list-style: none;
}
body.body .comment-list .comment-body {
  margin: 0 0 14px;
  padding: 14px 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--text);
  overflow-wrap: anywhere;
}
body.body .comment-author .fn,
body.body .comment-author .fn a {
  color: var(--blue);
  font-weight: 700;
}
body.body .comment-author img {
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 50%;
}
body.body .comment-meta,
body.body .comment-meta a,
body.body .comment-sub-heading {
  color: var(--muted);
  font-size: 12px;
}
body.body .comment-content {
  color: var(--text);
  font-size: 15px;
  line-height: 1.75;
}
body.body .reply {
  color: var(--muted);
  font-size: 12px;
}
body.body .comment-reply-link {
  display: inline-block;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
}
body.body .comment-reply-link:hover {
  background: var(--panel2);
  color: var(--text);
  text-decoration: none;
}
body.body .comment-list .children {
  margin: 0 0 14px 26px;
  padding-left: 14px;
  border-left: 2px solid var(--line);
}

/* All replies beyond depth two share depth two's horizontal position. */
body.body .comment-list .children .children {
  margin-left: 0;
  padding-left: 0;
  border-left: 0;
}
body.body #respond {
  margin: 20px 0;
  padding: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--text);
}
body.body #reply-title,
body.body #comments.comment-title {
  padding: 0;
  background: transparent;
  border: 0;
  color: var(--text);
  font-size: 20px;
}
body.body .comment-form :is(input[type="text"], input[type="email"], input[type="url"], textarea) {
  width: 100%;
  max-width: 100%;
  padding: 10px 12px;
  background: var(--panel2);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  box-shadow: none;
}
body.body .comment-form textarea {
  min-height: 150px;
  resize: vertical;
}
body.body .form-submit input[type="submit"],
body.body #submit,
body.body #comment-reply-btn {
  padding: 10px 22px;
  background: var(--red);
  border: 1px solid var(--red);
  border-radius: 999px;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}
body.body #submit:hover,
body.body #comment-reply-btn:hover {
  border-color: var(--orange);
  box-shadow: 0 0 0 1px var(--orange);
}
body.body .comment-notes,
body.body .logged-in-as,
body.body .comment-information-messag {
  color: var(--muted);
  font-size: 13px;
}
body.body .required {
  color: var(--red);
}

/* 9. Pagination, empty states and search */
body.body .pagination {
  gap: 8px;
  color: var(--muted);
}
body.body .pagination .page-numbers,
body.body .comment-page-link .page-numbers,
body.body .pager-links span {
  display: inline-block;
  min-width: 36px;
  margin: 3px;
  padding: 6px 10px;
  background: var(--panel2);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}
body.body .pagination .current,
body.body .comment-page-link .current {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  font-weight: 800;
}
body.body .page-numbers:hover {
  border-color: #33405e;
  color: var(--text);
  text-decoration: none;
}
body.body .posts-not-found,
body.body .posts-not-found h2 {
  color: var(--muted);
  background: transparent;
  border-color: var(--line);
}

/* 10. Responsive — retain Cocoon's visibility and sticky behavior */
@media (max-width: 1024px) {
  body.body .content-in {
    gap: 18px;
  }
  body.body .main {
    padding: 16px;
  }
  body.body .sidebar .widget {
    padding: 14px;
  }
  body.body .entry-card-wrap .entry-card {
    grid-template-columns: minmax(80px, 22%) minmax(0, 1fr);
    gap: 12px;
    padding-right: 14px;
  }
  body.body .entry-card .entry-card-title {
    font-size: 18px;
  }
}

@media (max-width: 640px) {
  body.body #header-in.header-in {
    padding: 10px 12px;
  }
  body.body .navi .menu-top {
    gap: 2px;
    padding-inline: 6px;
  }
  body.body .navi .menu-top a {
    padding: 6px 10px;
    font-size: 13px;
  }
  body.body .main {
    padding: 12px;
  }
  body.body .entry-card-wrap .entry-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    padding: 12px 12px 12px 24px;
  }
  body.body .entry-card-wrap .entry-card::before {
    width: 10px;
  }
  body.body .entry-card .entry-card-thumb {
    max-width: 180px;
  }
  body.body .entry-card .entry-card-title {
    font-size: 17px;
  }
  body.body .article,
  body.body .article .entry-content {
    font-size: 17px;
  }
  body.body .speech-wrap {
    gap: 9px;
  }
  body.body .speech-wrap .speech-person {
    flex-basis: 40px;
    width: 40px;
  }
  body.body .speech-icon img {
    width: 40px;
    height: 40px;
  }
  body.body .speech-wrap .speech-balloon {
    max-width: min(78%, calc(100% - 49px));
    padding: 9px 11px;
  }
  body.body .comment-list .children {
    margin-left: 12px;
    padding-left: 10px;
  }
  body.body .comment-list .children .children {
    margin-left: 0;
    padding-left: 0;
  }
  body.body .comment-list .comment-body,
  body.body #respond {
    padding: 12px;
  }
}

/* 11. Keyboard focus — do not remove the browser's fallback outline */
body.body :is(a, button, input, textarea, select, [tabindex]):focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}
body.body .menu-button input:focus-visible + label {
  outline: 2px solid var(--blue);
  outline-offset: -3px;
}

@media (prefers-reduced-motion: reduce) {
  body.body a.entry-card-wrap {
    transition: none;
  }
}
/* 12. Reviewer additions (added by Muse at apply time, 2026-11-07) */
/* The header logo lockup image already contains the tagline line;
   hide Cocoon's separate .tagline inside the header to avoid duplication. */
body.body #header-container .tagline {
  display: none;
}
/* Cocoon's generated inline CSS hides #respond
   (position:absolute; visibility:hidden). Comments are open on this
   site with an always-visible form, so restore normal flow. */
body.body #respond {
  position: static;
  visibility: visible;
  inset: auto;
}
/* Comment-area fallback in case the #comment-area id differs. */
body.body .comment-area {
  background: var(--bg);
  color: var(--text);
}
