/* --- Light Theme --- */
:root {
	--text: #343434;
	--text-loss: #909090;
	--faq-link-color: #e64100;
	--faq-link-hover-color:#ff4800;
	--faq-link-visited-color:#b0532e;
	--bg: #f2f2f2;
	--bg-alt: #ffffff;
	--shadow-1:#ffffff;
	--shadow-2:#00000026;
	--border: #d9dee7;
	--schedule-border: #d9dee7;
	--divider: #e5e5e5;
	--tooltip-bg:	var(--bg-alt);
	--tooltip-border: var(--border);
	--tooltip-shadow: 0 6px 14px rgba(0,0,0,.15);
	--cell-win: #e64100;
	--cell-loss: #bebebe;
	--cell-tie: #4d6592;
	--cell-blocked: #0b162a;
	--cell-new: #2d91ff;
	--box-link-color: #1e52af;
	--box-link-visited-color: #1e52af;
	--switch: #a1aab6;
	--navy: #0b162a;
	--slider:#cbcbcb;
}
/* --- Dark Theme --- */
:root[data-theme="dark"] {
	--text: #f2f2f2;
	--text-loss: #909090;
	--faq-link-color: #e64100;
	--faq-link-hover-color:#ff4800;
	--faq-link-visited-color:#b0532e;
	--bg: #1e1f20;
	--bg-alt: #343434;
	--shadow-1:#242424;
	--shadow-2:#00000082;
	--border: #343434;
	--schedule-border: #5f5f5f;
	--divider: #30384c;
	--tooltip-bg: #111827;
	--tooltip-border: #2a3145;
	--tooltip-shadow: 0 10px 24px rgba(0,0,0,.5);
	--cell-win: #e64100;
	--cell-loss: #bebebe;
	--cell-tie: #4d6592;
	--cell-blocked: #0b162a;
	--cell-new: #2d91ff;
	--box-link-color: #7fb3ff;
	--box-link-visited-color: #c7a6ff;
	--switch: #a1aab6;
	--navy: #f2f2f2;
	--slider:#545454;
}
body {
	background: var(--bg);
	color: var(--text);
	margin: 0;
	padding: 0;
}
.bearigami-wrap {
	--labelW: 20px;
	--labelH: 20px;
	overflow-x: auto;
	overflow-y: hidden;
	display: grid;
	grid-template-columns: 12px 1fr var(--labelW);
	grid-template-rows: var(--labelH) 1fr;
	align-items: start;
	scrollbar-width: thin;
}
.bearigami-shell {
	display: flex;
	align-items: flex-start;
	gap: 4px;
}
.bearigami-scroll {
	flex: 1 1 auto;
	min-width: 0;
	overflow-x: auto;
	overflow-y: visible;
}
#bearigami {
	width: 100%;
	font-family: "dinosaur", sans-serif;
	font-weight: 500;
	font-style: normal;
	text-align: center;
	padding-top: 15px;
}
.title {
	position: relative;
	width: 90%;
	max-width: 1150px;
	margin: 20px auto;
	display: flex;
	gap: 10px;
	justify-content: center;
	align-items: center;
}
#bearigami h1 {
  height: 77px;
  margin: 0;
  font-family: "ff-nexus-typewriter", sans-serif;
  font-size: 48px;
  font-weight: 700;
  font-style: normal;
}
.bearhead {
  position: relative;
  z-index: 1;
  width: 115px;
  height: 112px;
  overflow: hidden;
  background-image: url("https://static.clubs.nfl.com/image/upload/v1788286630/bears/flmmljuehlwh7zhsx7rc.svg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.bearhead::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 120px;
  height: 117px;
  margin: -1px 0 0 -3px;
  background: url("https://static.clubs.nfl.com/image/upload/v1788286634/bears/x7kvebkjswso1nefuoh3.svg")
    center / cover no-repeat;
  opacity: 0;
  pointer-events: none;
  transition: opacity .75s ease;
}
.bearhead.is-flipped::after {
  opacity: 1;
}
.bearhead.is-flipped:hover::after,
.bearhead.is-flipped:focus-visible::after,
#bearigami:has(h1:hover) .bearhead.is-flipped::after {
  opacity: 0;
}
#bearigami header {
	position: relative;
}
.darkmode-toggle {
	position: absolute;
	top: 18px;
	right: 5%;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: 1px solid var(--divider);
	background: rgba(255, 255, 255, 0.75);
	color: var(--switch);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0px -6px 10px rgba(255, 255, 255, 1), 0px 4px 15px rgba(0, 0, 0, 0.15);
	transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.1s ease;
	z-index: 10;
}
.darkmode-toggle:hover {
	box-shadow: 0px -5px 10px rgba(255, 255, 255, 1), 0px 5px 16px rgba(0, 0, 0, 0.2);
}
.darkmode-toggle:active {
	transform: scale(0.97);
}
.darkmode-toggle .icon-sun, .darkmode-toggle .icon-moon {
	position: absolute;
	font-size: 16px;
	line-height: 1;
	transition: opacity 0.35s ease, transform 0.35s ease;
}
.darkmode-toggle .icon-sun {
	opacity: 1;
	transform: translateY(0) scale(1);
}
.darkmode-toggle .icon-moon {
	opacity: 0;
	transform: translateY(12px) scale(0.7);
}
.darkmode-toggle.is-dark {
	background: linear-gradient(330deg, #0b162a 0%, #364561 50%, #4d6592 100%);
	color: #fff;
	border-color: #4b5563;
	box-shadow: 0px -4px 8px rgba(52, 52, 52, 0.9), 0px 4px 14px rgba(0, 0, 0, 0.6);
}
.darkmode-toggle.is-dark .icon-sun {
	opacity: 0;
	transform: translateY(12px) scale(0.7);
}
.darkmode-toggle.is-dark .icon-moon {
	opacity: 1;
	transform: translateY(0) scale(1);
}
#year-reset {
	font-size: 12px;
	padding: 4px 8px;
	cursor: pointer;
}
.bearigami-scroll-shell {
	--yAxisW: 16px;
	--labelH: 20px;
	position: relative;
	width: 90%;
	max-width: 1150px;
	margin: 0 auto;
	display: flex;
	align-items: flex-start;
}
.bearigami-scroll-container {
	flex: 1 1 auto;
	min-width: 0;
	overflow-x: auto;
	overflow-y: visible;
}
.x-axis {
	grid-row: 1;
	grid-column: 1;
	display: grid;
	grid-auto-flow: column;
	grid-template-columns: repeat(var(--cols, 51), var(--cell));
	--cell: 20px;
	gap: 0;
	height: var(--labelH);
	line-height: var(--labelH);
}
.x-axis .tick {
	font-size: 14px;
	font-family: "dinosaur", serif;
	font-weight: 400;
	font-style: normal;
	color: var(--text);
	text-align: center;
}
.y-axis {
	width: var(--yAxisW);
	margin-top: var(--labelH);
	display: grid;
	grid-template-rows: repeat(var(--rows, 51), var(--cell));
	--cell: 20px;
	grid-column: 3;
	grid-row: 2;
	gap: var(--gap);
	padding-top: 0px;
}
.y-axis .tick {
	font-size: 14px;
	font-family: "dinosaur", serif;
	font-weight: 400;
	font-style: normal;
	color: var(--text);
	line-height: var(--cell);
	padding-left: 4px;
	text-align: left;
}
.bearigami-grid {
	grid-row: 2;
	grid-column: 1;
	--cell: 20px;
	--gap: 0px;
	display: inline-grid;
	grid-template-columns: repeat(var(--cols, 51), var(--cell));
	grid-auto-rows: var(--cell);
	gap: var(--gap);
	user-select: none;
}
.bearigami-cell {
	box-sizing: border-box;
	border: .5px solid var(--border);
	border-radius: 0;
	background: rgba(0,0,0,0);
}
.bearigami-cell.blocked {
	background: #0b162a !important;
	border-color: #0b162a;
	pointer-events: none;
}
.bearigami-cell.hl-focus {
	background-color: #f38e55 !important;
}
.bearigami-cell.hl-row:not(.blocked), .bearigami-cell.hl-col:not(.blocked) {
	outline: 1px solid rgba(0,0,0,.12);
	box-shadow: inset 0 0 0 9999px rgba(0,0,0,.05);
}
[data-theme="dark"] .bearigami-cell.hl-row:not(.blocked), .bearigami-cell.hl-col:not(.blocked) {
	outline: 1px solid rgba(148,148,148,.12);
	box-shadow: inset 0 0 0 9999px rgba(148,148,148,.1);
}
.bearigami-cell[data-clickable="true"]:hover {
	cursor: pointer;
}
.scroll-fade {
	position: absolute;
	top: 0;
	bottom: 0;
	width: 32px;
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.2s ease;
}
.scroll-fade-left {
	left: 0;
	background: linear-gradient(
	to right,
	rgba(0, 0, 0, 0.3),
	rgba(0, 0, 0, 0)
	);
}
.scroll-fade-right {
	right: var(--yAxisW);
	background: linear-gradient(
	to left,
	rgba(0, 0, 0, 0.3),
	rgba(0, 0, 0, 0)
	);
}
#bearigami-meta {
	font-size: 17px;
	margin-bottom: 30px;
	font-family: "dinosaur", serif;
	font-weight: 400;
}
.meta-label {
	color: var(--text);
}
.meta-games {
	color: var(--navy);
	font-weight: 700;
}
.meta-wins {
	color: var(--cell-win);
	font-weight: 700;
}
.meta-losses {
	color: var(--text-loss);
	font-weight: 700;
}
.meta-ties {
	color: #4d6592;
	font-weight: 700;
}
.meta-unique {
	color: var(--navy);
	font-weight: 700;
}
.bearigami-legend {
	display: flex;
	width: 90%;
	max-width: 1150px;
	margin: 0 auto;
	justify-content: space-between;
	color: var(--text);
	padding: 15px 0;
}
.legend-one, .legend-two {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: center;
	gap: 15px;
}
.legend-one {
	padding-left: 5px;
}
.legend-two {
	padding-right: 20px;
}
.legend-color {
	display: flex;
	align-items: center;
	gap: 5px;
}
.legend-box-win, .legend-box-loss, .legend-box-tie, .legend-box-imp, .legend-box-new {
	height: 20px;
	width: 20px;
}
.legend-box-win {
	background: var(--cell-win);
}
.legend-box-loss {
	background: var(--cell-loss);
}
.legend-box-tie {
	background: var(--cell-tie);
}
.legend-box-imp {
	background: var(--cell-blocked);
}
.legend-box-new {
	background: var(--cell-new);
}
.bearigami-cell.latest-bearigami {
	background: var(--cell-new);
}
.legend-label {
	margin-top: -1px !important;
}
.switches {
	display: flex;
	justify-content: center;
	flex-direction: row;
	gap: 50px;
}
.switch-btn {
	display: flex;
	gap: 10px;
	justify-self: center;
	align-items: center;
}
.switch-row {
	display: flex;
	align-items: center;
	gap: 10px;
}
.switch-btn input {
	display: none;
}
.switch {
	width: 55px
}
.switch-label {
	font-size: 17px;
	margin-top: -3px;
}
.switch label {
	display: flex;
	align-items: center;
	width: 100%;
	min-width: 55px;
	height: 28px;
	box-shadow: 0px -6px 10px var(--shadow-1), 0px 4px 15px var(--shadow-2);
	background: rgba(255, 255, 255, 0);
	position: relative;
	cursor: pointer;
	border-radius: 25px;
	border: .1px solid var(--divider);
}
[data-theme="dark"] .switch label {
  box-shadow: 0px -2px 8px #343434e6, 0px 4px 14px #00000099;
}
.switch label::after {
	content: "";
	position: absolute;
	left: 5px;
	width: 21px;
	height: 21px;
	border-radius: 50%;
	background: var(--switch);
	transform: translateX(0) scaleX(1);
	box-shadow: 0 2px 5px rgba(0,0,0,0.25);
	transition:
	transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1),
	background 0.3s ease,
	box-shadow 0.3s ease;
}
.switch label::before {
	content: '';
	width: 100%;
	height: 100%;
	border-radius: inherit;
	background: linear-gradient(330deg, #0b162a 0%, #364561 50%, #4d6592 100%);
	opacity: 0;
	transition: opacity 0.4s ease;
}
.switch-btn input:checked ~ label::before {
	opacity: 1;
}
.switch-btn input:checked ~ label::after {
	transform: translateX(24px) scaleX(1.02);
	background: #e4ebf5;
	box-shadow: 0 3px 6px rgba(0,0,0,0.35);
}
.switch label:active::after {
	transform: translateX(0) scaleX(1.15);
}
.switch-btn input:checked ~ label:active::after {
	transform: translateX(23px) scaleX(1.15);
}
.switch-btn input:not(:checked) ~ label:active::after {
	transform: translateX(0) scaleX(1.15);
}
.year-slider-wrapper {
	position: relative;
	width: 70%;
	max-width: 950px;
	margin: 20px auto;
}
#year-slider {
	width: 100%;
	-webkit-appearance: none;
	appearance: none;
	background: var(--slider);
	height: 8px;
	border-radius: 999px;
	outline: none;
	margin: 8px 0 8px -20px;
	position: relative;
	padding: 0 19px;
	cursor: pointer;
	touch-action: pan-y;
}
#year-slider::-webkit-slider-runnable-track, #year-slider::-moz-range-track {
	height: 8px;
	background: var(--slider);
	border-radius: 999px;
}
#year-slider::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: transparent;
	border: none;
	box-shadow: none;
	margin-top: -12px;
}
#year-slider::-moz-range-thumb {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: transparent;
	border: none;
	box-shadow: none;
}
#year-display.year-display {
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	padding: 2px 10px 4px 10px;
	border-radius: 999px;
	background: var(--navy);
	color: var(--bg-alt);
	font-size: 12px;
	font-weight: 600;
	white-space: nowrap;
	pointer-events: none;
}
.bearigami-cell.new-this-year {
	box-shadow: inset 0 0 0 15px var(--cell-new);
}
.meta-new {
	color: var(--cell-new);
	font-weight: 600;
	margin-left: 4px;
}
:root[data-theme="dark"] .bearigami-cell:not(.blocked):not([data-clickable]):not(.hl-focus) {
  background: #2b2b2b !important;
}
select {
	padding: 0 0px 2px 10px;
	box-shadow: 0px -6px 10px var(--shadow-1), 0px 4px 15px var(--shadow-2);
	background:  var(--bg-alt);
	cursor: pointer;
	border: .1px solid var(--divider);
	border-radius: 15px;
	font-size: 15px;
	margin-top: -3px;
	font-family: "dinosaur", sans-serif;
	font-weight: 500;
	font-style: normal;
	text-align: left;
	color: var(--text);
}
[data-theme="dark"] select {
  box-shadow: 0px -2px 8px #343434e6, 0px 4px 14px #00000099;
}
select.dropdown{
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	width: 115px;
	height: 29px;
	z-index: 3;
	position: relative;
}
select:focus-visible {
	outline: none;
	border: 1px solid #cbcbcb;
}
label.wrap {
	position: relative;
	display: inline-block;
}
label.wrap::before {
	content: "";
	position: absolute;
	z-index: 4;
	top: 0px;
	right: -4px;
	bottom: 2px;
	width: 35px;
	border-radius: 0 15px 15px 0;
	background: linear-gradient(
	  to right,
	  rgba(255, 255, 255, 0),
	  rgba(255, 255, 255, 1) 35%,
	  #fff 100%
	 );
	pointer-events: none;
}
label.wrap:after {
	content: "\f078 ";
	font-family: FontAwesome;
	color: var(--navy);
	margin: 0 0 0 -24px;
	font-size: 13px;
	z-index: 5;
	position: relative;
	display: none;
	pointer-events: none;
}
label.wrap.showing:after {
	display: inline;
}
label.wrap.showing {
	margin: 2px -14px 0 -5px;
}
label.wrap.showing:after {
	display: inline;
}
label.wrap,
label.wrap select {
	cursor: pointer;
}
[data-theme="dark"] label.wrap::before {
	background: linear-gradient(
		to right,
		rgba(30, 30, 30, 0),
		rgba(30, 30, 30, 0.95) 70%,
		#1e1e1e 100%
	);
}
#bearigami-tip a.box-link {
	color: var(--box-link-color);
}
#bearigami-tip a.box-link:visited {
	color: var(--box-link-visited-color);
}
#bearigami-tip {
	position: absolute;
	z-index: 9999;
	pointer-events: none;
	background: var(--tooltip-bg, #fff);
	border: 1px solid var(--tooltip-border, rgba(0,0,0,.2));
	box-shadow: var(--tooltip-shadow, 0 6px 14px rgba(0,0,0,.15));
	border-radius: 6px;
	padding: 8px 10px;
	font: 13px/1.35 "dinosaur", sans-serif;
	display: none;
	max-width: 420px;
	color: var(--text);
	box-sizing: border-box;
}
#bearigami-tip.sticky {
	pointer-events: auto;
}
html.no-scroll, body.no-scroll {
	overflow: hidden;
	height: 100%;
}
body.no-scroll {
	position: fixed;
	width: 100%;
}
.tooltip-multi-list {
	max-height: 150px;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
	margin: 0 0 6px 0;
	border-left: 1px solid var(--text);
	border-right: 1px solid var(--text);
	border-bottom: 1px solid var(--text);
	background: linear-gradient(to top, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0));
	background-size: 100% 30px;
	background-position: bottom;
	background-repeat: no-repeat;
	padding: 5px 0;
}
.game-date {
		font-weight: 500;
	}
.schedule, .faq {
	position: relative;
	width: 90%;
	max-width: 1150px;
	background: var(--bg-alt);
	margin: 40px auto;
	display: flex;
	align-items: center;
	flex-direction: column;
	padding: 40px 0 65px 0;
}
#bearigami h2 {
	width: 100%;
	font-family: "ff-nexus-typewriter", sans-serif;
	font-weight: 700;
	font-style: normal;
	font-size:40px;
	margin: 0 0 40px 0;
}
.schedule-container {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 50px 30px;
	flex-wrap: wrap;
	width: 95%;
	justify-content: center;
}
.schedule-game {
	width: 255px;
	padding: 20px 0 30px;
	border: .1px solid var(--schedule-border);
	border-radius: 12px;
	background: var(--bg-alt);
	box-shadow: 0 2px 6px rgba(0,0,0,0.06);
	min-height: 215px;
	align-content: center;
}
:root[data-theme="dark"] .schedule-game {
  border: .5px solid var(--schedule-border);
}
.schedule-game.spacer {
	border: none !important;
	background: transparent;
	box-shadow: none;
}
.schedule-game.yes {
	box-shadow: inset 0 0 0 2px var(--cell-new);
}
.schedule-week {
	font-weight: 600;
	padding-bottom: 10px;
	font-size: 16px;
}
.schedule-opp {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
}
.schedule-opp img {
	width: 25%;
}
.home-away {
	font-size: 14px;
	font-weight: 600;
}
.schedule-date {
}
.schedule-location {
	font-size: 14px;
	padding-bottom: 10px;
}
.schedule-btn {
	background: #e64100;
	color: #fff;
	font-weight: 500;
	border: 1px solid #bb4b1f57;
	padding: 10px 25px 12px;
	text-decoration: none;
	border-radius: 25px;
	display: inline-block;
	margin-top: 5px;
	text-align: center;
	transition: all 0.3s ease-in-out;
	box-shadow: 1px 1px 3px #00000033;
}
.schedule-btn:hover{
 background: #ff4800;
	transition: all 0.3s ease-in-out;
}
.schedule-btn:active{
	transform: scale(1.015);
	transition: all 0.1s ease-in-out;
}
.ended {
	color: var(--box-link-color);
	background: none;
	border: none;
	text-decoration: underline;
	display: inline;
	transform: none;
	box-shadow: none;
	padding: 0;
}
.ended:hover {
	background: none;
}
.schedule-result {
}
.schedule-result span {
	font-weight: 600;
}
.schedule-result.win span {
	color: var(--cell-win);
}
.schedule-result.loss span {
	color: var(--text-loss);
}
.schedule-result.tie span {
	color: var(--cell-tie);
}
.schedule-bearigami span {
	font-weight: 600;
}
.schedule-bearigami.yes span {
	color: var(--cell-new);
}
.faq h2 {
	margin: 0 0 10px 0;
}
.faq-container {
	width: 65%;
	text-align: left;
}
.faq p {
	font-size: 17px;
	margin: 0;
}
.question {
}
.question h3 {
	font-size: 24px;
	margin: 35px 0px 10px 0;
}
.faq a {
	color: var(--faq-link-color);
	transition: all 0.2s ease-in-out;
}
.faq a:hover {
	transition: all 0.2s ease-in-out;
	color: var(--faq-link-hover-color);
}
.faq a:visited {
	color: var(--faq-link-visited-color);
}
#heatmap-legend {
	margin-top: 4px;
	font-size: 11px;
	width: 90%;
	max-width: 930px;
	margin: 25px auto 0;
}
.heatmap-legend-inner {
	display: flex;
	align-items: center;
	gap: 8px;
}
.heatmap-bar {
	flex: 1;
	height: 14px;
	border-radius: 3px;
	background: linear-gradient(to right, #0f1b33, #243c6b, #3f6fb4, #8297ad, #c6ae9d, #cd8f69, #ec8649, #e64100);
}
.heatmap-min, .heatmap-max {
	font-weight: 600;
}
/* --- Start Footer --- */
.cookie-btn {
	color: #cbcbcb !important;
	text-decoration: none !important;
	text-transform: uppercase !important;
	line-height: 35px !important;
	font-family: "dinosaur", sans-serif !important;
	font-weight: 400 !important;
	font-style: normal !important;
	border: none !important;
	font-size: 15px !important;
	padding: 0 !important;
	transition: all 0.2s ease-in-out !important;
	background: none !important;
	cursor: pointer !important;
}
.cookie-btn:hover {
	color: #fff !important;
	transition: all 0.2s ease-in-out !important;
}
#onetrust-consent-sdk {
	font-family: "dinosaur", sans-serif !important;
}
#onetrust-policy-text {
	font-size:12px !important;
}
#onetrust-banner-sdk #onetrust-policy {
	margin:.75em 0 .75em 2em !important;
}
#section-footer {
	background: #0b162a;
	color: white;
	z-index:20;
	position: relative;
}
.footer-logo{
	max-width: 400px;
	background: url(https://static.clubs.nfl.com/image/upload/v1711643110/bears/chxwd4v1swgph4aceqik.png) no-repeat center center;
	text-align: center;
	background-size: 275px;
	min-height: 100px;
	width: 100%;
	margin: 0 auto -10px auto;
	padding: 80px 0 0 0;
}
.footer-links{
	margin: 0 auto;
	text-align: center;
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: space-between;
	align-items: center;
	max-width: 1300px;
}
.footer-links a {
	color: #cbcbcb;
	text-decoration: none;
	text-transform: uppercase;
	line-height: 35px;
	font-family: "dinosaur", sans-serif;
	font-weight: 400;
	font-style: normal;
	font-size: 15px;
	transition: all 0.2s ease-in-out;
}
.footer-links a:hover {
	color: #fff;
	transition: all 0.2s ease-in-out;
}
.first-footer-container{
	padding-bottom: 50px;
}
.second-footer-container{
	background: #343434;
	color: #cbcbcb;
	font-family: "dinosaur", sans-serif;
	font-weight: 300;
	font-style: normal;
	font-size: 14px;
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: space-between;
}
.second-footer-container .footer-left p{
	display: inline-block;
	padding: 20px 25px;
	margin: 0;
}
.second-footer-container .footer-right p{
	display: inline-block;
	padding: 20px 25px;
	margin: 0;
}
.social-btns {
	margin: 0 auto;
	text-align: center;
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: space-around;
	align-items: center;
	max-width: 350px;
	padding: 50px 0 0 0;
}
.social-btns img {
	height: 35px;
	padding: 0;
	transition: all 0.2s ease-in-out;
}
.social-btns img:hover {
	filter: brightness(2);
	transition: all 0.2s ease-in-out;
}
.footer-left {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: center;
}
.footer-right {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: center;
}
.footer-right a {
	line-height: 0;
}
.footer-right img{
	height: 30px;
	padding: 0 15px 0 0;
}
/* --- Start Mobile Style --- */
@media screen and (max-width: 1070px) {
	.footer-links a {
		padding: 0 10px;
		line-height: 20px;
	}
}
@media screen and (max-width: 960px) {
	.switches {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 10px;
		width: 92%;
		max-width: 420px;
		margin: 0 auto;
	}
	.switch-btn {
		display: contents;
	}
	.switch-row {
		display: flex;
		flex-direction: row-reverse;
		justify-content: space-between;
		align-items: center;
		gap: 10px;
		box-sizing: border-box;
		width: 100%;
		border: 1px solid var(--divider);
		border-radius: 16px;
		padding: 8px 14px;
		background: var(--bg-alt);
	}
	.switches .switch-btn:nth-child(1) .switch-row { order: 1; }
	.switches .switch-btn:nth-child(3) .switch-row { order: 2; }
	.switches .switch-btn:nth-child(1) label.wrap { order: 3; }
	.switches .switch-btn:nth-child(2) .switch-row { order: 4; }
	.switches .switch-btn:nth-child(4) .switch-row { order: 5; }
	.switches .switch-btn:nth-child(5) .switch-row {
		order: 6;
		grid-column: 1 / -1;
	}
	.switches .switch-btn:nth-child(5) label.wrap { order: 7; }
	.switches .switch-btn:nth-child(1) .switch-label,
	.switches .switch-btn:nth-child(5) .switch-label {
		display: inline-block !important;
	}
	.switches label.wrap {
		grid-column: 1 / -1;
		display: block;
		width: 100%;
		max-height: 0;
		overflow: hidden;
		margin: 0;
		transition: max-height 0.2s ease;
	}
	.switches label.wrap.showing {
		max-height: 52px;
		margin: 2px 0 0;
		background: transparent;
	}
	.switches label.wrap::before,
	.switches label.wrap::after {
		content: none;
		display: none;
	}
	.switches label.wrap select.dropdown {
		-webkit-appearance: none;
		-moz-appearance: none;
		appearance: none;
		display: block;
		width: 100%;
		height: 42px;
		border-radius: 12px;
		margin: 0;
		z-index: auto;
	}
	select {
		box-shadow: none;
		background-image: url("https://static.clubs.nfl.com/image/upload/v1788797694/bears/ege96a5snvpupruzttnh.svg");
	  background-size: 18px;
	  background-repeat: no-repeat;
	  background-position: calc(100% - 8px) center;
	}
}
@media screen and (max-width: 900px) {
	.darkmode-toggle {
		top: 0px;
		right: 20px;
	}
	.bearigami-scroll-shell, .schedule, .faq {
		width: 95%;
	}
	.year-slider-wrapper {
		width: 85%;
	}
	.faq-container {
		width: 80%;
	}
	#bearigami-tip .tip-body {
		font-size: 16px;
		line-height: 1.45;
	}
	#bearigami-tip .tip-body .game-main, #bearigami-tip .tip-body .game-date {
		font-size: 15px;
	}
	#bearigami-tip .tip-body strong {
		font-size: 16px;
	}
}
@media screen and (max-width: 840px) {
	.footer-links {
		flex-direction: column;
	}
	.footer-links a {
		padding: 10px;
	}
	.second-footer-container {
		flex-direction: column;
		align-items: center;
	}
	.second-footer-container .footer-left p {
		padding: 20px 15px 10px 15px;
		text-align: center;
	}
	.second-footer-container .footer-right p {
		padding: 20px 15px 20px 15px;
	}
}
@media screen and (max-width: 800px) {
	.bearigami-legend {
		flex-direction: column;
		gap: 20px;
	}
	.legend-one, .legend-two {
		padding: 0;
	}
}
@media screen and (max-width: 699px) {
	.schedule-container {
		gap: 30px 20px;
	}
}
@media screen and (max-width: 625px) {
	.schedule-game {
		width: 225px;
	}
}
@media screen and (max-width: 600px) {
  #bearigami-tip {
    position: fixed;
    left: 0 !important;
    right: 0 !important;
    bottom: 0;
    top: auto !important;
    max-width: none;
    width: 100%;
    max-height: min(80vh, 480px);
    border-radius: 12px 12px 0 0;
    padding: 12px 16px calc(16px + env(safe-area-inset-bottom, 0));
    box-shadow: 0 -4px 16px rgba(0,0,0,0.4);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .tooltip-multi-list {
    max-height: none;
    overflow-y: visible;
    -webkit-overflow-scrolling: auto;
    overscroll-behavior: auto;
    background: none;
  }
@media screen and (max-width: 555px) {
	.schedule-container {
		gap: 20px 10px;
	}
	.schedule-game {
		width: 48%;
		margin: 0 auto;
	}
	.schedule-game.spacer {
		display: none;
	}
}
@media screen and (max-width: 459px) {
	.darkmode-toggle {
		top: -35px;
		right: 15px;
	}
	.title {
		margin: 30px auto 20px auto;
	}
	.bearhead {
		width: 100px;
		height: 95px;
	}
	.bearhead::after {
		width: 102px;
		height: 97px;
		margin: 0 0 0 -2px;
	}
	#year-slider {
		height: 20px;
	}
	#year-display.year-display {
		padding: 4px 10px 6px 10px;
	}
	.footer-right {
		flex-direction: column;
	}
	.second-footer-container .footer-right p {
		padding: 10px 15px 20px 15px;
	}
	.footer-left img, .footer-right img {
		padding: 0 0 15px 0;
		height: 45px;
	}
	.footer-logo {
		background-size: 335px;
		padding: 60px 0 0 0;
		margin: 0px auto -20px auto;
	}
	.schedule-date {
		font-size: 14px;
		padding-top: 10px;
	}
	.schedule-opp img {
		width: 40%;
	}
	.schedule-week {
		padding-bottom: 12px;
		font-size: 17px;
	}
	.schedule-game {
		min-height: 240px;
	}
	.bearigami-grid, .x-axis, .y-axis {
		--cell: 23px;
	}
	#bearigami-tip > div.tip-body > div:nth-child(1) {
		font-size: 22px !important;
	}
	#bearigami-tip .tip-body {
		font-size: 18px;
	}
}
@media screen and (max-width: 405px) {
	.title {
		flex-direction: column;
	}
	.year-slider-wrapper {
		margin: 15px auto 20px;
	}
	#bearigami-meta {
		padding: 0 20px;
		margin-bottom: 25px;
		font-size: 16px;
	}
	.legend-one, .legend-two {
		justify-content: center;
		flex-wrap: wrap;
	}
	.legend-color {
		align-self: center;
	}
}
@media screen and (max-width: 375px) {
	.schedule-container {
		flex-direction: column;
	}
	.schedule-game {
		width: 92%;
	}
	.schedule-opp img {
		width: 30%;
	}
}
