/* Points gem: the facets mix the accent with white and black, so it works by day and at night */

.isc-gem {
	--isc-gem: var(--isc-accent);
	--isc-gem-ink: var(--isc-ink);
	display: block;
	flex: none;
	width: var(--isc-gem-size, 24px);
	height: var(--isc-gem-size, 24px);
	overflow: visible;
}

.isc-gem__crown {
	fill: color-mix(in srgb, var(--isc-gem) 62%, #fff);
}

.isc-gem__light {
	fill: color-mix(in srgb, var(--isc-gem) 28%, #fff);
}

.isc-gem__base {
	fill: var(--isc-gem);
}

.isc-gem__mid {
	fill: color-mix(in srgb, var(--isc-gem) 82%, #fff);
}

.isc-gem__shade {
	fill: color-mix(in srgb, var(--isc-gem) 68%, #000);
}

.isc-gem__line {
	fill: none;
	stroke: var(--isc-gem-ink);
	stroke-width: var(--isc-gem-line, 1.3px);
	stroke-linecap: round;
	stroke-linejoin: round;
	vector-effect: non-scaling-stroke;
}

.isc-spark {
	position: absolute;
	top: 4px;
	right: 2px;
	width: 22px;
	height: 22px;
	background: #fff;
	clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%);
	animation: isc-twinkle 2.8s ease-in-out infinite;
}

.isc-spark--small {
	top: auto;
	right: auto;
	bottom: 16px;
	left: 2px;
	width: 14px;
	height: 14px;
	animation-delay: 1.4s;
}

@keyframes isc-twinkle {
	0%, 100% { opacity: 0; transform: scale(.3) rotate(0deg); }
	50% { opacity: 1; transform: scale(1) rotate(45deg); }
}

.isc-points-bar {
	position: relative;
	display: block;
	height: 12px;
	box-sizing: border-box;
	overflow: hidden;
	border: 1.5px solid var(--isc-ink);
	border-radius: 999px;
	background: var(--isc-paper-dark);
}

.isc-points-bar > span {
	position: absolute;
	inset: 0 auto 0 0;
	max-width: 100%;
	border-radius: 999px;
	background-color: var(--isc-accent);
	background-image: repeating-linear-gradient(-45deg, rgb(255 255 255 / .2) 0 6px, transparent 6px 12px);
}

.isc-points-next {
	margin: 0;
	font-size: 1rem;
	line-height: 1.5;
}

.isc-points-next b {
	font-weight: 900;
}

.isc-btn--sm {
	min-height: 44px;
	padding: 0 1.1rem;
	font-size: .9375rem;
}

/* Header counter. One sits in the tools on desktop and one on the left on phones, where it takes the place of the socials. */

.isc-points-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: .55rem;
	box-sizing: border-box;
	height: 44px;
	padding: 0 .95rem 0 .7rem;
	border: 1.5px solid rgb(var(--isc-ink-rgb) / .14);
	border-radius: 999px;
	color: var(--isc-ink);
	font-family: var(--isc-display);
	font-size: 1.0625rem;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
	transition: border-color .2s;
}

.isc-points-btn:hover {
	border-color: var(--isc-accent);
	color: var(--isc-ink);
}

.isc-points-btn[aria-current] {
	border-color: var(--isc-ink);
}

.isc-points-btn.is-hot {
	border-color: var(--isc-accent);
	animation: isc-points-ring 1.2s ease 2;
}

.isc-points-btn--start {
	display: none;
}

.isc-points-btn__pop {
	position: absolute;
	top: calc(100% + 12px);
	left: 50%;
	z-index: 2;
	padding: .3rem .7rem .35rem;
	border: 2px solid var(--isc-ink);
	border-radius: 999px;
	background: var(--isc-accent);
	color: var(--isc-paper-light);
	font-size: .9375rem;
	pointer-events: none;
	animation: isc-points-pop 3.2s var(--isc-ease) both;
}

.isc-points-btn__pop::before {
	content: "";
	position: absolute;
	top: -7px;
	left: 50%;
	width: 10px;
	height: 10px;
	margin-left: -5px;
	border-top: 2px solid var(--isc-ink);
	border-left: 2px solid var(--isc-ink);
	background: var(--isc-accent);
	transform: rotate(45deg);
}

@keyframes isc-points-ring {
	from { box-shadow: 0 0 0 0 var(--isc-accent); }
	to { box-shadow: 0 0 0 12px transparent; }
}

@keyframes isc-points-pop {
	0% { opacity: 0; transform: translate(-50%, -10px) rotate(-6deg) scale(.6); }
	15% { opacity: 1; transform: translate(-50%, 0) rotate(-6deg) scale(1.08); }
	25%, 80% { opacity: 1; transform: translate(-50%, 0) rotate(-6deg) scale(1); }
	100% { opacity: 0; transform: translate(-50%, 0) rotate(-6deg) scale(1); }
}

@media (max-width: 900px) {
	.isc-points-btn--end {
		display: none;
	}

	.isc-points-btn--start {
		--isc-gem-size: 22px;
		display: inline-flex;
		height: 40px;
		padding-inline: .6rem .75rem;
		font-size: .9375rem;
	}

	.isc-header__start:has(.isc-points-btn--start) .isc-social--header {
		display: none;
	}
}

/* Rewards page */

.isc-rewards .isc-cut + .isc-section {
	padding-top: calc(clamp(4rem, 8vw, 7.5rem) + 1.5rem);
}

.isc-rewards__top {
	padding-block: clamp(2.5rem, 5vw, 4rem) clamp(5rem, 9vw, 7rem);
}

.isc-rewards__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1.25rem 3rem;
	margin-bottom: clamp(2rem, 4vw, 3rem);
}

.isc-rewards__title {
	margin: 0;
	font-family: var(--isc-display);
	font-size: clamp(2.75rem, 6vw, 4.75rem);
	font-weight: 400;
	line-height: 1;
	text-transform: uppercase;
}

.isc-rewards__error {
	margin: 0 0 2rem;
	padding: .9rem 1.2rem;
	border: 2px solid var(--isc-ink);
	border-radius: 14px;
	background: var(--isc-paper-light);
	font-weight: 700;
}

.isc-rewards__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr));
	align-items: start;
	gap: clamp(2rem, 4vw, 2.5rem);
}

.isc-rewards__panel {
	box-sizing: border-box;
	padding: clamp(1.4rem, 3vw, 2rem) clamp(1.25rem, 3vw, 2.1rem);
	border: 2px solid var(--isc-ink);
	border-radius: 28px;
	background: var(--isc-paper-light);
	box-shadow: 9px 9px 0 var(--isc-accent);
}

.isc-rewards__panel-title {
	margin: 0 0 .75rem;
	font-family: var(--isc-display);
	font-size: clamp(2rem, 3.5vw, 2.75rem);
	font-weight: 400;
	line-height: 1.05;
}

.isc-rewards__panel-text {
	max-width: 420px;
	margin: 0;
	color: var(--isc-muted);
	font-size: 1.0625rem;
	line-height: 1.6;
}

.isc-rewards__ctas {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1.25rem 1.5rem;
}

/* Balance card: a dark holo card that tilts with the cursor and catches the light */

.isc-points-card {
	position: relative;
	z-index: 0;
	display: flex;
	flex-direction: column;
	gap: clamp(1rem, 2.4vw, 1.6rem);
	box-sizing: border-box;
	overflow: hidden;
	padding: clamp(1.25rem, 2.6vw, 1.75rem) clamp(1.25rem, 3vw, 2rem) clamp(1.4rem, 2.8vw, 1.9rem);
	border-radius: 26px;
	background: #16131a;
	color: #f2efe8;
	box-shadow: 0 0 0 1.5px var(--isc-card-edge, transparent), 8px 8px 7px -1px var(--isc-shade);
	transform: perspective(900px) rotateX(var(--isc-rx, 0deg)) rotateY(var(--isc-ry, 0deg));
	transition: transform .5s var(--isc-ease), box-shadow .35s;
}

:root[data-theme="dark"] .isc-points-card {
	--isc-card-edge: rgb(242 239 232 / .22);
}

.isc-points-card.is-tilting {
	transition: transform .1s linear, box-shadow .35s;
}

.isc-points-card:hover {
	box-shadow: 0 0 0 1.5px var(--isc-card-edge, transparent), 12px 12px 10px -1px var(--isc-shade);
}

.isc-points-card::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image: radial-gradient(circle at 20% 48%, rgb(163 207 78 / .32), transparent 46%), radial-gradient(rgb(242 239 232 / .07) 1.1px, transparent 1.5px);
	background-size: auto, 7px 7px;
}

.isc-points-card::after {
	content: "";
	position: absolute;
	inset: 10px;
	border: 1.5px solid rgb(242 239 232 / .16);
	border-radius: 18px;
	pointer-events: none;
}

.isc-points-card__foil {
	position: absolute;
	inset: 0;
	z-index: 3;
	background-image: linear-gradient(115deg, transparent 30%, rgb(255 255 255 / .34) 44%, rgb(163 207 78 / .28) 50%, rgb(140 180 255 / .24) 56%, transparent 70%);
	background-position: var(--isc-gx, 50%) 50%;
	background-size: 260% 260%;
	mix-blend-mode: screen;
	opacity: .3;
	pointer-events: none;
	transition: opacity .3s;
}

.isc-points-card:hover .isc-points-card__foil {
	opacity: .95;
}

.isc-points-card__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.isc-points-card__eyebrow {
	margin: 0;
	color: rgb(242 239 232 / .72);
	font-family: var(--isc-body);
	font-size: .75rem;
	font-weight: 900;
	letter-spacing: .2em;
	text-transform: uppercase;
}

.isc-points-card__brand {
	color: #a3cf4e;
	font-family: var(--isc-display);
	font-size: .75rem;
	letter-spacing: .32em;
	text-transform: uppercase;
}

.isc-points-card__mid {
	display: flex;
	align-items: center;
	gap: clamp(1rem, 2.4vw, 1.6rem);
}

.isc-points-card__gem {
	--isc-gem-size: 100%;
	position: relative;
	display: grid;
	place-items: center;
	flex: none;
	width: clamp(78px, 9vw, 118px);
	aspect-ratio: 1;
}

.isc-points-card__gem .isc-gem {
	--isc-gem: #a3cf4e;
	--isc-gem-ink: #0e0d10;
	--isc-gem-line: 3px;
	filter: drop-shadow(0 0 20px rgb(163 207 78 / .5));
	animation: isc-gem-bob 4s ease-in-out infinite;
}

@keyframes isc-gem-bob {
	0%, 100% { transform: translateY(0) rotate(-4deg); }
	50% { transform: translateY(-6px) rotate(3deg); }
}

.isc-points-card__amount {
	display: flex;
	flex-direction: column;
	margin: 0;
}

.isc-points-card__number {
	font-family: var(--isc-display);
	font-size: clamp(4rem, 8.5vw, 6.75rem);
	line-height: .9;
	letter-spacing: -.02em;
}

.isc-points-card__unit {
	margin-top: .5rem;
	color: #a3cf4e;
	font-family: var(--isc-display);
	font-size: clamp(1rem, 1.8vw, 1.375rem);
}

.isc-points-card__title {
	margin: 0;
	color: #f2efe8;
	font-family: var(--isc-display);
	font-size: clamp(1.75rem, 3.2vw, 2.5rem);
	font-weight: 400;
	line-height: 1.05;
}

.isc-points-card__text {
	margin: .6rem 0 0;
	color: rgb(242 239 232 / .75);
	font-size: 1rem;
	line-height: 1.55;
}

.isc-points-card__next {
	display: flex;
	flex-direction: column;
	gap: .6rem;
}

.isc-points-card__row {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: .25rem .75rem;
	margin: 0;
	color: rgb(242 239 232 / .72);
	font-size: .875rem;
}

.isc-points-card__row b {
	color: #f2efe8;
}

.isc-points-track {
	position: relative;
	display: block;
	height: 14px;
	overflow: hidden;
	border-radius: 999px;
	background: rgb(242 239 232 / .12);
	box-shadow: inset 0 0 0 1.5px rgb(242 239 232 / .16);
}

.isc-points-track > span {
	position: absolute;
	inset: 0 auto 0 0;
	max-width: 100%;
	border-radius: 999px;
	background-color: #a3cf4e;
	background-image: repeating-linear-gradient(-45deg, rgb(255 255 255 / .28) 0 6px, transparent 6px 12px);
	box-shadow: 0 0 14px rgb(163 207 78 / .6);
}

.isc-points-card__left {
	margin: 0;
	color: rgb(242 239 232 / .85);
	font-size: .9375rem;
}

.isc-points-card__left b {
	color: #a3cf4e;
	font-weight: 900;
}

.isc-points-card .isc-btn {
	background: #a3cf4e;
	color: #0e0d10;
}

.isc-points-card .isc-btn:hover,
.isc-points-card .isc-btn:focus-visible {
	background: #f2efe8;
	color: #16131a;
}

.isc-points-card .isc-link {
	color: #f2efe8;
}

.isc-rewards__how {
	display: flex;
	flex-direction: column;
	gap: 1.3rem;
}

.isc-rewards__how-title {
	margin: 0;
	font-family: var(--isc-display);
	font-size: clamp(1.75rem, 3vw, 2.125rem);
	font-weight: 400;
	line-height: 1;
}

.isc-rewards__steps {
	display: grid;
	gap: 1rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.isc-rewards__steps li {
	display: grid;
	grid-template-columns: 52px minmax(0, 1fr);
	align-items: start;
	gap: 1.1rem;
	padding: 1.1rem 1.25rem;
	border: 1.5px solid rgb(var(--isc-ink-rgb) / .14);
	border-radius: 22px;
	background: var(--isc-paper-light);
}

.isc-rewards__steps b {
	display: block;
	margin: .2rem 0 .25rem;
	font-size: 1.0625rem;
}

.isc-rewards__steps b + span {
	display: block;
	color: var(--isc-muted);
	font-size: .9375rem;
	line-height: 1.55;
}

.isc-rewards__num {
	display: grid;
	place-items: center;
	box-sizing: border-box;
	width: 52px;
	height: 52px;
	border: 2px solid var(--isc-ink);
	border-radius: 50%;
	background: var(--isc-highlight);
	font-family: var(--isc-display);
	font-size: 1.375rem;
}

.isc-rewards__fine {
	margin: 0;
	color: var(--isc-muted);
	font-size: .84375rem;
	line-height: 1.55;
}

.isc-rewards__tabs {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
}

.isc-rewards__tab {
	min-height: 44px;
	padding: 0 1.1rem;
	border: 1.5px solid rgb(var(--isc-ink-rgb) / .14);
	border-radius: 999px;
	background: transparent;
	color: var(--isc-ink);
	font: 700 .875rem var(--isc-body);
	cursor: pointer;
	transition: background-color .2s, border-color .2s, color .2s;
}

.isc-rewards__tab:hover {
	border-color: var(--isc-ink);
}

.isc-rewards__tab[aria-pressed="true"] {
	border-color: var(--isc-ink);
	background: var(--isc-ink);
	color: var(--isc-paper);
}

.isc-rewards__list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(270px, 100%), 1fr));
	gap: 2rem;
	margin: 0;
	padding: 0 8px 8px 0;
	list-style: none;
}

.isc-rewards__empty {
	margin: 0;
	padding: 1.5rem;
	border: 1.5px dashed rgb(var(--isc-ink-rgb) / .3);
	border-radius: 20px;
	color: var(--isc-muted);
}

/* Reward cards: comic double border, grey when the points are not there yet */

.isc-reward {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 2px solid var(--isc-ink);
	border-radius: 24px;
	background: var(--isc-paper-light);
	box-shadow: 7px 7px 0 var(--isc-accent);
	transition: transform .3s var(--isc-ease), box-shadow .3s var(--isc-ease);
}

.isc-reward:hover {
	box-shadow: 10px 10px 0 var(--isc-accent);
	transform: translate(-2px, -3px);
}

.isc-reward.is-locked {
	box-shadow: 7px 7px 0 rgb(var(--isc-ink-rgb) / .3);
}

.isc-reward.is-locked:hover {
	box-shadow: 10px 10px 0 rgb(var(--isc-ink-rgb) / .3);
}

.isc-reward__art {
	position: relative;
	display: grid;
	place-items: center;
	height: 210px;
	overflow: hidden;
	border-bottom: 2px solid var(--isc-ink);
	background-image: radial-gradient(rgb(255 255 255 / .18) 1.1px, transparent 1.5px);
	background-size: 7px 7px;
}

.isc-reward__art--desc {
	background-color: var(--isc-accent);
}

.isc-reward__art--gift {
	background-color: var(--isc-highlight);
}

.is-locked .isc-reward__art {
	filter: saturate(.3);
}

.isc-reward__kind {
	position: absolute;
	top: 14px;
	left: 14px;
	padding: .3rem .7rem;
	border-radius: 999px;
	background: var(--isc-ink);
	color: var(--isc-paper);
	font-size: .6875rem;
	font-weight: 900;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.isc-reward__burst {
	display: grid;
	place-items: center;
	width: 156px;
	aspect-ratio: 1;
	background: var(--isc-paper-light);
	color: var(--isc-ink);
	clip-path: polygon(50% 0%, 59% 12%, 73% 5%, 75% 20%, 90% 18%, 85% 32%, 100% 38%, 90% 50%, 100% 62%, 85% 68%, 90% 82%, 75% 80%, 73% 95%, 59% 88%, 50% 100%, 41% 88%, 27% 95%, 25% 80%, 10% 82%, 15% 68%, 0% 62%, 10% 50%, 0% 38%, 15% 32%, 10% 18%, 25% 20%, 27% 5%, 41% 12%);
	transform: rotate(-8deg);
}

.isc-reward__burst span {
	font-family: var(--isc-display);
	font-size: 2.5rem;
	line-height: 1;
	white-space: nowrap;
}

.isc-reward__photo {
	width: 132px;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	border-radius: 10px;
	background: var(--isc-photo);
	box-shadow: 6px 6px 8px rgb(0 0 0 / .3);
	transform: rotate(-4deg);
}

.isc-reward__photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.isc-reward__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: .5rem;
	padding: 1.25rem 1.4rem 1.4rem;
}

.isc-reward__name {
	margin: 0;
	font-family: var(--isc-display);
	font-size: 1.4375rem;
	font-weight: 400;
	line-height: 1.1;
}

.isc-reward__note {
	margin: 0;
	color: var(--isc-muted);
	font-size: .90625rem;
	line-height: 1.5;
}

.isc-reward__foot {
	display: flex;
	flex-direction: column;
	gap: .75rem;
	margin-top: auto;
	padding-top: .9rem;
}

.isc-reward__foot form {
	margin: 0;
}

.isc-reward__cost {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	font-family: var(--isc-display);
	font-size: 1.25rem;
	line-height: 1;
}

.isc-reward__cost small {
	color: var(--isc-muted);
	font-family: var(--isc-body);
	font-size: .8125rem;
	font-weight: 700;
}

.isc-reward__action {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 100%;
	min-height: 48px;
	padding: 0 1rem;
	border: 2px solid var(--isc-ink);
	border-radius: 999px;
	background: var(--isc-accent);
	color: var(--isc-paper-light);
	font: 700 .96875rem var(--isc-body);
	text-decoration: none;
	cursor: pointer;
	transition: filter .2s, transform .2s;
}

.isc-reward__action:hover {
	color: var(--isc-paper-light);
	filter: brightness(1.08);
	transform: translateY(-1px);
}

.isc-reward__action.is-ghost {
	border-color: rgb(var(--isc-ink-rgb) / .3);
	background: transparent;
	color: var(--isc-ink);
}

.isc-reward__action.is-ghost:hover {
	border-color: var(--isc-ink);
	color: var(--isc-ink);
	filter: none;
}

.isc-reward__missing {
	display: flex;
	flex-direction: column;
	gap: .45rem;
	color: var(--isc-muted);
	font-size: .84375rem;
	font-weight: 700;
}

/* Codes and history */

.isc-rewards__two {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(460px, 100%), 1fr));
	align-items: start;
	gap: clamp(2.5rem, 5vw, 3.5rem);
}

.isc-rewards__subtitle {
	margin: 0 0 1.5rem;
	font-family: var(--isc-display);
	font-size: clamp(1.75rem, 3vw, 2.25rem);
	font-weight: 400;
	line-height: 1;
}

.isc-rewards__codes {
	display: grid;
	gap: 1.1rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

/* A ticket with a notch on each side; the outline follows the notches because it is drawn with drop shadows. */
.isc-ticket {
	filter: drop-shadow(2px 0 0 var(--isc-ink)) drop-shadow(-2px 0 0 var(--isc-ink)) drop-shadow(0 2px 0 var(--isc-ink)) drop-shadow(0 -2px 0 var(--isc-ink));
}

.isc-ticket.is-used {
	opacity: .55;
}

.isc-ticket__body {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: .9rem 1.1rem;
	padding: 1.1rem 1.6rem;
	background: var(--isc-paper-light);
	-webkit-mask: radial-gradient(circle 12px at 0 50%, #0000 97%, #000) left / 51% 100% no-repeat, radial-gradient(circle 12px at 100% 50%, #0000 97%, #000) right / 51% 100% no-repeat;
	mask: radial-gradient(circle 12px at 0 50%, #0000 97%, #000) left / 51% 100% no-repeat, radial-gradient(circle 12px at 100% 50%, #0000 97%, #000) right / 51% 100% no-repeat;
}

.isc-ticket__info {
	display: flex;
	flex-direction: column;
	gap: .3rem;
	min-width: 0;
}

.isc-ticket__reward {
	color: var(--isc-muted);
	font-size: .84375rem;
	font-weight: 700;
}

.isc-ticket__code {
	font-family: var(--isc-display);
	font-size: 1.5rem;
	line-height: 1.1;
	letter-spacing: .08em;
}

.isc-ticket__state {
	align-self: flex-start;
	padding: .2rem .6rem;
	border-radius: 999px;
	background: var(--isc-highlight);
	font-size: .75rem;
	font-weight: 900;
}

.isc-ticket.is-used .isc-ticket__state {
	background: var(--isc-paper-dark);
	color: var(--isc-muted);
}

.isc-ticket__actions {
	display: flex;
	gap: .5rem;
}

.isc-ticket__copy {
	min-height: 44px;
	padding: 0 1rem;
	border: 1.5px solid rgb(var(--isc-ink-rgb) / .3);
	border-radius: 999px;
	background: transparent;
	color: var(--isc-ink);
	font: 700 .875rem var(--isc-body);
	cursor: pointer;
}

.isc-ticket__copy:hover {
	border-color: var(--isc-ink);
}

.isc-ticket__use {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	min-height: 44px;
	padding: 0 1.1rem;
	border-radius: 999px;
	background: var(--isc-accent);
	color: var(--isc-paper-light);
	font-size: .90625rem;
	font-weight: 700;
	text-decoration: none;
}

.isc-ticket__use:hover {
	color: var(--isc-paper-light);
	filter: brightness(1.08);
}

.isc-ticket.is-single .isc-ticket__body {
	justify-content: center;
}

.isc-ticket.is-single .isc-ticket__code {
	font-size: 1.875rem;
}

.isc-rewards__history {
	margin: 0;
	padding: 0;
	border-top: 1.5px solid var(--isc-ink);
	list-style: none;
}

.isc-rewards__history li {
	display: grid;
	grid-template-columns: 7.5rem minmax(0, 1fr) auto;
	align-items: center;
	gap: .25rem 1rem;
	min-height: 58px;
	padding: .6rem .25rem;
	border-bottom: var(--isc-hairline);
}

.isc-rewards__date {
	color: var(--isc-muted);
	font-size: .84375rem;
}

.isc-rewards__what {
	font-weight: 700;
}

.isc-rewards__pts {
	color: var(--isc-muted);
	font-family: var(--isc-display);
	font-size: 1.1875rem;
	white-space: nowrap;
}

.isc-rewards__pts.is-plus {
	color: var(--isc-accent);
}

@media (max-width: 600px) {
	.isc-rewards__history li {
		grid-template-columns: minmax(0, 1fr) auto;
	}

	.isc-rewards__date {
		grid-row: 2;
		grid-column: 1;
	}

	.isc-rewards__pts {
		grid-row: 1 / span 2;
		grid-column: 2;
	}

	.isc-ticket__actions {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		width: 100%;
	}

	.isc-ticket__use {
		justify-content: center;
	}
}

/* Redeem dialogs: centred on desktop, a sheet from the bottom on phones */

.isc-points-dialog {
	position: fixed;
	inset: 0;
	width: min(480px, calc(100vw - 2rem));
	max-width: none;
	height: fit-content;
	max-height: calc(100dvh - 2rem);
	margin: auto;
	padding: 0;
	overflow: visible;
	border: 0;
	background: transparent;
	color: var(--isc-ink);
}

.isc-points-dialog::backdrop {
	background: rgb(22 19 26 / .55);
	animation: isc-fade .3s ease-out both;
}

.isc-points-dialog.is-closing::backdrop {
	animation: isc-fade .26s ease-in reverse both;
}

.isc-points-dialog__panel {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: .9rem;
	box-sizing: border-box;
	max-height: calc(100dvh - 2rem);
	overflow: auto;
	padding: 2.75rem 2rem 1.9rem;
	border: 2px solid var(--isc-ink);
	border-radius: 28px;
	background: var(--isc-paper-light);
	box-shadow: 9px 9px 0 var(--isc-accent);
	text-align: center;
	animation: isc-pop-panel .35s var(--isc-ease) both;
}

.isc-points-dialog.is-closing .isc-points-dialog__panel {
	animation: isc-fade .2s ease-in reverse both;
}

.isc-points-dialog__close {
	position: absolute;
	top: .75rem;
	right: .75rem;
}

.isc-points-dialog__title {
	margin: .25rem 0 0;
	font-family: var(--isc-display);
	font-size: clamp(1.5rem, 4vw, 1.875rem);
	font-weight: 400;
	line-height: 1.15;
	text-wrap: balance;
}

.isc-points-dialog__kicker {
	margin: .25rem 0 0;
	color: var(--isc-muted);
	font-size: .8125rem;
	font-weight: 900;
	letter-spacing: .16em;
	text-transform: uppercase;
}

.isc-points-dialog__text {
	max-width: 380px;
	margin: 0;
	color: var(--isc-muted);
	line-height: 1.55;
}

.isc-points-dialog__text b {
	color: var(--isc-ink);
}

.isc-points-dialog__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 1rem 1.5rem;
	margin-top: .5rem;
}

.isc-points-dialog .isc-ticket {
	align-self: stretch;
	margin: .25rem 0;
}

.isc-points-dialog__gem {
	--isc-gem-size: 100%;
	--isc-gem-line: 2.5px;
	position: relative;
	display: grid;
	place-items: center;
	width: 86px;
	aspect-ratio: 1;
}

.isc-points-dialog__gem .isc-spark {
	background: var(--isc-accent);
}

.isc-points-dialog__burst {
	--isc-rays-size: 150%;
	--isc-burst-size: 118px;
	position: relative;
	display: grid;
	place-items: center;
	width: 130px;
	aspect-ratio: 1;
}

.isc-points-dialog__burst .isc-burst,
.isc-points-earn__burst .isc-burst,
.isc-points-toast__burst .isc-burst {
	position: relative;
	font-family: var(--isc-display);
	line-height: 1;
	transform: rotate(-8deg);
}

.isc-points-dialog__burst .isc-burst {
	font-size: 1.4rem;
}

@media (max-width: 600px) {
	.isc-points-dialog {
		inset: auto 0 0;
		width: 100vw;
		margin: auto 0 0;
	}

	.isc-points-dialog__panel {
		padding: 2.5rem 1.25rem 1.5rem;
		border-width: 2px 0 0;
		border-radius: 28px 28px 0 0;
		box-shadow: none;
	}

	.isc-points-dialog__actions,
	.isc-points-dialog__actions .isc-btn {
		align-self: stretch;
		justify-content: center;
	}
}

/* Notice when new points arrive */

.isc-points-toast {
	position: fixed;
	bottom: 1.75rem;
	left: clamp(2.75rem, 4vw, 3.5rem);
	z-index: 100001;
	display: flex;
	align-items: center;
	gap: 1.1rem;
	box-sizing: border-box;
	width: min(440px, calc(100vw - 4rem));
	padding: 1.1rem 3.5rem 1.1rem 1.1rem;
	border: 2px solid var(--isc-ink);
	border-radius: 22px;
	background: var(--isc-paper-light);
	color: var(--isc-ink);
	box-shadow: 7px 7px 0 var(--isc-accent);
	animation: isc-points-toast-in .6s var(--isc-ease) both;
}

.isc-points-toast.is-leaving {
	animation: isc-points-toast-out .3s ease-in both;
}

.isc-points-toast__burst {
	--isc-rays-size: 150%;
	--isc-burst-size: 84px;
	position: relative;
	display: grid;
	place-items: center;
	flex: none;
	width: 84px;
	aspect-ratio: 1;
	margin: -2.2rem 0 -2.2rem -2.9rem;
}

.isc-points-toast__burst .isc-burst {
	font-size: 1.5rem;
	animation: isc-points-burst .7s var(--isc-ease) .15s both;
}

.isc-points-toast__text {
	display: flex;
	flex-direction: column;
	gap: .2rem;
	min-width: 0;
	color: var(--isc-muted);
	font-size: .875rem;
	line-height: 1.4;
}

.isc-points-toast__title {
	color: var(--isc-ink);
	font-family: var(--isc-display);
	font-size: 1.25rem;
	font-weight: 400;
	line-height: 1.15;
}

.isc-points-toast__text a {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	gap: .35rem;
	margin-top: .25rem;
	color: var(--isc-accent);
	font-weight: 700;
	text-decoration: none;
}

.isc-points-toast__close {
	position: absolute;
	top: .6rem;
	right: .6rem;
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--isc-paper-dark);
	color: var(--isc-ink);
	cursor: pointer;
}

@keyframes isc-points-toast-in {
	0% { opacity: 0; transform: translateY(30px) rotate(-2deg); }
	60% { opacity: 1; transform: translateY(-4px) rotate(.5deg); }
	100% { transform: none; }
}

@keyframes isc-points-toast-out {
	to { opacity: 0; transform: translateY(20px); }
}

@keyframes isc-points-burst {
	0% { transform: rotate(-40deg) scale(.2); }
	70% { transform: rotate(-4deg) scale(1.12); }
	100% { transform: rotate(-8deg) scale(1); }
}

@media (max-width: 600px) {
	.isc-points-toast {
		right: 1rem;
		bottom: 1rem;
		left: 1rem;
		width: auto;
	}

	.isc-points-toast__burst {
		--isc-burst-size: 72px;
		width: 72px;
		margin: -1.5rem 0;
	}
}

/* Order received, account, cart drawer and product page */

.isc-points-earn {
	display: grid;
	grid-template-columns: 120px minmax(0, 1fr);
	align-items: center;
	gap: 1.4rem;
	margin: 1.5rem 0;
	padding: 1.4rem 1.6rem 1.5rem 1.1rem;
	overflow: hidden;
	border: 2px solid var(--isc-ink);
	border-radius: 24px;
	background: var(--isc-paper-light);
	color: var(--isc-ink);
	box-shadow: 8px 8px 0 var(--isc-accent);
}

.isc-points-earn__burst {
	--isc-rays-size: 150%;
	--isc-burst-size: 104px;
	position: relative;
	display: grid;
	place-items: center;
	width: 120px;
	aspect-ratio: 1;
}

.isc-points-earn__burst .isc-burst {
	font-size: 1.875rem;
}

.isc-points-earn__body {
	display: flex;
	flex-direction: column;
	gap: .5rem;
}

.isc-points-earn__title {
	margin: 0;
	font-family: var(--isc-display);
	font-size: 1.5rem;
	line-height: 1.15;
}

.isc-points-earn__text {
	margin: 0;
	color: var(--isc-muted);
}

.isc-points-earn__text b {
	color: var(--isc-ink);
}

.isc-points-earn .isc-link {
	align-self: flex-start;
	margin-top: .25rem;
}

.isc-points-invite {
	--isc-gem-size: 34px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem 1.2rem;
	margin: 1.5rem 0;
	padding: 1.1rem 1.25rem;
	border: 1.5px dashed rgb(var(--isc-ink-rgb) / .3);
	border-radius: 20px;
}

.isc-points-invite p {
	flex: 1 1 260px;
	margin: 0;
	line-height: 1.5;
}

@media (max-width: 600px) {
	.isc-points-earn {
		grid-template-columns: minmax(0, 1fr);
		justify-items: start;
	}
}

.isc-account-points {
	--isc-gem-size: 28px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .6rem 1rem;
	padding: 1rem 1.2rem;
	border: 2px solid var(--isc-ink);
	border-radius: 18px;
	background: var(--isc-paper-light);
	box-shadow: 6px 6px 0 var(--isc-accent);
}

.isc-account-points b {
	font-weight: 900;
}

.isc-account-points a {
	margin-left: auto;
	font-weight: 700;
}

.isc-drawer__codes {
	margin: 0;
	color: var(--isc-accent);
	font-size: .875rem;
	font-weight: 700;
}

.isc-drawer__points {
	--isc-gem-size: 26px;
	display: flex;
	align-items: center;
	gap: .75rem;
	margin: 0;
	padding: .75rem .9rem;
	border-radius: 16px;
	background: var(--isc-highlight);
	font-size: .90625rem;
	line-height: 1.4;
}

.isc-drawer__points b {
	font-weight: 900;
}

.isc-drawer__points.is-guest {
	border: 1.5px dashed rgb(var(--isc-ink-rgb) / .3);
	background: transparent;
}

.isc-drawer__points a {
	margin-left: auto;
	color: var(--isc-ink);
	font-weight: 700;
	white-space: nowrap;
}

.isc-points-chip {
	--isc-gem-size: 22px;
	display: inline-flex;
	align-items: center;
	gap: .55rem;
	box-sizing: border-box;
	width: fit-content;
	min-height: 40px;
	margin: 0 0 1.25rem;
	padding: .3rem .9rem .3rem .7rem;
	border: 1.5px solid rgb(var(--isc-ink-rgb) / .3);
	border-radius: 999px;
	color: var(--isc-ink);
	font-size: .875rem;
	font-weight: 700;
	text-decoration: none;
	transition: border-color .2s;
}

.isc-points-chip:hover {
	border-color: var(--isc-accent);
	color: var(--isc-ink);
}

.isc-points-chip b {
	font-family: var(--isc-display);
	font-size: .9375rem;
	font-weight: 400;
}

@media (prefers-reduced-motion: reduce) {
	.isc-points-btn.is-hot,
	.isc-points-btn__pop,
	.isc-points-toast,
	.isc-points-toast__burst .isc-burst,
	.isc-points-dialog__panel,
	.isc-points-card__gem .isc-gem,
	.isc-spark {
		animation: none;
	}
}
