/* Site chrome and Cocoon lists. The post body is styled in reading.css. */
body.rgde {
  --rg-bg:#0b0b0b; --rg-panel:#191919; --rg-text:#f5f5f5; --rg-muted:#c1bfbb;
  --rg-line:#41413e; --rg-orange:#f04e23; --rg-link:#ff946e;
  font-family:system-ui,-apple-system,"Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;
  background:var(--rg-bg); color:var(--rg-text);
}
.rgde #container, .rgde #content, .rgde #main, .rgde #sidebar { background:var(--rg-bg); color:var(--rg-text); }
.rgde #header-container, .rgde #header, .rgde #navi, .rgde #footer {background:#070707;color:var(--rg-text);}
.rgde #header-container {border-top:3px solid var(--rg-orange);border-bottom:1px solid var(--rg-line);}
.rgde #header-container-in {position:relative;display:flex;align-items:center;gap:clamp(12px,3vw,52px);width:min(1300px,94%);margin:auto;min-height:80px;}
.rgde #header, .rgde #navi {border:0;box-shadow:none;width:auto;min-width:0;}
.rgde #header-in {width:auto;min-height:0;display:flex;align-items:center;gap:16px;flex-direction:row-reverse;}
.rgde #header-in::after, .rgde #header::after {display:none;}
/* Silk's tagline becomes an inline descriptor in the masthead. */
.rgde #header-container {padding-top:0;}
.rgde #header .tagline {
  position:static;
  width:auto;
  height:auto;
  margin:0;
  padding:0 0 0 14px;
  border-left:1px solid var(--rg-line);
  color:var(--rg-muted);
  background:transparent;
  font-size:10px;
  line-height:1.5;
  letter-spacing:.05em;
  writing-mode:horizontal-tb;
}
.rgde .logo.logo-header, .rgde .logo.logo-footer {margin:0;padding:0;line-height:0;}
.rgde .logo .site-name {display:inline-flex;padding:0;min-height:44px;align-items:center;}
.rgde .logo .rgde-logo-source {display:block;}
.rgde .logo .rgde-logo {width:144px;height:auto;max-height:none;display:block;margin:0;padding:0;}
.rgde #navi {margin-left:auto;}
.rgde #navi-in {width:auto;}
.rgde #navi-in > ul {gap:2px;justify-content:flex-end;align-items:center;}
.rgde #navi-in > ul > li {width:auto;height:auto;line-height:1.4;}
.rgde #navi-in > ul > li > a, .rgde #navi-in .sub-menu a {display:flex;align-items:center;min-height:46px;padding:8px 12px;color:var(--rg-text);font-weight:700;font-size:14px;background:#070707;}
.rgde #navi-in .sub-menu {background:#141414;box-shadow:0 4px 15px #0008;}
.rgde #navi-in a:hover, .rgde #navi-in li:focus-within > a {color:var(--rg-link);}
.rgde #navi-in li:focus-within > .sub-menu {display:block;visibility:visible;opacity:1;transform:none;}
.rgde #navi-in .current-menu-item > a .item-label {text-decoration:underline;text-underline-offset:7px;text-decoration-color:var(--rg-orange);}
.rgde-search {position:relative;z-index:8;flex:none;}
.rgde-search summary {display:flex;align-items:center;gap:9px;cursor:pointer;min-height:44px;padding:0 9px;font-size:12px;font-weight:700;}
.rgde-search summary::-webkit-details-marker {display:none;}
.rgde-lens {display:inline-block;position:relative;width:15px;height:15px;border:2px solid currentColor;border-radius:50%;}
.rgde-lens::after {content:"";position:absolute;right:-5px;bottom:-3px;width:7px;height:2px;background:currentColor;transform:rotate(45deg);}
.rgde-search form {position:absolute;right:0;top:100%;width:min(320px,88vw);display:flex;align-items:end;gap:8px;padding:16px;background:#202020;border:1px solid var(--rg-line);}
.rgde-search label {flex:1;min-width:0;font-size:13px;}
.rgde-search input, .rgde-search button {display:block;width:100%;min-height:44px;margin:3px 0 0;padding:8px;font:inherit;}
.rgde-search button {width:auto;background:var(--rg-orange);color:#111;border:0;font-weight:700;}
.rgde #content {margin-top:0;padding:clamp(22px,3vw,46px) 0;}
.rgde #content-in {width:min(1300px,94%);gap:clamp(20px,3vw,48px);align-items:flex-start;}
.rgde #main {flex:1 1 0;min-width:0;border:0;padding:0;box-shadow:none;}
.rgde #sidebar {flex:0 1 252px;min-width:0;padding:0;border:0;}
.rgde #main:only-child {max-width:100%;}
.rgde #sidebar .widget, .rgde .under-entry-content, .rgde .article-footer {color:var(--rg-text);}
.rgde #sidebar .widget {margin:0 0 26px;border-top:1px solid var(--rg-line);padding:16px 0 0;background:transparent;}
.rgde #sidebar :is(.widget-title,h2,h3), .rgde .under-entry-content :is(h2,h3) {color:var(--rg-text);background:transparent;border:0;border-left:3px solid var(--rg-orange);padding:0 0 0 10px;margin:0 0 14px;font-family:inherit;font-size:17px;font-weight:800;line-height:1.4;}
.rgde .widget :is(a,label), .rgde :is(.breadcrumb,.pagination,.pagination-next,.pager-post-navi,.related-entry-card-wrap,.article-footer) a {color:var(--rg-text);}
.rgde #sidebar :is(li,.author-box,.widget-entry-cards a) {border-color:var(--rg-line);background:transparent;}
.rgde :is(input[type=search],input[type=text],textarea,select) {color:#f5f5f5;background:#202020;border:1px solid #757572;}
.rgde :is(input,textarea)::placeholder {color:#c1bfbb;opacity:1;}
.rgde .search-submit {color:var(--rg-text);}
.rgde #footer {margin-top:30px;border-top:2px solid var(--rg-orange);padding:25px 0;}
.rgde #footer-in {width:min(1300px,94%);}
.rgde #footer :is(a,.copyright) {color:var(--rg-muted);}
.rgde .logo-footer .rgde-logo {width:126px;}
.rgde :is(.pagination a,.pagination-next-link,.pagination .current,.go-to-top-button,.pager-post-navi a,.related-entry-card-wrap,.blogcard,.toc,.author-box,.comment-area) {color:var(--rg-text);background:#171717;border-color:var(--rg-line);}
.rgde .pagination .current {border-color:var(--rg-orange);}
.rgde :is(.breadcrumb,.date-tags,.read-time,.entry-date,.post-date,.post-update,.blogcard-snippet,.blogcard-domain,.comment-notes) {color:var(--rg-muted);}
.rgde :is(.breadcrumb,.read-time,.date-tags,.under-entry-content,.comment-area) {background:transparent;}
.rgde .mobile-menu-buttons, .rgde :is(.navi-menu-content,.search-menu-content,.sidebar-menu-content) {background:#131313;color:var(--rg-text);border-color:var(--rg-line);}
.rgde .mobile-menu-buttons .menu-button, .rgde .mobile-menu-buttons a, .rgde .menu-drawer a {color:var(--rg-text);background:#131313;}
.rgde .mobile-menu-buttons :is(a,label) {min-height:44px;}
.rgde :focus-visible {outline:3px solid #ffac87;outline-offset:3px;}
.rgde a:hover {color:var(--rg-link);}
.rgde #content :is(.cat-label,.entry-category) {background:var(--rg-orange);color:#140d09;border:0;border-radius:0;font:800 11px/1.3 system-ui,sans-serif;padding:4px 8px;}
.rgde .rgde-edition {display:flex;align-items:center;gap:12px;margin:0 0 12px;padding:0;color:var(--rg-muted);font-size:11px;letter-spacing:.09em;}
.rgde-edition strong {font:900 12px/1.3 Arial,sans-serif;letter-spacing:.13em;color:var(--rg-orange);}
.rgde-edition::after {content:"";height:1px;background:var(--rg-line);flex:1;}
.rgde #list {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:23px 17px;}
.rgde #list > :not(.entry-card-wrap) {grid-column:1/-1;min-width:0;}
.rgde #list .entry-card-wrap {width:100%;height:auto;padding:0;margin:0;min-width:0;border:0;border-radius:0;background:transparent;color:var(--rg-text);box-shadow:none;opacity:1;}
.rgde #list .entry-card {display:flex;flex-direction:column;min-width:0;}
.rgde #list .entry-card-thumb {position:relative;overflow:hidden;float:none;width:100%;margin:0;}
.rgde #list .entry-card-thumb img {width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;display:block;border-radius:0;box-shadow:none;}
.rgde #list .cat-label,.rgde .eye-catch .cat-label {position:absolute;top:auto;bottom:8px;left:8px;}
.rgde #list .entry-card-content {position:static;display:flex;flex-direction:column;gap:8px;min-width:0;margin:0;padding:13px 0;border-bottom:1px solid var(--rg-line);color:var(--rg-text);background:transparent;}
.rgde #list .entry-card-title, .rgde-tile h3 {margin:0;padding:0;background:none;border:0;color:var(--rg-text);font-family:inherit;font-weight:800;font-size:clamp(16px,1.4vw,21px);line-height:1.48;letter-spacing:-.03em;overflow-wrap:anywhere;}
.rgde #list .entry-card-snippet {display:none;}
.rgde #list .entry-card-meta {position:static;display:flex;justify-content:flex-start;align-items:center;text-align:left;font-size:11px;line-height:1.4;margin:0;}
.rgde #list .entry-card-meta .e-card-categorys {display:none;}
.rgde #list .entry-card-wrap:hover h2,.rgde-tile a:hover h3 {color:var(--rg-link);}
.rgde-read {display:inline-flex;align-items:center;gap:20px;align-self:flex-start;min-height:44px;margin-top:5px;padding:8px 15px;color:#110b06;background:var(--rg-orange);font-size:13px;font-weight:800;}
.rgde-read b {font-size:18px;}
.rgde #main .rgde-heading {display:flex;align-items:baseline;gap:13px;flex-wrap:wrap;margin:0;padding:0;border:0;background:none;color:var(--rg-text);font:900 italic clamp(26px,2.6vw,39px)/1.18 Arial,sans-serif;letter-spacing:-.05em;text-transform:uppercase;}
.rgde #main .rgde-heading::before {content:"";position:static;display:inline-block;width:5px;height:.76em;align-self:center;background:var(--rg-orange);transform:skew(-15deg);border:0;}
.rgde #main .rgde-heading small {font:600 11px/1.5 system-ui,sans-serif;letter-spacing:.08em;color:var(--rg-muted);}
.rgde #main .rgde-latest {margin:10px 0 -5px;}
.rgde-section {margin:44px 0 24px;padding-top:16px;border-top:1px solid var(--rg-line);}
.rgde-section-top {display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:16px;}
.rgde-section-top > a {display:inline-flex;align-items:center;gap:8px;min-height:44px;white-space:nowrap;font-size:13px;color:var(--rg-link);}
.rgde-shelf {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;}
.rgde-tile a {display:block;text-decoration:none;color:var(--rg-text);}
.rgde-tile img.rgde-thumb {display:block;width:100%;aspect-ratio:16/9;height:auto;object-fit:cover;}
.rgde-tile img.rgde-fallback {object-fit:contain;background:#030303;}
.rgde-tile time {display:block;color:var(--rg-muted);font-size:11px;letter-spacing:.08em;margin:10px 0 4px;}
.rgde #main .archive-title {margin:0 0 24px;padding:8px 0 14px;border:0;border-bottom:2px solid var(--rg-orange);background:none;color:var(--rg-text);font:800 clamp(25px,3.5vw,45px)/1.3 system-ui,sans-serif;}
@media (max-width:1100px) {
  .rgde #header .tagline {position:absolute;width:1px;height:1px;padding:0;border:0;overflow:hidden;clip-path:inset(50%);}
  .rgde #sidebar {flex-basis:210px;}
  .rgde #list,.rgde-shelf {gap:18px 12px;}
}
@media (max-width:834px) {
  .rgde #header-container-in {min-height:62px;justify-content:space-between;}
  .rgde #header .rgde-logo {width:125px;}
  .rgde #content-in {width:92%;display:block;}
  .rgde #main, .rgde #sidebar {width:100%;margin-inline:auto;}
  .rgde #sidebar {margin-top:32px;}
  .rgde #navi-in > ul > li > a {font-size:12px;padding-inline:7px;}
}
@media (max-width:640px) {
  .rgde #header-container-in {flex-wrap:wrap;gap:0 8px;padding-block:4px;min-height:56px;}
  .rgde #header {order:0;}
  .rgde-search {order:1;margin-left:auto;}
  .rgde #navi {order:2;width:100%;}
  .rgde #navi-in > ul {justify-content:flex-start;flex-wrap:wrap;}
  .rgde #content {padding-top:18px;}
  .rgde #list {grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 12px;}
  .rgde #list .entry-card-title {font-size:15px;line-height:1.55;}
  .rgde #list .entry-card-content {padding:9px 0;}
  .rgde #main .rgde-heading {gap:9px;font-size:27px;}
  .rgde-shelf {grid-template-columns:1fr;}
  .rgde-tile a {display:grid;grid-template-columns:34% 1fr;gap:13px;align-items:center;border-bottom:1px solid var(--rg-line);padding-bottom:12px;}
  .rgde-tile h3 {font-size:15px;}
  .rgde-tile time {margin-top:0;}
  .rgde-section {margin-top:30px;}
}
.rgde #sidebar :is(.widget-title,h2,h3) {text-align:left;}
.rgde #sidebar :is(.widget-title,h2,h3)::before,.rgde #sidebar :is(.widget-title,h2,h3)::after {content:none;}
.rgde .rgde-arrow {display:inline-block;position:relative;width:.72em;height:.72em;border-right:2px solid currentColor;border-top:2px solid currentColor;}
.rgde .rgde-arrow::after {content:"";position:absolute;top:-1px;right:-1px;width:1em;height:2px;background:currentColor;transform:rotate(-45deg);transform-origin:right center;}
.rgde .mobile-menu-buttons > .menu-button > input[type=checkbox].display-none {
  position:absolute;display:block;clip-path:inset(50%);height:1px;width:1px;overflow:hidden;
}
.rgde .mobile-menu-buttons input:focus-visible + label {outline:3px solid #ffac87;outline-offset:-3px;}
.rgde .mobile-menu-buttons input:not(:checked) ~ :is(.menu-content,.search-menu-content,.share-menu-content,.follow-menu-content) {visibility:hidden;}
.rgde .mobile-menu-buttons input:checked ~ :is(.menu-content,.search-menu-content,.share-menu-content,.follow-menu-content) {visibility:visible;}
.rgde #navi-in .sub-menu {transition:none;}
@media (prefers-reduced-motion:reduce) {
  .rgde .mobile-menu-buttons .menu-content {transition:none;}
}


/* The first page of the native Cocoon post list. Ads and widgets remain grid-wide. */
.rgde-cover #content-in {
  --rg-cover-gap:clamp(20px,2.8vw,40px);
  gap:var(--rg-cover-gap);
}
.rgde-cover #sidebar {
  flex-basis:clamp(200px,18vw,238px);
  padding-inline-start:18px;
  border-inline-start:1px solid var(--rg-line);
}
.rgde-cover #sidebar .widget:first-child {
  border-top:0;
  padding-top:0;
}
.rgde-cover .rgde-edition {
  gap:10px;
  margin-bottom:14px;
}
.rgde-cover .rgde-edition strong {
  color:var(--rg-text);
  font:900 italic clamp(16px,1.55vw,23px)/1 Arial,sans-serif;
  letter-spacing:.01em;
}
.rgde-cover .rgde-edition::before {
  content:"";
  width:4px;
  height:18px;
  background:var(--rg-orange);
  transform:skew(-14deg);
}
.rgde-cover #list {
  gap:24px 16px;
}
.rgde-cover #list > .entry-card-wrap,
.rgde-cover .rgde-tile > a {
  height:100%;
  border:1px solid #333330;
  background:#161616;
}
.rgde-cover #list .entry-card-thumb {
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  background:#101010;
  border-bottom:1px solid #333330;
}
.rgde-cover #list .entry-card-thumb img,
.rgde-cover .rgde-tile img.rgde-thumb {
  object-fit:contain;
  background:#080808;
  width:100%;
}
.rgde-cover #list .entry-card-thumb > .cat-label {
  position:static;
  display:block;
  max-width:100%;
  margin:0;
  padding:5px 10px;
  overflow-wrap:anywhere;
  background:var(--rg-orange);
  color:#140d09;
}
.rgde-cover #list .entry-card-content {
  padding:12px 13px 14px;
  border-bottom:0;
}
.rgde-cover #list .entry-card-title,
.rgde-cover .rgde-tile h3,
.rgde-cover #sidebar {
  font-family:"Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,"Noto Sans CJK JP","Noto Sans JP",system-ui,sans-serif;
}
.rgde-cover #list .entry-card-title, .rgde-cover .rgde-tile h3 {
  font-size:clamp(16px,1.45vw,21px);
  line-height:1.45;
  text-wrap:pretty;
}
.rgde-cover #list .entry-card-meta {
  font-variant-numeric:tabular-nums;
}
.rgde-cover #list > .entry-card-wrap:first-of-type {
  grid-column:1/-1;
  border-bottom:3px solid var(--rg-orange);
  background:var(--rg-panel);
}
.rgde-cover #list > .entry-card-wrap:first-of-type .entry-card {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1.57fr);
  align-items:stretch;
}
.rgde-cover #list > .entry-card-wrap:first-of-type .entry-card-thumb {
  grid-column:2;
  grid-row:1;
  justify-content:center;
  align-self:stretch;
  border:0;
  border-inline-start:1px solid #333330;
}
.rgde-cover #list > .entry-card-wrap:first-of-type .entry-card-content {
  grid-column:1;
  grid-row:1;
  justify-content:center;
  padding:clamp(18px,2.3vw,35px);
  gap:13px;
}
.rgde-cover #list > .entry-card-wrap:first-of-type .entry-card-title {
  display:block;
  overflow:visible;
  -webkit-line-clamp:unset;
  text-wrap:balance;
  font-size:clamp(25px,2.55vw,41px);
  font-weight:900;
  line-height:1.32;
  letter-spacing:-.034em;
}
.rgde-cover #list > .entry-card-wrap:first-of-type .entry-card-meta {
  order:-1;
  font-size:12px;
}
.rgde-cover #list > .entry-card-wrap:first-of-type .entry-card-snippet {
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  overflow:hidden;
  margin:0;
  color:var(--rg-muted);
  font-size:13px;
  line-height:1.65;
}
.rgde-cover #list > .entry-card-wrap:first-of-type .rgde-read {
  margin-top:2px;
}
.rgde-cover #main .rgde-latest {
  margin:7px 0 -5px;
  padding-bottom:10px;
  border-bottom:1px solid var(--rg-line);
}
.rgde-cover .rgde-section {
  margin-top:40px;
}
.rgde-cover .rgde-section-top {
  margin-bottom:12px;
}
.rgde-cover .rgde-section-top > a {
  border-bottom:1px solid var(--rg-orange);
  padding:0 7px;
}
.rgde-cover .rgde-tile > a > div {
  padding:0 12px 13px;
}
@media (hover:hover) {
  .rgde-cover #list > .entry-card-wrap:hover,
  .rgde-cover .rgde-tile > a:hover {
    border-color:var(--rg-orange);
  }
}
@media (max-width:834px) {
  .rgde-cover #sidebar {
    padding-inline-start:0;
    border-inline-start:0;
  }
}
@media (max-width:640px) {
  .rgde-cover #list {
    gap:15px 12px;
  }
  .rgde-cover #list .entry-card-content {
    padding:9px 10px 11px;
  }
  .rgde-cover #list .entry-card-title, .rgde-cover .rgde-tile h3 {
    font-size:15px;
    line-height:1.5;
  }
  .rgde-cover #list > .entry-card-wrap:first-of-type .entry-card {
    display:flex;
  }
  .rgde-cover #list > .entry-card-wrap:first-of-type .entry-card-thumb {
    border-inline-start:0;
  }
  .rgde-cover #list > .entry-card-wrap:first-of-type .entry-card-content {
    gap:9px;
    padding:13px 16px 17px;
  }
  .rgde-cover #list > .entry-card-wrap:first-of-type .entry-card-title {
    font-size:clamp(22px,5.85vw,32px);
    line-height:1.38;
  }
  .rgde-cover #list > .entry-card-wrap:first-of-type .entry-card-snippet {
    display:none;
  }
  .rgde-cover #main .rgde-latest {
    margin:9px 0 1px;
  }
  .rgde-cover .rgde-section {
    margin-top:32px;
  }
  .rgde-cover .rgde-tile > a {
    gap:11px;
    padding:0;
  }
  .rgde-cover .rgde-tile > a > div {
    padding:9px 9px 9px 0;
  }
}
