/* Delta Island standard 1.1.0 — light-mode refinements.
   Darkmode extension retains its own palette. */
#wrap.wrap {
  border: 1px solid #c5d0df;
  box-shadow: 0 8px 28px rgba(0,0,0,.22);
  border-radius: 10px;
}
.site_info img { max-width: 100%; height: auto; }
:root:not(.darkmode) body { color: #263448; }
:root:not(.darkmode) li.row {
  background-image: none;
  border-bottom-color: #d5dfeb;
}
:root:not(.darkmode) li.row.bg1,
:root:not(.darkmode) li.row.bg3 { background-color: #f0f4f9 !important; }
:root:not(.darkmode) li.row.bg2 { background-color: #fff !important; }
:root:not(.darkmode) li.row:not(.bg1):not(.bg2):not(.bg3) { background-color: #f0f4f9; }
:root:not(.darkmode) li.row:hover { background-color: #e3edf8 !important; }
:root:not(.darkmode) li.row.reported { background-color: #f8e4e6 !important; }
:root:not(.darkmode) ul.topiclist dd { border-color: #d5dfeb; }
:root:not(.darkmode) ul.topiclist li.row,
:root:not(.darkmode) li.row .list-inner,
:root:not(.darkmode) li.row dd { color: #42556e; }
:root:not(.darkmode) a { color: #174b80; }
:root:not(.darkmode) a:hover { color: #08396b; }
:root:not(.darkmode) a.forumtitle,
:root:not(.darkmode) a.topictitle { color: #162d49; }
:root:not(.darkmode) a.forumtitle:hover,
:root:not(.darkmode) a.topictitle:hover { color: #185a9a; }
:root:not(.darkmode) .postlink { border-bottom-color: #174b80; }
:root:not(.darkmode) .navbar.nav-black a,
:root:not(.darkmode) #nav-main > li > a,
:root:not(.darkmode) #nav-footer > li > a,
:root:not(.darkmode) #nav-footer > li > span > a,
:root:not(.darkmode) li.header dt,
:root:not(.darkmode) li.header dd,
:root:not(.darkmode) li.header a { color: #fff; }
:root:not(.darkmode) .navbar.nav-black a:hover { color: #c6e3ff; }
:root:not(.darkmode) .username-coloured { text-shadow: none; }
:root:not(.darkmode) .forabg,
:root:not(.darkmode) .forumbg {
  background: linear-gradient(110deg, #183e6d, #11305d);
  border-radius: 6px;
}
:root:not(.darkmode) .pagination li a {
  background: #f0f4f9; border-color: #899bb1; color: #234b75;
}
.pagination li a, .pagination li.active span { padding: 3px 7px; }
/* Keep embedded per-topic pagination compact. */
.row .pagination li a, .row .pagination li.active span { padding: 1px 4px; }
:root:not(.darkmode) .pagination li.active span,
:root:not(.darkmode) .pagination li a:hover {
  background: #174b80; border-color: #174b80; color: #fff;
}
:root:not(.darkmode) .pagination li a .icon { color: inherit; }
.action-bar.compact { margin: 10px 0; }
#recenttopicstop > .pagination { margin-top: 8px; margin-bottom: 8px; }
:root:not(.darkmode) :where(a,button,input,select,textarea):focus-visible {
  outline: 2px solid #185a9a; outline-offset: 3px;
}
/* tamit/slideshow: preserve the 3D positions, transforms and controls. */
:root:not(.darkmode) .slideshow-container {
  background: radial-gradient(ellipse at center, #f7f9fc, #dbe4ee) !important;
}
:root:not(.darkmode) .slideshow-slides { border: 1px solid #899bb1; }
:root:not(.darkmode) .slideshow-slides.position-0 {
  box-shadow: 0 18px 36px rgba(17,48,93,.32);
}
:root:not(.darkmode) .slideshow-slides-text {
  padding: 10px 46px;
  background: linear-gradient(to top, rgba(8,18,32,.97), rgba(8,18,32,.86) 65%, rgba(8,18,32,.6)) !important;
}
:root:not(.darkmode) .slideshow-slides-text a.forumtitle { color: #fff; font-size: 18px; }
:root:not(.darkmode) .slideshow-slides-text a.forumtitle:hover { color: #c6e3ff; }
:root:not(.darkmode) .slideshow-description { color: #e3ebf5; font-size: 13px; }
:root:not(.darkmode) .slideshow-prev,
:root:not(.darkmode) .slideshow-next { background: rgba(17,48,93,.87); color: #fff; }
:root:not(.darkmode) .slideshow-dot-navigator-container { background: #11305d !important; }
:root:not(.darkmode) .slideshow-dot-navigator { background-color: #a9bed7 !important; }
:root:not(.darkmode) .slideshow-dot-navigator.slideshow-active {
  background-color: #fff !important;
  box-shadow: 0 0 0 2px #11305d, 0 0 0 3px #fff;
}
@media (max-width: 920px) {
  #wrap.wrap { width: auto; max-width: 100%; border-radius: 0; }
}
@media (max-width: 700px) {
  .headerbar { margin-left: 0 !important; margin-right: 0 !important; padding-inline: 12px; }
  .site_info { padding-inline: 0; }
  :root:not(.darkmode) .slideshow-slides-text { padding: 10px 42px; }
  :root:not(.darkmode) .slideshow-slides-text a.forumtitle { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { #particles-js { display: none; } }
