/* Members: list buttons on restaurant pages and the account page. Happy Menu white/black/#00af74 system, square controls. */

.happymenu-members-actions {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	margin: 0 0 1.5rem;
}

.entry-content .happymenu-members-actions__button,
.entry-content .happymenu-members-actions__button:visited {
	align-items: center;
	background: #fff;
	border: 2px solid #000;
	border-radius: 0;
	box-shadow: none !important;
	color: #000 !important;
	cursor: pointer;
	display: inline-flex;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 1.4rem;
	font-weight: 700;
	gap: 0.5rem;
	letter-spacing: normal;
	line-height: 1.2;
	min-height: 4rem;
	padding: 0.5rem 1.1rem;
	text-decoration: none !important;
	text-transform: none;
}

.entry-content .happymenu-members-actions__button:hover,
.entry-content .happymenu-members-actions__button:focus-visible {
	background: #000;
	color: #fff !important;
}

.entry-content .happymenu-members-actions__button[aria-pressed="true"] {
	background: #00af74;
	border-color: #00af74;
	color: #fff !important;
}

.entry-content .happymenu-members-actions__button[disabled] {
	opacity: 0.6;
}

.happymenu-members-actions__icon::before {
	font-size: 1.5rem;
	line-height: 1;
}

.happymenu-members-actions__button--want .happymenu-members-actions__icon::before {
	content: "\2661";
}

.happymenu-members-actions__button--want[aria-pressed="true"] .happymenu-members-actions__icon::before {
	content: "\2665";
}

.happymenu-members-actions__button--been .happymenu-members-actions__icon::before {
	content: "\2713";
}

.entry-content .happymenu-members-actions__lists,
.entry-content .happymenu-members-actions__lists:visited {
	color: #000 !important;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 1.3rem;
	font-weight: 700;
	margin-left: 0.4rem;
	text-decoration: underline !important;
	text-decoration-color: #00af74 !important;
	text-underline-offset: 0.25em;
}

/* Account page */

.happymenu-account {
	margin: 0 auto;
	max-width: 80rem;
}

.happymenu-account__notice {
	background: #f1f3f2;
	border-left: 0.4rem solid #00af74;
	font-size: 1.5rem;
	margin: 0 0 2rem;
	padding: 1rem 1.25rem;
}

.happymenu-account__signin {
	border: 1px solid #000;
	border-top: 0.4rem solid #00af74;
	margin: 0 auto 3rem;
	max-width: 52rem;
	padding: 2rem;
	text-align: center;
}

.happymenu-account .happymenu-account__google,
.happymenu-account .happymenu-account__google:visited {
	align-items: center;
	background: #fff;
	border: 2px solid #000;
	color: #000 !important;
	display: inline-flex;
	font-size: 1.6rem;
	font-weight: 700;
	gap: 0.8rem;
	justify-content: center;
	margin: 0.5rem 0 1.25rem;
	min-height: 4.8rem;
	padding: 0.6rem 1.8rem;
	text-decoration: none !important;
}

.happymenu-account .happymenu-account__google:hover,
.happymenu-account .happymenu-account__google:focus-visible {
	background: #000;
	color: #fff !important;
}

.happymenu-account__fine {
	color: #6b7280;
	font-size: 1.3rem;
	line-height: 1.5;
	margin: 0.5rem 0;
}

.happymenu-account__fine a,
.happymenu-account__empty a {
	color: #000 !important;
	text-decoration-color: #00af74 !important;
}

.happymenu-account__count {
	color: #6b7280;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 1.6rem;
	margin-left: 0.4rem;
}

.happymenu-account__empty {
	font-size: 1.5rem;
}

.happymenu-account .happymenu-account__rows {
	border-top: 2px solid #000;
	list-style: none;
	margin: 0;
	padding: 0;
}

.happymenu-account .happymenu-account__row {
	align-items: center;
	border-bottom: 1px solid rgba(0, 0, 0, 0.12);
	display: flex;
	gap: 1rem;
	justify-content: space-between;
	list-style: none;
	margin: 0;
	padding: 1rem 0;
}

.happymenu-account__place {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	min-width: 0;
}

.happymenu-account .happymenu-account__name,
.happymenu-account .happymenu-account__name:visited {
	color: #000 !important;
	font-size: 1.7rem;
	font-weight: 800;
	text-decoration: none !important;
}

.happymenu-account .happymenu-account__name:hover {
	color: #00af74 !important;
}

.happymenu-account__meta,
.happymenu-account__added {
	color: #6b7280;
	font-size: 1.3rem;
}

.happymenu-account__actions,
.happymenu-account__inline {
	display: flex;
	flex-shrink: 0;
	gap: 0.5rem;
	margin: 0;
}

.happymenu-account .happymenu-account__button {
	background: #fff;
	border: 2px solid #000;
	border-radius: 0;
	color: #000;
	cursor: pointer;
	font-family: inherit;
	font-size: 1.3rem;
	font-weight: 700;
	letter-spacing: normal;
	min-height: 3.6rem;
	padding: 0.4rem 1rem;
	text-transform: none;
}

.happymenu-account .happymenu-account__button:hover,
.happymenu-account .happymenu-account__button:focus-visible {
	background: #000;
	color: #fff;
}

.happymenu-account .happymenu-account__button--quiet {
	border-color: rgba(0, 0, 0, 0.25);
	color: #6b7280;
}

.happymenu-account .happymenu-account__button--danger {
	background: #b42318;
	border-color: #b42318;
	color: #fff;
}

.happymenu-account__delete {
	margin-top: 1.5rem;
}

.happymenu-account__delete summary {
	color: #6b7280;
	cursor: pointer;
	font-size: 1.3rem;
}

.happymenu-account__delete form {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	padding-top: 0.75rem;
}

@media (max-width: 600px) {
	.happymenu-account .happymenu-account__row {
		align-items: flex-start;
		flex-direction: column;
	}

	.happymenu-account__signin {
		padding: 1.5rem 1rem;
	}
}

/* ==========================================================================
   Social: profiles, tiles, reviews, the log form. Letterboxd's layout in
   Happy Menu's white, black and #00af74.
   ========================================================================== */

.happymenu-member-page .hm-profile,
.hm-members-section,
.hm-hub,
.happymenu-account,
.hm-log {
	--hm-green: #00af74;
	--hm-ink: #111;
	--hm-muted: #6b7280;
	--hm-line: rgba(0, 0, 0, 0.12);
	--hm-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.hm-profile {
	font-family: var(--hm-sans);
	margin: 0 auto 4rem;
	max-width: 110rem;
}

.hm-profile__banner {
	aspect-ratio: 16 / 5;
	background-color: #111;
	background-position: center;
	background-size: cover;
	position: relative;
}

.hm-profile__banner::after {
	background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(255, 255, 255, 1) 100%);
	content: "";
	inset: 0;
	position: absolute;
}

.hm-profile__banner--plain {
	aspect-ratio: 16 / 3;
	background-color: var(--hm-green);
	background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0 2px, transparent 2px 22px);
}

.hm-profile__inner {
	margin: -6rem auto 0;
	max-width: 98rem;
	padding: 0 1.6rem;
	position: relative;
	z-index: 1;
}

.hm-profile__header {
	align-items: flex-end;
	display: flex;
	flex-wrap: wrap;
	gap: 2rem;
	justify-content: space-between;
	margin-bottom: 2rem;
}

.hm-profile__identity {
	align-items: flex-end;
	display: flex;
	gap: 1.8rem;
}

.hm-profile__name {
	font-size: 3.2rem;
	line-height: 1.1;
	margin: 0;
}

.hm-profile__handle,
.hm-profile__location {
	color: var(--hm-muted);
	font-size: 1.4rem;
	margin: 0.3rem 0 0;
}

.hm-profile__bio {
	font-size: 1.5rem;
	margin: 0.6rem 0 0;
	max-width: 52rem;
}

.hm-profile__actions {
	margin-top: 1rem;
}

.hm-profile__stats {
	display: flex;
	gap: 0;
	margin: 0;
}

.hm-profile__stat a {
	border-left: 1px solid var(--hm-line);
	color: var(--hm-ink) !important;
	display: flex;
	flex-direction: column-reverse;
	padding: 0 1.6rem;
	text-align: center;
	text-decoration: none !important;
}

.hm-profile__stat:first-child a {
	border-left: 0;
}

.hm-profile__stat dd {
	font-size: 2.4rem;
	font-weight: 800;
	margin: 0;
}

.hm-profile__stat dt {
	color: var(--hm-muted);
	font-size: 1.05rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.hm-profile__stat a:hover dd {
	color: var(--hm-green);
}

.hm-tabs {
	border-bottom: 1px solid var(--hm-line);
	border-top: 1px solid var(--hm-line);
	display: flex;
	gap: 0.4rem 2rem;
	justify-content: center;
	margin: 0 0 2.5rem;
	overflow-x: auto;
	padding: 1rem 0;
	scrollbar-width: none;
}

.hm-tabs a {
	color: var(--hm-muted) !important;
	font-size: 1.4rem;
	font-weight: 600;
	padding-bottom: 0.3rem;
	text-decoration: none !important;
	white-space: nowrap;
}

.hm-tabs a:hover,
.hm-tabs a[aria-current="page"] {
	box-shadow: inset 0 -2px 0 var(--hm-green);
	color: var(--hm-ink) !important;
}

.hm-columns {
	display: grid;
	gap: 3rem;
	grid-template-columns: minmax(0, 1fr) 26rem;
}

.hm-section {
	margin: 0 0 3rem;
}

.hm-section__title {
	align-items: baseline;
	border-bottom: 1px solid var(--hm-line);
	color: var(--hm-muted);
	display: flex;
	font-family: var(--hm-sans);
	font-size: 1.15rem !important;
	font-weight: 700;
	gap: 1rem;
	justify-content: space-between;
	letter-spacing: 0.1em;
	margin: 0 0 1.2rem !important;
	padding-bottom: 0.5rem;
	text-transform: uppercase;
}

.hm-section__title a {
	color: var(--hm-muted) !important;
	text-decoration: none !important;
}

.hm-section__title a:hover {
	color: var(--hm-green) !important;
}

.hm-empty {
	color: var(--hm-muted);
	font-size: 1.4rem;
}

.hm-empty--private {
	border: 1px solid var(--hm-line);
	padding: 3rem;
	text-align: center;
}

.hm-note {
	background: #f1f3f2;
	border-left: 0.3rem solid var(--hm-green);
	font-size: 1.3rem;
	padding: 0.8rem 1rem;
}

/* Avatars */

.hm-avatar {
	background: var(--hm-green, #00af74);
	border-radius: 50%;
	color: #fff;
	display: inline-flex;
	flex-shrink: 0;
	font-weight: 800;
	justify-content: center;
	align-items: center;
	object-fit: cover;
}

.hm-avatar--small {
	font-size: 1.2rem;
	height: 3rem;
	width: 3rem;
}

.hm-avatar--medium {
	font-size: 1.8rem;
	height: 4.8rem;
	width: 4.8rem;
}

.hm-avatar--large {
	border: 4px solid #fff;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
	font-size: 4rem;
	height: 11rem;
	width: 11rem;
}

/* Tiles */

.hm-tiles {
	display: grid;
	gap: 1.2rem;
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.hm-tiles--4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hm-tiles--grid {
	grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
}

.hm-tiles--strip {
	gap: 0.4rem;
	grid-template-columns: repeat(5, minmax(0, 1fr));
}

.hm-tile {
	list-style: none !important;
	margin: 0 !important;
	min-width: 0;
}

.hm-tile__link,
.hm-tile__link:visited {
	color: var(--hm-ink, #111) !important;
	display: block;
	text-decoration: none !important;
}

.hm-tile__media {
	aspect-ratio: 4 / 5;
	background: #111;
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
	display: block;
	overflow: hidden;
	position: relative;
	transition: box-shadow 0.15s ease;
}

.hm-tile__link:hover .hm-tile__media,
.hm-tile__link:focus-visible .hm-tile__media {
	box-shadow: 0 0 0 3px var(--hm-green, #00af74);
}

.hm-tile__media img {
	display: block;
	height: 100% !important;
	margin: 0 !important;
	max-width: none !important;
	object-fit: cover;
	width: 100% !important;
}

.hm-tile__media--poster {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 1rem;
}

.hm-tile__tag {
	color: var(--hm-green, #00af74);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 1rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.hm-tile__poster-name {
	color: #fff;
	font-size: 1.7rem;
	font-weight: 700;
	line-height: 1.15;
}

.hm-tile--small .hm-tile__poster-name {
	font-size: 1.1rem;
}

.hm-tile--small .hm-tile__media--poster {
	padding: 0.5rem;
}

.hm-tile--small .hm-tile__tag {
	display: none;
}

.hm-tile__name {
	display: block;
	font-size: 1.3rem;
	font-weight: 700;
	line-height: 1.3;
	margin-top: 0.5rem;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.hm-tile__marks,
.hm-review__meta,
.hm-diary__marks {
	align-items: center;
	color: var(--hm-muted, #6b7280);
	display: flex;
	flex-wrap: wrap;
	font-size: 1.2rem;
	gap: 0.4rem;
	margin-top: 0.3rem;
}

.hm-stars {
	color: var(--hm-green, #00af74);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	letter-spacing: 0.05em;
}

.hm-stars--large {
	font-size: 2.2rem;
}

.hm-mark--liked {
	color: #e8590c;
}

/* Sidebar diary and ratings chart */

.hm-diary__month {
	display: grid;
	gap: 1rem;
	grid-template-columns: 4.6rem minmax(0, 1fr);
	margin-bottom: 1.2rem;
}

.hm-diary__calendar {
	align-items: center;
	align-self: start;
	border: 1px solid var(--hm-line);
	color: var(--hm-muted);
	display: flex;
	flex-direction: column;
	font-size: 1rem;
	font-weight: 700;
	padding: 0.4rem 0;
}

.hm-diary__calendar span {
	color: var(--hm-ink);
	font-size: 1.3rem;
	text-transform: uppercase;
}

.hm-diary__entries {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.hm-diary__entries li {
	align-items: baseline;
	display: flex;
	flex-wrap: wrap;
	font-size: 1.35rem;
	gap: 0.3rem 0.8rem;
	list-style: none !important;
	margin: 0 0 0.4rem !important;
}

.hm-diary--compact .hm-diary__entries li {
	flex-wrap: nowrap;
	font-size: 1.25rem;
}

.hm-diary__day {
	color: var(--hm-muted);
	min-width: 1.8rem;
	text-align: right;
}

.hm-diary__entries a {
	color: var(--hm-ink) !important;
	overflow: hidden;
	text-decoration: none !important;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.hm-diary__entries a:hover {
	color: var(--hm-green) !important;
}

.hm-spread {
	align-items: flex-end;
	display: flex;
	gap: 0.6rem;
}

.hm-spread__bars {
	align-items: flex-end;
	display: flex;
	flex: 1;
	gap: 2px;
	height: 4.4rem;
}

.hm-spread__bar {
	background: #d7dcd9;
	flex: 1;
	min-height: 2px;
}

.hm-spread__bars:hover .hm-spread__bar:hover {
	background: var(--hm-green, #00af74);
}

.hm-spread__end {
	color: var(--hm-green, #00af74);
	font-size: 1.1rem;
}

/* Reviews */

.hm-review {
	border-bottom: 1px solid var(--hm-line, rgba(0, 0, 0, 0.12));
	display: grid;
	gap: 1.5rem;
	grid-template-columns: 7rem minmax(0, 1fr);
	padding: 1.5rem 0;
}

.hm-review__aside {
	align-self: start;
}

.hm-review__title {
	font-size: 1.9rem !important;
	margin: 0 !important;
}

.hm-review__title a {
	color: inherit !important;
	text-decoration: none !important;
}

.hm-review__meta a {
	color: var(--hm-muted, #6b7280) !important;
	text-decoration: none !important;
}

.hm-review__text {
	font-size: 1.6rem;
	line-height: 1.6;
	margin-top: 0.6rem;
}

.hm-review__text p {
	margin: 0 0 0.8rem;
}

.hm-review__more {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 1.3rem;
}

.hm-review__photos {
	display: flex;
	gap: 0.5rem;
	margin-top: 0.8rem;
}

.hm-review__photos img {
	aspect-ratio: 1;
	height: 7rem !important;
	margin: 0 !important;
	object-fit: cover;
	width: 7rem !important;
}

/* People */

.hm-people {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.hm-person {
	align-items: center;
	border-bottom: 1px solid var(--hm-line);
	display: flex;
	gap: 1rem;
	justify-content: space-between;
	list-style: none !important;
	margin: 0 !important;
	padding: 1rem 0;
}

.hm-person__link {
	align-items: center;
	color: var(--hm-ink) !important;
	display: flex;
	gap: 1rem;
	text-decoration: none !important;
}

.hm-person__link strong,
.hm-person__meta {
	display: block;
}

.hm-person__meta {
	color: var(--hm-muted);
	font-size: 1.3rem;
}

/* Visit page */

.hm-visit {
	display: grid;
	gap: 3rem;
	grid-template-columns: 24rem minmax(0, 1fr);
}

.hm-visit__kicker {
	color: var(--hm-muted);
	font-size: 1.3rem;
	margin: 0;
}

.hm-visit__title {
	font-size: 3rem !important;
	margin: 0.2rem 0 0.4rem !important;
}

.hm-visit__title a {
	color: inherit !important;
	text-decoration: none !important;
}

.hm-dishes {
	border-top: 2px solid #000;
	list-style: none !important;
	margin: 0 0 2rem !important;
	padding: 0 !important;
}

.hm-dishes li {
	border-bottom: 1px solid var(--hm-line);
	display: flex;
	font-size: 1.5rem;
	justify-content: space-between;
	list-style: none !important;
	margin: 0 !important;
	padding: 0.7rem 0;
}

.hm-visit__photos {
	display: grid;
	gap: 0.8rem;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-bottom: 2rem;
}

.hm-visit__photos img {
	aspect-ratio: 4 / 3;
	display: block;
	margin: 0 !important;
	object-fit: cover;
	width: 100% !important;
}

.hm-visit__actions {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 0.8rem;
}

/* Buttons */

.hm-button,
.hm-button:visited {
	align-items: center;
	background: #fff;
	border: 2px solid #000;
	border-radius: 0;
	color: #000 !important;
	cursor: pointer;
	display: inline-flex;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 1.4rem;
	font-weight: 700;
	justify-content: center;
	letter-spacing: normal;
	line-height: 1.2;
	min-height: 4rem;
	padding: 0.5rem 1.4rem;
	text-decoration: none !important;
	text-transform: none;
}

.hm-button:hover,
.hm-button:focus-visible {
	background: #000;
	color: #fff !important;
}

.hm-button--green,
.hm-button--green:visited {
	background: #00af74;
	border-color: #00af74;
	color: #fff !important;
}

.hm-button--green[aria-pressed="true"] {
	background: #fff;
	color: #00af74 !important;
}

.hm-button--quiet {
	border-color: rgba(0, 0, 0, 0.25);
	color: #6b7280 !important;
}

.hm-link {
	background: none;
	border: 0;
	color: #6b7280;
	cursor: pointer;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 1.3rem;
	letter-spacing: normal;
	padding: 0;
	text-decoration: underline;
	text-transform: none;
}

/* Join box for visitors */

.hm-join {
	background: #111;
	color: #fff;
	margin: 3rem 0 0;
	padding: 2.5rem;
	text-align: center;
}

.hm-join__title {
	font-size: 2.4rem;
	font-weight: 800;
	margin: 0 0 0.6rem;
}

.hm-join p {
	color: rgba(255, 255, 255, 0.8);
	font-size: 1.5rem;
	margin: 0 auto 1.4rem;
	max-width: 52rem;
}

/* Restaurant page additions */

.entry-content .happymenu-members-actions__button--log,
.entry-content .happymenu-members-actions__button--log:visited {
	background: #00af74;
	border-color: #00af74;
	color: #fff !important;
}

.happymenu-members-actions__button--favourite .happymenu-members-actions__icon::before {
	content: "\2606";
}

.happymenu-members-actions__button--favourite[aria-pressed="true"] .happymenu-members-actions__icon::before {
	content: "\2605";
}

.entry-content .happymenu-members-actions__rating,
.entry-content .happymenu-members-actions__rating:visited {
	color: #000 !important;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 1.4rem;
	font-weight: 800;
	margin-left: 0.4rem;
	text-decoration: none !important;
}

.happymenu-members-actions__rating span:last-child {
	color: #6b7280;
	font-size: 1.2rem;
	font-weight: 600;
	margin-left: 0.3rem;
}

.hm-members-section {
	font-family: var(--hm-sans);
	margin: 3rem 0;
}

.hm-members-section .happymenu-discovery__heading {
	font-size: 2.6rem;
}

.hm-members-section__summary {
	align-items: center;
	border-bottom: 1px solid var(--hm-line);
	border-top: 2px solid #000;
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem 2.5rem;
	padding: 1.5rem 0;
}

.hm-members-section__summary .hm-spread {
	flex: 1;
	max-width: 30rem;
}

.hm-members-section__score {
	align-items: baseline;
	display: flex;
	gap: 0.6rem;
}

.hm-members-section__score strong {
	font-size: 3.4rem;
	line-height: 1;
}

.hm-members-section__score span:last-child {
	color: var(--hm-muted);
	font-size: 1.3rem;
}

.hm-members-section__first {
	flex: 1;
	font-size: 1.5rem;
	margin: 0;
}

.hm-members-section__photos {
	display: grid;
	gap: 0.5rem;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin: 1.5rem 0;
}

.hm-members-section__photos img {
	aspect-ratio: 1;
	display: block;
	margin: 0 !important;
	object-fit: cover;
	width: 100% !important;
}

.hm-faces {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.hm-faces li {
	list-style: none !important;
	margin: 0 !important;
}

.hm-faces a {
	align-items: center;
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	text-decoration: none !important;
}

.hm-members-section__friends {
	padding: 1.5rem 0 0;
}

/* Log a visit */

.hm-log {
	border: 0;
	border-top: 0.4rem solid #00af74;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
	font-family: var(--hm-sans);
	max-height: 92vh;
	max-width: 60rem;
	padding: 0;
	width: calc(100% - 2rem);
}

.hm-log::backdrop {
	background: rgba(0, 0, 0, 0.55);
}

.hm-log__form {
	display: flex;
	flex-direction: column;
	gap: 1.4rem;
	padding: 2rem;
}

.hm-log__header,
.hm-log__footer {
	align-items: center;
	display: flex;
	gap: 1rem;
	justify-content: space-between;
}

.hm-log__title {
	font-size: 2.2rem !important;
	margin: 0 !important;
}

.hm-log__close {
	background: none !important;
	border: 0;
	color: #111 !important;
	cursor: pointer;
	font-size: 3rem;
	line-height: 1;
	padding: 0 0.4rem;
}

.hm-log__row {
	align-items: flex-end;
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
}

.hm-log__status {
	color: #00af74;
	font-weight: 700;
	margin: 0;
	min-height: 1.6rem;
}

.hm-field {
	border: 0;
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	margin: 0;
	padding: 0;
}

.hm-field > span:first-child,
.hm-field legend {
	font-size: 1.3rem;
	font-weight: 700;
}

.hm-field small {
	color: #6b7280;
	font-weight: 400;
}

.hm-field input[type="text"],
.hm-field input[type="date"],
.hm-field input[type="search"],
.hm-field textarea {
	border: 1px solid #000;
	border-radius: 0;
	font-family: inherit;
	font-size: 1.5rem;
	padding: 0.6rem 0.8rem;
	width: 100%;
}

.hm-field__prefix {
	align-items: center;
	border: 1px solid #000;
	display: flex;
}

.hm-field__prefix span {
	color: #6b7280;
	padding-left: 0.8rem;
}

.hm-field__prefix input[type="text"] {
	border: 0;
}

.hm-field__error {
	color: #b42318;
	font-size: 1.3rem;
}

.hm-check {
	align-items: flex-start;
	display: flex;
	font-size: 1.4rem;
	gap: 0.6rem;
}

.hm-form {
	display: flex;
	flex-direction: column;
	gap: 1.4rem;
	max-width: 56rem;
}

/* Half-star rating: ten radio halves drawn as five stars. */
.hm-rate__stars {
	display: inline-flex;
}

.hm-rate__stars input {
	opacity: 0;
	position: absolute;
	width: 1px;
}

.hm-rate__half {
	color: #d7dcd9;
	cursor: pointer;
	display: inline-block;
	font-size: 3rem;
	height: 3.4rem;
	line-height: 3.4rem;
	overflow: hidden;
	position: relative;
	width: 1.5rem;
}

.hm-rate__half::before {
	content: "★";
	position: absolute;
	top: 0;
}

.hm-rate__half--left::before {
	left: 0;
}

.hm-rate__half--right::before {
	right: 0;
}

/* members.js paints the halves up to the chosen or hovered one. */
.hm-rate__half.is-on {
	color: #00af74;
}

.hm-rate__stars input:focus-visible + label {
	outline: 2px solid #00af74;
}

.hm-like {
	align-items: center;
	cursor: pointer;
	display: inline-flex;
	font-size: 1.4rem;
	font-weight: 700;
	gap: 0.4rem;
}

.hm-like input {
	opacity: 0;
	position: absolute;
	width: 1px;
}

.hm-like span[aria-hidden] {
	color: #d7dcd9;
	font-size: 2.6rem;
}

.hm-like input:checked + span {
	color: #e8590c;
}

.hm-dish-picker__chosen,
.hm-dish-picker__results,
.hm-photo-picker__previews {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.hm-dish-picker__chosen {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin: 0.6rem 0 !important;
}

.hm-dish-picker__chosen li {
	align-items: center;
	background: #00af74;
	color: #fff;
	display: inline-flex;
	font-size: 1.3rem;
	font-weight: 700;
	gap: 0.4rem;
	list-style: none !important;
	margin: 0 !important;
	padding: 0.3rem 0.4rem 0.3rem 0.8rem;
}

.hm-dish-picker__chosen button,
.hm-photo-picker__previews button {
	background: none;
	border: 0;
	color: inherit;
	cursor: pointer;
	font-size: 1.6rem;
	line-height: 1;
}

.hm-dish-picker__results {
	border: 1px solid rgba(0, 0, 0, 0.12);
	max-height: 18rem;
	overflow-y: auto;
}

.hm-dish-picker__results li {
	list-style: none !important;
	margin: 0 !important;
}

.hm-dish-picker__results button {
	background: #fff !important;
	border: 0;
	color: #111 !important;
	letter-spacing: normal;
	text-transform: none;
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
	cursor: pointer;
	display: flex;
	font-family: inherit;
	font-size: 1.4rem;
	justify-content: space-between;
	padding: 0.6rem 0.8rem;
	text-align: left;
	width: 100%;
}

.hm-dish-picker__results button:hover {
	background: #f1f3f2 !important;
}

.hm-dish-picker__price {
	color: #6b7280;
	margin-left: 1rem;
	white-space: nowrap;
}

.hm-photo-picker {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
}

.hm-photo-picker__add {
	align-items: center;
	border: 2px dashed rgba(0, 0, 0, 0.3);
	cursor: pointer;
	display: flex;
	font-size: 1.3rem;
	font-weight: 700;
	height: 8rem;
	justify-content: center;
	width: 8rem;
}

.hm-photo-picker__add input {
	opacity: 0;
	position: absolute;
	width: 1px;
}

.hm-photo-picker__previews {
	display: flex;
	gap: 0.6rem;
}

.hm-photo-picker__previews li {
	height: 8rem;
	list-style: none !important;
	margin: 0 !important;
	position: relative;
	width: 8rem;
}

.hm-photo-picker__previews img {
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.hm-photo-picker__previews button {
	background: rgba(0, 0, 0, 0.7);
	color: #fff;
	position: absolute;
	right: 0;
	top: 0;
}

/* Account card */

.hm-account-card {
	align-items: center;
	border: 1px solid #000;
	border-top: 0.4rem solid #00af74;
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
	justify-content: space-between;
	margin: 0 0 3rem;
	padding: 1.5rem;
}

.hm-account-card__link {
	align-items: center;
	color: #000 !important;
	display: flex;
	gap: 1.2rem;
	text-decoration: none !important;
}

.hm-account-card__link > span {
	display: flex;
	flex-direction: column;
	font-size: 1.3rem;
}

.hm-account-card__link strong {
	font-size: 1.8rem;
}

.hm-profile-form summary {
	cursor: pointer;
	list-style: none;
}

.hm-profile-form summary::-webkit-details-marker {
	display: none;
}

.hm-profile-form summary h2::after {
	color: #6b7280;
	content: " +";
}

.hm-profile-form details[open] summary h2::after {
	content: " −";
}

@media (max-width: 900px) {
	.hm-columns {
		grid-template-columns: minmax(0, 1fr);
	}

	.hm-profile__stats {
		width: 100%;
	}

	.hm-profile__stat {
		flex: 1;
	}

	.hm-visit {
		grid-template-columns: minmax(0, 1fr);
	}

	.hm-visit__tile {
		max-width: 18rem;
	}
}

@media (max-width: 600px) {
	.hm-profile__inner {
		margin-top: -4rem;
	}

	.hm-profile__identity {
		align-items: flex-start;
		flex-direction: column;
		gap: 1rem;
	}

	.hm-avatar--large {
		font-size: 3rem;
		height: 8rem;
		width: 8rem;
	}

	.hm-profile__name {
		font-size: 2.6rem;
	}

	.hm-profile__stat a {
		padding: 0 0.6rem;
	}

	.hm-profile__stat dd {
		font-size: 1.9rem;
	}

	.hm-profile__stat dt {
		font-size: 0.9rem;
		letter-spacing: 0.04em;
	}

	.hm-tabs {
		justify-content: flex-start;
	}

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

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

	.hm-tile__poster-name {
		font-size: 1.3rem;
	}

	.hm-review {
		grid-template-columns: 5rem minmax(0, 1fr);
	}

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

	.hm-log__form {
		padding: 1.4rem;
	}
}

/* ==========================================================================
   Phase 2: hub pages (activity, members, notifications), likes, comments,
   lists, the list editor and the policy pages.
   ========================================================================== */

.hm-hub {
	font-family: var(--hm-sans);
}

.hm-badge {
	background: #00af74;
	border-radius: 1em;
	color: #fff;
	display: inline-block;
	font-size: 1.1rem;
	font-weight: 700;
	line-height: 1.6;
	margin-left: 0.3rem;
	min-width: 1.6em;
	padding: 0 0.45em;
	text-align: center;
}

.hm-hub-nav {
	margin-bottom: 2.5rem;
}

.hm-pill {
	border: 1px solid var(--hm-line, rgba(0, 0, 0, 0.12));
	border-radius: 1em;
	color: var(--hm-muted, #6b7280);
	display: inline-block;
	font-size: 1.1rem;
	font-weight: 600;
	line-height: 1.6;
	padding: 0 0.6em;
	white-space: nowrap;
}

/* Following / Everyone */

.hm-switch {
	border: 2px solid #000;
	display: inline-flex;
	margin: 0 0 1.5rem;
}

.hm-switch a {
	color: #000 !important;
	font-size: 1.3rem;
	font-weight: 700;
	padding: 0.5rem 1.4rem;
	text-decoration: none !important;
}

.hm-switch a[aria-current="page"] {
	background: #000;
	color: #fff !important;
}

/* Feed */

.hm-feed {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.hm-feed__item {
	border-bottom: 1px solid var(--hm-line);
	display: grid;
	gap: 1rem;
	grid-template-columns: 3.2rem minmax(0, 1fr);
	list-style: none !important;
	margin: 0 !important;
	padding: 1.4rem 0;
}

.hm-feed__avatar {
	text-decoration: none !important;
}

.hm-feed__line {
	font-size: 1.5rem;
	line-height: 1.5;
	margin: 0.3rem 0 0;
}

.hm-feed__line a {
	color: var(--hm-ink) !important;
	font-weight: 700;
	text-decoration: none !important;
}

.hm-feed__line a:hover {
	color: var(--hm-green) !important;
}

.hm-feed__time {
	color: var(--hm-muted);
	font-size: 1.2rem;
	margin-left: 0.4rem;
	white-space: nowrap;
}

.hm-feed__tiles {
	margin-top: 0.8rem !important;
	max-width: 46rem;
}

.hm-feed__visit {
	display: grid;
	gap: 1.2rem;
	grid-template-columns: 7rem minmax(0, 1fr);
	margin-top: 0.8rem;
}

.hm-feed__visit .hm-review__text {
	margin-top: 0;
}

.hm-feed .hm-list-cards {
	margin-top: 0.8rem !important;
}

.hm-feed__more {
	margin: 2rem 0 0;
	text-align: center;
}

.hm-tiles--side {
	gap: 0.6rem;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hm-tiles--side .hm-tile__name {
	font-size: 1.1rem;
}

.hm-tile__rank {
	background: #000;
	color: #fff;
	font-size: 1.3rem;
	font-weight: 800;
	line-height: 1;
	min-width: 2.6rem;
	padding: 0.5rem 0.6rem;
	position: absolute;
	right: 0;
	text-align: center;
	top: 0;
	z-index: 1;
}

.hm-tile__link {
	position: relative;
}

/* Likes and the like/comment line */

.hm-heart,
.hm-heart:visited {
	align-items: center;
	background: none !important;
	border: 0;
	color: var(--hm-muted, #6b7280) !important;
	cursor: pointer;
	display: inline-flex;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 1.3rem;
	font-weight: 600;
	gap: 0.3rem;
	letter-spacing: normal;
	padding: 0;
	text-decoration: none !important;
	text-transform: none;
}

.hm-heart--static {
	cursor: default;
}

.hm-heart__icon {
	color: #c7ccd1;
	font-size: 1.6rem;
	line-height: 1;
}

button.hm-heart:hover .hm-heart__icon,
.hm-heart[aria-pressed="true"] .hm-heart__icon {
	color: #e0245e;
}

.hm-heart--some .hm-heart__icon {
	color: #e0245e;
}

.hm-heart[disabled] {
	opacity: 0.6;
}

.hm-engage {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	font-size: 1.3rem;
	gap: 0.4rem 1.6rem;
	margin: 0.8rem 0 0;
}

.hm-engage__comments,
.hm-engage__comments:visited {
	color: var(--hm-muted, #6b7280) !important;
	font-weight: 600;
	text-decoration: none !important;
}

.hm-engage__comments:hover {
	color: var(--hm-green, #00af74) !important;
}

.hm-review__by {
	color: var(--hm-muted, #6b7280);
	font-size: 1.4rem;
	font-weight: 400;
	margin-left: 0.4rem;
}

.hm-review__by a {
	color: var(--hm-muted, #6b7280) !important;
	font-weight: 600;
}

.hm-visit__like {
	margin: 1.5rem 0 0;
}

/* Comments */

.hm-comments {
	margin: 3rem 0 0;
}

.hm-comments__list {
	list-style: none !important;
	margin: 0 0 1.5rem !important;
	padding: 0 !important;
}

.hm-comment {
	border-bottom: 1px solid var(--hm-line, rgba(0, 0, 0, 0.12));
	display: grid;
	gap: 1rem;
	grid-template-columns: 3.2rem minmax(0, 1fr);
	list-style: none !important;
	margin: 0 !important;
	padding: 1.2rem 0;
}

.hm-comment--held {
	opacity: 0.75;
}

.hm-comment__avatar {
	text-decoration: none !important;
}

.hm-comment__meta {
	align-items: baseline;
	display: flex;
	flex-wrap: wrap;
	font-size: 1.3rem;
	gap: 0.6rem;
	margin: 0;
}

.hm-comment__meta a {
	color: var(--hm-ink, #111) !important;
	font-weight: 700;
	text-decoration: none !important;
}

.hm-comment__meta time {
	color: var(--hm-muted, #6b7280);
}

.hm-comment__owner {
	background: #00af74;
	color: #fff;
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	padding: 0.1rem 0.4rem;
	text-transform: uppercase;
}

.hm-comment__text {
	font-size: 1.5rem;
	line-height: 1.55;
	margin-top: 0.3rem;
	overflow-wrap: anywhere;
}

.hm-comment__text p {
	margin: 0 0 0.6rem;
}

.hm-comment__note {
	color: var(--hm-muted, #6b7280);
	font-size: 1.2rem;
	margin: 0;
}

.hm-comment__actions {
	margin: 0;
}

.hm-comments__form textarea {
	border: 2px solid #000;
	border-radius: 0;
	box-shadow: none !important;
	box-sizing: border-box;
	font-family: inherit;
	font-size: 1.5rem;
	height: 8rem !important;
	min-height: 0 !important;
	padding: 0.8rem 1rem;
	resize: vertical;
	width: 100%;
}

.hm-comments__footer {
	align-items: center;
	display: flex;
	gap: 1rem;
	justify-content: space-between;
	margin: 0.8rem 0 0;
}

.hm-comments__status {
	color: var(--hm-muted, #6b7280);
	font-size: 1.3rem;
}

/* List cards */

.hm-list-cards {
	display: grid;
	gap: 2rem;
	grid-template-columns: repeat(auto-fill, minmax(26rem, 1fr));
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.hm-list-cards--compact {
	gap: 1.2rem;
	grid-template-columns: minmax(0, 1fr);
}

.hm-list-card {
	list-style: none !important;
	margin: 0 !important;
	min-width: 0;
}

.hm-list-card__cover {
	display: block;
	text-decoration: none !important;
}

.hm-list-cover {
	display: flex;
}

.hm-list-cover__item {
	aspect-ratio: 4 / 5;
	background: #111;
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.9), 2px 0 6px rgba(0, 0, 0, 0.25);
	display: block;
	flex: 0 0 26%;
	margin-left: -7.5%;
	overflow: hidden;
	position: relative;
}

.hm-list-cover__item:first-child {
	margin-left: 0;
}

.hm-list-cover__item:nth-child(1) { z-index: 5; }
.hm-list-cover__item:nth-child(2) { z-index: 4; }
.hm-list-cover__item:nth-child(3) { z-index: 3; }
.hm-list-cover__item:nth-child(4) { z-index: 2; }
.hm-list-cover__item:nth-child(5) { z-index: 1; }

.hm-list-cover__item--empty {
	background: #f1f3f2;
}

.hm-list-cover__item img {
	display: block;
	height: 100% !important;
	margin: 0 !important;
	max-width: none !important;
	object-fit: cover;
	width: 100% !important;
}

.hm-list-cover__item span {
	color: #fff;
	display: block;
	font-size: 1.1rem;
	font-weight: 700;
	line-height: 1.2;
	overflow: hidden;
	padding: 0.5rem;
}

.hm-list-card__cover:hover .hm-list-cover__item,
.hm-list-card__cover:focus-visible .hm-list-cover__item {
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.9), 0 0 0 3px #00af74;
}

.hm-list-card__title {
	font-size: 1.8rem !important;
	margin: 0.8rem 0 0.2rem !important;
}

.hm-list-card__title a {
	color: var(--hm-ink, #111) !important;
	text-decoration: none !important;
}

.hm-list-card__title a:hover {
	color: var(--hm-green, #00af74) !important;
}

.hm-list-card__meta {
	align-items: center;
	color: var(--hm-muted, #6b7280);
	display: flex;
	flex-wrap: wrap;
	font-size: 1.3rem;
	gap: 0.3rem 1rem;
	margin: 0;
}

.hm-list-card__owner {
	align-items: center;
	color: var(--hm-ink, #111) !important;
	display: inline-flex;
	font-weight: 700;
	gap: 0.4rem;
	text-decoration: none !important;
}

.hm-list-card__owner .hm-avatar--small {
	height: 2rem;
	width: 2rem;
}

.hm-list-card__description {
	color: #333;
	font-size: 1.4rem;
	line-height: 1.5;
	margin: 0.4rem 0 0;
}

.hm-list-cards--compact .hm-list-card {
	align-items: start;
	display: grid;
	gap: 1rem;
	grid-template-columns: 12rem minmax(0, 1fr);
}

.hm-list-cards--compact .hm-list-card__title {
	font-size: 1.5rem !important;
	margin-top: 0 !important;
}

.hm-list-cards--compact .hm-list-card__description {
	display: none;
}

/* List page */

.hm-list-page__header {
	margin: 0 0 2rem;
	max-width: 70rem;
}

.hm-list-page__title {
	font-size: 3.2rem !important;
	margin: 0.2rem 0 0.8rem !important;
}

.hm-list-page__meta {
	color: var(--hm-muted);
	font-size: 1.3rem;
	margin: 0.6rem 0;
}

.hm-list-page__actions {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 1rem 1.6rem;
}

ol.hm-tiles {
	list-style: none !important;
}

/* List editor and "+ List" */

.entry-content .happymenu-members-actions__button--list,
.entry-content .happymenu-members-actions__button--list:visited {
	border-color: #00af74;
}

.hm-list-editor__items {
	border-top: 2px solid #000;
	counter-reset: hm-list;
	list-style: none !important;
	margin: 1rem 0 0 !important;
	padding: 0 !important;
}

.hm-list-editor__items li {
	align-items: center;
	border-bottom: 1px solid var(--hm-line);
	counter-increment: hm-list;
	display: flex;
	gap: 1rem;
	justify-content: space-between;
	list-style: none !important;
	margin: 0 !important;
	padding: 0.6rem 0;
}

.hm-list-editor__name {
	font-size: 1.5rem;
	font-weight: 600;
	min-width: 0;
}

.hm-list-editor__name::before {
	color: var(--hm-muted);
	content: counter(hm-list) ".";
	display: inline-block;
	font-weight: 400;
	min-width: 2.6rem;
}

.hm-list-editor__name small {
	color: var(--hm-muted);
	font-weight: 400;
}

.hm-list-editor__moves {
	display: flex;
	flex: 0 0 auto;
	gap: 0.3rem;
}

.hm-list-editor__moves button {
	background: #fff !important;
	border: 1px solid rgba(0, 0, 0, 0.25);
	border-radius: 0;
	color: #000 !important;
	cursor: pointer;
	font-size: 1.4rem;
	height: 3.2rem;
	line-height: 1;
	padding: 0;
	width: 3.2rem;
}

.hm-list-editor__moves button:hover,
.hm-list-editor__moves button:focus-visible {
	background: #000 !important;
	color: #fff !important;
}

.hm-list-editor__submit {
	display: flex;
	flex-wrap: wrap;
	gap: 0.8rem;
}

.hm-list-editor .hm-dish-picker__results button[disabled] {
	cursor: default;
	opacity: 0.45;
}

.hm-addlist {
	max-width: 46rem;
}

.hm-addlist__lists {
	list-style: none !important;
	margin: 0 !important;
	max-height: 40vh;
	overflow-y: auto;
	padding: 0 !important;
}

.hm-addlist__lists li {
	border-bottom: 1px solid var(--hm-line);
	list-style: none !important;
	margin: 0 !important;
}

.hm-addlist__lists label {
	align-items: center;
	cursor: pointer;
	display: flex;
	font-size: 1.5rem;
	gap: 0.8rem;
	padding: 0.8rem 0;
}

.hm-addlist__lists input {
	accent-color: #00af74;
	height: 1.8rem;
	width: 1.8rem;
}

.hm-addlist__title {
	flex: 1;
	font-weight: 600;
}

.hm-addlist__new {
	display: flex;
	gap: 0.6rem;
}

.hm-addlist__new input {
	border: 2px solid #000;
	border-radius: 0;
	flex: 1;
	font-size: 1.5rem;
	min-width: 0;
	padding: 0.5rem 0.8rem;
}

/* Notifications */

.hm-notifications__list {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.hm-notification {
	align-items: center;
	border-bottom: 1px solid var(--hm-line);
	display: grid;
	gap: 1rem;
	grid-template-columns: 3.2rem minmax(0, 1fr) auto;
	list-style: none !important;
	margin: 0 !important;
	padding: 1rem 0.8rem;
}

.hm-notification--new {
	background: #effaf5;
	box-shadow: inset 0.3rem 0 0 #00af74;
}

.hm-notification__text,
.hm-notification__text:visited {
	color: var(--hm-ink) !important;
	font-size: 1.5rem;
	text-decoration: none !important;
}

.hm-notification__text:hover {
	color: var(--hm-green) !important;
}

.hm-notification time {
	color: var(--hm-muted);
	font-size: 1.2rem;
	white-space: nowrap;
}

/* People and faces on hub pages */

.hm-people--compact .hm-person {
	gap: 0.6rem;
}

.hm-people--compact .hm-person__link {
	gap: 0.6rem;
	min-width: 0;
}

.hm-people--compact .hm-person__link strong {
	font-size: 1.4rem;
}

.hm-people--compact .hm-person__meta {
	font-size: 1.15rem;
}

.hm-people--compact .hm-button {
	flex: 0 0 auto;
	font-size: 1.2rem;
	min-height: 3.2rem;
	padding: 0.3rem 0.8rem;
}

.hm-faces--grid {
	display: grid;
	gap: 1rem 0.6rem;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hm-faces--grid a {
	color: var(--hm-ink) !important;
	font-size: 1.2rem;
	text-align: center;
}

.hm-faces--grid span:last-child {
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.hm-members-section__lists {
	padding: 1.5rem 0 0;
}

/* Policy pages */

.hm-policy {
	font-size: 1.6rem;
	line-height: 1.65;
	margin: 0 auto 4rem;
	max-width: 74rem;
}

.hm-policy h2 {
	border-top: 2px solid #000;
	font-size: 2.2rem !important;
	margin: 3rem 0 1rem !important;
	padding-top: 1.2rem;
}

.hm-policy h3 {
	font-size: 1.7rem !important;
	margin: 2rem 0 0.6rem !important;
}

.hm-policy ul {
	margin: 0 0 1.4rem 2rem;
	padding: 0;
}

.hm-policy li {
	margin: 0 0 0.6rem;
}

.hm-policy a {
	color: inherit !important;
	text-decoration: underline !important;
	text-decoration-color: #00af74 !important;
	text-underline-offset: 0.2em;
}

.hm-policy__table {
	border-collapse: collapse;
	display: block;
	font-size: 1.4rem;
	margin: 0 0 1.4rem;
	overflow-x: auto;
	width: 100%;
}

.hm-policy__table th,
.hm-policy__table td {
	border-bottom: 1px solid rgba(0, 0, 0, 0.12);
	padding: 0.7rem 1rem 0.7rem 0;
	text-align: left;
	vertical-align: top;
}

.hm-policy__table code {
	font-size: 1.25rem;
	white-space: nowrap;
}

@media (max-width: 600px) {
	.hm-list-cards {
		grid-template-columns: minmax(0, 1fr);
	}

	.hm-list-cards--compact .hm-list-card {
		grid-template-columns: 9rem minmax(0, 1fr);
	}

	.hm-feed__visit {
		grid-template-columns: 5rem minmax(0, 1fr);
	}

	.hm-notification {
		grid-template-columns: 3.2rem minmax(0, 1fr);
	}

	.hm-notification time {
		grid-column: 2;
	}

	.hm-list-page__title {
		font-size: 2.6rem !important;
	}

	.hm-hub-nav {
		justify-content: flex-start;
	}
}

/* Profile banner: "Add/Change banner" for the owner, "Report banner" for others,
   and the preview in Edit profile (same shape and fade as the profile). */

.hm-profile__banner-edit,
.hm-profile__banner-edit:visited {
	background: rgba(0, 0, 0, 0.55) !important;
	border: 0;
	color: #fff !important;
	cursor: pointer;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 1.2rem;
	font-weight: 700;
	letter-spacing: normal;
	line-height: 1.2;
	padding: 0.5rem 0.9rem;
	position: absolute;
	right: 1.2rem;
	text-decoration: none !important;
	text-transform: none;
	top: 1.2rem;
	z-index: 1;
}

.hm-profile__banner-edit:hover,
.hm-profile__banner-edit:focus-visible {
	background: #000 !important;
}

.hm-profile__banner-edit--quiet {
	background: rgba(0, 0, 0, 0.35) !important;
	font-weight: 600;
}

.hm-banner-field__preview {
	aspect-ratio: 16 / 5;
	background-color: #111;
	background-position: center;
	background-size: cover;
	display: block;
	margin: 0.4rem 0 0.8rem;
	max-width: 52rem;
	position: relative;
}

.hm-banner-field__preview::after {
	background: linear-gradient(180deg, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 1) 100%);
	content: "";
	inset: 0;
	position: absolute;
}

.hm-banner-field__preview--plain {
	background-color: #00af74;
	background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0 2px, transparent 2px 22px);
}

.hm-banner-field input[type="file"] {
	font-size: 1.4rem;
	margin-bottom: 0.4rem;
}

@media (max-width: 600px) {
	.hm-profile__banner-edit {
		right: 0.8rem;
		top: 0.8rem;
	}
}
