/* Small additions to the original look for the archive. Everything else comes from Bootstrap 3.1.1 and the
   original mcwm-original.css. Keep this file short. */


/* Headings inside the original recent boxes were plain h6 elements. */

/* The one footer line that says this is an unofficial archive: small and quiet, still readable (about 4.5:1). */
.footer-notice { color: #6b6b6b; }

/* A world's saved preview picture shown where the original showed its live map. */
#world_map.world_preview { background: #1a1a1a; text-align: center; overflow: hidden; height: auto; min-height: 300px; }
#world_map.world_preview img { max-width: 100%; height: auto; display: inline-block; }
#world_map.world_preview .no-preview { color: #ccc; padding: 130px 10px; font-size: 11pt; }
@media (min-width: 768px) { #world_map.world_preview { min-height: 513px; } #world_map.world_preview .no-preview { padding: 230px 10px; } }

/* Marks things the archive could not save. */
.not-preserved { color: #8a6d3b; font-style: italic; }

/* ---- World pages, lists, user and search pages (worlds helper) ---- */
/* Card thumbnails: the original's were all the same size; ours keep one 4:3 shape so rows of cards line up. */
.worldwrapper .img-responsive { aspect-ratio: 4 / 3; object-fit: cover; background: #1a1a1a; }
/* The saved map picture where the original showed its live map (#world_map keeps the original box). */
#world_map { background: #1a1a1a; text-align: center; overflow: hidden; }
#world_map img { max-width: 100%; max-height: 100%; height: auto; display: inline-block; }
#world_map .map-note { color: #ccc; padding-top: 130px; font-size: 11pt; }
@media (min-width: 768px) { #world_map .map-note { padding-top: 230px; } }
/* One short note where the archive lacks something the original had. */
.archive-note, .download-note { font-size: 9pt; color: #8a6d3b; margin: 0 0 4px; }
.download-note { clear: right; text-align: right; }
/* Read-only: the original's comment buttons are shown but do nothing. */
.panel-comment-group a[aria-disabled], #download_links a[aria-disabled] { cursor: default; opacity: .65; }
.panel-comment-group > .read-only-note { font-size: 9pt; color: #6b6b6b; margin-left: 8px; }

/* ---- Phones (under 768px) ---- */
@media (max-width: 767px) {
  /* The original kept Bootstrap's -15px row sides while #all_content had no side padding on phones, so every page
     was 30px wider than the screen and slid sideways. */
  #all_content > .row { margin-left: 0; margin-right: 0; }
  /* The opened menu sat in a narrow, cut-off column beside the logo; drop it below the bar, full width, every item shown. */
  .navbar-collapse { clear: both; max-height: none; }
  .navbar .divider-vertical { border-right: 0; border-left: 0; padding-right: 0; }
  .navbar-collapse .navbar-right { margin: 8px 0 0; text-align: center; }
  .navbar-collapse .navbar-right .btn-group { display: inline-block; }
  /* Bootstrap's phone tables never wrap, so the server worlds' long descriptions made a table about 2,000px wide. */
  .table-responsive > .table > tbody > tr > td { white-space: normal; overflow-wrap: anywhere; }
  /* Hidden screen-reader labels in those tables are positioned absolutely; without this they escaped the table's
     scroll box and widened the page. */
  .table-responsive { position: relative; }
  /* Keep the notice text beside Amber's head instead of wrapping under it. */
  #notification .well { display: flex; align-items: center; }
  #notification .well img { flex: none; }
}

/* Live forum posts (MyCode): pictures and code blocks stay inside the post column. */
.post_body img.mycode_img { max-width: 100%; height: auto; }
.post_body .codeblock { overflow-x: auto; }

/* Live site: login, register and Discord-name pages (owner 2026-10-25 mockup): one box, 80% of the page wide, in the
   forum's own table colours; label and field side by side, stacked on phones. */
.acct-box { width: 80%; min-width: min(100%, 620px); margin: 0 auto 24px; box-sizing: border-box; }
.acct-form { margin: 0; }
.acct-table { display: block; width: 100%; }
.acct-form .thead { padding: 7px 10px; }
.acct-row { display: grid; grid-template-columns: 220px minmax(0, 1fr); border-top: 1px solid #ddd; }
.acct-row.acct-full { display: block; padding: 10px 12px; background: #f5f5f5; }
.acct-lbl, .acct-field { padding: 10px; }
.acct-lbl label { display: block; font-weight: bold; margin: 0; }
.acct-lbl .smalltext, .acct-field .smalltext { display: block; margin-top: 3px; }
.acct-field .textbox { width: 100%; max-width: 420px; box-sizing: border-box; padding: 4px 6px; }
.acct-center { text-align: center; }
.acct-center .cf-turnstile { display: inline-block; }
.acct-discord-row { padding: 18px 12px 10px; }
.acct-discord { display: inline-block; width: 380px; max-width: 100%; background: #5865F2; border-color: #4752c4; color: #fff;
  font-weight: bold; }
.acct-discord:hover, .acct-discord:focus { background: #4752c4; border-color: #3c45a5; color: #fff; }
.acct-or { color: #666; margin-top: 12px; }
.acct-agree { max-height: 118px; overflow-y: auto; border: 1px solid #ccc; background: #fff; padding: 6px 9px; margin-top: 6px;
  font-size: 12px; line-height: 1.45; }
.acct-agree p { margin: 0 0 6px; }
.acct-agree p:last-child { margin-bottom: 0; }
.acct-tick { margin-top: 8px; }
.acct-tick label { display: inline-flex; align-items: center; gap: 6px; font-weight: normal; margin: 0; }
.acct-tick input { margin: 0; }
@media (max-width: 767px) {
  .acct-row { grid-template-columns: minmax(0, 1fr); }
  .acct-lbl { padding-bottom: 0; }
}

/* The MyBB "Powered By" line sat straight on the background in the original and could not be read. */
#copyright { background: #fff; padding: 8px 10px 4px; }

/* Forum footer on one line (owner 2026-10-25): the links on the left, Search / Member List / Calendar / Help on the
   right; they wrap onto two lines only when there is no room. */
.bottommenu { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 20px; }
.bottommenu > .menu { order: 2; }
.bottommenu > .menu ul { padding: 0; }
.bottommenu > .float_right { display: none; }
.bottommenu > div:last-child { order: 1; }
