/*
 * The entire visual identity of fatcatty.com, ported verbatim from btnblog.
 *
 * The source compiled four files into one application.css; this is the same
 * declarations in the same cascade order, flattened into a single stylesheet.
 * Section order matches the compiled golden reference at
 * fatcatty-blog-baseline/20260902/assets/application-866f3936....css — do not
 * reorder it, and do not add Tailwind. The blog layout loads this and nothing
 * else, so the rest of fatcatty-lm's styling cannot leak in.
 */

/* ── posts.scss ───────────────────────────────────────────────────────── */

body, html {
  background-color: black !important;
  color: white !important;
}

.tags-cloud {
  padding: 10px;
}

.postField {
  padding-bottom: 8px;
}

.mt {
  margin-top: 0px;
}

.mb {
  margin-bottom: 0px;
}

.pt {
  padding-top: 0px;
}

.pb {
  padding-bottom: 0px;
}

.mb p {
  margin-bottom: 0px;
  margin-top: 0px;
  padding-bottom: 2px;
}

#player.full_frame {
  width: 500px;
  height: 500px;
}

/* ── ssc.scss ─────────────────────────────────────────────────────────── */

.sscbody {
  position: relative;
  float: left;
  line-height: .75;
  color: black;
}

.ssc img {
  width: 100%;
}

/* ── tags.css.scss — the tag cloud's four size buckets ────────────────── */

.css1 {
  font-size: 0.5em;
}

.css2 {
  font-size: 1.0em;
}

.css3 {
  font-size: 1.5em;
}

.css4 {
  font-size: 2.0em;
}

/* ── application.css ──────────────────────────────────────────────────── */

label {
  color: white;
}

a {
  color: rgb(48, 128, 222);
}

body {
  width:80%;
}

.pagination {
  display: inline-block;
  color: white;
  padding: 8px 16px;
  text-decoration: none;
}

.pagination li {
  color: white;
  text-decoration: none;
  display: inline;
  padding-left: 16px;
  float: left;
}

.bContainer {
  padding-left: 32px;
  clear:both;
}

.navvy {
  float:left;
  width: 100%;
  padding-bottom: 16px;
  padding-left: 32px;
}

.fatcattyLogo {
  display: inline;
  float: left;
}

.navItems {
  padding-top: 16px;
  padding-left: 16px;
}

.navItems ul {
  list-style-type: none;
  margin: 0;
  padding-left: 8px;
  overflow: hidden;
}

.navItems li {
  float: left;
  color: white;
  text-align: center;
  text-decoration: none;
  font-size: 24px;
  display: inline-block;
  padding-left: 8px;
  padding-right: 8px;
}

.navItems li a {
  color: white;
  text-align: center;
  text-decoration: none;
  font-size: 24px;
  text-align: left;
}

.dropbtn li a {
  display: inline-block;
  color: white;
  text-align: center;
  text-decoration: none;
  font-size: 24px;
}

.dropbtn li {
  display: inline-block;
  color: white;
  text-align: center;
  text-decoration: none;
  font-size: 24px;
}

.dropbtn li a img {
  padding-right: 8px;
}

li a:hover, .dropdown:hover .dropbtn {
  background-color: red;
}

.dropdown li a {
  display: inline-block;
  color: white;
  text-align: center;
  padding: 16px 8px 8px 8px;
  text-decoration: none;
  font-size: 24px;
}

.dropdown-content {
  display: none;
  position: absolute;
  min-width: 160px;
  box-shadow: 16px 8px 16px 16px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  background-color: black;
  color: white;
  text-decoration: none;
  display: block;
  text-align: left;
}

.dropdown-content a:hover {background-color: red;}

.dropdown:hover .dropdown-content {
  display: block;
}

.archiveList li a {
  display: inline-block;
  text-decoration: none;
  padding-left: 2px;
  padding-top: 0px;
}

.archiveList a:hover {
  background-color: blue;
}

.postTitle a {
  font-size: 32px;
}

a:visited {
  color: #e3b0ff;
}

.textMuted {
  font-size: 100%;
}

.postSpacer {
  padding-bottom: 24px;
}

.workDiv a img {
  max-width: 300px;
}

.workDiv {
  padding-left: 5px;
  padding-right: 5px;
  max-width: 300px;
  float: left;
}

#workofart img {
  max-width:100%
}

.bigButton {
  background-color: white;
  color: black;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  border-radius: 8px;
}

/* ── the authoring surface ────────────────────────────────────────────────
 *
 * Everything below is scoped to body.blogAdmin, which only layouts/blog_admin
 * sets. The public pages carry no class on <body>, so none of this can reach
 * them — the frozen visual contract above is untouched.
 *
 * Sized for a phone first, because that is where these forms get used: full
 * width, 16px inputs (anything smaller and iOS zooms the page on focus),
 * 44px tap targets, and no horizontal scrolling anywhere.
 */

body.blogAdmin {
  width: auto;
  margin: 0;
  padding: 0 0 64px 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body.blogAdmin h2 {
  margin: 0;
  font-size: 22px;
  font-weight: normal;
}

.adminBar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  border-bottom: 1px solid #333;
  background-color: black;
}

.adminBar form {
  display: inline;
  margin: 0;
}

.adminBarLink {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 10px;
  color: white;
  font-size: 18px;
  text-decoration: none;
}

.adminBarLink:visited { color: white; }
.adminBarLink:hover { background-color: red; }

.adminBarLogout {
  border: 0;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

.adminPage {
  padding: 12px;
  max-width: 1100px;
}

.adminHead {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}

.adminHeadActions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.adminHeadActions form { margin: 0; }

.adminFlash {
  margin-bottom: 12px;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 16px;
}

.adminFlashOk  { background-color: #10331a; border: 1px solid #2f7d45; }
.adminFlashBad { background-color: #3a1414; border: 1px solid #a33; }

/* ── list of posts ─────────────────────────────────────────────────────── */

.adminList {
  list-style: none;
  margin: 0;
  padding: 0;
}

.adminRow {
  padding: 10px 0;
  border-bottom: 1px solid #222;
}

.adminRowMain {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.adminRowTitle {
  font-size: 19px;
  line-height: 1.35;
  word-break: break-word;
}

.adminRowMeta {
  margin-top: 4px;
  color: #999;
  font-size: 14px;
}

.adminBadge {
  flex: none;
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.adminBadge-draft     { background-color: #4a3a0d; color: #ffd479; }
.adminBadge-published { background-color: #12331d; color: #7fdca0; }

/* ── forms ─────────────────────────────────────────────────────────────── */

.adminForm { margin: 0 0 20px 0; }

.adminField { margin-bottom: 14px; }

.adminField label {
  display: block;
  margin-bottom: 5px;
  color: #bbb;
  font-size: 14px;
}

.adminFieldRow {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.adminFieldRow > div { flex: 1 1 220px; }

body.blogAdmin input[type="text"],
body.blogAdmin input[type="datetime-local"],
body.blogAdmin select,
body.blogAdmin textarea {
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
  padding: 10px;
  border: 1px solid #444;
  border-radius: 6px;
  background-color: #111;
  color: white;
  font-family: inherit;
  /* 16px exactly: iOS Safari zooms the viewport on focus below this. */
  font-size: 16px;
}

.adminFile {
  width: 100%;
  padding: 12px 0;
  color: white;
  font-size: 16px;
}

.adminHint {
  margin-top: 5px;
  color: #888;
  font-size: 13px;
  line-height: 1.4;
}

.adminSubmit { cursor: pointer; border: 0; font-family: inherit; }
.adminNew { background-color: #7fdca0; }
.adminSecondary { background-color: #ccc; }
.adminDanger { background-color: #d46a6a; color: black; }

/* ── the editor ────────────────────────────────────────────────────────── */

.adminEditor {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 16px;
}

.adminEditorPane { min-width: 0; }

.adminToolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.adminTool {
  min-height: 44px;
  min-width: 52px;
  padding: 0 12px;
  border: 1px solid #444;
  border-radius: 6px;
  background-color: #1a1a1a;
  color: white;
  font-family: inherit;
  font-size: 15px;
  cursor: pointer;
}

.adminTool:hover { background-color: #333; }
.adminToolToggle { margin-left: auto; }
.adminToolOn { background-color: #2f4d7d; border-color: #4a7ac2; }

.adminBodyLabel { display: block; margin-bottom: 5px; color: #bbb; font-size: 14px; }

body.blogAdmin textarea.adminBody {
  min-height: 45vh;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 15px;
  line-height: 1.45;
  /* Raw HTML wraps rather than scrolling sideways; a phone has nowhere to pan. */
  white-space: pre-wrap;
  word-break: break-word;
}

.adminPreviewPane {
  border: 1px solid #333;
  border-radius: 6px;
  padding: 10px;
  background-color: #0a0a0a;
}

.adminPreviewLabel {
  margin-bottom: 8px;
  color: #888;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* The preview is the public renderer's output, so it has to behave like the
   public page does: nothing in it may push the layout sideways. */
.adminPreview { overflow-wrap: break-word; }
.adminPreview img,
.adminPreview iframe { max-width: 100%; }
.adminPreview iframe { aspect-ratio: 16 / 9; height: auto; }

/* ── works grid ────────────────────────────────────────────────────────── */

.adminGrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 14px;
}

.adminTile { min-width: 0; }
.adminTileWide { max-width: 420px; margin-bottom: 16px; }

.adminTileImage {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
  background-color: #151515;
}

.adminTileTitle {
  margin-top: 6px;
  font-size: 15px;
  line-height: 1.3;
  word-break: break-word;
}

/* Only once there is genuinely room does the preview sit beside the editor;
   below this it stacks underneath, which is the phone case. */
@media (min-width: 900px) {
  .adminEditor { grid-template-columns: 1fr 1fr; }
  .adminPage { padding: 20px; }
}
