/* FreeMMORPGList directory. The shield and brass accent belong to the masthead;
   the catalogue itself uses ink, paper, link blue and the games' own artwork. */
:root {
  color-scheme: light;
  --ink: #242c30;
  --muted: #556168;
  --link: #254f70;
  --rule: #d6d8d5;
  --pale: #f2f3ef;
  --mast: #27323a;
  --brass: #d7b678;
  --width: 1024px;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: #e9eae6; color: var(--ink); font: 15px/1.5 Arial, Helvetica, sans-serif; }
h1, h2, h3, p, figure, dl, dd, ol, ul { margin: 0; }
h1, h2, h3 { line-height: 1.18; text-wrap: pretty; }
h1 { font: bold clamp(1.6rem, 3vw, 2rem)/1.15 Georgia, serif; }
h2, h3 { font-family: Georgia, serif; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--link); text-underline-offset: .16em; }
a:hover { color: #6d4823; }
button, input, textarea { font: inherit; }
button, summary { cursor: pointer; }
:focus-visible { outline: 3px solid #4278a8; outline-offset: 2px; }
.icon { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.12em; }
.visually-hidden, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.skip-link:focus { position: absolute; inset: 4px auto auto 4px; background: white; padding: 8px; z-index: 10; }
.site-header { background: var(--mast); border-bottom: 3px solid var(--brass); color: white; }
.site-header__bar { max-width: var(--width); padding: 12px 20px; margin: auto; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: #fff; text-decoration: none; }
.brand:hover { color: white; }
.brand__mark { width: 39px; height: 39px; }
.brand__name { font: bold 27px/1 Georgia, serif; letter-spacing: -.045em; }
.brand__accent { color: #efd294; }
.header-link { color: #f3f4ed; font-size: 14px; }
.header-link:hover { color: #efd294; }
.search { flex: 1; max-width: 370px; margin-left: auto; display: flex; align-items: center; background: white; border: 1px solid #101c25; }
.search__icon { margin-left: 9px; color: var(--muted); }
.search__input { min-width: 0; width: 100%; border: 0; border-radius: 0; padding: 7px 8px; color: var(--ink); background: white; }
.search__btn { align-self: stretch; padding: 0 13px; background: #e7e9e5; color: #26363f; font-weight: bold; border: 0; border-left: 1px solid var(--rule); }
.search__btn:hover, .btn:hover { background: #d7dfdf; }
.site-body { max-width: var(--width); margin: auto; min-height: calc(100vh - 66px); background: #fff; border-inline: 1px solid var(--rule); }
.directory-layout { display: grid; grid-template-columns: 204px minmax(0, 1fr); gap: 24px; padding: 20px; }
.site-main { min-width: 0; overflow-wrap: anywhere; }
.browse { border: 1px solid #c9cfce; background: #f7f8f5; }
.browse summary { background: #36434a; color: white; padding: 8px 12px; font: bold 16px/1.4 Georgia, serif; }
.browse summary::marker { font-size: .72em; }
.browse a { display: block; border-top: 1px solid var(--rule); padding: 6px 13px; font-size: 14px; text-decoration: none; }
.browse a:hover { text-decoration: underline; background: #eef0ec; }
.browse [aria-current] { border-left: 3px solid #876a3c; padding-left: 10px; font-weight: bold; color: var(--ink); background: #ebe9df; }
.list-info, .section__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 12px; border-bottom: 1px solid #88949a; padding-bottom: 5px; }
.list-info { color: var(--muted); margin-top: 8px; font-size: 13px; }
.list-info span:first-child { font-weight: bold; color: var(--ink); }
.card { display: grid; grid-template-columns: 172px minmax(0, 1fr); grid-template-areas: "media title" "media tags" "media text"; gap: 3px 16px; align-content: start; align-items: start; grid-template-rows: auto auto 1fr; padding-block: 13px; border-bottom: 1px solid var(--rule); }
.card__media { grid-area: media; aspect-ratio: 5/3; display: grid; place-items: center; width: 100%; background: #e6e8e5; border: 1px solid #bdc3c2; overflow: hidden; text-decoration: none; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__placeholder { color: #647079; font: 24px Georgia, serif; }
.card__title { grid-area: title; font: bold 21px/1.2 Georgia, serif; }
.card__title a { text-decoration: none; }
.card__title a:hover { text-decoration: underline; }
.card__tags, .game-hero__tags { color: var(--muted); font-size: 13px; display: flex; flex-wrap: wrap; align-items: center; }
.card__tags { grid-area: tags; }
.card__tags span + span::before, .badge + .badge::before { content: "·"; margin-inline: 7px; }
.card__text { grid-area: text; font-size: 14px; line-height: 1.45; }
.crumbs ol, .hotbar ol { list-style: none; display: flex; align-items: center; flex-wrap: wrap; padding: 0; }
.crumbs ol { color: var(--muted); font-size: 12px; gap: 5px; margin-bottom: 9px; }
.crumbs li + li::before { content: "/"; margin-right: 5px; color: #818887; }
.hotbar { margin-block: 18px; }
.hotbar ol { gap: 4px; }
.hotbar__slot { display: grid; place-items: center; min-width: 36px; height: 36px; padding: 0 6px; border: 1px solid var(--rule); text-decoration: none; }
.hotbar__slot.is-active { background: var(--mast); color: white; }
.hotbar__meta, .section__sub { font-size: 13px; color: var(--muted); }
.hotbar__meta { margin-top: 4px; }
.section, .section-block, .lore, .panel, .section__head { margin-top: 18px; }
.section__title, .panel__title, .lore__title { font-size: 20px; }
.lore__title, .panel__title { border-bottom: 1px solid var(--rule); padding-bottom: 5px; margin-bottom: 8px; }
.lore__title .icon, .panel__title .icon, .badge .icon, .loot__title .icon, .share summary .icon { display: none; }
.empty, .hero__lead, .game-hero { margin-top: 10px; }
.game-hero { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.game-hero__logo { max-width: 135px; max-height: 65px; object-fit: contain; margin-bottom: 8px; }
.game-hero__shot { width: 45%; max-width: 320px; flex: none; }
.game-hero__shot img { width: 100%; border: 1px solid var(--rule); }
figcaption { font-size: 12px; margin-top: 4px; color: var(--muted); }
figcaption .icon { margin-right: 5px; }
.game-hero__tags, .game-hero__actions { margin-top: 10px; }
.game-hero__actions { display: flex; flex-wrap: wrap; gap: 6px; }
.btn { display: inline-flex; align-items: center; gap: 5px; padding: 6px 10px; border: 1px solid #b8c1c2; color: var(--link); background: var(--pale); text-decoration: none; font-size: 14px; }
.prose p + p { margin-top: .85em; }
.sheet > div { display: grid; grid-template-columns: minmax(100px, 26%) 1fr; border-bottom: 1px solid var(--rule); }
.sheet dt, .sheet dd { padding: 6px 8px; font-size: 14px; }
.sheet dt { background: var(--pale); font-weight: bold; }
.video-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 12px; margin-top: 10px; }
.video__facade { display: block; position: relative; aspect-ratio: 16/9; background: #21292f; }
.video__facade img, .video__facade iframe { display: block; width: 100%; height: 100%; object-fit: cover; border: 0; }
.video__play { position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -50%); padding: 6px 12px; background: #202a32; color: white; }
.share { padding: 9px; border: 1px solid var(--rule); background: var(--pale); }
.share summary { font-weight: bold; }
.share__code { display: block; width: 100%; margin-block: 6px; resize: vertical; font: 13px/1.5 monospace; }
.loot__title { margin-block: 14px 5px; font-size: 17px; }
.loot__widget { width: min(100%, 450px); border: 0; }
.site-footer { border-top: 1px solid var(--rule); padding: 14px 20px; background: var(--pale); color: var(--muted); font-size: 13px; }
.footer-links, .editions { display: flex; flex-wrap: wrap; align-items: baseline; gap: 3px 14px; margin-bottom: 6px; }
.footer-links strong { color: var(--ink); font: bold 17px Georgia, serif; }
.site-footer p { font-size: 12px; }
.skin-slot { max-width: 100%; overflow: hidden; text-align: center; }
.skin-slot > div { margin: auto; }
.ad { margin: 8px auto; max-width: 100%; overflow: hidden; text-align: center; }
.ad__label { display: block; font-size: 10px; color: var(--muted); }
.ad:has([data-ad-status="unfilled"]) { display: none; }
.ad--sky { margin-top: 18px; }
@media (max-width: 959px) {
  .ad--end { display: none; }
}
@media (max-width: 740px) {
  .site-header__bar { flex-wrap: wrap; gap: 8px 12px; padding: 9px 15px; }
  .brand__mark { width: 32px; height: 32px; }
  .brand__name { font-size: 24px; }
  .header-link { margin-left: auto; }
  .search { flex: 1 0 100%; order: 1; max-width: none; }
  .search__input { font-size: 16px; }
  .directory-layout { display: block; padding: 12px 15px; }
  .sidebar { margin-bottom: 12px; }
  .sidebar .ad, .skin-slot { display: none; }
  .browse nav { display: grid; grid-template-columns: 1fr 1fr; }
  .browse a { padding-block: 9px; }
  .site-footer { padding-inline: 15px; }
}
@media (max-width: 520px) {
  .card { grid-template-columns: 110px minmax(0, 1fr); grid-template-areas: "media title" "media tags" "text text"; grid-template-rows: auto 1fr auto; column-gap: 10px; padding-block: 11px; }
  .card__title { font-size: 19px; }
  .card__text { margin-top: 3px; }
  .game-hero { display: block; }
  .game-hero__shot { width: 100%; max-width: none; margin-top: 10px; }
  .hotbar__slot { min-width: 29px; }
}
