/* tigerart.com.au — the bitGen Studio site (2.712.0). One stylesheet for every page.
 * The look follows the app itself: its carbon panels, bone text and the tiger orange the intro film draws its lines in.
 * The one loud thing is the type - Big Shoulders Display, condensed like film credits; everything else stays quiet.
 * Fonts: self-hosted (assets/fonts, SIL Open Font Licence - the OFL-*.txt files beside them); nothing loads from
 * another site. */
@font-face { font-family: "Big Shoulders Display"; font-weight: 500; font-display: swap; src: url("fonts/big-shoulders-display-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Big Shoulders Display"; font-weight: 800; font-display: swap; src: url("fonts/big-shoulders-display-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Atkinson Hyperlegible"; font-weight: 400; font-display: swap; src: url("fonts/atkinson-hyperlegible-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Atkinson Hyperlegible"; font-weight: 400; font-style: italic; font-display: swap; src: url("fonts/atkinson-hyperlegible-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Atkinson Hyperlegible"; font-weight: 700; font-display: swap; src: url("fonts/atkinson-hyperlegible-latin-700-normal.woff2") format("woff2"); }

:root {
  --carbon: #16120e;      /* the page */
  --kiln: #211b15;        /* panels, the header */
  --seam: #3a3128;        /* lines between things */
  --bone: #eee4d3;        /* text */
  --ash: #a3967f;         /* quieter text */
  --tiger: #f59e2c;       /* the accent: buttons, links, the drawn lines */
  --ember: #c4761a;       /* the accent pressed / its edges */
  --signal: #8fbf6f;      /* online, ready */
  --on-tiger: #1a1007;    /* text on the accent */
  --tiger-hi: #ffb34f;    /* the accent lit (hover) */
  --tiger-rgb: 245, 158, 44;
  --top-bg: rgba(22, 18, 14, .92);
  --hero-glow: #2a1f14;
  --display: "Big Shoulders Display", "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  --text: "Atkinson Hyperlegible", "Segoe UI", system-ui, sans-serif;
  --wrap: 1180px;
  --gut: clamp(16px, 4vw, 40px);
  color-scheme: dark;
}
/* 2.726.0 (Tim: "use this as one of the starting images and change the theme to match"): the Neural blue look - the
   colours of the bitGen brain picture, the same as the app's Neural blue theme. Picked in the footer (Colours), kept in
   this browser; the page is put in it before it paints (inc/header.php). Tiger orange stays the default. */
:root[data-look="neural"] {
  --carbon: #020a17; --kiln: #06132a; --seam: #1c3e62; --bone: #e4eefa; --ash: #87a2bf;
  --tiger: #52baff; --ember: #2b8fd6; --signal: #5fd3a0; --on-tiger: #021226; --tiger-hi: #8fd3ff;
  --tiger-rgb: 82, 186, 255; --top-bg: rgba(2, 10, 23, .92); --hero-glow: #0c2a4d;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--carbon); color: var(--bone); font: 400 1.0625rem/1.6 var(--text); }
img, video { display: block; max-width: 100%; height: auto; }
a { color: var(--tiger); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--tiger-hi); }
:focus-visible { outline: 2px solid var(--tiger); outline-offset: 3px; border-radius: 2px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--tiger); color: var(--on-tiger); padding: 8px 14px; font-weight: 700; z-index: 10; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }

/* ---- type ---- */
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: .95; letter-spacing: .005em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(3.2rem, 9vw, 7.6rem); }
h2 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); }
h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 800; }
p { margin: 0 0 1em; max-width: 64ch; }
.lede { font-size: clamp(1.15rem, 1.7vw, 1.35rem); line-height: 1.5; color: var(--bone); max-width: 52ch; }
.quiet { color: var(--ash); }
.small { font-size: .92rem; }

/* ---- header ---- */
.top { position: sticky; top: 0; z-index: 5; background: var(--top-bg); backdrop-filter: blur(8px); border-bottom: 1px solid var(--seam); }
.top .wrap { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--bone); text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 1.65rem; letter-spacing: .01em; }
.brand img { width: 34px; height: 34px; }
.brand:hover { color: var(--bone); }
/* 2.726.0 (Tim: "add a tigerart banner above the bitgen menubar?" - option 1): a quiet byline under the name, so the
   address (tigerart.com.au) and the product (bitGen Studio) read as one - no extra width, the header keeps its height */
.top .brand .bn { display: flex; flex-direction: column; line-height: 1; }
.top .brand .by { margin-top: 3px; font: 400 .72rem/1 var(--text); letter-spacing: .08em; color: var(--ash); }
.top .brand:hover .by { color: var(--tiger); }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--bone); text-decoration: none; padding: 8px 12px; border-radius: 6px; }
.nav a:hover { background: var(--kiln); color: var(--bone); }
.nav a[aria-current="page"] { color: var(--tiger); }
.nav .gh { border: 1px solid var(--seam); margin-left: 8px; display: inline-flex; align-items: center; gap: 7px; }
.nav .gh svg { width: 18px; height: 18px; fill: currentColor; }
.menu { display: none; margin-left: auto; background: none; color: var(--bone); border: 1px solid var(--seam); border-radius: 6px; padding: 7px 12px; font: inherit; }
@media (max-width: 860px) {
  .menu { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 64px; flex-direction: column; align-items: stretch; background: var(--kiln); border-bottom: 1px solid var(--seam); padding: 8px var(--gut) 14px; }
  .nav.open { display: flex; }
  .nav .gh { margin-left: 0; }
}

/* ---- buttons ---- */
.btn { display: inline-flex; align-items: center; gap: 10px; font: 700 1.05rem/1 var(--text); text-decoration: none; padding: 15px 22px; border-radius: 8px; border: 1px solid var(--tiger); }
.btn.go { background: var(--tiger); color: var(--on-tiger); }
.btn.go:hover { background: var(--tiger-hi); color: var(--on-tiger); }
.btn.alt { color: var(--bone); border-color: var(--seam); }
.btn.alt:hover { border-color: var(--ash); color: var(--bone); }
.btn svg { width: 20px; height: 20px; fill: currentColor; }
.acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---- the hero: the headline beside the intro film (the tiger drawing itself), never over it ---- */
.hero { padding: clamp(36px, 6vw, 84px) 0 clamp(30px, 4vw, 48px); border-bottom: 1px solid var(--seam);
  background: radial-gradient(ellipse 60% 70% at 72% 45%, var(--hero-glow) 0%, var(--carbon) 70%); }
.hero > .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(28px, 4vw, 60px); align-items: center; }
.hero .say { order: -1; }
.hero .film { border-radius: 12px; overflow: hidden; border: 1px solid var(--seam); background: #000; box-shadow: 0 30px 80px -30px rgba(var(--tiger-rgb), .28); }
.hero video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.hero h1 { max-width: 11ch; font-size: clamp(3.2rem, 6.4vw, 6.2rem); }
.hero .lede { margin-top: 18px; }
.beta { display: inline-block; margin-bottom: 16px; color: var(--carbon); background: var(--bone); font-weight: 700; font-size: .85rem; padding: 3px 9px; border-radius: 4px; }
@media (max-width: 900px) {
  .hero > .wrap { grid-template-columns: 1fr; }
  .hero .say { order: 0; }
}

/* ---- the big screenshot under the hero ---- */
.screen { margin: clamp(40px, 7vw, 90px) auto 0; }
.screen figure { margin: 0; }
.screen img { width: 100%; border: 1px solid var(--seam); border-radius: 10px; }
figcaption { color: var(--ash); font-size: .95rem; margin-top: 12px; }

/* ---- what it does: alternating rows, the picture as big as the words ---- */
.does { padding: clamp(56px, 9vw, 120px) 0 0; }
.does > .wrap > h2 { margin-bottom: clamp(30px, 5vw, 60px); max-width: 14ch; }
.row { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(24px, 4vw, 64px); align-items: center; padding: clamp(28px, 4vw, 48px) 0; border-top: 1px solid var(--seam); }
.row:nth-child(even) { grid-template-columns: 1.25fr 1fr; }
.row:nth-child(even) .pic { order: -1; }
.row h3 { margin-bottom: 14px; }
.row ul { margin: 0; padding-left: 1.1em; color: var(--ash); }
.row li { margin: 4px 0; }
.row .pic img { border-radius: 8px; border: 1px solid var(--seam); }
@media (max-width: 860px) { .row, .row:nth-child(even) { grid-template-columns: 1fr; } .row:nth-child(even) .pic { order: 0; } }

/* ---- the tiger line: one drawn stroke that separates the big blocks (the intro film's look) ---- */
.stroke { height: 2px; border: 0; margin: clamp(56px, 9vw, 110px) 0 0; background: linear-gradient(90deg, transparent, var(--tiger) 18%, var(--tiger) 82%, transparent); box-shadow: 0 0 12px rgba(var(--tiger-rgb), .55); opacity: .85; }

/* ---- yours: a plain definition list ---- */
.yours { padding: clamp(56px, 9vw, 110px) 0 0; }
.yours dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px 40px; margin: 36px 0 0; }
.yours dt { font-family: var(--display); font-weight: 800; font-size: 1.55rem; margin-bottom: 6px; color: var(--tiger); }
.yours dd { margin: 0; color: var(--ash); }

/* ---- the download block ---- */
.get { padding: clamp(56px, 9vw, 110px) 0; }
.get .grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 70px); align-items: start; }
@media (max-width: 860px) { .get .grid { grid-template-columns: 1fr; } }
table { border-collapse: collapse; width: 100%; font-size: .98rem; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--seam); }
th { font-weight: 700; color: var(--bone); white-space: nowrap; }
td { color: var(--ash); }
ol.steps { counter-reset: s; list-style: none; margin: 26px 0 0; padding: 0; }
ol.steps li { counter-increment: s; position: relative; padding: 0 0 22px 52px; }
ol.steps li::before { content: counter(s); position: absolute; left: 0; top: -4px; font: 800 2rem/1 var(--display); color: var(--tiger); }
ol.steps strong { display: block; color: var(--bone); }
code, kbd { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: .9em; background: var(--kiln); border: 1px solid var(--seam); border-radius: 4px; padding: 1px 5px; color: var(--bone); }

/* ---- page heads (the inner pages) ---- */
.head { padding: clamp(48px, 8vw, 96px) 0 clamp(28px, 4vw, 44px); border-bottom: 1px solid var(--seam); }
.head h1 { font-size: clamp(3rem, 7.5vw, 6rem); }
.head .lede { margin-top: 16px; }
.page { padding: clamp(36px, 6vw, 70px) 0 clamp(56px, 8vw, 100px); }
.page h2 { margin: 1.4em 0 .5em; }
.page h2:first-child { margin-top: 0; }

/* ---- features: a filter + every feature, grouped as the reference groups them ---- */
.filter { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin: 0 0 30px; }
.filter input { flex: 1 1 320px; font: inherit; color: var(--bone); background: var(--kiln); border: 1px solid var(--seam); border-radius: 8px; padding: 12px 14px; }
.filter input::placeholder { color: var(--ash); }
.toc { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0 0 40px; padding: 0; list-style: none; }
.sec { margin-top: 56px; }
.sec > h2 { margin: 0 0 6px; }
.sec > p { color: var(--ash); }
.grp h3 { font-size: 1.55rem; margin: 30px 0 10px; color: var(--tiger); }
.feat { display: grid; grid-template-columns: minmax(180px, 280px) 1fr; gap: 6px 26px; padding: 12px 0; border-top: 1px solid var(--seam); }
.feat b { color: var(--bone); }
.feat .d { color: var(--ash); }
.feat .w { font-size: .9rem; margin-top: 4px; }
.feat .v { color: var(--ember); }
@media (max-width: 700px) { .feat { grid-template-columns: 1fr; } }
.none { color: var(--ash); padding: 30px 0; }

/* ---- lists of links (the guide, credits) ---- */
.links { list-style: none; margin: 18px 0 0; padding: 0; }
.links li { padding: 12px 0; border-top: 1px solid var(--seam); display: flex; gap: 16px; flex-wrap: wrap; align-items: baseline; }
.links li > a { font-weight: 700; }
.links .quiet { font-size: .95rem; }
/* the download page: one installer per system, each a button with what to do with the file beside it */
.get.pickpage { padding: 0 var(--gut); }
.pick { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 14px; }
.pick li { display: grid; grid-template-columns: 13.5rem 1fr; gap: 6px 18px; align-items: center; }
.pick .btn { justify-content: flex-start; }
.pick .quiet { font-size: .95rem; }
@media (max-width: 560px) { .pick li { grid-template-columns: 1fr; } }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 0 48px; }
.credit h3 { font-size: 1.45rem; margin: 26px 0 8px; color: var(--tiger); }
.credit ul { margin: 0; padding-left: 1.1em; color: var(--ash); }
.credit li { margin: 3px 0; }

/* ---- the community count ---- */
.live { display: inline-flex; align-items: center; gap: 10px; color: var(--bone); font-weight: 700; }
.live::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 8px var(--signal); }
.live.off::before { background: var(--ash); box-shadow: none; }

/* ---- footer ---- */
.foot { border-top: 1px solid var(--seam); background: var(--kiln); padding: 44px 0 52px; color: var(--ash); font-size: .95rem; }
.foot .wrap { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; }
.foot nav a { display: block; color: var(--bone); text-decoration: none; padding: 3px 0; }
.foot nav a:hover { color: var(--tiger); }
.foot .brand { font-size: 1.4rem; margin-bottom: 10px; }
@media (max-width: 760px) { .foot .wrap { grid-template-columns: 1fr 1fr; } .foot .wrap > :first-child { grid-column: 1 / -1; } }

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }

/* ---- forms (account, discussions) ---- */
.note { border: 1px solid var(--seam); border-left: 3px solid var(--ash); background: var(--kiln); padding: 12px 16px; border-radius: 6px; margin: 0 0 20px; max-width: 80ch; }
.note.good { border-left-color: var(--signal); }
.note.bad { border-left-color: var(--tiger); }
.form { display: grid; gap: 14px; max-width: 560px; margin: 0 0 32px; }
.form.narrow { max-width: 440px; }
.form.wide { max-width: 760px; }
.form h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin: 0 0 4px; }
.form label { display: grid; gap: 6px; font-weight: 700; font-size: .95rem; }
.form input, .form textarea, .form select { font: inherit; font-weight: 400; color: var(--bone); background: var(--kiln); border: 1px solid var(--seam); border-radius: 6px; padding: 11px 12px; width: 100%; box-sizing: border-box; }
.form textarea { resize: vertical; line-height: 1.5; }
.form input:focus-visible, .form textarea:focus-visible, .form select:focus-visible, button:focus-visible, a:focus-visible { outline: 2px solid var(--tiger); outline-offset: 2px; }
.form .btn { justify-self: start; }
.form p { margin: 0; }
.form .code { font-size: 1.6rem; letter-spacing: .35em; max-width: 12ch; text-align: center; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.two { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(28px, 6vw, 80px); align-items: start; }
.two .form { margin: 0; }
button.btn { cursor: pointer; }
button.btn.alt { background: transparent; }
.inline { display: inline; margin: 0; }
.acts.tight { margin-top: 4px; }
.tag { display: inline-block; font-size: .78rem; font-weight: 700; padding: 1px 7px; border-radius: 4px; background: var(--seam); color: var(--bone); vertical-align: 1px; }
.trap { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.nav .acct { border: 1px solid var(--seam); }
@media (max-width: 760px) { .pair, .two { grid-template-columns: 1fr; } }

/* ---- the discussions: a list of rows, the posts as a column of text ---- */
.who-bar { margin-top: 18px; color: var(--ash); }
.crumb { color: var(--ash); margin: 0 0 14px; font-size: .95rem; }
.crumb a { color: var(--ash); }
.topic-title { font-size: clamp(2.4rem, 5.6vw, 4.4rem); max-width: 22ch; }
.forum-bar { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin: 0 0 18px; }
.cats { display: flex; flex-wrap: wrap; gap: 4px; }
.cats a { color: var(--bone); text-decoration: none; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--seam); font-size: .95rem; }
.cats a[aria-current="page"] { border-color: var(--tiger); color: var(--tiger); }
.topics { list-style: none; margin: 0; padding: 0; }
.topics li { border-top: 1px solid var(--seam); padding: 14px 0; display: grid; gap: 4px; }
.topics li:last-child { border-bottom: 1px solid var(--seam); }
.topics .t { font-family: var(--display); font-weight: 800; font-size: clamp(1.35rem, 2.2vw, 1.7rem); line-height: 1.1; color: var(--bone); text-decoration: none; }
.topics .t:hover { color: var(--tiger); }
.topics .meta { color: var(--ash); }
.topics .cat { color: var(--ember); }
.who { color: var(--bone); font-weight: 700; }
.who .quiet, .who.guest .quiet { font-weight: 400; }
.posts { list-style: none; margin: 0 0 32px; padding: 0; max-width: 78ch; }
.post { border-top: 1px solid var(--seam); padding: 18px 0; }
.post.waiting { border-left: 3px solid var(--tiger); padding-left: 14px; }
.post-head { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; margin-bottom: 8px; }
.post-head .real { color: var(--ember); }
.post-body p { margin: 0 0 .8em; max-width: none; overflow-wrap: anywhere; }
.post-acts { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; margin-top: 4px; }
.post-acts form { margin: 0; }
button.link { background: none; border: 0; padding: 0; font: inherit; font-size: .92rem; color: var(--ash); text-decoration: underline; text-underline-offset: .18em; cursor: pointer; }
button.link:hover, .post-acts a.link:hover { color: var(--tiger); }
.post-acts a.link { color: var(--ash); font-size: .92rem; }
.small-btn { padding: 9px 14px; font-size: .95rem; }
.pager { display: flex; gap: 18px; align-items: center; margin: 18px 0 28px; }
.empty { color: var(--ash); padding: 28px 0; border-top: 1px solid var(--seam); }
.form.reply { border-top: 1px solid var(--seam); padding-top: 22px; max-width: 78ch; }

/* ---- bug reports (2.714.0): the status as a tag, the bug's facts above its discussion, the admins' details ---- */
.tag.st-open { background: var(--tiger); color: var(--on-tiger); }
.tag.st-working { background: var(--ember); color: var(--on-tiger); }
.tag.st-fixed { background: var(--signal); color: #10170b; }
.tag.st-duplicate, .tag.st-notabug, .tag.st-wontfix { background: var(--seam); color: var(--ash); }
.bugbox { border: 1px solid var(--seam); border-radius: 8px; padding: 14px 16px; margin: 0 0 22px; max-width: 78ch; background: var(--kiln); }
.bugbox p { margin: 0 0 8px; max-width: none; }
.bugbox .row-inline { display: flex; gap: 10px; align-items: end; flex-wrap: wrap; margin: 8px 0; }
.bugbox .row-inline label { display: grid; gap: 4px; font-weight: 700; font-size: .9rem; }
.bugbox select { font: inherit; color: var(--bone); background: var(--carbon); border: 1px solid var(--seam); border-radius: 6px; padding: 8px 10px; }
details.adm { margin: 10px 0 0; border-top: 1px solid var(--seam); padding-top: 8px; }
details.adm summary { cursor: pointer; font-weight: 700; }
details.adm img { margin-top: 10px; border: 1px solid var(--seam); border-radius: 6px; }
details.adm h4 { font: 700 .95rem/1.3 var(--text); margin: 14px 0 6px; }
details.adm pre { font: .8rem/1.45 ui-monospace, "Cascadia Mono", Consolas, monospace; background: var(--carbon); border: 1px solid var(--seam); border-radius: 6px; padding: 10px; overflow: auto; max-height: 22rem; white-space: pre-wrap; overflow-wrap: anywhere; }
.topics .tline .tag { vertical-align: 3px; margin-left: 6px; }

/* ---- the language dropdown (in the top bar) ---- */
.vh { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.langf { margin: 0; display: inline-flex; }
.langf select { font: inherit; font-size: .95rem; color: var(--bone); background: var(--carbon); border: 1px solid var(--seam); border-radius: 6px; padding: 7px 8px; cursor: pointer; }
.langf select:hover { border-color: var(--ash); }
@media (max-width: 760px) { .nav .langf { margin: 6px 0; } }

/* the menu in any language stays one line per item (日本語 / 中文 are longer than English); a tighter menu between the
   phone menu and a wide window, the GitHub link as its icon alone */
.brand, .nav a, .langf select { white-space: nowrap; }
@media (min-width: 861px) and (max-width: 1220px) {
  .top .wrap { gap: 14px; }
  .nav { gap: 2px; }
  .nav a { padding: 8px 8px; }
  .nav .gh { margin-left: 4px; }
  .nav .gh .ght { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (min-width: 861px) and (max-width: 1040px) { .top .wrap { gap: 10px; } .brand { font-size: 1.35rem; } .nav a { padding: 8px 6px; font-size: .95rem; } }
@media (min-width: 861px) and (max-width: 940px) { .nav a { padding: 8px 4px; font-size: .9rem; } .langf select { padding: 6px 4px; font-size: .9rem; } }

/* ---- language packs (languages.php) ---- */
.btn.small { padding: 8px 12px; font-size: .92rem; gap: 6px; }
.btn.small svg { width: 16px; height: 16px; }
table.packs td { vertical-align: middle; }
table.packs td:last-child { text-align: right; }
ul.mine { padding-left: 1.2em; }
ul.mine li { margin: 4px 0; }
button.linkish { background: none; border: 0; color: var(--ash); cursor: pointer; font: inherit; padding: 0 4px; }
button.linkish:hover { color: var(--tiger); }
.waitpack p { margin: 0 0 8px; }
.modpack { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.modpack input[type=text] { flex: 1; min-width: 220px; font: inherit; color: var(--bone); background: var(--kiln); border: 1px solid var(--seam); border-radius: 6px; padding: 9px 10px; }
.modpack .btn { padding: 9px 14px; font-size: .95rem; }
@media (max-width: 700px) { table.packs th:nth-child(4), table.packs td:nth-child(4), table.packs th:nth-child(5), table.packs td:nth-child(5) { display: none; } }

/* ---- tutorials (tutorials.php) ---- */
.tut-toc { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 18px; }
.tut-toc a { font-weight: 700; }
.tut { padding: clamp(28px, 5vw, 56px) 0; border-bottom: 1px solid var(--seam); }
.tut:last-child { border-bottom: 0; }
.tut .lede-s { max-width: 72ch; color: var(--ash); margin: 0 0 22px; }
.film-tut { margin: 0 0 30px; max-width: 980px; }
.film-tut video { display: block; width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--seam); background: #000; }
.film-tut figcaption { margin-top: 6px; }
.tutorials ol.steps li { padding-bottom: 34px; max-width: 980px; }
figure.shot { margin: 14px 0 0; }
figure.shot img { display: block; max-width: 100%; height: auto; border-radius: 8px; border: 1px solid var(--seam); box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
table.where { margin: 12px 0 8px; max-width: 760px; }
table.where th { white-space: normal; }
@media (max-width: 600px) { .tutorials ol.steps li { padding-left: 40px; } }

/* 2.718.0 (+ Tutorials): a little less room per menu item on a wide window too, so the brand keeps its gap */
@media (min-width: 1221px) and (max-width: 1520px) { .top .wrap { gap: 18px; } .nav a { padding: 8px 9px; } }
/* 日本語's menu words are the longest: the folded menu up to 1140 px, a tighter one up to 1520 px (Tutorials made 7) */
@media (min-width: 861px) and (max-width: 1140px) {
  html[lang="ja"] .menu { display: block; }
  html[lang="ja"] .nav { display: none; position: absolute; left: 0; right: 0; top: 64px; flex-direction: column; align-items: stretch; background: var(--kiln); border-bottom: 1px solid var(--seam); padding: 8px var(--gut) 14px; gap: 4px; }
  html[lang="ja"] .nav.open { display: flex; }
  html[lang="ja"] .nav a { padding: 8px 12px; font-size: 1rem; }
  html[lang="ja"] .nav .gh { margin-left: 0; }
  html[lang="ja"] .nav .gh .ght { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
}
@media (min-width: 1141px) and (max-width: 1520px) {
  html[lang="ja"] .nav { gap: 0; }
  html[lang="ja"] .nav a { padding: 8px 6px; font-size: .95rem; }
  html[lang="ja"] .nav .gh { margin-left: 4px; }
  html[lang="ja"] .nav .gh .ght { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* 2.721.0: a pinned discussion; bitGen Studio's own (the team tag) */
.tag.pin { background: var(--tiger); color: var(--on-tiger); }
.tag.team { background: var(--signal); color: #10170b; font-weight: 700; }
.pinbar { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; }
.pinbar form { margin: 0; }


/* 2.724.0: the page for ComfyUI users - its list as wide as its paragraphs */
.page.comfy ul { max-width: 62ch; padding-left: 1.2em; }
.page.comfy li + li { margin-top: 6px; }

/* 2.724.0: the install guide (install.php) - one column of reading, the three systems side by side, commands in blocks */
.page.install section { max-width: 980px; padding-top: 8px; scroll-margin-top: 80px; }
.page.install section + section { margin-top: clamp(34px, 5vw, 56px); border-top: 1px solid var(--seam); padding-top: clamp(26px, 4vw, 40px); }
.page.install section > p, .page.install ul.ready { max-width: 72ch; }
.page.install h3 { font-size: 1.55rem; margin: 26px 0 8px; color: var(--tiger); }
.page.install table { margin: 10px 0 16px; }
.page.install table th { white-space: normal; width: 15rem; }
.page.install table.files th, .page.install table.files td { width: auto; }
.page.install table.files code { white-space: nowrap; }
.page.install .scroll { overflow-x: auto; }
.page.install ul.ready { padding-left: 1.2em; }
.page.install ul.ready li + li { margin-top: 6px; }
.page.install ol.steps li > table { margin-top: 10px; }
.page.install ol.steps td { font-size: .95rem; }
.os { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 34px; margin: 18px 0 8px; }
.os > div { border-top: 3px solid var(--tiger); padding-top: 4px; }
.os h3 { margin-top: 12px; }
.os ol { padding-left: 1.2em; margin: 0; color: var(--ash); }
.os ol li + li { margin-top: 8px; }
.os .later { margin-top: 14px; font-size: .95rem; color: var(--bone); }
.page.install code { overflow-wrap: anywhere; }
@media (max-width: 900px) { .os { grid-template-columns: 1fr; gap: 26px; } }
.page.install pre { background: var(--kiln); border: 1px solid var(--seam); border-radius: 8px; padding: 14px 16px; overflow-x: auto; margin: 12px 0 16px; max-width: 980px; }
.page.install pre code { overflow-wrap: normal; background: none; border: 0; padding: 0; font-size: .9rem; line-height: 1.6; }
.page.install pre .cm { color: var(--ash); }
@media (max-width: 600px) { .page.install table.req th, .page.install table.trouble th { width: 40%; } }
.page.install table.files td:nth-child(3) { white-space: nowrap; }
@media (max-width: 600px) { .page.install table.editions tr, .page.install table.editions th, .page.install table.editions td { display: block; width: auto; } .page.install table.editions th { border-bottom: 0; padding-bottom: 2px; } }

/* 2.726.0: the hero starts with one of two - the intro film or the bitGen brain picture (assets/site.js picks; the picture
   always in the Neural blue look); the footer's Colours switch */
.hero .film img.neural { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.hero .film.pic video { display: none; }
.looks { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; font-size: .95rem; color: var(--ash); }
.looks button { display: inline-flex; align-items: center; gap: 7px; font: inherit; color: var(--bone); background: transparent; border: 1px solid var(--seam); border-radius: 999px; padding: 4px 12px 4px 6px; cursor: pointer; }
.looks button[aria-pressed="true"] { border-color: var(--tiger); color: var(--tiger); }
.looks .sw { width: 14px; height: 14px; border-radius: 50%; display: inline-block; }
