* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --bg-outer: #535353;
  --bgContent: #eee;
  --borderClr: #c6c6c6;
  --linkColor: #0000ee;
  --text-color: #000;
  --content-max: 950px;
  --panelW: 650px;
}
html, body {
  background: var(--bg-outer);
  font-family: 'Courier New', Courier, monospace;
  font-size: 14px;
  font-weight: bold;
  color: var(--text-color);
  min-height: 100vh;
}
html {
  scrollbar-gutter: stable;
}
body {
  display: flex;
  flex-direction: column;
  align-items: center;
}
#static-banner,
#static-footer {
  contain: layout style;
}
#static-banner .mascot-img img,
#static-footer .mascot-img img,
.banner-footer .mascot-img img {
  will-change: transform;
}
.banner {
  width: calc(var(--content-max) + 30px);
  max-width: 100vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--bgContent);
  border-bottom: 6px solid var(--borderClr);
  margin-left: -15px;
  margin-right: -15px;
}
.banner.banner-footer {
  width: var(--content-max);
  border-bottom: none;
  border-top: 6px solid var(--borderClr);
  margin: 30px 0 0;
}
.store-banner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bgContent);
}
.store-banner .mascot {
  width: 70px;
  height: 70px;
  background: var(--bgContent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.store-banner .mascot-img {
  width: 70px;
  height: 70px;
  background: var(--bgContent);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.store-banner .mascot-img img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}
.store-banner .store-ad {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.store-banner .store-ad img {
  max-width: 100%;
  max-height: 100%;
  display: block;
}
.logo-banner {
  width: 100%;
  background: var(--bgContent);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
}
.logo-banner img {
  width: 100%;
  display: block;
}
.banner-copyright {
  width: 100%;
  background: var(--bgContent);
  padding: 8px 15px;
  font-family: Verdana, Geneva, sans-serif;
  font-size: 10px;
  color: #666;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}
.footer-cr {
  font-family: Verdana, Geneva, sans-serif;
  font-size: 10px;
  color: #666;
}
.footer-counter {
  font-family: 'Courier New', Courier, monospace;
  font-size: 10px;
  font-weight: bold;
  color: #888;
}
.footer-bar {
  width: var(--content-max);
  max-width: 100vw;
  margin: 0 auto;
}
.log-search-wrap {
  margin-bottom: 15px;
}
.log-search-input {
  width: 100%;
  font-family: 'Courier New', Courier, monospace;
  font-size: 12px;
  font-weight: bold;
  padding: 6px 10px;
  border: 2px solid #c6c6c6;
  background: #fff;
  box-sizing: border-box;
}
.log-search-input:focus { outline: none; border-color: #999; }
.log-empty {
  font-family: 'Courier New', Courier, monospace;
  font-size: 12px;
  color: #999;
  text-align: center;
  padding: 20px 0;
}
.banner-copyright a {
  color: #555;
  text-decoration: underline;
}
.banner-copyright a:hover { color: #000; }
.nav-bar {
  width: var(--content-max);
  max-width: 100vw;
  background: var(--bg-outer);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5px 10px;
  flex-wrap: wrap;
  margin: 0;
}
.nav-bar a {
  font-family: Verdana, Geneva, sans-serif;
  font-size: 11px;
  font-weight: bold;
  text-transform: uppercase;
  color: #ffcc00;
  text-decoration: underline;
  padding: 2px 4px;
  white-space: nowrap;
}
.nav-bar a:hover { color: #fff; }
.nav-bar .nav-brand { text-decoration: none; }
.nav-bar .sep {
  color: #ffcc00;
  font-family: Verdana, Geneva, sans-serif;
  font-size: 11px;
  font-weight: bold;
  padding: 0 2px;
  user-select: none;
}
.nav-bar .pen {
  color: #00cc00;
  font-size: 13px;
  padding: 0 6px;
  user-select: none;
}
.content-area {
  width: var(--content-max);
  max-width: 100vw;
  background: var(--bgContent);
  min-height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 0;
  padding-bottom: 20px;
  border: 6px solid var(--borderClr);
}
.content-area.content-story {
  background: var(--borderClr);
  padding-bottom: 0;
}
.content-inner {
  width: var(--panelW);
  max-width: 95vw;
  background: var(--bgContent);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 0 20px 0;
  flex: 1;
}
.content-inner .story-title,
.content-inner .story-text,
.content-inner .cmd-link,
.content-inner .cmd-tbc,
.content-inner .page-ctrls,
.content-inner .pesterlog {
  padding-left: 15px;
  padding-right: 15px;
}
.story-title {
  font-family: 'Courier New', Courier, monospace;
  font-size: 22px;
  font-weight: bold;
  color: #000;
  text-align: center;
  margin: 20px 0 15px 0;
}
.panel-wrap { width: var(--panelW); max-width: 95vw; }
.content-inner .panel-wrap { width: 100%; }
.panel {
  width: 100%;
  background: #fff;
  aspect-ratio: 650 / 450;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 650px;
  margin: 0 auto;
}
.panel img { max-width: 100%; display: block; }
.panel iframe { display: block; max-width: 100%; }
.panel iframe {
  background-color: #eeeeee;
}
html.dark .panel iframe {
  background-color: #333333;
}
.story-text {
  width: var(--panelW);
  max-width: 95vw;
  font-family: 'Courier New', Courier, monospace;
  font-size: 15px;
  font-weight: bold;
  line-height: 1.3;
  color: #000;
  letter-spacing: 0.1px;
  text-align: center;
  margin: 20px auto 0 auto;
}
.story-p {
  margin: 0;
}
.story-p + .story-p {
  margin-top: 1.2em;
}
.story-text ~ .narration {
  margin-top: 2em;
}
.content-inner .narration + .story-text {
  margin-top: 2em;
}
.content-inner .story-text { width: 100%; }
.cmd-link {
  width: var(--panelW);
  max-width: 95vw;
  margin: 20px auto 0 auto;
  text-align: left;
}
.content-inner .cmd-link { width: 100%; }
.cmd-link a {
  font-family: Verdana, Geneva, sans-serif;
  font-size: 22px;
  font-weight: normal;
  color: var(--linkColor);
  text-decoration: underline;
}
.cmd-link a:hover { color: #0000cc; }
.cmd-tbc {
  width: var(--panelW);
  max-width: 95vw;
  margin: 20px auto 0 auto;
  text-align: left;
  font-family: 'Courier New', monospace;
  font-size: 14px;
  color: #888;
}
.content-inner .cmd-tbc { width: 100%; }
.cmd-input-wrap {
  width: var(--panelW);
  max-width: 95vw;
  margin: 20px auto 0 auto;
  text-align: left;
}
.content-inner .cmd-input-wrap { width: 100%; padding: 0 15px; }
.cmd-input-row {
  display: flex;
  align-items: center;
  gap: 0;
}
.cmd-gt {
  font-family: 'Courier New', Courier, monospace;
  font-size: 20px;
  font-weight: bold;
  color: #000;
  flex-shrink: 0;
  padding-right: 6px;
}
.cmd-text-input {
  font-family: 'Courier New', Courier, monospace;
  font-size: 22px;
  font-weight: bold;
  color: #000;
  background: transparent;
  border: none;
  border-bottom: 2px solid #c6c6c6;
  outline: none;
  flex: 1;
  padding: 2px 4px;
  caret-color: #000;
}
.cmd-text-input::placeholder {
  color: #aaa;
  font-size: 18px;
}
.cmd-text-input:focus {
  border-bottom-color: #888;
}
.cmd-input-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}
.cmd-success {
  font-family: 'Courier New', Courier, monospace;
  font-size: 11px;
  font-weight: bold;
  color: #090;
  margin-top: 4px;
}
html.dark .cmd-gt { color: #DDD; }
html.dark .cmd-text-input { color: #ddd; border-bottom-color: #555; caret-color: #ddd; }
html.dark .cmd-text-input::placeholder { color: #666; }
html.dark .cmd-text-input:focus { border-bottom-color: #888888; }
html.dark .cmd-success { color: #5d5; }
.page-ctrls {
  width: var(--panelW);
  max-width: 95vw;
  margin: 20px auto 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
}
.content-inner .page-ctrls { width: 100%; }
.page-ctrls-l, .page-ctrls-r {
  display: flex;
  align-items: baseline;
}
.page-ctrls a {
  font-family: Verdana, Geneva, sans-serif;
  font-size: 10px;
  color: var(--linkColor);
  text-decoration: underline;
}
.page-ctrls a:hover { color: #0000cc; }
.ctrl-btn {
  font-family: Verdana, Geneva, sans-serif;
  font-size: 10px;
  color: var(--linkColor);
  text-decoration: underline;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}
.ctrl-btn:hover { color: #0000cc; }
html.dark .ctrl-btn { color: #88aaff; }
html.dark .ctrl-btn:hover { color: #aaccff; }
.page-ctrls .cs {
  font-family: Verdana, Geneva, sans-serif;
  font-size: 10px;
  color: #000;
  padding: 0 4px;
}
.ctrl-active { font-weight: bold; color: #009900 !important; }
.flash-off-msg {
  width: 650px;
  height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  color: #666;
  font-size: 14px;
  font-family: 'Courier New', Courier, monospace;
}
.pesterlog-wrap {
  width: var(--panelW);
  max-width: 95vw;
  margin: 15px auto 0 auto;
  text-align: center;
}
.content-inner .pesterlog-wrap { width: 100%; padding: 0 15px; }
.plog-toggle {
  font-family: 'Courier New', Courier, monospace;
  font-size: 12px;
  font-weight: bold;
  color: #000;
  background: linear-gradient(to bottom, #f8f8f8 0%, #e0e0e0 100%);
  border: 2px solid #999;
  border-radius: 3px;
  padding: 3px 14px;
  cursor: pointer;
}
.plog-toggle:hover {
  background: linear-gradient(to bottom, #eee 0%, #d4d4d4 100%);
}
.plog-toggle:active {
  background: linear-gradient(to bottom, #d4d4d4 0%, #eee 100%);
}
.plog-box {
  border: 2px dashed #999;
  padding: 8px 0;
  text-align: center;
}
.pesterlog {
  width: 100%;
  margin: 0;
  background: var(--bgContent);
  padding: 12px 50px;
  font-family: 'Courier New', Courier, monospace;
  font-size: 13px;
  font-weight: bold;
  line-height: 1.5;
  white-space: pre-wrap;
  text-align: left;
}
.plog-header {
  color: #000;
  font-family: 'Courier New', Courier, monospace;
  font-size: 13px;
  font-weight: bold;
  margin: 8px 0;
}
.narration {
  width: var(--panelW);
  max-width: 95vw;
  margin: 15px auto 0 auto;
  font-family: 'Courier New', Courier, monospace;
  font-size: 15px;
  font-weight: bold;
  line-height: 1;
  text-align: center;
}
.narration span {
  display: block;
  margin-bottom: 2px;
}
.content-inner .narration { width: 100%; padding: 0 15px; }
.map-pg {
  width: 100%;
  max-width: 850px;
  padding: 20px 30px 40px 30px;
}
.map-pg h2 {
  font-family: 'Courier New', Courier, monospace;
  font-size: 28px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 25px;
}
.map-sect { margin-bottom: 25px; }
.map-sect-title {
  font-family: Verdana, Geneva, sans-serif;
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #555;
  margin-bottom: 10px;
  padding-bottom: 5px;
  border-bottom: 2px solid #aaa;
}
.map-chaps {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  align-items: flex-start;
}
.map-ch {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 110px;
  cursor: pointer;
  text-decoration: none;
}
.map-ch:hover .m-icon { border-color: #000; }
.map-ch:hover .m-lbl { color: var(--linkColor); text-decoration: underline; }
.m-icon {
  width: 100px;
  height: 100px;
  background: #fff;
  border: 2px solid #888;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 5px;
  overflow: hidden;
  transition: border-color 0.15s;
}
.m-icon img { max-width: 100%; max-height: 100%; }
.m-icon .m-num {
  font-family: 'Courier New', Courier, monospace;
  font-size: 32px;
  font-weight: bold;
  color: #fff;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}
.m-lbl {
  font-family: Verdana, Geneva, sans-serif;
  font-size: 9px;
  color: #333;
  text-align: center;
  line-height: 1.3;
}
.log-pg {
  width: 100%;
  max-width: 850px;
  padding: 20px 30px 40px 30px;
}
.log-pg h2 {
  font-family: 'Courier New', Courier, monospace;
  font-size: 28px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 25px;
}
.log-ent {
  font-family: 'Courier New', Courier, monospace;
  font-size: 12px;
  padding: 2px 0;
  line-height: 1.5;
}
.log-dt { color: #000; }
.log-s { color: #000; padding: 0 4px; }
.log-lk {
  color: var(--linkColor);
  text-decoration: underline;
}
.log-lk:hover { color: #0000cc; }
.cred-pg {
  width: 100%;
  max-width: 650px;
  padding: 20px 30px 40px 30px;
}
.cred-pg h2 {
  font-family: 'Courier New', Courier, monospace;
  font-size: 28px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 30px;
}
.cred-sect { text-align: center; margin-bottom: 20px; }
.cred-role {
  font-family: 'Courier New', Courier, monospace;
  font-size: 18px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #333;
  margin-bottom: 4px;
}
.cred-names {
  text-align: center;
  margin-top: 4px;
  font-family: 'Courier New', Courier, monospace;
  font-size: 14px;
  font-weight: bold;
  color: #000;
  line-height: 1.6;
}
.cred-name {
  font-family: 'Courier New', Courier, monospace;
  font-size: 14px;
  color: #000;
  line-height: 1.6;
  display: inline;
}
.cred-div {
  width: 180px;
  height: 1px;
  background: #aaa;
  margin: 20px auto;
}
.flash-cred-block {
  margin-top: 30px;
  margin-bottom: 30px;
}
.flash-cred-title {
  font-family: 'Courier New', Courier, monospace;
  font-size: 18px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #333;
  text-align: center;
  margin-bottom: 16px;
}
.flash-cred-table {
  display: table;
  margin: 0 auto;
  border-spacing: 10px 4px;
  max-width: 100%;
}
.flash-cred-row {
  display: table-row;
  font-family: 'Courier New', Courier, monospace;
  font-size: 14px;
  font-weight: bold;
  line-height: 1.6;
}
.flash-cred-role {
  display: table-cell;
  text-align: right;
  text-transform: uppercase;
  color: #333;
  max-width: 250px;
  width: 50%;
}
.flash-cred-name {
  display: table-cell;
  text-align: left;
  color: #000;
  white-space: nowrap;
  width: 50%;
}
.flash-cred-note {
  display: table-caption;
  caption-side: bottom;
  font-family: 'Courier New', Courier, monospace;
  font-size: 12px;
  font-weight: bold;
  color: #555;
  text-align: center;
  margin-top: 10px;
}
.comments-wrap {
  width: 100%;
  margin: 20px auto 0 auto;
  text-align: center;
}
.content-inner .comments-wrap { padding: 0 15px; }
.comments-section {
  width: 100%;
  padding: 12px 20px;
  text-align: left;
}
.comment-form {
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #ccc;
}
.comment-input {
  font-family: 'Courier New', Courier, monospace;
  font-size: 12px;
  font-weight: bold;
  width: 100%;
  padding: 6px 8px;
  border: 2px solid #999;
  background: #fff;
  margin-bottom: 6px;
  box-sizing: border-box;
}
.commentBox {
  font-family: 'Courier New', Courier, monospace;
  font-size: 12px;
  font-weight: bold;
  width: 100%;
  padding: 6px 8px;
  border: 2px solid #999;
  background: #fff;
  margin-bottom: 6px;
  resize: vertical;
  box-sizing: border-box;
}
.comment-submit {
  font-family: 'Courier New', Courier, monospace;
  font-size: 12px;
  font-weight: bold;
  color: #000;
  background: linear-gradient(to bottom, #f8f8f8 0%, #e0e0e0 100%);
  border: 2px solid #999;
  border-radius: 3px;
  padding: 3px 14px;
  cursor: pointer;
}
.comment-submit:hover {
  background: linear-gradient(to bottom, #eee 0%, #d4d4d4 100%);
}
.comment-error {
  font-family: 'Courier New', Courier, monospace;
  font-size: 11px;
  color: #cc0000;
  margin-top: 4px;
}
.comment {
  padding: 10px 0;
  border-bottom: 1px solid #ddd;
}
.comment:last-child { border-bottom: none; }
.commentReply {
  margin-left: 30px;
  background: #e4e4e4;
  padding: 10px 10px 10px 16px;
  position: relative;
  border-bottom: 1px solid #d0d0d0;
}
.commentReply::before {
  content: "\21B3";
  position: absolute;
  left: -22px;
  top: 10px;
  font-size: 16px;
  color: #999;
  font-family: 'Courier New', Courier, monospace;
}
.comment-at {
  color: #1155cc;
  font-weight: bold;
  font-size: 13px;
}
.comment-body {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}
.comment-content { flex: 1; min-width: 0; }
.comment-head { margin-bottom: 2px; }
.comment-name {
  font-family: 'Courier New', Courier, monospace;
  font-size: 13px;
  font-weight: bold;
  color: #1155cc;
}
.comment-meta {
  font-family: 'Courier New', Courier, monospace;
  font-size: 11px;
  color: #888;
}
.comment-edited {
  font-size: 10px;
  color: #aaa;
  font-style: italic;
}
.commentReply-tag {
  display: block;
  font-family: 'Courier New', Courier, monospace;
  font-size: 10px;
  color: #888;
  margin-bottom: 2px;
  font-style: italic;
}
.comment-text {
  font-family: 'Courier New', Courier, monospace;
  font-size: 13px;
  font-weight: bold;
  color: #000;
  line-height: 1.4;
  white-space: pre-wrap;
}
.noComments {
  font-family: 'Courier New', Courier, monospace;
  font-size: 12px;
  color: #999;
  text-align: center;
  padding: 15px 0;
}
.reply-link {
  font-family: 'Courier New', Courier, monospace;
  font-size: 10px;
  color: #888;
  text-decoration: underline;
  cursor: pointer;
}
.reply-link:hover { color: #555; }
.replyArea, .editWrap {
  margin-top: 6px;
  padding: 6px 0;
}
.voteWrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  flex-shrink: 0;
  min-width: 40px;
}
.votebtn {
  font-family: 'Courier New', Courier, monospace;
  font-size: 12px;
  color: #888;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 2px;
  user-select: none;
}
.votebtn:hover { color: #555; }
.votebtn.voted { color: #1155cc; }
.vote-count { font-size: 11px; }
.gearWrap {
  position: relative;
  margin-bottom: 2px;
}
.gearBtn {
  font-size: 14px;
  color: #aaa;
  cursor: pointer;
}
.gearBtn:hover { color: #666; }
.gear-dropdown {
  position: absolute;
  right: 0;
  top: 18px;
  background: #fff;
  border: 1px solid #ccc;
  z-index: 10;
  min-width: 100px;
  box-shadow: 1px 1px 4px rgba(0,0,0,0.15);
}
.gear-item {
  font-family: 'Courier New', Courier, monospace;
  font-size: 11px;
  padding: 4px 10px;
  cursor: pointer;
  white-space: nowrap;
}
.gear-item:hover { background: #eee; }
.gear-admin { color: #cc0000; }
.notify-wrap {
  display: inline-block;
  position: relative;
}
.notify-link {
  font-family: 'Courier New', Courier, monospace;
  font-size: 12px;
  font-weight: bold;
  color: #1155cc !important;
  text-decoration: underline;
  cursor: pointer;
  padding: 2px 6px;
  background: #e0e0e0;
  border: 1px solid #c6c6c6;
  border-radius: 2px;
}
.dark-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 96px;
  height: 20px;
  text-align: center;
  line-height: 1;
  overflow: hidden;
}
.notify-link:hover { background: #d4d4d4; }
.notify-box {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border: 2px solid #c6c6c6;
  padding: 10px;
  z-index: 20;
  width: 240px;
  box-shadow: 1px 1px 6px rgba(0,0,0,0.15);
}
.notify-box .comment-input {
  font-size: 11px;
  padding: 4px 6px;
  margin-bottom: 4px;
}
.notify-box .comment-submit {
  font-size: 10px;
  padding: 2px 10px;
  width: 100%;
}
.review-queue-wrap { margin-bottom: 15px; }
.review-item { background: #fff8e0; padding: 10px; margin-bottom: 8px; border: 1px solid #e0d080; }
.review-actions { margin-top: 6px; }
.review-approve { color: #090 !important; }
.review-approve:hover { background: linear-gradient(to bottom, #e0ffe0 0%, #ccffcc 100%) !important; }
.review-deny { color: #c00 !important; }
.review-deny:hover { background: linear-gradient(to bottom, #ffe0e0 0%, #ffcccc 100%) !important; }
.comment-review-tag { font-size: 10px; color: #cc8800; font-weight: bold; }
.comment-review-tag {
  font-family: 'Courier New', Courier, monospace;
  font-size: 10px;
  font-weight: bold;
  color: #fff;
  background: #cc8800;
  padding: 1px 6px;
  border-radius: 2px;
}
.review-queue-wrap {
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #ccc;
  text-align: center;
}
.review-item {
  background: #fff8e0;
  padding: 10px;
  margin: 6px 0;
  border: 1px solid #e0c060;
}
.review-actions {
  margin-top: 6px;
}
.comment-avatar {
  width: 40px;
  height: 40px;
  border-radius: 4px;
  margin-right: 10px;
  flex-shrink: 0;
  object-fit: cover;
  background: #ddd;
}
.avatar-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
  margin-bottom: 8px;
}
.avatar-label {
  font-family: 'Courier New', Courier, monospace;
  font-size: 11px;
  font-weight: bold;
  color: #888;
  margin-right: 4px;
}
.avatar-option {
  width: 28px;
  height: 28px;
  border-radius: 3px;
  cursor: pointer;
  border: 2px solid transparent;
  object-fit: cover;
  opacity: 0.6;
  transition: opacity 0.1s;
}
.avatar-option:hover { opacity: 1; }
.avatar-option.avatar-selected { border-color: #1155cc; opacity: 1; }
.comment-sort {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #ccc;
}
.sortLbl {
  font-family: 'Courier New', Courier, monospace;
  font-size: 11px;
  font-weight: bold;
  color: #888;
}
.comment-sort select {
  font-family: 'Courier New', Courier, monospace;
  font-size: 11px;
  font-weight: bold;
  border: 1px solid #999;
  background: #fff;
  padding: 2px 4px;
}
.privacy-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.privacy-modal-content {
  background: var(--bgContent);
  border: 4px solid var(--borderClr);
  width: 90%;
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
  padding: 20px;
  font-family: 'Courier New', Courier, monospace;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-color);
  position: relative;
}

.privacy-modal-content h2 {
  font-size: 18px;
  margin-bottom: 15px;
  text-align: center;
}

.privacy-modal-content h3 {
  font-size: 14px;
  margin-top: 15px;
  margin-bottom: 5px;
}

.privacy-modal-content ul {
  margin-left: 20px;
  margin-bottom: 15px;
}

.privacy-close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 20px;
  font-weight: bold;
  color: #cc0000;
  cursor: pointer;
  background: none;
  border: none;
}

.privacy-close-btn:hover {
  color: #ff0000;
}

html.dark .privacy-modal-content {
  background: #333;
  border-color: #555;
  color: #ddd;
}
html.dark {
  --bg-outer: #1a1a1a;
  --bgContent: #2a2a2a;
  --borderClr: #444;
  --text-color: #ddd;
  --linkColor: #6699ff;
}
html.dark body { background: #1a1a1a; color: #ddd; }
html.dark .banner { background: #2a2a2a; border-color: #444; }
html.dark .banner-footer { background: #2a2a2a; border-color: #444; }
html.dark .nav-bar { background: #1a1a1a; }
html.dark .nav-bar a { color: #cccc00; }
html.dark .nav-brand { color: #cccc00 !important; }
html.dark .content-area { background: #2a2a2a; border-color: #444; }
html.dark .content-inner { background: #333; }
html.dark .content-story { border-color: #444; }
html.dark .story-text { color: #ddd; }
html.dark .story-title { color: #ddd; }
html.dark .cmd-link a { color: #6699ff; }
html.dark .page-ctrls a { color: #6699ff; }
html.dark .page-ctrls .cs { color: #888; }
html.dark .plog-toggle { background: linear-gradient(to bottom, #3a3a3a, #2a2a2a); border-color: #555; color: #ddd; }
html.dark .plog-box { border-color: #555; }
html.dark .pesterlog { border-color: #555; background: #222; }
html.dark .plog-header { color: #ddd; }
html.dark .comment { border-color: #444; }
html.dark .commentReply { background: #333; border-color: #444; }
html.dark .comment-name { color: #6699ff; }
html.dark .comment-text { color: #ddd; }
html.dark .comment-input, html.dark .commentBox { background: #333; border-color: #555; color: #ddd; }
html.dark .comment-submit { background: linear-gradient(to bottom, #3a3a3a, #2a2a2a); border-color: #555; color: #ddd; }
html.dark .gear-dropdown { background: #333; border-color: #555; }
html.dark .gear-item:hover { background: #444; }
html.dark .comment-sort select { background: #333; border-color: #555; color: #ddd; }
html.dark .banner-copyright { color: #888; }
html.dark .footer-counter { color: #666; }
html.dark .footer-cr { color: #888; }
html.dark .log-search-input { background: #333; border-color: #555; color: #ddd; }
html.dark .notify-link { background: #333; border-color: #555; color: #6699ff !important; }
html.dark .notify-box { background: #333; border-color: #555; }
html.dark .store-banner { background: #2a2a2a; }
html.dark .logo-banner { background: #2a2a2a; }
html.dark .narration { background: #333; }
html.dark .map-grid { background: #2a2a2a; }
html.dark .m-icon { border-color: #444; }
html.dark .log-list a { color: #6699ff; }
html.dark .review-item { background: #3a3520; border-color: #665520; }
@media (max-width: 700px) {
  .nav-bar a { font-size: 9px; padding: 2px 2px; }
  .nav-bar .sep { padding: 0 1px; }
  .nav-bar .pen { padding: 0 3px; }
  .story-title { font-size: 22px; }
  .panel { aspect-ratio: 650 / 450; }
  .m-icon { width: 75px; height: 75px; }
  .map-ch { width: 85px; }
  .store-banner .mascot { display: none; }
  .store-banner .store-ad { width: 100%; }
  .store-banner .store-ad img { width: 100%; }
  .banner { width: 100vw; margin-left: 0; margin-right: 0; }
}
html.dark .cred-names { color: #ddd; }
html.dark .cred-name { color: #ddd; }
html.dark .cred-link { color: #6699ff !important; }
html.dark .cred-link:hover { color: #99bbff !important; }
html.dark .cred-role { color: #bbb; }
html.dark .cred-div { background: #555; }
html.dark .cred-pg h2 { color: #eee; }
html.dark .flash-cred-title { color: #bbb; }
html.dark .flash-cred-role { color: #bbb; }
html.dark .flash-cred-name { color: #ddd; }
html.dark .flash-cred-note { color: #888; }