/*
 * The manual's pages: colours, outlines, buttons and the Fredoka font of the game (public/css/main.css), and the page
 * parts of help/README.md. Made for reading: text of 17 px or more, lines of about 70 characters at most, tap targets of
 * 44 px. The side list stands left of the text from 960 px wide; below that it opens with "Menu", or stands at the
 * page's end without scripts.
 */

@font-face
{
	font-family: "Fredoka";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url("../../assets/fonts/fredoka_latin_500.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face
{
	font-family: "Fredoka";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url("../../assets/fonts/fredoka_latin_ext_500.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face
{
	font-family: "Fredoka";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("../../assets/fonts/fredoka_latin_700.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face
{
	font-family: "Fredoka";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("../../assets/fonts/fredoka_latin_ext_700.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Local fonts scaled to Fredoka's width and vertical metrics, so a late font swap moves no text. */
@font-face
{
	font-family: "Fredoka fallback";
	font-style: normal;
	font-weight: 500;
	src: local("Arial"), local("ArialMT"), local("Roboto"), local("Roboto-Regular"), local("Liberation Sans"), local("Helvetica Neue");
	size-adjust: 120%;
	ascent-override: 81%;
	descent-override: 20%;
	line-gap-override: 0%;
}

@font-face
{
	font-family: "Fredoka fallback";
	font-style: normal;
	font-weight: 700;
	src: local("Arial Bold"), local("Arial-BoldMT"), local("Roboto Bold"), local("Roboto-Bold"), local("Liberation Sans Bold"), local("Helvetica Neue Bold");
	size-adjust: 112%;
	ascent-override: 87%;
	descent-override: 21%;
	line-gap-override: 0%;
}

:root
{
	--plum: #3b2a4a;
	--plum_20: rgba(59, 42, 74, 0.2);
	--plum_75: rgba(59, 42, 74, 0.75);
	--cream: #fff6e6;
	--panel_edge: #e8d5b5;
	--white: #ffffff;
	--duck_yellow: #ffd648;
	--duck_yellow_hover: #ffe27a;
	--duck_light: #ffeb99;
	--pink_light: #ffd6e2;
	--sparkle: #fff3b0;
	--focus_ring: #2f6fb7;
	--font_family: "Fredoka", ui-rounded, "Fredoka fallback", "Arial Rounded MT Bold", system-ui, sans-serif;
	--safe_left: env(safe-area-inset-left, 0px);
	--safe_right: env(safe-area-inset-right, 0px);
	--safe_bottom: env(safe-area-inset-bottom, 0px);
}

*,
*::before,
*::after
{
	box-sizing: border-box;
}

html
{
	background-color: var(--cream);
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

body
{
	margin: 0;
	min-width: 320px;
	overflow-x: hidden;
	font-family: var(--font_family);
	font-weight: 500;
	font-size: 18px;
	line-height: 1.55;
	font-synthesis: none;
	color: var(--plum);
	background-color: var(--cream);
	background-image: radial-gradient(circle, rgba(232, 213, 181, 0.55) 0 4px, transparent 5px);
	background-size: 40px 40px;
	-webkit-font-smoothing: antialiased;
	-webkit-tap-highlight-color: transparent;
}

[hidden]
{
	display: none !important;
}

h1,
h2,
h3,
p
{
	margin: 0;
	font-weight: inherit;
}

h1,
h2,
h3
{
	text-wrap: balance;
}

img
{
	display: block;
	max-width: 100%;
}

a
{
	color: inherit;
	text-underline-offset: 0.2em;
}

a:focus-visible,
button:focus-visible,
input:focus-visible
{
	outline: 4px solid var(--focus_ring);
	outline-offset: 4px;
}

.visually_hidden
{
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.skip_link
{
	position: absolute;
	top: 8px;
	left: 8px;
	z-index: 10;
	padding: 10px 16px;
	font-weight: 700;
	background-color: var(--white);
	border: 3px solid var(--plum);
	border-radius: 999px;
	transform: translateY(-200%);
}

.skip_link:focus
{
	transform: none;
}

.section_inner
{
	width: 100%;
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 max(16px, var(--safe_right)) 0 max(16px, var(--safe_left));
}

/* Buttons, as in the game. */

.button
{
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 56px;
	margin: 0 0 5px;
	padding: 0 24px;
	color: var(--plum);
	background-color: var(--white);
	border: 3px solid var(--plum);
	border-radius: 999px;
	box-shadow: 0 5px 0 var(--plum);
	font-family: inherit;
	font-size: 20px;
	font-weight: 700;
	line-height: 24px;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: transform 70ms ease-out, box-shadow 70ms ease-out, background-color 150ms ease;
}

.button:active
{
	transform: translateY(5px);
	box-shadow: 0 0 0 var(--plum);
}

.button_primary
{
	background-color: var(--duck_yellow);
}

.button_icon
{
	flex: none;
	width: 28px;
	height: 28px;
}

@media (hover: hover) and (pointer: fine)
{
	.button:hover
	{
		background-color: #fffaf1;
	}

	.button_primary:hover
	{
		background-color: var(--duck_yellow_hover);
	}

	.help_nav_list a:hover,
	.help_hit:hover
	{
		background-color: var(--duck_light);
	}
}

/* Header: the wordmark, the manual's name, the languages, the menu button and the search field. */

.help_header
{
	position: relative;
	z-index: 2;
	background-color: var(--white);
	border-bottom: 3px solid var(--plum);
	box-shadow: 0 6px 0 var(--plum_20);
}

.help_header_inner
{
	position: relative;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	grid-template-areas: "brand brand languages" "menu search search";
	align-items: center;
	gap: 12px 10px;
	max-width: 1240px;
	margin: 0 auto;
	padding: 12px max(16px, var(--safe_right)) 16px max(16px, var(--safe_left));
}

.help_brand
{
	grid-area: brand;
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
	min-height: 44px;
	text-decoration: none;
}

.help_wordmark
{
	flex: none;
	width: auto;
	height: 24px;
}

.help_site_name
{
	min-width: 0;
	font-size: 18px;
	font-weight: 700;
	line-height: 21px;
}

.language_switch
{
	grid-area: languages;
	display: flex;
	gap: 3px;
	padding: 3px;
	background-color: var(--panel_edge);
	border: 3px solid var(--plum);
	border-radius: 999px;
}

.language_button
{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: 0 6px;
	font-size: 17px;
	font-weight: 700;
	line-height: 20px;
	text-decoration: none;
	border-radius: 999px;
}

.language_button[aria-current="true"]
{
	background-color: var(--duck_yellow);
	box-shadow: inset 0 0 0 3px var(--plum);
}

.language_button:focus-visible
{
	outline-offset: 2px;
}

.help_menu_button
{
	grid-area: menu;
	min-height: 48px;
	padding: 0 16px 0 12px;
	font-size: 17px;
	gap: 6px;
	box-shadow: 0 4px 0 var(--plum);
}

.help_menu_button .button_icon
{
	width: 26px;
	height: 26px;
}

.help_search
{
	grid-area: search;
	margin: 0 0 4px;
}

/* The search icon sits in the field; on a phone the hits take the header's width under it. */
.help_search_field
{
	position: relative;
}

.help_search_icon
{
	position: absolute;
	top: 24px;
	left: 12px;
	width: 26px;
	height: 26px;
	transform: translateY(-50%);
	pointer-events: none;
}

.help_search_input
{
	width: 100%;
	min-height: 48px;
	margin: 0;
	padding: 0 16px 0 46px;
	font-family: inherit;
	font-size: 17px;
	font-weight: 500;
	color: var(--plum);
	background-color: var(--cream);
	border: 3px solid var(--plum);
	border-radius: 999px;
	-webkit-appearance: none;
	appearance: none;
}

.help_search_input::placeholder
{
	color: rgba(59, 42, 74, 0.62);
	opacity: 1;
}

.help_search_input::-webkit-search-cancel-button
{
	-webkit-appearance: none;
	appearance: none;
}

.help_search_input:focus-visible
{
	outline-offset: 2px;
}

/* The hits under the search field. */

.help_hits
{
	position: absolute;
	top: calc(100% - 6px);
	left: max(16px, var(--safe_left));
	right: max(16px, var(--safe_right));
	z-index: 5;
	display: grid;
	gap: 2px;
	max-height: 70vh;
	overflow-y: auto;
	padding: 6px;
	background-color: var(--white);
	border: 3px solid var(--plum);
	border-radius: 20px;
	box-shadow: 0 6px 0 var(--plum_20);
}

.help_hit
{
	display: grid;
	gap: 2px;
	min-height: 44px;
	padding: 8px 12px 10px;
	text-decoration: none;
	border-radius: 14px;
}

.help_hit[aria-selected="true"]
{
	background-color: var(--duck_light);
	box-shadow: inset 0 0 0 3px var(--plum);
}

.help_hit_title
{
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
}

.help_hit_section
{
	font-size: 17px;
	line-height: 1.3;
	color: var(--plum_75);
}

.help_hit_sentence
{
	font-size: 17px;
	line-height: 1.4;
	overflow-wrap: anywhere;
}

.help_mark
{
	color: inherit;
	background-color: var(--sparkle);
	border-radius: 4px;
	box-shadow: 0 0 0 2px var(--sparkle);
}

.help_hit[aria-selected="true"] .help_mark
{
	background-color: var(--white);
	box-shadow: 0 0 0 2px var(--white);
}

.help_hits_message
{
	padding: 8px 12px;
	font-size: 17px;
}

/* Layout: the side list of the sections beside the page on a desktop, behind "Menu" on a phone. */

.help_layout
{
	display: flex;
	flex-direction: column;
	gap: 40px;
	max-width: 1240px;
	margin: 0 auto;
	padding: 20px max(16px, var(--safe_right)) 52px max(16px, var(--safe_left));
}

.help_nav
{
	padding: 14px 10px;
	background-color: var(--cream);
	border: 3px solid var(--plum);
	border-radius: 20px;
	box-shadow: 0 6px 0 var(--plum_20);
}

.has_menu .help_nav
{
	display: none;
}

.has_menu .help_layout.is_menu_open .help_nav
{
	display: block;
	order: -1;
}

.help_nav_heading
{
	margin: 2px 12px 8px;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--plum_75);
}

.help_nav_list,
.help_nav_pages
{
	display: flex;
	flex-direction: column;
	gap: 2px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.help_nav_list a
{
	display: flex;
	align-items: center;
	min-height: 44px;
	padding: 6px 12px;
	font-size: 17px;
	line-height: 23px;
	text-decoration: none;
	border-radius: 12px;
}

.help_nav_list > li.is_open > a
{
	font-weight: 700;
}

.help_nav_pages
{
	margin: 2px 0 6px 12px;
	padding-left: 10px;
	border-left: 3px solid var(--panel_edge);
}

.help_nav_pages a[aria-current="page"]
{
	font-weight: 700;
	background-color: var(--duck_yellow);
	box-shadow: inset 0 0 0 3px var(--plum);
}

/* The page. */

.help_article
{
	min-width: 0;
	max-width: 720px;
}

.help_article p,
.help_article li
{
	max-width: 30em;
	text-wrap: pretty;
}

.help_article > p,
.help_list,
.help_numbered,
.help_table_wrap,
.help_figure
{
	margin-top: 16px;
}

.help_path ol
{
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	margin: 0 0 4px;
	padding: 0;
	list-style: none;
	font-size: 17px;
	line-height: 24px;
	color: var(--plum_75);
}

.help_path li:not(:last-child)::after
{
	content: "›";
	margin: 0 8px;
	color: rgba(59, 42, 74, 0.45);
}

.help_path a
{
	display: inline-block;
	min-width: 44px;
	margin: 0 -4px;
	padding: 10px 4px;
}

.help_path span
{
	display: inline-block;
	padding: 10px 0;
}

.help_title
{
	margin: 0 0 18px;
	font-size: 34px;
	font-weight: 700;
	line-height: 1.15;
	overflow-wrap: anywhere;
}

.help_lead
{
	font-size: 19px;
}

.help_h2
{
	margin: 40px 0 12px;
	font-size: 26px;
	font-weight: 700;
	line-height: 1.2;
}

.help_h3
{
	margin: 28px 0 8px;
	font-size: 21px;
	font-weight: 700;
	line-height: 1.25;
}

.help_count
{
	margin-left: 8px;
	font-size: 18px;
	font-weight: 500;
	color: var(--plum_75);
	white-space: nowrap;
}

.help_names
{
	font-weight: 700;
	white-space: nowrap;
}

/* The box "In short". */

.help_short
{
	margin: 0 0 18px;
	padding: 14px 18px 18px;
	background-color: var(--white);
	border: 3px solid var(--plum);
	border-radius: 20px;
	box-shadow: 0 6px 0 var(--plum_20);
}

.help_short_label
{
	display: inline-block;
	margin: 0 0 10px;
	padding: 1px 14px;
	font-size: 17px;
	font-weight: 700;
	line-height: 26px;
	background-color: var(--duck_yellow);
	border: 3px solid var(--plum);
	border-radius: 999px;
}

.help_short p
{
	font-size: 19px;
	line-height: 1.5;
}

.help_short p + p
{
	margin-top: 10px;
}

/* Steps, each with a screen of the game. */

.help_steps
{
	display: grid;
	gap: 24px;
	margin: 26px 0 0;
	padding: 0;
	list-style: none;
}

.help_step
{
	display: grid;
	gap: 16px;
	padding: 18px 16px 20px;
	background-color: var(--white);
	border: 3px solid var(--plum);
	border-radius: 20px;
	box-shadow: 0 6px 0 var(--plum_20);
}

.help_step_title
{
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 0 0 8px;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.25;
}

.help_step_number
{
	display: grid;
	flex: none;
	place-items: center;
	width: 40px;
	height: 40px;
	margin-top: -5px;
	font-size: 20px;
	line-height: 1;
	background-color: var(--duck_yellow);
	border: 3px solid var(--plum);
	border-radius: 50%;
}

.help_step_text p + p,
.help_step_text p + ul,
.help_step_text ul + p
{
	margin-top: 8px;
}

/* A screen of the game in a phone's frame, in a step or on its own with its text. */

.help_screen,
.help_figure
{
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	margin-left: 0;
	margin-right: 0;
}

.help_screen
{
	justify-self: center;
	margin-top: 0;
	margin-bottom: 0;
}

.help_figure
{
	margin-bottom: 0;
	max-width: 30em;
}

.phone_frame
{
	--frame_width: 236px;
	position: relative;
	display: block;
	width: var(--frame_width);
	max-width: 100%;
	padding: 8px;
	background-color: var(--plum);
	border-radius: calc(var(--frame_width) * 0.16);
	box-shadow: 0 8px 0 var(--plum_20), 0 0 0 4px var(--cream), 0 0 0 7px var(--plum);
}

.help_screen_image
{
	display: block;
	width: 100%;
	height: auto;
	border-radius: 24px;
}

.help_screen_caption
{
	max-width: 100%;
	font-size: 17px;
	font-weight: 700;
	line-height: 22px;
	text-align: center;
}

/* Lists and the box "Good to know". */

.help_list
{
	display: grid;
	gap: 10px;
	padding: 0;
	list-style: none;
}

.help_list > li
{
	position: relative;
	padding-left: 28px;
}

.help_list > li::before
{
	content: "";
	position: absolute;
	top: 0.5em;
	left: 2px;
	width: 13px;
	height: 13px;
	background-color: var(--duck_yellow);
	border: 2.5px solid var(--plum);
	border-radius: 50%;
}

.help_numbered
{
	display: grid;
	gap: 10px;
	padding-left: 28px;
}

.help_numbered > li::marker
{
	font-weight: 700;
}

.help_note
{
	margin: 36px 0 0;
	padding: 16px 18px 20px;
	background-color: var(--sparkle);
	border: 3px solid var(--plum);
	border-radius: 20px;
	box-shadow: 0 6px 0 var(--plum_20);
}

.help_note_heading
{
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 12px;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.2;
}

.help_note_icon
{
	flex: none;
	width: 32px;
	height: 32px;
}

.help_note .help_list
{
	margin-top: 0;
}

.help_note .help_list > li::before
{
	background-color: var(--white);
}

.help_note p + p,
.help_note p + .help_list,
.help_note .help_list + p
{
	margin-top: 10px;
}

/* Tables: narrow columns that fit a phone; the box keeps a table inside the page. */

.help_table_wrap
{
	max-width: 100%;
	overflow-x: auto;
}

.help_table
{
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	font-size: 17px;
	line-height: 1.35;
	background-color: var(--white);
	border: 3px solid var(--plum);
	border-radius: 18px;
	overflow: hidden;
}

.help_table caption
{
	padding: 0 0 8px;
	font-weight: 700;
	text-align: left;
}

.help_table th,
.help_table td
{
	padding: 9px 10px;
	text-align: left;
	vertical-align: top;
	overflow-wrap: break-word;
}

.help_table th
{
	font-weight: 700;
	background-color: var(--duck_light);
	border-bottom: 3px solid var(--plum);
}

.help_table tbody tr + tr td
{
	border-top: 2px solid var(--panel_edge);
}

/* Cards: an entry with a drawing, a name with a tag, and lines, as in the lists of all ducklings and outfits. */

.help_cards
{
	display: grid;
	gap: 10px;
	margin: 14px 0 0;
	padding: 0;
	list-style: none;
}

.help_card
{
	display: grid;
	grid-template-columns: 68px minmax(0, 1fr);
	align-items: center;
	gap: 12px;
	padding: 8px 14px 8px 8px;
	background-color: var(--white);
	border: 3px solid var(--plum);
	border-radius: 18px;
}

.help_card_picture
{
	width: 68px;
	height: 68px;
	object-fit: contain;
}

.help_cards_tall .help_card
{
	grid-template-columns: 76px minmax(0, 1fr);
}

.help_cards_tall .help_card_picture
{
	width: 76px;
	height: 100px;
}

.help_cards_wide .help_card
{
	grid-template-columns: minmax(0, 1fr);
	align-items: start;
	gap: 8px;
	padding: 12px 14px;
}

.help_cards_wide .help_card_picture
{
	width: auto;
	max-width: 100%;
	height: 76px;
	object-fit: contain;
	object-position: left center;
}

.help_card_name
{
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 2px 10px;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.3;
}

.help_tag
{
	padding: 0 10px;
	font-size: 17px;
	font-weight: 700;
	line-height: 24px;
	white-space: nowrap;
	border: 2px solid var(--plum);
	border-radius: 999px;
}

.help_tag_common
{
	background-color: var(--cream);
}

.help_tag_uncommon
{
	background-color: #dff5e6;
}

.help_tag_rare
{
	background-color: #dceefa;
}

.help_tag_legendary
{
	background-color: var(--pink_light);
}

.help_tag_special
{
	background-color: var(--sparkle);
}

.help_tag_tower
{
	background-color: #e1f6f2;
}

.help_tag_season
{
	background-color: #ffe6cc;
}

.help_article .help_card_line
{
	margin-top: 2px;
	line-height: 1.4;
}

/* Related pages, and the pages of a section on a start page. */

.help_related
{
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.help_related a
{
	display: grid;
	grid-template-columns: minmax(0, 1fr) 28px;
	align-items: center;
	gap: 10px;
	min-height: 60px;
	padding: 10px 14px 10px 18px;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
	text-decoration: none;
	background-color: var(--white);
	border: 3px solid var(--plum);
	border-radius: 18px;
	box-shadow: 0 4px 0 var(--plum_20);
}

.help_related_icon
{
	width: 28px;
	height: 28px;
}

/* The start page: the hits of an address with ?q= and the sections. */

.help_results
{
	margin-top: 8px;
}

.help_result_list
{
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.help_result
{
	display: grid;
	gap: 4px;
	padding: 12px 16px 14px;
	background-color: var(--white);
	border: 3px solid var(--plum);
	border-radius: 18px;
}

.help_result_link
{
	font-size: 20px;
	font-weight: 700;
	line-height: 1.3;
}

.help_result_section
{
	font-size: 17px;
	color: var(--plum_75);
}

.help_result_sentence
{
	overflow-wrap: anywhere;
}

/* The manual's root: the three languages. */

.help_languages
{
	display: grid;
	gap: 14px;
	margin: 24px 0 0;
	padding: 0;
	list-style: none;
}

.help_languages a
{
	display: grid;
	gap: 2px;
	min-height: 72px;
	padding: 12px 18px 14px;
	text-decoration: none;
	background-color: var(--white);
	border: 3px solid var(--plum);
	border-radius: 20px;
	box-shadow: 0 6px 0 var(--plum_20);
}

.help_language_name
{
	font-size: 24px;
	font-weight: 700;
	line-height: 1.2;
}

.help_language_line
{
	font-size: 18px;
}

/* Foot line. */

.help_footer
{
	padding: 22px 0 calc(var(--safe_bottom) + 26px);
	color: var(--cream);
	background-color: var(--plum);
}

.footer_layout
{
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 20px;
}

.help_footer_name
{
	font-size: 17px;
	font-weight: 700;
}

.help_footer .button
{
	min-height: 52px;
}

.help_footer a:focus-visible
{
	outline-color: var(--duck_yellow);
}

/* The narrowest phones: the manual's name under the wordmark, and "Menu" as its icon. */

@media (max-width: 379px)
{
	.help_brand
	{
		flex-direction: column;
		align-items: flex-start;
		gap: 2px;
	}

	.help_wordmark
	{
		height: 22px;
	}

	.help_site_name
	{
		font-size: 17px;
		line-height: 20px;
	}

	.help_menu_button
	{
		padding: 0 9px;
	}

	.help_menu_button span
	{
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
		white-space: nowrap;
	}

	.help_title
	{
		font-size: 30px;
	}

	.help_table th,
	.help_table td
	{
		padding: 8px;
	}
}

/* A desktop: the header in one row, the side list at the left, each step's screen beside its text. */

@media (min-width: 960px)
{
	.help_header_inner
	{
		grid-template-columns: auto minmax(0, 560px) auto;
		grid-template-areas: "brand search languages";
		justify-content: space-between;
		gap: 24px;
		padding: 14px 24px;
	}

	.help_wordmark
	{
		height: 32px;
	}

	.help_site_name
	{
		font-size: 21px;
		line-height: 24px;
		white-space: nowrap;
	}

	.help_menu_button
	{
		display: none;
	}

	.help_search
	{
		position: relative;
		margin: 0;
	}

	.help_hits
	{
		top: calc(100% + 10px);
		left: 0;
		right: 0;
	}

	.help_layout
	{
		display: grid;
		grid-template-columns: 268px minmax(0, 1fr);
		align-items: start;
		gap: 48px;
		padding: 30px 24px 64px;
	}

	.help_layout_single
	{
		grid-template-columns: minmax(0, 720px);
		justify-content: center;
	}

	.help_nav,
	.has_menu .help_nav
	{
		position: sticky;
		top: 20px;
		display: block;
		grid-column: 1;
		grid-row: 1;
		max-height: calc(100vh - 40px);
		overflow-y: auto;
	}

	.help_article
	{
		grid-column: 2;
		grid-row: 1;
	}

	.help_layout_single .help_article
	{
		grid-column: 1;
	}

	.help_title
	{
		font-size: 42px;
	}

	.help_step
	{
		grid-template-columns: minmax(0, 1fr) 236px;
		align-items: start;
		gap: 28px;
		padding: 22px 24px 24px;
	}

	.help_related
	{
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.help_cards
	{
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.footer_layout
	{
		padding: 0 24px;
	}
}

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

	.button:active
	{
		transform: none;
	}
}
