/* style.css: the web's first search pages, on purpose. Arial at 13px, blue underlined links that turn purple once
   visited, green addresses, a pale blue results bar, grey buttons, white page. Only the wordmark is in colour. */
:root { --link: #0000cc; --seen: #551a8b; --green: #008000; --bar: #e5ecf9; --rule: #3366cc; --grey: #676767; --page: #fff; --ink: #000; --soft: #f0f0f0; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; padding: 8px 16px 24px; font: 13px/1.35 Arial, Helvetica, sans-serif; color: var(--ink); background: var(--page); }
a { color: var(--link); } a:visited { color: var(--seen); }
h1, h2, h3 { font-family: Arial, Helvetica, sans-serif; }
input, select, textarea, button { font: inherit; }
input[type=text], input[type=search], input[type=url], input[type=email], textarea, select { border: 1px solid #7f9db9; padding: 3px 4px; background: #fff; color: #000; }
button, .btn { font-size: 13px; padding: 3px 8px; border: 1px solid #a5a5a5; border-radius: 0; background: linear-gradient(#fdfdfd, #e3e3e3); color: #000; cursor: pointer; }
button:active, .btn:active { background: linear-gradient(#ddd, #f6f6f6); }

/* the wordmark */
.logo { font-family: Georgia, 'Times New Roman', Times, serif; font-weight: bold; letter-spacing: -0.02em; line-height: 1; white-space: nowrap; user-select: none; }
.logo a { text-decoration: none; }
.logo span { text-shadow: 1px 1px 0 rgba(0, 0, 0, .28), 2px 2px 0 rgba(0, 0, 0, .14), 3px 4px 4px rgba(0, 0, 0, .3); }
.logo.big { font-size: clamp(34px, 9vw, 78px); }
.logo.small { font-size: 28px; }
.tm { font: 11px Arial, sans-serif; color: var(--grey); vertical-align: top; margin-left: 2px; }

/* the front page */
.home { text-align: center; padding-top: clamp(30px, 10vh, 110px); }
.home .tagline { color: var(--grey); margin: 12px 0 22px; }
.tabs { margin: 0 0 6px; font-size: 13px; }
.tabs a, .tabs b { margin: 0 8px; white-space: nowrap; }
.home form { max-width: 520px; margin: 0 auto; }
.home .q { width: 100%; font-size: 17px; padding: 4px 6px; }
.home .buttons { margin: 12px 0 6px; } .home .buttons button { margin: 0 3px; }
.side { font-size: 11px; text-align: left; position: absolute; left: 100%; top: 0; margin-left: 10px; white-space: nowrap; line-height: 1.5; }
.boxwrap { position: relative; }
.foot { color: var(--grey); font-size: 11px; text-align: center; margin-top: 40px; line-height: 1.8; }
.foot a { color: var(--link); }
.foot .copy { color: var(--grey); }
@media (max-width: 760px) { .side { position: static; margin: 10px 0 0; text-align: center; white-space: normal; } .side br { display: none; } .side a { margin: 0 6px; } }

/* the results page */
.top { display: flex; align-items: flex-start; gap: 14px; flex-wrap: wrap; padding: 6px 0 4px; }
.top form { flex: 1 1 360px; min-width: 0; }
.top .q { width: min(100%, 440px); font-size: 15px; }
.top .tabs { margin: 4px 0 6px; } .top .tabs a:first-child, .top .tabs b:first-child { margin-left: 0; }
.bar { background: var(--bar); border-top: 1px solid var(--rule); padding: 3px 6px; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin: 6px -16px 0; padding-left: 16px; padding-right: 16px; }
.bar .what { font-weight: bold; font-size: 15px; }
.did { margin: 14px 0 0; font-size: 15px; } .did .lead { color: #c00; }
.results { max-width: 640px; margin: 10px 0 0; }
.g { margin: 0 0 17px; }
.g .t { font-size: 16px; } .g .t a { text-decoration: underline; }
.g .s { margin: 1px 0 0; }
.g .u { color: var(--green); }
.g .more { color: #77c; } .g .more a { color: #77c; }
.g .cat { color: var(--grey); font-size: 12px; }
.badge { display: inline-block; font: bold 10px Arial, sans-serif; color: #fff; background: #12928a; padding: 1px 4px; border-radius: 2px; vertical-align: 2px; margin-left: 4px; }
.none { font-size: 15px; margin-top: 18px; } .none ul { font-size: 13px; }
.pager { text-align: center; margin: 26px 0 0; }
.pager table { margin: 0 auto; border-collapse: collapse; }
.pager td { text-align: center; padding: 0; vertical-align: top; }
.pager .logo { font-size: 30px; }
.pager td a, .pager td b { display: block; font-family: Arial, Helvetica, sans-serif; font-weight: normal; font-size: 13px; padding-top: 2px; }
.pager td b { font-weight: bold; }
.pager .arrow { font-weight: bold !important; font-size: 13px; padding: 0 6px; }
.again { background: var(--bar); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); text-align: center; padding: 14px 8px; margin: 24px -16px 0; }
.again .q { width: min(90%, 380px); }
.related { margin: 14px 0 0; font-size: 15px; }

/* the directory */
.dir { columns: 2 280px; column-gap: 40px; max-width: 760px; margin: 10px 0 0; }
.dir section { break-inside: avoid; margin: 0 0 16px; }
.dir h2 { font-size: 16px; margin: 0 0 4px; }
.dir a { font-weight: bold; font-size: 15px; } .dir .n { color: var(--grey); font-size: 12px; }
.dir .eg { font-size: 12px; color: var(--grey); }
.crumbs { font-size: 15px; margin: 14px 0 8px; } .crumbs b { font-size: 15px; }

/* forms (add a game, report one) and the plain pages */
.plain { max-width: 640px; }
.plain h1 { font-size: 20px; margin: 18px 0 8px; }
.plain h2 { font-size: 15px; margin: 18px 0 4px; }
.plain p, .plain li { line-height: 1.5; }
form.card { border: 1px solid #c3d9ff; background: #f5f8ff; padding: 12px 14px; margin: 12px 0; }
form.card label { display: block; margin: 0 0 10px; font-weight: bold; }
form.card label small { font-weight: normal; color: var(--grey); }
form.card input[type=text], form.card input[type=url], form.card input[type=email], form.card textarea, form.card select { display: block; width: 100%; margin-top: 3px; font-weight: normal; }
form.card .check { font-weight: normal; }
form.card .check input { margin-right: 6px; }
.trap { position: absolute; left: -5000px; }
.msg { padding: 8px 10px; margin: 12px 0; border: 1px solid; } .msg.ok { background: #e6f4e6; border-color: #7bc47b; } .msg.bad { background: #fde8e8; border-color: #e08b8b; }

/* admin */
table.list { border-collapse: collapse; width: 100%; margin: 6px 0 18px; font-size: 12px; }
table.list th, table.list td { border: 1px solid #c3d9ff; padding: 4px 6px; text-align: left; vertical-align: top; }
table.list th { background: var(--bar); }
