/* The quick start guide's look: yellow halftone paper, black-edged panels, a pink verb on each, speech bubbles for the words.
   The dark theme (the button in the top row) is the same drawing on dark paper with yellow stickers and pink shadows. */
body.storyboard { --bg: #ffd23f; --dot: #e6b800; --ink: #111111; --paper: #ffffff; --bubble: #f4f4f4; --sticker: #111111; --on-sticker: #ffd23f; --chip: #111111; --on-chip: #ffffff; --shadow: #111111; --link: #111111; }
html[data-theme="dark"] body.storyboard { --bg: #14130b; --dot: #23210f; --ink: #f4efe0; --paper: #1e1d12; --bubble: #2a2918; --sticker: #ffd23f; --on-sticker: #111111; --chip: #ffd23f; --on-chip: #111111; --shadow: #ff3d6e; --link: #ffd23f; }
html[data-theme="dark"] { color-scheme: dark; }
body.storyboard { background: var(--bg); color: var(--ink); background-image: radial-gradient(var(--dot) 1.2px, transparent 1.4px); background-size: 9px 9px; }
.storyboard a { color: var(--link); }
.storyboard .kicker { display: inline-block; background: var(--sticker); color: var(--on-sticker); padding: 5px 9px; margin-bottom: 14px; }
.storyboard h1 { font: 900 clamp(34px, 10vw, 46px)/.92 Archivo; font-stretch: 125%; text-transform: uppercase; margin: 0 0 12px; transform: rotate(-1.5deg); }
.part { margin: 46px 0 8px; } .part span { display: inline-block; background: var(--sticker); color: var(--on-sticker); font: 800 13px Archivo; letter-spacing: .16em; text-transform: uppercase; padding: 7px 12px; }
.panel { position: relative; background: var(--paper); border: 4px solid var(--ink); box-shadow: 7px 7px 0 var(--shadow); margin: 38px 7px 0 0; padding: 30px 14px 14px; }
.panel.p1 { transform: rotate(.4deg); } .panel.p2 { transform: rotate(-.4deg); }
.verb { position: absolute; top: -17px; left: 12px; background: #ff3d6e; color: #fff; font: 900 20px/1 Archivo; font-stretch: 125%; text-transform: uppercase; padding: 6px 12px; border: 4px solid var(--ink); transform: rotate(-2deg); max-width: calc(100% - 24px); }
.pics { display: grid; gap: 10px; } .pics.n2, .pics.n3 { grid-template-columns: 1fr 1fr; }
.scr { margin: 0; border: 3px solid var(--ink); background: #000; }
.keys { display: grid; gap: 7px; margin-top: 12px; }
.combo { display: flex; gap: 7px; flex-wrap: wrap; align-items: center; }
.combo .c { background: var(--chip); color: var(--on-chip); font: 800 12px Archivo; padding: 8px 11px; border-radius: 7px; text-transform: uppercase; box-shadow: 3px 3px 0 #ff3d6e; }
.combo .o { font: 900 20px Archivo; }
.bubble { position: relative; margin: 18px 0 0; border: 3px solid var(--ink); border-radius: 16px; padding: 10px 14px; font: 600 14px/1.4 Archivo; background: var(--bubble); }
.bubble .ln { display: block; } .bubble .ln.h { margin-top: 10px; font-weight: 900; font-stretch: 110%; } .bubble .ln.h:first-child { margin-top: 0; }
.bubble .ln.it { position: relative; margin-top: 3px; padding-left: 15px; } .bubble .ln.it:before { content: ""; position: absolute; left: 3px; top: .62em; width: 6px; height: 6px; background: var(--ink); }
.bubble .ln.it b { font-weight: 800; }
@media (max-width: 560px) { .panel { padding-top: 56px; } }
.bubble:before { content: ""; position: absolute; top: -11px; left: 30px; width: 16px; height: 16px; background: var(--bubble); border-left: 3px solid var(--ink); border-top: 3px solid var(--ink); transform: rotate(45deg); }
.storyboard footer { border-color: var(--ink); }
.storyboard .logo .ink, .storyboard .logo .pad { fill: var(--ink); }
.theme-btn { display: none; background: var(--paper); color: var(--ink); border: 3px solid var(--ink); padding: 5px 9px; border-radius: 6px; box-shadow: 3px 3px 0 var(--shadow); cursor: pointer; }
.js .theme-btn { display: inline-flex; align-items: center; }
.theme-btn .sun, html[data-theme="dark"] .theme-btn .moon { display: none; }
html[data-theme="dark"] .theme-btn .sun { display: block; }
@media print {
  body.storyboard { -webkit-print-color-adjust: exact; print-color-adjust: exact; font-size: 14px; }
  .cookie, .top nav { display: none !important; }
  .panel { break-inside: avoid; margin-top: 30px; padding-top: 24px; transform: none !important; }
  .part { break-after: avoid; }
  .panel { padding-top: 14px; } .verb { position: relative; top: 0; left: -4px; display: inline-block; margin-bottom: 12px; }
  .pics.n1 .scr { max-width: 300px; }
  .scr img { image-rendering: auto; }
}
/* A wide screen: the panels sit in columns (two, and three on a very wide screen) instead of one narrow strip. The phone layout above is unchanged. */
@media (min-width: 900px) {
  .top, main { max-width: 1280px; }
  .top { padding: 22px 28px 0; } .top .mark { width: 208px; }
  main { padding: 0 28px 80px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 44px; align-items: start; }
  main > .intro, main > .part, main > footer, main > .guides, main > .more { grid-column: 1 / -1; }
  .intro { padding-top: 34px; } .intro .lead { max-width: 70ch; font-size: 17px; }
  .storyboard h1 { font-size: clamp(44px, 5vw, 72px); margin-bottom: 30px; }
  .part { margin: 36px 0 0; }
  .panel { margin: 26px 7px 0 0; height: calc(100% - 26px); }
  .cap, .bubble { font-size: 15px; }
}
@media (min-width: 1400px) { main { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media print { main { display: block; max-width: none; } .panel { height: auto; } }
/* The page of all guides, and the list of other guides at the foot of a guide. */
.guides { display: grid; gap: 34px; margin-top: 30px; }
.guide { position: relative; display: flex; flex-direction: column; gap: 12px; background: var(--paper); border: 4px solid var(--ink); box-shadow: 7px 7px 0 var(--shadow); margin-right: 7px; padding: 30px 14px 14px; text-decoration: none; color: var(--ink); }
.guide:hover, .guide:focus-visible { transform: translate(-2px, -2px); box-shadow: 9px 9px 0 var(--shadow); }
.guide .bubble { margin: 8px 0 0; } .guide .count { align-self: flex-start; background: var(--sticker); color: var(--on-sticker); font: 800 12px Archivo; letter-spacing: .12em; text-transform: uppercase; padding: 5px 9px; }
.more { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; } .more a { display: inline-block; background: var(--chip); color: var(--on-chip); font: 800 13px Archivo; text-transform: uppercase; padding: 9px 13px; border-radius: 7px; text-decoration: none; box-shadow: 3px 3px 0 #ff3d6e; }
@media (min-width: 700px) { .guides { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 44px; } }
@media (min-width: 1400px) { .guides { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media print { .guides { display: block; } .guide { break-inside: avoid; margin-bottom: 24px; } }
/* the Donate menu in the top row */
.storyboard details.donate { position: relative; }
.storyboard details.donate > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; background: #ff3d6e; color: #111; padding: 8px 14px; border: 3px solid var(--ink); border-radius: 6px; box-shadow: 3px 3px 0 var(--shadow); font: 800 13px Archivo; letter-spacing: .07em; text-transform: uppercase; }
.storyboard details.donate > summary::-webkit-details-marker { display: none; }
.storyboard .donate-menu { position: absolute; right: 0; top: calc(100% + 10px); z-index: 30; min-width: 200px; background: var(--paper); border: 4px solid var(--ink); box-shadow: 7px 7px 0 var(--shadow); padding: 8px; display: grid; gap: 6px; }
.storyboard .donate-menu a { display: block; padding: 8px 12px; border: 3px solid var(--ink); border-radius: 6px; color: var(--ink); text-decoration: none; font: 700 13px Archivo; letter-spacing: .04em; text-transform: uppercase; }
.storyboard .donate-menu a:hover { background: #ff3d6e; color: #111; }
@media print { details.donate { display: none; } }
/* the top row: the same buttons as on the home page (white, black-edged, a hard shadow) */
.storyboard .top nav { gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.storyboard .top nav > a, .storyboard .theme-btn { display: inline-flex; align-items: center; gap: 7px; background: var(--paper); color: var(--ink); padding: 8px 14px; border: 3px solid var(--ink); border-radius: 6px; box-shadow: 3px 3px 0 var(--shadow); font: 700 13px Archivo; letter-spacing: .07em; text-transform: uppercase; }
.storyboard .theme-btn { padding: 6px 10px; }
.storyboard .top nav > a:hover { background: var(--bubble); }
@media (max-width: 560px) {
  .storyboard .top { flex-wrap: wrap; justify-content: flex-start; gap: 8px; } .storyboard .top .mark { order: 0; margin-right: auto; width: 118px; }
  .storyboard .top nav { display: contents; }
  .js .storyboard .theme-btn { order: 1; } .storyboard details.donate { order: 2; } .storyboard .top nav .ig { order: 3; } .storyboard .top nav > a:not(.ig):not(.mail) { order: 5; }
  .storyboard .top nav > a, .storyboard .top nav details.donate > summary, .js .storyboard .theme-btn { height: 42px; }
  .js .storyboard .theme-btn { width: 42px; } .storyboard .top nav details.donate > summary { padding: 0 11px; gap: 6px; }
  .storyboard .top nav .ig { width: 42px; padding: 0; justify-content: center; } .storyboard .top nav .ig span { display: none; }
  .storyboard .donate-menu { right: 0; left: auto; }
}
/* every button of the top row is the same size, as on the home page */
.storyboard .top nav > a, .storyboard .top nav details.donate > summary, .js.storyboard .theme-btn, .js .storyboard .theme-btn { box-sizing: border-box; height: 46px; padding: 0 16px; display: inline-flex; align-items: center; gap: 7px; line-height: 1; }
.js .storyboard .theme-btn { width: 46px; padding: 0; justify-content: center; }
/* the contact button: a mail icon */
.storyboard .top nav .mail { width: 46px; padding: 0; justify-content: center; }
@media (max-width: 560px) {
  .storyboard .top nav .mail { order: 2; width: 42px; } .storyboard .top nav details.donate { order: 3; } .storyboard .top nav .ig { order: 4; } .storyboard .top nav > a:not(.ig):not(.mail) { order: 5; }
}
@media (max-width: 440px) { .storyboard details.donate > summary span { display: none; } .storyboard .top nav details.donate > summary { width: 42px; padding: 0; justify-content: center; } .storyboard .top .mark { width: 104px; } }
@media (max-width: 620px) { .storyboard .top { padding: 16px 16px 0; } }
/* a phone: Home and Manual are icons */
.ico { display: none; }
@media (max-width: 560px) {
  .storyboard .top nav .ico { display: block; } .storyboard .top nav .lbl { display: none; }
  .storyboard .top nav > a.has-ico { width: 42px; padding: 0; justify-content: center; }
  .storyboard .top nav details.donate > summary span { display: none; } .storyboard .top nav details.donate > summary { width: 42px; padding: 0; justify-content: center; }
}
/* a phone: the page links (Home, Manual) always start a new line under the buttons */
.break { display: none; }
@media (max-width: 560px) {
  .storyboard .top nav .break { display: block; order: 5; flex: 0 0 100%; height: 0; }
  .storyboard .top nav > a:not(.ig):not(.mail) { order: 6; }
}
/* a phone: as on the main page, Manual is the word (the icon stays for Home, and on a very narrow phone), and the page links have room under them */
@media (min-width: 371px) and (max-width: 560px) {
  .storyboard .top nav > a.has-ico[href="/manual/"] { width: auto; padding: 0 12px; }
  .storyboard .top nav a[href="/manual/"] .ico { display: none; } .storyboard .top nav a[href="/manual/"] .lbl { display: inline; }
}
@media (max-width: 560px) {
  .storyboard .top { padding-bottom: 22px; gap: 8px; }
  .storyboard .top nav > a:not(.ig):not(.mail) { padding: 0 12px; font-size: 12px; letter-spacing: .05em; }
  .storyboard .top nav .break { margin: 0; }
}
