/*
 * smsithlord.com's theme, on FlatUI's tokens only (assets/flatui: never edited), so every theme and light and dark work.
 * The layout follows the user's Project Showcase mockup (website/design-brief/Project_Showcase_Mockup.png).
 */

:root {
  --smsl-max: 1240px;
  --smsl-gap: 20px;
  --smsl-bar: 40px;
}

/* ---- the bar: NavMe (its own CSS is injected at run time; these win by specificity) ------------------------ */
.smsl-bar {
  position: sticky;
  top: 0;
  z-index: 50;
}
.smsl-bar .navme-header {
  background-color: var(--game-band);
  border-bottom: 1px solid var(--game-line);
}
.smsl-bar .navme-header-col-quest {
  display: flex;
  align-items: center;
}
.smsl-bar .navme-brand {
  display: flex;
  align-items: center;
  height: var(--smsl-bar);
  padding: 0 14px;
}
.smsl-bar .navme-brand img {
  height: 26px;
  width: auto;
  display: block;
}
/* the dropdowns: a solid ground, so no seam between entries shows the page behind them */
.smsl-bar .navme-header-submenu,
.smsl-bar .navme-header-leafmenu {
  background-color: #555;
}
/* the current section: lit like a hovered entry, in the highlight colours; its dropdown stays as any other */
.smsl-bar .navme-header-menu-entry[navme-current],
.smsl-bar .navme-header-menu-entry[navme-current]:hover {
  background-color: var(--game-accent-fill);
  color: var(--game-on-accent);
}
.smsl-bar .navme-header-menu-entry[navme-current] .navme-header-submenu {
  color: #fff;
}
/* wide screens: the menu starts after the logo (NavMe centres it over the whole bar) */
@media (min-width: 1025px) {
  .smsl-bar .navme-header-menu {
    left: 230px;
    right: 56px;
    width: auto;
    transform: none;
  }
}
.smsl-bar noscript a {
  display: inline-block;
  padding: 10px 14px;
  color: var(--game-text);
}

/* ---- the page ----------------------------------------------------------------------------------------------- */
.smsl-main {
  max-width: var(--smsl-max);
  margin: 0 auto;
  padding: var(--smsl-gap) 16px 48px;
  display: grid;
  gap: var(--smsl-gap);
}
.smsl-main > * {
  min-width: 0;
}
.smsl-masthead {
  margin: 8px 0 0;
}

/* links in text read as the accent */
.smsl-prose a,
.smsl-more,
.smsl-head-link {
  color: var(--fui-accent-ink, var(--game-accent));
}

/* a small label over a post's title (the mockup's lime "SHMOTIME") */
.smsl-chip {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--game-accent-fill);
  color: var(--game-on-accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
}
.smsl-post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 6px;
  color: var(--game-muted);
  font-size: 0.875rem;
}

/* ---- the front page: the studio's intro ----------------------------------------------------------------------- */
/* over the AArcade Core site's loop of the user (the user, 2026-12-01): muted, inline, under a scrim (fixed colours, as
   over any picture) weighted to the left where the words are; its first frame stays when motion is reduced */
.smsl-intro {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 20px;
  min-height: 200px;
  padding: 36px 32px;
  border: 1px solid var(--game-line);
  border-radius: 10px;
  background: var(--game-band);
}
.smsl-intro-media {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-position: center 40%;
  background-size: cover;
  background-repeat: no-repeat;
}
.smsl-intro-media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.smsl-intro-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12, 12, 12, 0.9) 0%, rgba(12, 12, 12, 0.74) 45%, rgba(12, 12, 12, 0.42) 100%);
}
@media (prefers-reduced-motion: reduce) {
  .smsl-intro-media video {
    display: none;
  }
}

/* ---- the front page: the user's live stream (assets/home.js) ---------------------------------------------------- */
.smsl-live-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}
.smsl-live-player {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--fui-radius-sm, 8px);
  background: #000;
}
.smsl-live-player iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.smsl-live-text {
  display: grid;
  gap: 12px;
  align-content: start;
}
.smsl-live-text > * {
  margin: 0;
}
.smsl-live-on {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.smsl-live-on::before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--game-bad);
}
.smsl-live-title {
  font-size: 1.25rem;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.smsl-live-category {
  color: var(--game-muted);
}
.smsl-live-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.smsl-intro-avatar {
  width: 72px;
  height: 72px;
  object-fit: cover;
  object-position: top;
  border-radius: 8px;
}
.smsl-intro-name {
  margin: 0;
  padding-right: 20px;
  border-right: 1px solid var(--game-line);
  font-size: 2rem;
  line-height: 1.1;
}
.smsl-intro-lede {
  margin: 0;
  color: var(--game-text);
  font-size: 1.05rem;
  max-width: 48ch;
}

/* ---- Featured in the Library ------------------------------------------------------------------------------------ */
.smsl-featured-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  align-items: center;
}
.smsl-featured-art {
  position: relative;
  display: block;
}
.smsl-featured-art .fui-art {
  display: block;
  border-radius: 0;
}
.smsl-featured-logo {
  position: absolute;
  left: 6%;
  bottom: 12%;
  max-width: 46%;
  max-height: 46%;
  object-fit: contain;
}
.smsl-featured-text {
  padding: 24px 28px;
}
.smsl-featured-title {
  margin: 0 0 6px;
  font-size: 2rem;
  line-height: 1.15;
}
.smsl-featured-tagline {
  margin: 0;
  color: var(--game-muted);
  font-size: 1.05rem;
}
.smsl-featured-text .fui-button-row {
  margin-top: 20px;
}

/* ---- the showcase row: key-art cards beside STATUS --------------------------------------------------------------- */
.smsl-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: var(--smsl-gap);
  align-items: start;
}
.smsl-showcase-cards .fui-cards {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.smsl-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 12px;
  font-weight: 700;
  text-decoration: none;
}
.smsl-more .fui-icon,
.smsl-head-link .fui-icon {
  width: 16px;
  height: 16px;
}
.smsl-status-title {
  margin: 0 0 12px;
  font-size: 1.35rem;
  line-height: 1.2;
}
.smsl-status-numbers {
  margin: 0 0 16px;
}
.smsl-status-numbers > div {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 8px 0;
  border-top: 1px solid var(--game-line);
}
.smsl-status-numbers dt {
  min-width: 2.2ch;
  font-size: 1.6rem;
  font-weight: 800;
  text-align: right;
}
.smsl-status-numbers dd {
  margin: 0;
  color: var(--game-text);
}
.smsl-status-card .fui-button {
  width: 100%;
  justify-content: center;
}

/* ---- Latest news ------------------------------------------------------------------------------------------------ */
.smsl-head-link {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: var(--game-on-titlebar);
  font-weight: 700;
  text-decoration: none;
}
.smsl-latest-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: var(--smsl-gap);
}
.smsl-lead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
.smsl-lead-title {
  margin: 4px 0 8px;
  font-size: 1.45rem;
  line-height: 1.2;
}
.smsl-title-link {
  color: var(--game-text);
  text-decoration: none;
}
.smsl-title-link:hover {
  color: var(--fui-accent-ink, var(--game-accent));
  text-decoration: underline;
}
.smsl-lead-excerpt,
.smsl-news-excerpt,
.smsl-post-row-excerpt {
  margin: 0;
  color: var(--game-muted);
}
.smsl-news-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.smsl-news-list li {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--game-line);
}
.smsl-news-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.smsl-news-title {
  margin: 0 0 4px;
  font-size: 1.05rem;
}

/* ---- News, a post, a page ------------------------------------------------------------------------------------------ */
.smsl-post-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.smsl-post-row {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 18px;
  padding: 16px var(--fui-gutter, 16px);
  border-bottom: 1px solid var(--game-line);
}
.smsl-post-row:last-child {
  border-bottom: 0;
}
.smsl-post-row-title {
  margin: 0 0 6px;
  font-size: 1.2rem;
  line-height: 1.25;
}
/* the News pager: a compact row of numbered buttons in the middle, the current page filled */
.smsl-pager {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 16px var(--fui-gutter, 16px);
}
.smsl-pager .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 6px;
  background: var(--game-soft);
  color: var(--game-text);
  font-weight: 600;
  text-decoration: none;
  box-sizing: border-box;
}
.smsl-pager a.page-numbers:hover {
  background: var(--game-raised);
  color: var(--fui-accent-ink, var(--game-accent));
}
.smsl-pager .page-numbers.current {
  background: var(--game-accent-fill);
  color: var(--game-on-accent);
}
.smsl-pager .page-numbers.dots {
  min-width: 0;
  padding: 0 2px;
  background: transparent;
  color: var(--game-muted);
}
.smsl-pager .prev,
.smsl-pager .next {
  padding: 0 12px;
}
.smsl-pager .fui-icon {
  width: 16px;
  height: 16px;
}
/* a post's previous and next post, at the two ends */
.smsl-article-pager {
  justify-content: space-between;
  padding: 4px 0;
}
.smsl-article-pager a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--fui-accent-ink, var(--game-accent));
}
.smsl-article {
  display: grid;
  gap: var(--smsl-gap);
}
.smsl-article-window,
.smsl-page-window {
  max-width: 900px;
}
.smsl-prose img,
.smsl-prose video,
.smsl-prose iframe {
  max-width: 100%;
  height: auto;
}
.smsl-prose figure {
  margin: 1.2em 0;
}
.smsl-prose .wp-caption-text,
.smsl-prose figcaption {
  color: var(--game-muted);
  font-size: 0.875rem;
}
.smsl-textbox {
  padding: 12px 14px;
  border: 1px solid var(--game-line);
  border-radius: 6px;
  background: var(--game-soft);
}
.smsl-article-projects {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 20px 0 0;
  color: var(--game-muted);
}

/* ---- the Library browser ---------------------------------------------------------------------------------------- */
.smsl-views .fui-choice {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.smsl-views .fui-tab {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 6px;
  color: var(--game-text);
  text-decoration: none;
}
.smsl-views .fui-tab[aria-current="page"] {
  background: var(--fui-tint, var(--game-soft));
  color: var(--fui-accent-ink, var(--game-accent));
  font-weight: 700;
}
.smsl-search {
  min-width: min(260px, 100%);
}
.smsl-search-note {
  margin: 0;
  padding: 10px var(--fui-gutter, 16px) 0;
  color: var(--game-muted);
}

/* ---- a Library entry's page ------------------------------------------------------------------------------------- */
.smsl-entry {
  border: 1px solid var(--game-line);
  border-radius: 10px;
  overflow: hidden;
  background: var(--game-panel);
}
.smsl-entry-hero .fui-art {
  max-height: 340px;
}
.smsl-entry-grid {
  padding: 20px;
}
.smsl-stage {
  margin: 0 0 12px;
}
.smsl-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 8px;
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}
/* the actions, between the pictures and the description, so they are easy to find; each in its own area, its sentence
   at the left and its button at the right (the user, 2026-12-01); on a narrow screen the button goes under it */
.smsl-entry-actions {
  display: grid;
  gap: 10px;
  margin: 0 0 20px;
}
.smsl-entry-action {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  padding: 12px 12px 12px 18px;
  border: 1px solid var(--game-line);
  border-radius: var(--fui-radius-sm, 8px);
  background: var(--game-band);
}
.smsl-entry-action > p {
  flex: 1 1 14em;
  margin: 0;
}
.fui .smsl-entry-action > :not(p) {
  flex: none;
  margin-left: auto;
}
/* the full-screen button at the stage's top-right (assets/entry-stage.js): fixed colours, as over any picture */
.smsl-stage-host .fui-media {
  position: relative;
}
.smsl-media-full {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: var(--fui-radius-sm, 8px);
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  cursor: pointer;
  transition: background-color var(--fui-fast, 0.15s);
}
.smsl-media-full:hover {
  background: rgba(0, 0, 0, 0.82);
}
.smsl-media-full:focus-visible {
  outline: 2px solid var(--game-accent);
  outline-offset: 2px;
}
.smsl-media-full .fui-icon {
  width: 22px;
  height: 22px;
}
/* where it plays and who plays it, as icons named for screen readers (their words are the pointer's tooltip) */
.smsl-plays {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6em;
}
.smsl-plays-icon {
  display: inline-flex;
}
.smsl-plays-icon .fui-icon {
  width: 1.3em;
  height: 1.3em;
}
.smsl-entry-side {
  display: grid;
  gap: 18px;
  align-content: start;
}
.smsl-entry-side > * {
  margin: 0;
}
.smsl-entry-side .fui-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
/* "What it needs": its label on a line of its own over the words, not a narrow column beside them (the user,
   2026-12-01); the notes with an icon keep the icon beside their words */
.smsl-entry-side .fui-note.smsl-needs {
  display: block;
}
.smsl-entry-side .fui-note.smsl-needs > strong {
  display: block;
  margin-bottom: 4px;
}
.smsl-entry-side .fui-section-head {
  margin: 6px 0 -6px;
}
.smsl-entry-side .fui-facts {
  row-gap: 14px;
}
.smsl-entry-side .fui-credits {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(11em, 100%), 1fr));
  gap: 10px 16px;
}
.smsl-stage-host .fui-media {
  margin-bottom: 18px;
}
/* the features: a round bullet in the accent where the kit's starter puts an icon (the user, 2026-12-01) */
.fui .smsl-entry .fui-features > li::before {
  content: '';
  flex: none;
  width: 0.42em;
  height: 0.42em;
  margin-top: 0.55em;
  border-radius: 50%;
  background: var(--game-accent);
}
.smsl-media-full[hidden] {
  display: none;
}
/* the viewer (FlatUI's lightbox, an entry's pictures and STATUS's): as big as the screen allows, the picture filling
   what its title bar, caption and buttons leave (the user, 2026-12-01). On a phone it is the kit's full-screen modal,
   tightened below: a slimmer title bar, the arrows over the picture as a carousel has them */
.fui.fui-dialog.fui-viewer {
  width: calc(100vw - 3em);
  height: calc(100dvh - 3em);
  max-height: none;
}
.fui.fui-dialog.fui-viewer > .fui-panel-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}
.fui .fui-viewer .fui-viewer-stage {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
}
.fui .fui-viewer .fui-viewer-stage > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
}

/* ---- the foot ---------------------------------------------------------------------------------------------------- */
.smsl-foot {
  max-width: var(--smsl-max);
  margin: 0 auto;
  padding: 24px 16px 40px;
  color: var(--game-muted);
  text-align: center;
}
.smsl-foot a {
  color: var(--game-text);
}
.smsl-foot-note {
  font-size: 0.875rem;
}
.smsl-404-actions {
  margin-top: 8px;
}
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ---- narrower screens ------------------------------------------------------------------------------------------- */
/* ---- STATUS (page-status.php) ---------------------------------------------------------------------------------- */
.smsl-status-milestones {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--smsl-gap);
  align-items: start;
  margin-top: var(--smsl-gap);
}
.smsl-ms-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.smsl-ms-list li {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--game-line);
}
.smsl-ms-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
.smsl-ms-who {
  margin: 0 0 2px;
  color: var(--game-muted);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.smsl-ms-title {
  margin: 0 0 8px;
  line-height: 1.35;
}
.smsl-ms-tick {
  width: 1em;
  height: 1em;
  margin-right: 6px;
  vertical-align: -0.12em;
  color: var(--game-good);
}
.smsl-board-posts,
.smsl-status-projects {
  margin-top: var(--smsl-gap);
}
/* a board post has no picture: one column at every width (the phone rule for post rows must not give it one) */
.smsl-post-row.smsl-board-post {
  grid-template-columns: minmax(0, 1fr);
}
.smsl-board-post-text {
  margin: 0;
}
.smsl-project-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.smsl-project-row {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 18px;
  padding: 16px var(--fui-gutter, 16px);
  border-bottom: 1px solid var(--game-line);
}
.smsl-project-row:last-child {
  border-bottom: 0;
}
.smsl-project-name {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 6px;
  font-size: 1.15rem;
}
.smsl-project-about {
  margin: 0 0 6px;
}
.smsl-project-last {
  margin: 0 0 6px;
  color: var(--game-muted);
}
.smsl-project-last time {
  color: var(--game-text);
  font-weight: 600;
}
.smsl-project-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  margin: 0;
}
.smsl-project-links a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--fui-accent-ink, var(--game-accent));
}
.smsl-project-links .fui-icon {
  width: 1em;
  height: 1em;
}
.smsl-soon {
  align-self: center;
  color: var(--game-muted);
  font-weight: 600;
}

/* a post's Shmotime episode, first */
.smsl-episode {
  margin-bottom: var(--smsl-gap);
}
.smsl-episode-frame {
  aspect-ratio: 16 / 9;
  background: #000;
}
.smsl-episode-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
/* STATUS: the shows on Shmotime */
.smsl-shows {
  margin-top: var(--smsl-gap);
}
.smsl-head-note {
  color: inherit;
  opacity: 0.8;
  font-size: 0.85rem;
}
/* each show's newest episode, one card each (the user, 2026-12-01): the show's name over the episode's title, the card
   opens the episode, "All episodes" (over the card's stretched link) opens the show */
.smsl-episode-show {
  margin: 0 0 2px;
}
.smsl-show-all {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 4px;
  margin-top: auto; /* at the card's foot, so the four line up */
  padding-top: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--fui-accent-ink, var(--game-accent));
}
.smsl-show-all .fui-icon {
  width: 1em;
  height: 1em;
}
.smsl-shows .smsl-episodes {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
/* STATUS: a project's pictures open the viewer */
a.smsl-project-art {
  position: relative;
  display: block;
  cursor: zoom-in;
  border-radius: var(--fui-radius, 6px);
}
a.smsl-project-art:hover .fui-art,
a.smsl-project-art:focus-visible .fui-art {
  outline: 2px solid var(--game-accent);
  outline-offset: 2px;
}
.smsl-art-count {
  position: absolute;
  right: 6px;
  bottom: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgb(0 0 0 / 0.72);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
}
.smsl-art-count .fui-icon {
  width: 1em;
  height: 1em;
}

/* the Library: sort and view, the grid view and the list view (assets/library.js) */
.smsl-arrange {
  padding: 0 var(--fui-gutter, 16px) 4px;
}
.smsl-arrange .fui-choice .fui-icon {
  width: 1em;
  height: 1em;
}
.smsl-card-facts {
  display: none;
}
.fui .smsl-wall[data-view='list'] {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}
.fui .smsl-wall[data-view='list'] > .fui-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 8px 10px;
  border-width: 0 0 1px;
  border-radius: 0;
  background: transparent;
}
.fui .smsl-wall[data-view='list'] > .fui-card:hover {
  background: var(--game-soft);
}
.fui .smsl-wall[data-view='list'] > .fui-card > .fui-art {
  border: 0;
  border-radius: 4px;
}
.fui .smsl-wall[data-view='list'] .fui-card-body {
  padding: 0;
  gap: 2px;
}
.fui .smsl-wall[data-view='list'] .fui-card-link::after {
  border-radius: 0;
}
.fui .smsl-wall[data-view='list'] .smsl-card-facts {
  display: block;
  margin: 0;
  color: var(--game-muted);
  font-size: 0.8rem;
}
.fui .smsl-wall[data-view='list'] .fui-art-band {
  display: none;
}
/* the list's icons: a column at the right, aligned to its right edge (web, desktop, mobile, gamepad, VR, then the
   players, a dash when they do not apply; the user, 2026-12-01); on a phone, under the title */
.smsl-card-plays {
  display: none;
}
.fui .smsl-wall[data-view='list'] > .fui-card {
  grid-template-columns: 180px minmax(0, 1fr) auto;
}
/* the list's picture: each row's landscape capsule where there is room (the user, 2026-12-01), its portrait key art on
   a phone (below). Only the one shown is fetched: the other is hidden, and lazy */
.fui .smsl-wall[data-view='list'] > .fui-card > .fui-art:not(.smsl-grid-art) {
  display: none;
}
.fui .smsl-wall[data-view='list'] > .fui-card > .fui-art.smsl-grid-art {
  display: block;
}
.fui .smsl-wall[data-view='list'] > .fui-card > .fui-art.smsl-grid-art[data-band] {
  display: flex;
}
.fui .smsl-wall[data-view='list'] > .fui-card > .smsl-card-plays {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.6em;
  color: var(--game-muted);
}
.smsl-card-plays > :is([data-plays='single'], [data-plays='multi'], [data-plays='na']) {
  margin-left: 0.5em;
}
.smsl-card-plays > [data-plays='single'] + [data-plays='multi'] {
  margin-left: 0;
}
.smsl-card-plays .fui-icon {
  width: 1.15em;
  height: 1.15em;
}
/* each icon over the row's stretched link (the kit's ::after, z-index 1), so the pointer reaches its tooltip; the rest
   of the row still opens the entry */
.smsl-card-plays > .smsl-plays-icon {
  position: relative;
  z-index: 2;
  cursor: help;
}
/* no zoom on a card's picture under the pointer, in any of the Library's views (the user, 2026-12-01; the kit's
   .fui-card:hover rules scale it) */
.fui .smsl-wall > .fui-card:hover > .fui-art > img,
.fui .smsl-wall > .fui-card:hover > .fui-art > .fui-art-picture > img {
  transform: none;
}
/* the grid view: each card's landscape capsule (920:430) in place of its portrait key art, at the kit's landscape
   card width. The landscape art is hidden everywhere else, above the kit's own display rules (.fui .fui-art[data-band]),
   so it takes no room and, being lazy, is never fetched until shown. Its cards keep the gap between them along the
   window's edges too (the kit's walls have no padding) */
.fui .fui-card > .fui-art.smsl-grid-art {
  display: none;
}
.fui .smsl-wall.fui-cards[data-view='grid'] {
  --fui-card-min: 16.5em;
}
/* the wall and the grid keep the gap between their cards along the window's edges too (the kit's walls have no
   padding; the user, 2026-12-01); the list's rows run edge to edge */
.fui .smsl-wall.fui-cards:is([data-view='wall'], [data-view='grid']) {
  padding: 1em;
}
.fui .smsl-wall[data-view='grid'] > .fui-card > .fui-art:not(.smsl-grid-art) {
  display: none;
}
.fui .smsl-wall[data-view='grid'] > .fui-card > .fui-art.smsl-grid-art {
  display: block;
}
.fui .smsl-wall[data-view='grid'] > .fui-card > .fui-art.smsl-grid-art[data-band] {
  display: flex;
}

/* a section's page (Docs): its pages */
.smsl-child-pages {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.smsl-child-pages li {
  padding-top: 14px;
  border-top: 1px solid var(--game-line);
}
.smsl-child-pages a {
  font-size: 1.1rem;
  font-weight: 700;
}
.smsl-child-pages p {
  margin: 4px 0 0;
  color: var(--game-muted);
}


@media (max-width: 1024px) {
  .smsl-live-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  /* an entry's page: one main column on tablets and unfolded phones (FlatUI's own switch is at a 44em container) */
  .fui .smsl-entry-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .smsl-status-milestones {
    grid-template-columns: minmax(0, 1fr);
  }
  .smsl-showcase {
    grid-template-columns: minmax(0, 1fr);
  }
  .smsl-latest-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
/* the viewer on a phone (the kit's own phone query: narrow, or a touch screen held sideways) */
@media (max-width: 40em), (max-height: 32em) and (pointer: coarse) {
  .fui.fui-dialog.fui-viewer:not(.fui-screen):not(.fui-windowed) {
    border: 0;
    border-radius: 0;
  }
  .fui.fui-dialog.fui-viewer:not(.fui-screen):not(.fui-windowed) > .fui-panel-head {
    min-height: 2.9em;
    gap: 0.6em;
    padding: 0.2em 0.2em 0.2em 0.9em;
    padding-top: max(0.2em, env(safe-area-inset-top));
  }
  .fui.fui-dialog.fui-viewer:not(.fui-screen):not(.fui-windowed) .fui-panel-title {
    font-size: 1em;
  }
  .fui.fui-dialog.fui-viewer:not(.fui-screen):not(.fui-windowed) .fui-head-icon {
    width: 1.15em;
    height: 1.15em;
  }
  .fui.fui-dialog.fui-viewer:not(.fui-screen):not(.fui-windowed) > .fui-panel-head .fui-button {
    width: 2.75em;
    min-height: 2.75em;
  }
  .fui.fui-dialog.fui-viewer .fui-viewer-caption {
    padding: 0.55em 1em;
    padding-bottom: max(0.55em, env(safe-area-inset-bottom));
    font-size: 0.9em;
  }
  /* previous and next: round arrows over the picture's sides, as a carousel has them (fixed colours, as over a picture) */
  .fui.fui-dialog.fui-viewer:not(.fui-screen):not(.fui-windowed) > .fui-panel-foot {
    position: absolute;
    top: 50%;
    right: 0;
    left: 0;
    justify-content: space-between;
    padding: 0 0.5em;
    border: 0;
    background: none;
    transform: translateY(-50%);
    pointer-events: none;
  }
  .fui.fui-dialog.fui-viewer:not(.fui-screen):not(.fui-windowed) > .fui-panel-foot > .fui-button {
    flex: none;
    width: 2.75em;
    height: 2.75em;
    min-height: 2.75em;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    pointer-events: auto;
  }
}
@media (max-width: 40em) {
  /* a window title's note gives way on a phone, so the title is not cut short (STATUS's "On Shmotime") */
  .fui .fui-panel-head .smsl-head-note {
    display: none;
  }
  /* the kit's phone gap (.7em), along the wall's and the grid's edges too */
  .fui .smsl-wall.fui-cards:is([data-view='wall'], [data-view='grid']) {
    padding: 0.7em;
  }
  /* the list's portrait key art on a phone, its icons under the title, the picture beside both */
  .fui .smsl-wall[data-view='list'] > .fui-card {
    grid-template-columns: 64px minmax(0, 1fr);
    row-gap: 4px;
  }
  .fui .smsl-wall[data-view='list'] > .fui-card > .fui-art:not(.smsl-grid-art) {
    display: block;
  }
  .fui .smsl-wall[data-view='list'] > .fui-card > .fui-art:not(.smsl-grid-art)[data-band] {
    display: flex;
  }
  .fui .smsl-wall[data-view='list'] > .fui-card > .fui-art.smsl-grid-art,
  .fui .smsl-wall[data-view='list'] > .fui-card > .fui-art.smsl-grid-art[data-band] {
    display: none;
  }
  .fui .smsl-wall[data-view='list'] > .fui-card > .fui-art {
    grid-row: span 2;
  }
  .fui .smsl-wall[data-view='list'] > .fui-card > .smsl-card-plays {
    grid-column: 2;
    justify-content: flex-start;
  }
}
@media (max-width: 760px) {
  .smsl-intro {
    grid-template-columns: auto 1fr;
    gap: 12px 14px;
    min-height: 0;
    padding: 22px 18px;
  }
  /* the words run the whole width on a phone: the scrim evenly dark */
  .smsl-intro-media::after {
    background: rgba(12, 12, 12, 0.76);
  }
  .smsl-intro-avatar {
    grid-row: span 2;
    width: 64px;
    height: 64px;
  }
  .smsl-intro-name {
    border-right: 0;
    padding-right: 0;
    font-size: 1.5rem;
  }
  .smsl-featured-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .smsl-featured-text {
    padding: 16px;
  }
  .smsl-featured-title {
    font-size: 1.5rem;
  }
  .smsl-showcase-cards .fui-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .smsl-lead {
    grid-template-columns: minmax(0, 1fr);
  }
  .smsl-post-row {
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 12px;
  }
  .smsl-post-row-excerpt {
    display: none;
  }
  .smsl-news-list li {
    grid-template-columns: 110px minmax(0, 1fr);
  }
  .smsl-project-row {
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 12px;
  }
  .smsl-shows .smsl-episodes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---- a writeup's parts (jkworkbench, 2026-12-01): the sub-filters, install steps, controls and clips ------------ */
.smsl-subviews {
  flex-wrap: wrap;
  gap: 6px 14px;
}
.smsl-subviews .fui-choice {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.smsl-subviews .fui-tab {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  color: var(--game-text);
  text-decoration: none;
}
.smsl-subviews .fui-tab[aria-current="page"] {
  background: var(--fui-tint, var(--game-soft));
  color: var(--fui-accent-ink, var(--game-accent));
  font-weight: 700;
}
.smsl-entry-side .fui-note.smsl-install {
  display: block;
}
.smsl-entry-side .fui-note.smsl-install > strong {
  display: block;
  margin-bottom: 4px;
}
.smsl-install ol {
  margin: 0 0 6px;
  padding-left: 1.4em;
}
.smsl-install li + li {
  margin-top: 4px;
}
.smsl-clips {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 14px;
}
.smsl-clip {
  margin: 0;
}
.smsl-clip video {
  display: block;
  width: 100%;
  border-radius: 8px;
  background: #000;
}
.smsl-clip figcaption {
  margin-top: 6px;
  color: var(--game-muted);
  font-size: 0.92em;
}
