.editor-styles-wrapper table:not(.etb-table):not(.ncg__t):not(.custom-table-1407):not(.wp-calendar-table):not(.sparkingzerocharacterunlock):not(.sparkingzeroepisode-table):not(.ff14d):not(:is(.custom-skill-table-wrapper *))
  :is(th, td):not([style*="background"]):not([style*="BACKGROUND"]):not([class*="-background-color"]):not([class*="rarity-cell"]):not([class*="s1-"]):not([class*="s2-"]):not([class*="s3-"]):not(.colored-cell),
body :is(.post_content, .entry-content, .wp-block-post-content)
  table:not(.etb-table):not(.ncg__t):not(.custom-table-1407):not(.wp-calendar-table):not(.sparkingzerocharacterunlock):not(.sparkingzeroepisode-table):not(.ff14d):not(:is(.custom-skill-table-wrapper *))
  :is(th, td):not([style*="background"]):not([style*="BACKGROUND"]):not([class*="-background-color"]):not([class*="rarity-cell"]):not([class*="s1-"]):not([class*="s2-"]):not([class*="s3-"]):not(.colored-cell){
  background: var(--surface-table-row-odd, var(--swl-table-modern-cell-bg));
  color: var(--swl-table-modern-cell-text, var(--color_text));
  border-color: var(--border-table-row, var(--swl-table-modern-row-border));
}
.editor-styles-wrapper table:not(.etb-table):not(.ncg__t):not(.custom-table-1407):not(.wp-calendar-table):not(.sparkingzerocharacterunlock):not(.sparkingzeroepisode-table):not(.ff14d):not(:is(.custom-skill-table-wrapper *))
  thead :is(th, td):not([style*="background"]):not([style*="BACKGROUND"]):not([class*="-background-color"]):not([class*="rarity-cell"]):not([class*="s1-"]):not([class*="s2-"]):not([class*="s3-"]):not(.colored-cell),
body :is(.post_content, .entry-content, .wp-block-post-content)
  table:not(.etb-table):not(.ncg__t):not(.custom-table-1407):not(.wp-calendar-table):not(.sparkingzerocharacterunlock):not(.sparkingzeroepisode-table):not(.ff14d):not(:is(.custom-skill-table-wrapper *))
  thead :is(th, td):not([style*="background"]):not([style*="BACKGROUND"]):not([class*="-background-color"]):not([class*="rarity-cell"]):not([class*="s1-"]):not([class*="s2-"]):not([class*="s3-"]):not(.colored-cell){
  background: var(--surface-table-header, var(--swl-table-modern-header-bg));
  color: var(--swl-table-modern-header-text, var(--color_text));
  /* 2026-09-26: 見出しの下線は少し濃い線（--border-table-header-divider = --ntg2-line-2）。骨格は table-override.css */
  border-color: var(--border-table-header-divider, var(--border-table-row, var(--swl-table-modern-row-border)));
  border-bottom-width: 1px;
  font-size: var(--swl-table-modern-header-font-size, 1rem);
  font-weight: 700;
}
.editor-styles-wrapper table:not(.etb-table):not(.ncg__t):not(.custom-table-1407):not(.wp-calendar-table):not(.sparkingzerocharacterunlock):not(.sparkingzeroepisode-table):not(.ff14d):not(:is(.custom-skill-table-wrapper *))
  tbody tr:hover > :is(th, td):not([style*="background"]):not([style*="BACKGROUND"]):not([class*="-background-color"]):not([class*="rarity-cell"]):not([class*="s1-"]):not([class*="s2-"]):not([class*="s3-"]):not(.colored-cell),
body :is(.post_content, .entry-content, .wp-block-post-content)
  table:not(.etb-table):not(.ncg__t):not(.custom-table-1407):not(.wp-calendar-table):not(.sparkingzerocharacterunlock):not(.sparkingzeroepisode-table):not(.ff14d):not(:is(.custom-skill-table-wrapper *))
  tbody tr:hover > :is(th, td):not([style*="background"]):not([style*="BACKGROUND"]):not([class*="-background-color"]):not([class*="rarity-cell"]):not([class*="s1-"]):not([class*="s2-"]):not([class*="s3-"]):not(.colored-cell){
  background: var(--swl-table-modern-hover-bg, var(--nettoge-retro-table-hover));
}
.editor-styles-wrapper table.table:not(.etb-table):not(.ff14d),
body :is(.post_content, .entry-content, .wp-block-post-content) table.table:not(.etb-table):not(.ff14d){
  background: var(--surface-table-row-odd, var(--swl-table-modern-cell-bg));
  border-color: var(--border-table-row, var(--swl-table-modern-row-border));
  color: var(--swl-table-modern-cell-text, var(--color_text));
}
.editor-styles-wrapper #ff14-dye-table-wrap,
body :is(.post_content, .entry-content, .wp-block-post-content) #ff14-dye-table-wrap{
  color: var(--nettoge-retro-table-cell-fg, var(--color_text));
  background: transparent;
}
html[data-nettoge-theme="dark"] .editor-styles-wrapper #ff14-dye-table-wrap,
html[data-nettoge-theme="dark"] body :is(.post_content, .entry-content, .wp-block-post-content) #ff14-dye-table-wrap{
  color: var(--color_text);
  background: var(--surface-table-row-odd, var(--nettoge-retro-table-cell-bg));
}
html[data-nettoge-theme="dark"] body :is(.post_content, .entry-content, .wp-block-post-content) [style*="background-color: #f0f8ff"],
html[data-nettoge-theme="dark"] body :is(.post_content, .entry-content, .wp-block-post-content) [style*="background-color:#f0f8ff"]{
  background-color: color-mix(in srgb, var(--color_text) 6%, var(--surface-table-row-odd, var(--nettoge-page-bg)));
}
html[data-nettoge-theme="dark"] body :is(.post_content, .entry-content, .wp-block-post-content) .arcwpn [style*="background: #fff;"],
html[data-nettoge-theme="dark"] body :is(.post_content, .entry-content, .wp-block-post-content) .arcwpn [style*="background:#fff;"],
html[data-nettoge-theme="dark"] body :is(.post_content, .entry-content, .wp-block-post-content) .arcwpn [style*="background: #ffffff;"],
html[data-nettoge-theme="dark"] body :is(.post_content, .entry-content, .wp-block-post-content) .arcwpn [style*="background:#ffffff;"],
html[data-nettoge-theme="dark"] body :is(.post_content, .entry-content, .wp-block-post-content) [style*="border-left: 4px solid"][style*="background: #fff"],
html[data-nettoge-theme="dark"] body :is(.post_content, .entry-content, .wp-block-post-content) [style*="border-left: 4px solid"][style*="background:#fff"]{
  background: var(--surface-table-row-odd, var(--nettoge-retro-table-cell-bg));
}
html[data-nettoge-theme="dark"] body :is(.post_content, .entry-content, .wp-block-post-content) .arcwpn [style*="color: #333"],
html[data-nettoge-theme="dark"] body :is(.post_content, .entry-content, .wp-block-post-content) .arcwpn [style*="color:#333"],
html[data-nettoge-theme="dark"] body :is(.post_content, .entry-content, .wp-block-post-content) .arcwpn [style*="color: #555"],
html[data-nettoge-theme="dark"] body :is(.post_content, .entry-content, .wp-block-post-content) .arcwpn [style*="color:#555"],
html[data-nettoge-theme="dark"] body :is(.post_content, .entry-content, .wp-block-post-content) .arcwpn [style*="color: #666"],
html[data-nettoge-theme="dark"] body :is(.post_content, .entry-content, .wp-block-post-content) .arcwpn [style*="color:#666"],
html[data-nettoge-theme="dark"] body :is(.post_content, .entry-content, .wp-block-post-content) [style*="border-left: 4px solid"] [style*="color: #333"],
html[data-nettoge-theme="dark"] body :is(.post_content, .entry-content, .wp-block-post-content) [style*="border-left: 4px solid"] [style*="color:#333"],
html[data-nettoge-theme="dark"] body :is(.post_content, .entry-content, .wp-block-post-content) [style*="border-left: 4px solid"] [style*="color: #555"],
html[data-nettoge-theme="dark"] body :is(.post_content, .entry-content, .wp-block-post-content) [style*="border-left: 4px solid"] [style*="color:#555"],
html[data-nettoge-theme="dark"] body :is(.post_content, .entry-content, .wp-block-post-content) [style*="border-left: 4px solid"] [style*="color: #666"],
html[data-nettoge-theme="dark"] body :is(.post_content, .entry-content, .wp-block-post-content) [style*="border-left: 4px solid"] [style*="color:#666"]{
  color: var(--color_text);
}
html[data-nettoge-theme="dark"] body :is(.post_content, .entry-content, .wp-block-post-content) .arcwpn [style*="border-top: 1px solid #f0f0f0"],
html[data-nettoge-theme="dark"] body :is(.post_content, .entry-content, .wp-block-post-content) .arcwpn [style*="border-top:1px solid #f0f0f0"],
html[data-nettoge-theme="dark"] body :is(.post_content, .entry-content, .wp-block-post-content) [style*="border-left: 4px solid"] [style*="border-top: 1px solid #f0f0f0"],
html[data-nettoge-theme="dark"] body :is(.post_content, .entry-content, .wp-block-post-content) [style*="border-left: 4px solid"] [style*="border-top:1px solid #f0f0f0"]{
  border-top-color: var(--border-table-row, var(--nettoge-border-muted));
}
.editor-styles-wrapper .bg3,
body :is(.post_content, .entry-content, .wp-block-post-content) .bg3{
  color: var(--color_text);
}
.editor-styles-wrapper .bg3 th,
body :is(.post_content, .entry-content, .wp-block-post-content) .bg3 th{
  background: var(--surface-table-header, var(--nettoge-retro-table-header-bg));
  color: var(--swl-table-modern-header-text, var(--text-on-accent, #fff));
}
.editor-styles-wrapper .etb-table td:has(> .ntg-no),
body :is(.post_content, .entry-content, .wp-block-post-content) .etb-table td:has(> .ntg-no){
  text-align: center;
}
@media (max-width: 781px){
.editor-styles-wrapper .etb-table td.etb-first-cell:has(> .ntg-no),
  body :is(.post_content, .entry-content, .wp-block-post-content) .etb-table td.etb-first-cell:has(> .ntg-no){
    text-align: left;
  }
}
.editor-styles-wrapper .wp-block-image figcaption,
body :is(.post_content, .entry-content, .wp-block-post-content) .wp-block-image figcaption{
  border: 0;
  color: var(--text-comment-muted, var(--color_text));
  font-size: 0.9em;
  line-height: 1.6;
  margin-block: 0.45em 1.1em;
  opacity: 1;
  padding: 0 0.5em;
  text-align: center;
}
.editor-styles-wrapper .wp-block-table[class*="ntg-tw-"] :is(th, td):nth-child(1),
body :is(.post_content, .entry-content, .wp-block-post-content) .wp-block-table[class*="ntg-tw-"] :is(th, td):nth-child(1){ width: var(--ntg-tw-1); }
.editor-styles-wrapper .wp-block-table[class*="ntg-tw-"] :is(th, td):nth-child(2),
body :is(.post_content, .entry-content, .wp-block-post-content) .wp-block-table[class*="ntg-tw-"] :is(th, td):nth-child(2){ width: var(--ntg-tw-2); }
.editor-styles-wrapper .wp-block-table[class*="ntg-tw-"] :is(th, td):nth-child(3),
body :is(.post_content, .entry-content, .wp-block-post-content) .wp-block-table[class*="ntg-tw-"] :is(th, td):nth-child(3){ width: var(--ntg-tw-3); }
.editor-styles-wrapper .wp-block-table[class*="ntg-tw-"] :is(th, td):nth-child(4),
body :is(.post_content, .entry-content, .wp-block-post-content) .wp-block-table[class*="ntg-tw-"] :is(th, td):nth-child(4){ width: var(--ntg-tw-4); }
.editor-styles-wrapper .wp-block-table[class*="ntg-tw-"] :is(th, td):nth-child(5),
body :is(.post_content, .entry-content, .wp-block-post-content) .wp-block-table[class*="ntg-tw-"] :is(th, td):nth-child(5){ width: var(--ntg-tw-5); }
.editor-styles-wrapper .wp-block-table[class*="ntg-tw-"] :is(th, td):nth-child(6),
body :is(.post_content, .entry-content, .wp-block-post-content) .wp-block-table[class*="ntg-tw-"] :is(th, td):nth-child(6){ width: var(--ntg-tw-6); }
.editor-styles-wrapper .wp-block-table[class*="ntg-tw-"] :is(th, td):nth-child(7),
body :is(.post_content, .entry-content, .wp-block-post-content) .wp-block-table[class*="ntg-tw-"] :is(th, td):nth-child(7){ width: var(--ntg-tw-7); }
.editor-styles-wrapper .wp-block-table[class*="ntg-tw-"] :is(th, td):nth-child(8),
body :is(.post_content, .entry-content, .wp-block-post-content) .wp-block-table[class*="ntg-tw-"] :is(th, td):nth-child(8){ width: var(--ntg-tw-8); }
.editor-styles-wrapper .wp-block-table[class*="ntg-tw-"] :is(th, td):nth-child(9),
body :is(.post_content, .entry-content, .wp-block-post-content) .wp-block-table[class*="ntg-tw-"] :is(th, td):nth-child(9){ width: var(--ntg-tw-9); }
