:root {
  --bg: #d6e3ea;
  --paper: #fff;
  --ink: #0b2645;
  --muted: #4f7290;
  --heading: #cf094a;
  --link: #e60a53;
  --link-visited: #ac083e;
  --line: #dfe7ee;
  --line-strong: #a6c1d6;
  --chip: #f3f7fb;
  --chip-hover: #e4edf5;
  --brand: #486e98;
  --brand-top: #6da0c1;
  --brand-mid: #335281;
  --on-brand: #fff;
  --drawer: #f0f2f5;
  --drawer-line: #dcdcdc;
  --drawer-top: #dcdcdc;
  --nav-link: #255fb7;
  --nav-visited: #2e5084;
  --ok-bg: #e0ffe0;
  --ok-line: #cfc;
  --err-bg: #ffe5e5;
  --err-line: #efb5b5;
  --err-ink: #dc0024;
  --shadow: 0 2px 8px rgba(72, 110, 152, 0.18);
  --on-accent: #fff;
  --pin: #e60023;
  --pin-hover: #ad081b;
  --pin-badge: #bd081c;
  --delete-hover: #b00;
  --font: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, Menlo, Consolas, "Liberation Mono", monospace;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d131c;
    --paper: #161e2a;
    --ink: #e6ecf4;
    --muted: #9fb0c4;
    --heading: #ff5c8d;
    --link: #ff5c8d;
    --link-visited: #e0457a;
    --line: #2a3546;
    --line-strong: #3b4a60;
    --chip: #202b3a;
    --chip-hover: #2a3749;
    --brand: #1d3047;
    --brand-top: #2b4566;
    --brand-mid: #1a2c44;
    --on-brand: #e6ecf4;
    --drawer: #121a25;
    --drawer-line: #2a3546;
    --drawer-top: #202b3a;
    --nav-link: #9cc2ff;
    --nav-visited: #86a9e0;
    --ok-bg: #163a1e;
    --ok-line: #245a2f;
    --err-bg: #3d1a1f;
    --err-line: #6b2630;
    --err-ink: #ff9aa8;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
    color-scheme: dark;
  }
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html,
body {
  min-height: 100%;
}
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.45 var(--font);
  -webkit-text-size-adjust: 100%;
}
body,
input,
select,
textarea,
button {
  font-family: var(--font);
}
img {
  max-width: 100%;
}
a {
  color: var(--link);
}
a:visited {
  color: var(--link-visited);
}
:focus-visible {
  outline: 2px solid var(--link);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
#body-wrap {
  width: 100%;
  margin: 0 auto;
  background: var(--paper);
}
@media all and (min-width: 990px) {
  #body-wrap {
    width: 990px;
  }
}
@media all and (min-width: 1220px) {
  #body-wrap {
    width: 1200px;
  }
}
#header {
  position: relative;
  width: 100%;
  background: linear-gradient(var(--brand-top), var(--brand-mid) 48px, var(--brand) 50px) var(--brand);
  color: var(--on-brand);
}
#header form {
  padding: 0;
  margin: 0;
}
.header-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  min-height: 52px;
  padding: 4px 6px;
}
.menubtn {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  color: var(--on-brand);
  cursor: pointer;
}
.menu-icon {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  position: relative;
}
.menu-icon::before,
.menu-icon::after {
  content: '';
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  position: absolute;
}
.menu-icon::before {
  top: -7px;
}
.menu-icon::after {
  top: 7px;
}
.site-name-wrap {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0 4px;
}
#site-name {
  margin: 0;
  line-height: 1;
  font-size: 20px;
  letter-spacing: -0.3px;
  white-space: nowrap;
}
#site-name a,
#site-name a:visited {
  color: var(--on-brand);
  font-weight: 700;
  text-decoration: none;
}
.search-btn {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 10px;
  background: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--on-brand);
  cursor: pointer;
}
.search-btn[aria-expanded="true"] {
  background: rgba(255, 255, 255, 0.18);
}
div#csebox {
  flex: 1 1 0%;
  min-width: 0;
  display: flex;
  justify-content: flex-end;
  padding: 0 4px;
}
div#csebox form {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 320px;
}
div#csebox form > div {
  display: flex;
  gap: 6px;
  justify-content: flex-end;
  min-width: 0;
}
div#csebox input[type="search"],
div#csebox input[type="text"] {
  flex: 1 1 auto;
  min-width: 44px;
  width: 100%;
  min-height: 36px;
  padding: 4px 10px;
  font-size: 16px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid transparent;
  border-radius: 8px;
}
div#csebox input[type="submit"] {
  display: none;
  min-height: 36px;
  padding: 0 12px;
  border: 0;
  border-radius: 8px;
  background: var(--link);
  color: var(--on-accent);
  font-weight: 600;
  cursor: pointer;
}
.header-row .fav-link {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-width: 44px;
  min-height: 44px;
  padding: 4px 6px;
  border-radius: 10px;
  color: var(--on-brand);
  font-weight: 700;
  font-size: 18px;
  line-height: 1;
  text-decoration: none;
}
.header-row .fav-link:hover {
  background: rgba(255, 255, 255, 0.15);
  text-decoration: none;
}
.header-row .fav-link .fav-count {
  font-size: 11px;
  font-weight: 700;
  line-height: 16px;
  min-width: 16px;
  padding: 0 4px;
  border-radius: 8px;
  background: var(--link);
  color: var(--on-accent);
  text-align: center;
}
#header .fav-link,
#header .fav-link:visited {
  color: var(--on-brand);
}
@media all and (max-width: 767px) {
  div#csebox {
    display: none;
  }
  div#csebox.open {
    display: flex;
    flex: 1 1 100%;
    order: 10;
    padding: 2px 4px 6px;
  }
  div#csebox.open form {
    max-width: none;
  }
  div#csebox.open input[type="submit"] {
    display: inline-block;
  }
}
@media all and (min-width: 768px) {
  #site-name {
    font-size: 26px;
    letter-spacing: -0.5px;
  }
  .search-btn {
    display: none;
  }
  div#csebox input[type="submit"] {
    display: inline-block;
  }
}
@media all and (min-width: 918px) {
  .menubtn {
    display: none;
  }
  .site-name-wrap {
    padding: 0 10px;
  }
}
nav.chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding: 10px 12px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  scrollbar-width: none;
}
nav.chips::-webkit-scrollbar {
  display: none;
}
@media all and (min-width: 918px) {
  nav.chips {
    display: none;
  }
}
a.chip,
#content a.chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--chip);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
a.chip:visited,
#content a.chip:visited {
  color: var(--ink);
}
a.chip.on,
#content a.chip.on,
a.chip.on:visited,
#content a.chip.on:visited {
  background: var(--link);
  color: var(--on-accent);
}
#content {
  position: relative;
}
.content-wrap {
  position: relative;
  width: 100%;
}
@media all and (min-width: 918px) {
  .content-wrap {
    display: grid;
    grid-template-columns: 200px minmax(0, 1fr);
    align-items: start;
  }
}
#sidebar-left {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 40;
  width: 280px;
  max-width: 85vw;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--drawer);
  transform: translateX(-100%);
  transition: transform 0.25s ease-out;
}
#sidebar-left.open {
  transform: translateX(0);
  box-shadow: 4px 0 16px rgba(0, 0, 0, 0.25);
}
@media all and (min-width: 918px) {
  #sidebar-left {
    position: sticky;
    top: 0;
    bottom: auto;
    width: auto;
    max-width: none;
    height: 100vh;
    min-height: 0;
    overflow-y: auto;
    scrollbar-width: thin;
    box-shadow: none;
    transform: none;
    transition: none;
    border-right: 1px solid var(--line);
  }
}
@media all and (max-width: 917px) {
  body:has(#sidebar-left.open)::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 39;
    background: rgba(0, 0, 0, 0.45);
  }
}
.sidebar {
  margin: 0;
  padding: 8px 0;
}
.sidebar .block {
  margin: 0;
}
.sidebar .block .content {
  padding: 0 8px;
}
.sidebar .block a {
  color: var(--nav-link);
  font-weight: normal;
  text-decoration: none;
}
.sidebar .block a:visited {
  color: var(--nav-visited);
}
#main {
  min-width: 0;
  width: 100%;
  margin: 0;
  color: var(--ink);
}
.main-wrap-left,
.main-wrap-both {
  width: 100%;
}
#main .mw1 {
  width: 100%;
  padding: 8px;
}
@media all and (max-width: 328px) {
  #main .mw1 {
    padding-left: 0;
    padding-right: 0;
  }
}
@media all and (min-width: 728px) {
  #main .mw1 {
    padding: 12px 16px;
  }
}
.menu {
  padding: 0;
}
nav.menu ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
nav.menu ul ul {
  padding-left: 8px;
}
nav.menu li {
  margin: 0;
  padding: 0;
  list-style: none;
}
nav.menu li > a {
  display: block;
  position: relative;
  margin: 0;
  padding: 10px 8px 10px 22px;
  font-size: 15px;
  line-height: 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  text-decoration: none;
}
@media all and (min-width: 918px) {
  nav.menu li > a {
    padding: 3px 6px 3px 20px;
    font-size: 13px;
    line-height: 16px;
    border-radius: 4px;
  }
}
li.expanded-tl > a,
li.collapsed-tl > a,
li.leaf-tl > a {
  background: var(--drawer-top);
  padding-left: 8px;
  margin-top: 4px;
  font-weight: 600;
}
nav.menu li > a:hover {
  background: var(--chip-hover);
  border-color: var(--line);
}
nav.menu a.active {
  color: var(--ink);
  font-weight: 600;
}
li.expanded > a::before,
li.collapsed > a::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 50%;
  width: 9px;
  height: 9px;
  transform: translateY(-50%);
  border: 1px solid var(--muted);
  border-radius: 2px;
  background: linear-gradient(var(--muted), var(--muted)) center / 5px 1px no-repeat;
}
li.collapsed > a::before {
  background: linear-gradient(var(--muted), var(--muted)) center / 5px 1px no-repeat, linear-gradient(var(--muted), var(--muted)) center / 1px 5px no-repeat;
}
li.leaf > a::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 50%;
  width: 3px;
  height: 3px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: var(--muted);
}
.breadcrumb {
  margin: 0;
  padding: 4px 4px 6px;
  font-size: 14px;
  color: var(--muted);
}
.breadcrumb a {
  font-weight: 600;
}
#main h1 {
  margin: 0;
  padding: 6px 4px 6px;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 700;
  color: var(--heading);
  text-wrap: balance;
}
#main h2 {
  margin: 0;
  padding: 2px 0;
  font-size: 18px;
  line-height: 1.25;
  color: var(--heading);
}
#main h3 {
  margin: 0;
  padding: 6px 0 1px;
  font-size: 16px;
  color: var(--muted);
}
#main a {
  color: var(--link);
  font-weight: 600;
  text-decoration: none;
}
#main a:hover {
  text-decoration: underline;
}
#main a:visited {
  color: var(--link-visited);
}
#main h1.main-title,
#main h1.nodetitle,
#center h1.nodetitle {
  color: var(--heading);
  font-weight: 700;
}
#main h1.nodetitle {
  font-size: 20px;
  text-align: center;
}
#message {
  margin: 12px 0 6px;
}
#message .messages {
  padding: 8px 12px;
  margin-bottom: 6px;
  border-radius: 8px;
  background: var(--ok-bg);
  border: 1px solid var(--ok-line);
}
#message .error {
  background: var(--err-bg);
  border-color: var(--err-line);
  color: var(--err-ink);
}
#message ul {
  margin: 0;
  padding: 0 0 0 18px;
}
#message li {
  margin: 2px 0;
}
p.muted,
.muted {
  color: var(--muted);
}
#main p {
  margin: 0.6em 0;
}
#main .node {
  margin: 0.5em 0;
  padding: 0 4px;
  line-height: 1.6;
}
#main .node p {
  margin: 0 0 1em;
}
#main .node h2 {
  margin: 1.5em 0 0.5em;
}
#main .info {
  padding: 4px 0 0;
  font-size: 13px;
  color: var(--muted);
}
#main .box {
  margin-bottom: 1em;
}
#main .box h2 {
  padding: 4px 0 8px;
}
blockquote {
  margin: 10px 0 0 17px;
  padding: 0 35px 0 9px;
  border-left: 5px solid var(--line);
  font-style: italic;
}
table {
  margin: 0.5em 0 1em;
  border-collapse: collapse;
}
table td {
  padding: 3px;
}
li {
  margin: 0.2em 0;
}
.form-item {
  margin: 0 0 14px;
}
.form-item label {
  display: inline-block;
  margin-bottom: 4px;
  font-weight: 600;
  font-size: 14px;
}
.form-item br {
  display: none;
}
.form-item .description {
  margin-top: 4px;
  font-size: 13px;
  color: var(--muted);
}
.form-text,
.form-password,
textarea.textarea,
textarea,
select {
  display: block;
  width: 100%;
  max-width: 520px;
  min-height: 40px;
  padding: 8px 10px;
  font: 16px/1.4 var(--font);
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
}
textarea {
  max-width: 100%;
}
.form-text:focus,
.form-password:focus,
textarea:focus {
  border-color: var(--link);
  outline: none;
  box-shadow: 0 0 0 2px rgba(230, 10, 83, 0.2);
}
.form-submit,
.sbtn,
.gp-go,
#gtext-bottom input[type="submit"] {
  display: inline-block;
  min-height: 40px;
  padding: 8px 16px;
  font: 600 15px/1.4 var(--font);
  color: var(--ink);
  background: var(--chip);
  border: 1px solid var(--line-strong);
  text-decoration: none;
  border-radius: 8px;
  cursor: pointer;
}
.form-submit:hover,
.sbtn:hover,
.gp-go:hover,
#gtext-bottom input[type="submit"]:hover {
  background: var(--chip-hover);
  text-decoration: none;
}
.form-submit,
.sbtn.primary,
input[type="submit"].form-submit,
#gtext-bottom input[type="submit"].primary,
#gtext-bottom input[type="submit"][value^="Get"] {
  color: var(--on-accent);
  background: var(--link);
  border-color: var(--link);
}
.form-submit:hover,
.sbtn.primary:hover,
input[type="submit"].form-submit:hover,
#gtext-bottom input[type="submit"].primary:hover,
#gtext-bottom input[type="submit"][value^="Get"]:hover {
  background: var(--link-visited);
}
.sbtn.pin,
#gtext-bottom input[type="submit"].pin {
  background: var(--pin);
  border-color: var(--pin);
  color: var(--on-accent);
}
.sbtn.pin:hover,
#gtext-bottom input[type="submit"].pin:hover {
  background: var(--pin-hover);
}
#content a.sbtn,
#content a.sbtn:visited,
#content a#gtext-bottom input[type="submit"],
#content a#gtext-bottom input[type="submit"]:visited {
  color: var(--ink);
  text-decoration: none;
}
#content a.sbtn.pin,
#content a.sbtn.pin:visited,
#content a.sbtn.pin:hover,
#content a#gtext-bottom input[type="submit"].pin,
#content a#gtext-bottom input[type="submit"].pin:visited,
#content a#gtext-bottom input[type="submit"].pin:hover {
  color: var(--on-accent);
}
div.galcont {
  text-align: center;
}
ul.images,
ul.galleries {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-flow: row dense;
  justify-content: center;
  gap: 10px;
  font-size: 13px;
  line-height: 1.25;
}
ul.images > .gwrap,
ul.images > .topnodes-wrap,
ul.galleries > .gwrap {
  display: contents;
}
ul.images > :not(li):not(.gwrap):not(.topnodes-wrap),
ul.galleries > :not(li):not(.gwrap) {
  grid-column: 1 / -1;
  justify-self: center;
  max-width: 100%;
}
ul.galleries > li.ad,
ul.images > li.ad {
  grid-column: 1 / -1;
  justify-self: stretch;
  width: auto;
  max-width: 100%;
  height: auto;
  border: 0;
  background: none;
  overflow: hidden;
}
ul.images li,
ul.galleries li {
  width: auto;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
  transition: border-color 0.15s, box-shadow 0.15s;
}
ul.images li:hover,
ul.galleries li:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}
ul.images li > a,
ul.galleries li > div,
ul.galleries li > div > a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 160px;
}
ul.images li img,
ul.galleries li img {
  display: block;
  width: 100%;
  height: 100%;
  padding: 6%;
  object-fit: contain;
}
@media all and (min-width: 728px) {
  ul.images,
  ul.galleries {
    grid-template-columns: repeat(auto-fill, 114px);
    gap: 8px;
    font-size: 12px;
  }
  ul.images li,
  ul.galleries li {
    width: 114px;
  }
  ul.images li > a,
  ul.galleries li > div,
  ul.galleries li > div > a {
    height: 110px;
  }
  ul.images li img,
  ul.galleries li img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    padding: 0;
  }
}
@media all and (min-width: 1220px) {
  ul.images,
  ul.galleries {
    grid-template-columns: repeat(auto-fill, 150px);
    gap: 10px;
    font-size: 13px;
  }
  ul.images li,
  ul.galleries li {
    width: 150px;
  }
  ul.images li > a,
  ul.galleries li > div,
  ul.galleries li > div > a {
    height: 140px;
  }
  ul.images li img,
  ul.galleries li img {
    width: 100%;
    height: 100%;
    padding: 4%;
  }
}
ul.images.rail {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 8px;
  margin: 0 -8px;
  padding: 2px 8px 8px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}
ul.images.rail::-webkit-scrollbar {
  display: none;
}
ul.images.rail li {
  flex: 0 0 100px;
  width: 100px;
  margin: 0;
  scroll-snap-align: start;
}
ul.images.rail li > a {
  height: 100px;
}
ul.images.rail li img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  padding: 0;
}
#main ul.galleries li h3 {
  margin: 0;
  padding: 4px 4px 0;
  font-size: 11px;
  line-height: 1.25;
  color: var(--ink);
}
ul.galleries li h3 a {
  display: block;
  font-size: 11px;
  font-style: normal;
}
ul.galleries li p {
  margin: 0;
  padding: 1px 4px 5px;
  font-size: 11px;
  color: var(--muted);
}
ul.images li.has-fav {
  position: relative;
}
button.fav {
  position: absolute;
  right: 4px;
  top: 4px;
  width: 28px;
  height: 28px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  color: var(--muted);
  font: 16px/26px Arial, sans-serif;
  text-align: center;
  cursor: pointer;
}
button.fav[aria-pressed="true"] {
  color: var(--link);
  border-color: var(--link);
}
button.fav.fav-big {
  position: static;
  width: auto;
  height: auto;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 8px;
  font-size: 18px;
}
@media (hover: none), (pointer: coarse) {
  ul.images.fav-grid li,
  ul.images.pick-grid li,
  ul.images.recent-grid li {
    position: relative;
    padding-bottom: 50px;
  }
  ul.images:not(.fav-grid):not(.pick-grid):not(.recent-grid) li.has-fav button.fav:not(.fav-big) {
    display: none;
  }
  ul.images li.has-fav button.fav:not(.fav-big) {
    top: auto;
    right: auto;
    bottom: 3px;
    left: 50%;
    transform: translateX(-50%);
    width: 44px;
    height: 44px;
    line-height: 42px;
    font-size: 20px;
  }
  ul.galleries li h3 a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 4px 0;
  }
  .recent-title .recent-more {
    display: inline-block;
    padding: 15px 4px;
  }
  .related h2 a {
    display: inline-block;
    padding: 11px 0;
  }
  .tags a.tag {
    min-height: 44px;
    padding: 0 14px;
  }
  .breadcrumb a {
    display: inline-block;
    padding: 10px 2px;
  }
}
@media (hover: hover) and (pointer: fine) {
  ul.images li.has-fav button.fav:not(.fav-big) {
    opacity: 0;
    transition: opacity 0.15s;
  }
  ul.images li.has-fav:hover button.fav,
  ul.images li.has-fav:focus-within button.fav,
  ul.images li.has-fav button.fav[aria-pressed="true"] {
    opacity: 1;
  }
}
.recent-strip {
  margin: 0 0 12px;
}
.recent-title {
  font-size: 15px;
  margin: 8px 0 6px;
  color: var(--muted);
}
.recent-title .recent-more {
  font-size: 12px;
  font-weight: normal;
  margin-left: 10px;
}
.recent-grid,
.fav-grid,
.pick-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.recent-grid li,
.fav-grid li,
.pick-grid li {
  margin: 0;
}
.favorites .fav-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 8px 0 12px;
}
.pick .pick-foot {
  margin: 12px 0;
}
.tagpage p {
  padding: 0 4px;
}
.ad-lb {
  display: inline-block;
  width: 100%;
  max-width: 728px;
  min-height: min(100vw, 430px);
  line-height: 1;
}
@media all and (min-width: 728px) {
  .ad-lb {
    width: 728px;
    min-height: 280px;
  }
}
.ad-tl {
  display: inline-block;
  width: 100%;
  max-width: 352px;
  min-height: min(100vw, 430px);
}
@media all and (min-width: 728px) {
  .ad-tl {
    width: 352px;
    min-height: 280px;
  }
}
.ad-lb:empty,
.ad-tl:empty {
  min-height: 0;
}
.ad-lb > .ad-test,
.ad-tl > .ad-test {
  min-height: inherit;
}
.ad-lb.ad-idle,
.ad-tl.ad-idle {
  min-height: 0;
  margin-top: 0;
  margin-bottom: 0;
}
ins.adsbygoogle[data-ad-status="unfilled"] {
  display: none !important;
}
.ad-lb:has(ins.adsbygoogle[data-ad-status="unfilled"]),
.ad-tl:has(ins.adsbygoogle[data-ad-status="unfilled"]) {
  min-height: 0;
  margin-top: 0;
  margin-bottom: 0;
}
.ad-separated {
  display: block;
  margin: 8px auto;
  text-align: center;
}
.h-wrap {
  width: 100%;
  margin: 0 auto;
  text-align: center;
}
div.topnodes {
  display: block;
  width: 100%;
  text-align: center;
}
#main .topnodes h1,
#main .topnodes h2 {
  padding: 8px 4px 0;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 2px;
}
#main .topnodes-hint {
  margin: 0 0 8px;
  font-size: 13px;
  color: var(--muted);
}
.tl-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 12px;
  margin: 12px 0 0;
}
div.toplist {
  flex: 1 1 300px;
  max-width: 420px;
  padding: 8px 12px 12px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
}
div.toplist h2 {
  padding: 2px 0 6px;
  font-size: 17px;
}
ul.cats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
ul.cats li {
  margin: 0;
}
ul.cats li a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: 10px;
  background: var(--chip);
  font-size: 14px;
  line-height: 1.3;
}
ul.cats li a:hover {
  background: var(--chip-hover);
  text-decoration: none;
}
@media all and (min-width: 728px) {
  #main .topnodes h1,
  #main .topnodes h2 {
    font-size: 20px;
  }
  div.toplist {
    max-width: 640px;
  }
  div.toplist ul.cats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.l2wrap {
  width: 100%;
  max-width: 728px;
  margin: 2px auto 0;
  text-align: center;
}
@media all and (min-width: 1220px) {
  .l2wrap {
    max-width: none;
  }
}
.l2wrap > img {
  max-width: 100%;
  height: auto;
}
.picbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 8px calc(8px + env(safe-area-inset-bottom, 0px));
  background: var(--paper);
  border-top: 1px solid var(--line);
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.08);
}
.picbar .sbtn,
.picbar #gtext-bottom input[type="submit"] {
  flex: 1 1 0;
  min-height: 44px;
  padding: 8px 4px;
  font-size: 14px;
  white-space: nowrap;
}
.picbar .pb-arrow {
  flex: 0 0 48px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  line-height: 1;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: var(--chip);
  color: var(--ink);
  text-decoration: none;
}
.picbar .pb-arrow.off {
  color: var(--line-strong);
  border-color: var(--line);
  background: transparent;
}
.picbar .pb-fav {
  flex: 0 0 48px;
  display: inline-flex;
  justify-content: center;
}
.picbar .pb-fav button.fav.fav-big {
  width: 48px;
  min-height: 44px;
  padding: 0;
  border-radius: 10px;
  font-size: 22px;
  line-height: 1;
}
.picbar .share-status {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  padding: 4px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  background: var(--paper);
  border-top: 1px solid var(--line);
}
.picbar .share-status:empty {
  display: none;
}
#content .picbar a.pb-arrow,
#content .picbar a.pb-arrow:visited {
  color: var(--ink);
  text-decoration: none;
}
body:has(.picbar) {
  padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
}
@media all and (min-width: 728px) and (max-width: 917px) {
  .picbar {
    max-width: 560px;
    margin: 0 auto;
    border: 1px solid var(--line);
    border-bottom: 0;
    border-radius: 14px 14px 0 0;
  }
}
@media all and (min-width: 918px) {
  body:has(.picbar) {
    padding-bottom: 0;
  }
  .picbar {
    position: static;
    box-shadow: none;
    border: 0;
    padding: 10px 0 4px;
    margin: 0;
  }
  .picbar .sbtn,
  .picbar #gtext-bottom input[type="submit"] {
    flex: 0 1 auto;
    padding: 8px 16px;
  }
  .l2wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .l2wrap > * {
    order: 5;
  }
  .l2wrap > .ad-lb:first-child {
    order: 0;
  }
  .l2wrap > h1.nodetitle,
  .l2wrap > .inplace {
    order: 1;
  }
  .l2wrap > .node-figure,
  .l2wrap > img {
    order: 2;
  }
  .l2wrap > .picbar {
    order: 3;
  }
  .l2wrap > .tags {
    order: 4;
  }
  .l2wrap > .related,
  .l2wrap > details.embed,
  .l2wrap > .inplace {
    width: 100%;
  }
}
.node-figure {
  margin: 0;
}
.node-description {
  max-width: 62ch;
  margin: 8px auto 4px;
  font-size: 15px;
  line-height: 1.45;
  text-align: left;
}
.fav-actions .share-status {
  font-size: 13px;
  color: var(--muted);
}
details.embed {
  margin: 10px 0;
  padding: 8px 12px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--chip);
}
details.embed summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
  padding: 6px 0;
}
details.embed label {
  display: inline-block;
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
}
details.embed textarea {
  width: 100%;
  max-width: 100%;
  font: 13px/1.4 var(--mono);
}
.tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin: 6px 0 2px;
  font-size: 13px;
  line-height: 18px;
}
.tags .tags-label {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-right: 2px;
  font-size: 11px;
}
.tags a.tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--chip);
  border: 1px solid var(--line-strong);
  text-decoration: none;
  font-weight: 600;
}
.tags a.tag:hover {
  background: var(--chip-hover);
  text-decoration: none;
}
.swipe-hint {
  display: none;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin: 2px 0 0;
  font-size: 12px;
  line-height: 18px;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.swipe-hint a,
.swipe-hint .hint-off {
  font-size: 22px;
  line-height: 22px;
  text-decoration: none;
  padding: 0 10px;
}
.swipe-hint a,
.swipe-hint a:visited {
  color: var(--ink);
}
.swipe-hint .hint-off {
  color: var(--line-strong);
}
@media (hover: none) and (pointer: coarse) {
  .swipe-hint {
    display: flex;
  }
  .swipe-hint a,
  .swipe-hint .hint-off {
    padding: 11px 12px;
    min-width: 44px;
    text-align: center;
  }
}
#content .swipe-hint a,
#content .swipe-hint a:visited {
  color: var(--ink);
  text-decoration: none;
}
.related {
  margin: 12px 0 4px;
}
.related h2 {
  font-size: 16px;
  margin: 12px 0 6px;
  color: var(--heading);
  text-align: left;
  padding: 0 4px;
}
.related h2 a {
  color: var(--heading);
}
@media all and (min-width: 728px) {
  .related h2 {
    text-align: center;
  }
  .related ul.images.rail {
    flex-wrap: wrap;
    justify-content: center;
    margin: 0;
    padding: 0;
    overflow: visible;
  }
  .related ul.images.rail li {
    flex: 0 0 114px;
  }
}
p.np {
  margin: 2px 0 4px;
  font-size: 14px;
  color: var(--muted);
}
.inplace {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 4px 0 8px;
  padding: 8px 10px;
  border: 1px dashed var(--line-strong);
  border-radius: 8px;
  background: var(--chip);
  font-size: 12px;
  line-height: 18px;
  text-align: left;
}
.inplace .inplace-label {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.inplace input[type=text],
.inplace select,
.inplace textarea {
  display: inline-block;
  width: auto;
  min-height: 0;
  font-size: 13px;
  padding: 4px 7px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: var(--paper);
}
.inplace .ip-title {
  flex: 1 1 220px;
  min-width: 160px;
}
.inplace .ip-desc {
  flex: 1 1 100%;
  min-height: 40px;
  resize: vertical;
  line-height: 17px;
}
.inplace .ip-file {
  white-space: nowrap;
  color: var(--muted);
}
.inplace .ip-file input {
  font-size: 12px;
  max-width: 200px;
}
.inplace .ip-pub {
  white-space: nowrap;
}
.inplace .ip-tags {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
}
.inplace .ip-tag {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 1px 4px 1px 9px;
  border-radius: 999px;
  background: var(--chip-hover);
  color: var(--ink);
}
.inplace .ip-x {
  border: 0;
  background: transparent;
  padding: 0 4px;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  color: inherit;
}
.inplace .ip-x:hover {
  color: var(--delete-hover);
}
.inplace .tagfield {
  position: relative;
  display: inline-block;
}
.inplace .ip-tagfield {
  width: 220px;
}
.inplace .ip-reason {
  font-size: 12px;
  padding: 3px 8px;
  width: 150px;
}
.inplace .ip-save {
  padding: 4px 12px;
  font: 700 12px var(--font);
  border-radius: 4px;
  border: 1px solid var(--link);
  background: var(--link);
  color: var(--on-accent);
  cursor: pointer;
}
.inplace .ip-save[disabled] {
  opacity: 0.45;
  cursor: default;
}
.inplace .ip-status {
  color: var(--muted);
}
.inplace .autocomplete-dropdown {
  position: absolute;
  z-index: 30;
  left: 0;
  right: 0;
  max-height: 240px;
  overflow: auto;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  box-shadow: var(--shadow);
  text-align: left;
}
.inplace .autocomplete-item {
  padding: 5px 9px;
  cursor: pointer;
}
.inplace .autocomplete-item.ac-active,
.inplace .autocomplete-item:hover {
  background: var(--chip-hover);
}
div#left,
div#center,
div#right {
  float: none;
  clear: none;
  width: auto;
  height: auto;
  margin: 4px 0;
  text-align: center;
}
#left div,
#right div {
  float: none;
  clear: none;
  width: auto;
  height: auto;
  margin: 0 auto;
  padding: 0;
  overflow: visible;
}
#left p,
#right p {
  height: auto;
}
#left img,
#right img {
  max-width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 6px;
}
textarea#myspacecode {
  width: 100% !important;
  max-width: 300px;
  height: auto;
  overflow-x: hidden;
}
@media all and (min-width: 728px) {
  #main .mw1:has(> #center) {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 12px;
  }
  #main .mw1:has(> #center) > :not(#left):not(#center):not(#right) {
    flex: 1 1 100%;
  }
  #main .mw1:has(> #center) > #left,
  #main .mw1:has(> #center) > #right {
    flex: 0 0 200px;
  }
  #main .mw1:has(> #center) > #center {
    flex: 0 1 320px;
    min-width: 0;
  }
}
#center textarea {
  margin: 6px auto;
  max-width: 100%;
  font: 13px/1.4 var(--mono);
}
.clear {
  clear: both;
  display: block;
  height: 0;
}
br.clear {
  display: block;
  clear: both;
}
.gpager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 12px 0 6px;
  font-size: 15px;
  line-height: 20px;
}
.gpager .gp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 10px;
  color: var(--ink);
  background: var(--chip);
  border: 1px solid var(--line-strong);
  text-decoration: none;
  font-weight: 600;
}
.gpager .gp-btn:hover {
  background: var(--chip-hover);
  text-decoration: none;
}
.gpager .gp-btn.off {
  color: var(--muted);
  background: transparent;
  border-color: var(--line);
}
.gpager .gp-form {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
}
.gpager .gp-form label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
}
.gpager .gp-form input {
  display: inline-block;
  width: 5.5em;
  min-height: 40px;
  padding: 0 6px;
  font: inherit;
  text-align: center;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
}
.gpager .gp-of {
  color: var(--muted);
  white-space: nowrap;
}
.gpager .gp-go {
  min-height: 40px;
  padding: 0 14px;
}
@media all and (max-width: 728px) {
  .gpager .gp-prev,
  .gpager .gp-next {
    flex: 1 1 40%;
  }
  .gpager .gp-form {
    flex: 1 1 100%;
    justify-content: center;
    order: 3;
  }
}
@media (hover: none), (pointer: coarse) {
  .gpager .gp-form input,
  .gpager .gp-go {
    min-height: 44px;
  }
}
#content .gpager a.gp-btn,
#content .gpager a.gp-btn:visited {
  color: var(--ink);
}
#pager {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 100%;
  margin: 10px auto;
  padding: 4px 0;
  position: relative;
  z-index: 1;
}
#pager div {
  display: inline;
  padding: 0;
}
#pager strong,
#pager a {
  display: inline-block;
  min-height: 36px;
  padding: 6px 10px;
  margin: 0;
  border-radius: 8px;
  background: var(--chip);
  border: 1px solid var(--line-strong);
}
#pager a:hover {
  text-decoration: none;
  background: var(--chip-hover);
}
#pager strong {
  background: var(--muted);
  border-color: var(--muted);
  color: var(--on-accent);
}
ul.gtext-font {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  list-style: none;
  margin: 8px 0;
  padding: 0;
}
ul.gtext-font li {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 63px;
  height: 63px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
}
ul.gtext-font li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
ul.gtext-font li img {
  max-width: 100%;
  max-height: 100%;
}
p#gtext-top {
  margin: 8px 4px;
}
.gtext-bottom-wrap {
  width: 100%;
}
#gtext-bottom {
  width: 100%;
  max-width: 728px;
  margin: 0 auto;
}
#gtext-bottom p {
  margin: 8px 4px;
}
#gtext-bottom textarea {
  width: 100%;
  max-width: 100%;
}
#gtext-bottom input[type="submit"] {
  min-height: 44px;
  margin: 6px 8px 0 0;
}
.gtext-code-wrap {
  width: 100%;
  max-width: 728px;
  margin: 0 auto;
}
.gtext-code-wrap textarea {
  width: 100%;
  max-width: 100%;
}
.gcse-searchresults-only {
  min-height: 100vh;
}
#footer {
  margin: 32px 0 0;
  padding: 12px 10px 16px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 12px;
  line-height: 1.5;
}
#footer p {
  margin: 0;
}
dialog#exitModal {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px 24px;
  max-width: 440px;
  width: 90%;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}
dialog#exitModal::backdrop {
  background: rgba(0, 0, 0, 0.5);
}
dialog#exitModal h5 {
  margin: 0 0 12px;
  font-size: 16px;
}
dialog#exitModal ul {
  margin: 0 0 16px;
  padding: 0 0 0 20px;
}
dialog#exitModal .dialog-close {
  display: block;
  margin: 0 0 0 auto;
  padding: 8px 18px;
  background: var(--brand);
  color: var(--on-accent);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
}
dialog#exitModal .dialog-close:hover {
  background: var(--brand-mid);
}
/* the Pin a gallery thumb grows on hover or a long press (the audience review's phase G, 2026-10-25) */
ul.images > li {
  position: relative;
}
ul.images > li .pin-hover {
  position: absolute;
  right: 4px;
  top: 4px;
  padding: 2px 7px;
  border-radius: 10px;
  font-size: 12px;
  line-height: 16px;
  color: var(--on-accent);
  background: var(--pin-badge);
  text-decoration: none;
  opacity: 0;
  transition: opacity 0.15s;
}
ul.images > li:hover .pin-hover,
ul.images > li .pin-hover:focus {
  opacity: 1;
}
@media (hover: none) {
  ul.images > li .pin-hover {
    opacity: 1;
  }
}
.seasonal {
  margin: 8px 0 12px;
  text-align: left;
}
.seasonal h2 {
  font-size: 18px;
  margin: 10px 0 4px;
  padding: 0 4px;
  color: var(--heading);
}
.seasonal h2 a {
  color: var(--heading);
  text-decoration: none;
}
.seasonal h3 {
  font-size: 15px;
  margin: 10px 0 4px;
  padding: 0 4px;
  color: var(--heading);
}
.seasonal h3 a {
  color: var(--heading);
}
@media all and (min-width: 728px) {
  .seasonal ul.images.rail {
    display: grid;
    grid-template-columns: repeat(auto-fill, 114px);
    grid-template-rows: repeat(2, auto);
    grid-auto-rows: 0;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    overflow: hidden;
  }
  .seasonal ul.images.rail li {
    width: 114px;
  }
  .seasonal ul.images.rail li > a {
    height: 110px;
  }
}
@media all and (min-width: 1220px) {
  .seasonal ul.images.rail {
    grid-template-columns: repeat(auto-fill, 150px);
  }
  .seasonal ul.images.rail li {
    width: 150px;
  }
  .seasonal ul.images.rail li > a {
    height: 140px;
  }
}
