.shoe-match {
--sm-dark: #262626;
--sm-tan: #c4986a;
--sm-rust: #9c5a3c;
--sm-cream: #f5f1eb;
--sm-sale: #b03a2e;
--sm-yes: #2e7d4f;
--sm-no: #ff8a7d;
--sm-muted: #cfcfcf;
--sm-radius: 24px;
--sm-shadow: 0 28px 60px -18px rgba(0, 0, 0, .55), 0 10px 24px -12px rgba(0, 0, 0, .35);
--sm-header: 72px;
position: relative;
isolation: isolate;
overflow: hidden;
background: var(--sm-dark);
color: #fff;
font-family: inherit;
}
.shoe-match *, .shoe-match *::before, .shoe-match *::after {
box-sizing: border-box;
}
.shoe-match button {
font: inherit;
cursor: pointer;
}
.shoe-match :focus-visible {
outline: 3px solid var(--sm-tan);
outline-offset: 3px;
}
.shoe-match [hidden] {
display: none !important;
}
.sm-sr {
position: absolute !important;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border: 0;
} .sm-glow, .sm-watermark, .sm-art, .sm-badges, .sm-fan, .sm-results__art {
pointer-events: none;
}
.sm-glow {
position: absolute;
z-index: -1;
border-radius: 50%;
filter: blur(70px);
opacity: .55;
}
.sm-glow--tan {
top: -18rem;
left: -14rem;
width: 38rem;
height: 38rem;
background: radial-gradient(circle, rgba(196, 152, 106, .55), transparent 65%);
}
.sm-glow--rust {
right: 10%;
bottom: -22rem;
width: 44rem;
height: 36rem;
background: radial-gradient(circle, rgba(156, 90, 60, .6), transparent 65%);
}
.sm-watermark {
position: absolute;
z-index: -1;
left: -1rem;
bottom: -3.5rem;
color: transparent;
-webkit-text-stroke: 1.5px rgba(255, 255, 255, .07);
font-size: clamp(8rem, 18vw, 17rem);
font-weight: 900;
letter-spacing: -.04em;
line-height: 1;
user-select: none;
} .sm-inner {
position: relative;
max-width: 1200px;
margin: 0 auto;
padding: clamp(2rem, 5vw, 4.5rem) clamp(1rem, 4vw, 2.5rem);
} @media (min-width: 960px) {
.sm-inner {
min-height: calc(38rem + 2 * clamp(2rem, 5vw, 4.5rem));
}
}
@media (min-width: 768px) and (max-width: 959.98px) {
.sm-inner {
min-height: 70rem;
}
}
.sm-noscript {
margin: 0;
color: var(--sm-muted);
}
.sm-noscript a {
color: var(--sm-tan);
}
.sm-layout {
display: grid;
gap: 2.5rem;
align-items: center;
}
@media (min-width: 960px) {
.sm-layout {
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
gap: 3rem;
min-height: 38rem;
}
} .sm-setup {
position: relative;
}
.sm-setup > .sm-badge {
align-self: flex-start;
}
.sm-fan {
display: none;
}
.sm-badge, .sm-card__label {
display: inline-block;
padding: .3rem .8rem;
border-radius: 999px;
background: var(--sm-tan);
color: var(--sm-dark);
font-size: .72rem;
font-weight: 800;
letter-spacing: .12em;
}
.sm-title {
margin: 1rem 0 .9rem;
color: #fff;
font-size: clamp(1.9rem, 4.2vw, 3.25rem);
font-weight: 900;
line-height: 1.04;
letter-spacing: -.02em;
text-wrap: balance;
}
.sm-lead {
max-width: 32rem;
margin: 0 0 1.6rem;
color: var(--sm-muted);
font-size: 1.05rem;
line-height: 1.5;
}
.sm-search {
position: relative;
display: flex;
align-items: center;
max-width: 32rem;
margin-bottom: 1.6rem;
}
.sm-search__icon {
position: absolute;
left: 1.15rem;
color: #8d8d8d;
}
.sm-search input {
flex: 1;
min-width: 0;
height: 3.4rem;
padding: 0 7rem 0 2.9rem;
border: 1.5px solid rgba(255, 255, 255, .14);
border-radius: 999px;
background: rgba(255, 255, 255, .07);
color: #fff;
font-size: 1rem;
}
.sm-search input::placeholder {
color: #a9a9a9;
}
.sm-search input:focus {
outline: none;
border-color: var(--sm-tan);
background: rgba(255, 255, 255, .1);
}
.sm-search__button {
position: absolute;
right: .35rem;
height: 2.7rem;
padding: 0 1.3rem;
border: 0;
border-radius: 999px;
background: var(--sm-tan);
color: var(--sm-dark);
font-weight: 800;
}
.sm-search__button:hover {
background: #d6ad82;
}
.sm-group {
margin-bottom: 1.25rem;
}
.sm-label {
display: block;
margin-bottom: .55rem;
color: var(--sm-muted);
font-size: .72rem;
font-weight: 800;
letter-spacing: .14em;
}
.sm-pills, .sm-sizes {
display: flex;
flex-wrap: wrap;
gap: .5rem;
}
.sm-pill, .sm-size {
min-width: 2.75rem;
min-height: 2.75rem;
padding: 0 1.15rem;
border: 1.5px solid rgba(255, 255, 255, .22);
border-radius: 999px;
background: transparent;
color: #fff;
font-weight: 700;
transition: background-color .15s, border-color .15s, color .15s;
}
.sm-size {
padding: 0 .4rem;
font-variant-numeric: tabular-nums;
}
.sm-pill:hover, .sm-size:hover {
border-color: rgba(255, 255, 255, .55);
}
.sm-pill[aria-pressed="true"], .sm-size[aria-pressed="true"] {
border-color: var(--sm-tan);
background: var(--sm-tan);
color: var(--sm-dark);
}
.sm-start {
display: none;
} .sm-stage {
position: relative;
display: flex;
justify-content: center;
min-height: 34rem;
}
.sm-art {
position: absolute;
inset: 0;
z-index: 0;
}
.sm-art__badge {
z-index: 3;
}
.sm-badges {
position: absolute;
inset: 0;
z-index: 2;
pointer-events: none;
}
.sm-layout[data-step="results"] .sm-badges, .sm-layout[data-step="results"] .sm-art__photo {
display: none;
}
.sm-art__circle, .sm-art__ring {
position: absolute;
top: 50%;
left: 50%;
border-radius: 50%;
transform: translate(-50%, -50%);
}
.sm-art__circle {
width: min(30rem, 92%);
aspect-ratio: 1;
background: var(--sm-tan);
}
.sm-art__ring {
width: min(35rem, 106%);
aspect-ratio: 1;
border: 1.5px dashed rgba(196, 152, 106, .7);
}
.sm-art__dot {
position: absolute;
border-radius: 50%;
}
.sm-art__dot--rust {
top: 8%;
right: 14%;
width: 1.4rem;
height: 1.4rem;
background: var(--sm-rust);
}
.sm-art__dot--cream {
bottom: 12%;
left: 10%;
width: .85rem;
height: .85rem;
background: var(--sm-cream);
}
.sm-art__photo {
position: absolute;
top: 30%;
width: 8.5rem;
height: 10.75rem;
object-fit: cover;
border: 6px solid #fff;
border-radius: 12px;
box-shadow: var(--sm-shadow);
}
.sm-art__photo--left {
left: 2%;
transform: rotate(-12deg);
}
.sm-art__photo--right {
right: 2%;
top: 40%;
transform: rotate(11deg);
}
.sm-art__badge {
position: absolute;
display: grid;
place-items: center;
width: 3.25rem;
height: 3.25rem;
border-radius: 50%;
box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .45);
font-size: 1.3rem;
font-weight: 800;
}
.sm-art__badge--heart {
top: 13%;
left: calc(50% - 15.25rem);
background: #fff;
color: var(--sm-sale);
}
.sm-art__badge--no {
right: calc(50% - 15.25rem);
bottom: 24%;
background: var(--sm-dark);
color: var(--sm-no);
border: 2px solid var(--sm-no);
} .sm-swipe, .sm-results {
position: relative;
z-index: 1;
width: min(100%, 26rem);
}
.sm-swipe {
display: flex;
flex-direction: column;
align-items: center;
}
.sm-topbar, .sm-progress, .sm-hint {
display: none;
}
.sm-counters {
display: flex;
gap: .5rem;
margin-bottom: .9rem;
}
.sm-counter {
padding: .4rem .9rem;
border: 1px solid rgba(255, 255, 255, .14);
border-radius: 999px;
background: rgba(20, 20, 20, .85);
color: #fff;
font-size: .8rem;
font-weight: 700;
}
.sm-deck {
position: relative;
width: 100%;
aspect-ratio: 4 / 5.1;
max-height: 34rem;
}
.sm-card {
position: absolute;
inset: 0;
display: flex;
flex-direction: column;
overflow: hidden;
border-radius: var(--sm-radius);
background: #fff;
color: var(--sm-dark);
box-shadow: var(--sm-shadow);
touch-action: pan-y;
user-select: none;
-webkit-user-select: none;
transition: transform .32s cubic-bezier(.2, .9, .3, 1.15), opacity .3s ease;
will-change: transform;
}
.sm-card.is-top {
cursor: grab;
}
.sm-card.is-dragging {
cursor: grabbing;
transition: none;
}
.sm-card.is-next {
transform: translateY(14px) scale(.95);
opacity: .7;
}
.sm-card.is-third {
transform: translateY(26px) scale(.9);
opacity: 0;
}
.sm-card.is-leaving {
transition: transform .32s ease-in, opacity .3s ease;
pointer-events: none;
}
.sm-card__media {
position: relative;
flex: 0 0 70%;
overflow: hidden;
background: #ece7e0;
}
.sm-card__media img {
width: 100%;
height: 100%;
object-fit: cover;
pointer-events: none;
}
.sm-card__body {
flex: 1;
padding: 1rem 1.25rem 1.1rem;
}
.sm-card__label {
padding: .2rem .65rem;
font-size: .65rem;
}
.sm-card__label.is-campaign {
background: var(--sm-sale);
color: #fff;
}
.sm-card__label.is-refine {
background: var(--sm-dark);
color: var(--sm-tan);
}
.sm-card__name {
margin: .45rem 0 .2rem;
color: var(--sm-dark);
font-size: 1.45rem;
font-weight: 900;
line-height: 1.1;
}
.sm-card__count {
margin: 0;
color: #666;
font-size: .9rem;
}
.sm-stamp {
position: absolute;
top: 1.25rem;
padding: .3rem .9rem;
border: 3px solid;
border-radius: 10px;
background: rgba(255, 255, 255, .85);
font-size: 1.6rem;
font-weight: 900;
letter-spacing: .08em;
opacity: 0;
transition: opacity .1s;
}
.sm-stamp--yes {
left: 1.1rem;
border-color: var(--sm-yes);
color: var(--sm-yes);
transform: rotate(-12deg);
}
.sm-stamp--no {
right: 1.1rem;
border-color: var(--sm-sale);
color: var(--sm-sale);
transform: rotate(12deg);
}
.sm-controls {
display: flex;
align-items: center;
justify-content: center;
gap: .9rem;
margin-top: 1.5rem;
}
.sm-vote {
display: grid;
place-items: center;
width: 3.6rem;
height: 3.6rem;
padding: 0;
border: 2px solid;
border-radius: 50%;
background: var(--sm-dark);
font-size: 1.35rem;
font-weight: 800;
box-shadow: 0 10px 22px -10px rgba(0, 0, 0, .6);
transition: transform .12s;
}
.sm-vote:active {
transform: scale(.92);
}
.sm-vote--no {
border-color: var(--sm-no);
color: var(--sm-no);
}
.sm-vote--yes {
border-color: var(--sm-tan);
color: var(--sm-tan);
}
.sm-skip {
min-height: 3rem;
padding: 0 1.4rem;
border: 0;
border-radius: 999px;
background: #fff;
color: var(--sm-dark);
font-weight: 800;
box-shadow: 0 10px 22px -10px rgba(0, 0, 0, .5);
}
.sm-skip__icon {
display: none;
}
.shoe-match .fa-solid {
line-height: 1;
}
.sm-start__button .fa-solid, .sm-all .fa-solid {
margin-left: .35rem;
font-size: .9em;
}
.sm-again .fa-solid {
margin-right: .25rem;
}
.sm-counter .fa-heart, .sm-topbar__likes .fa-heart {
margin-right: .25rem;
color: var(--sm-tan);
}
.sm-hint .fa-solid {
margin: 0 .1rem;
font-size: .85em;
}
.sm-hint .fa-heart {
color: var(--sm-tan);
}
.sm-hint .fa-xmark {
color: var(--sm-no);
}
.sm-skip__sr {
display: none;
} .sm-results {
width: min(100%, 34rem);
align-self: center;
padding: 1.5rem;
border-radius: var(--sm-radius);
background: #fff;
color: var(--sm-dark);
box-shadow: var(--sm-shadow);
}
.sm-results__art {
display: none;
}
.sm-results__label {
color: var(--sm-rust);
}
.sm-results__title {
margin: 0 0 .25rem;
color: var(--sm-dark);
font-size: 1.6rem;
font-weight: 900;
line-height: 1.1;
}
.sm-results__title:focus {
outline: none;
}
.sm-results__note {
margin: 0;
color: #666;
font-size: .9rem;
}
.sm-results__tags {
display: flex;
flex-wrap: wrap;
gap: .35rem;
margin: .4rem 0 0;
}
.sm-results__tags span {
padding: .2rem .65rem;
border-radius: 999px;
background: var(--sm-dark);
color: var(--sm-tan);
font-size: .75rem;
font-weight: 800;
}
.sm-loading {
margin: 0;
padding: 2rem 0;
color: #666;
text-align: center;
}
.sm-loading a {
color: var(--sm-rust);
}
.sm-chips {
display: flex;
flex-wrap: wrap;
gap: .5rem;
margin: 1rem 0 1.25rem;
padding: 0;
list-style: none;
}
.sm-chip {
display: inline-flex;
align-items: center;
gap: .5rem;
min-height: 2.75rem;
padding: .25rem .9rem .25rem .25rem;
border-radius: 999px;
background: var(--sm-cream);
color: var(--sm-dark);
font-size: .9rem;
font-weight: 700;
text-decoration: none;
white-space: nowrap;
}
.sm-chip img {
width: 2.25rem;
height: 2.25rem;
border-radius: 50%;
object-fit: cover;
}
.sm-chip:hover {
background: #ebe3d8;
color: var(--sm-dark);
}
.sm-products {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: .9rem;
margin: 0 0 1.25rem;
padding: 0;
list-style: none;
}
.sm-product {
position: relative;
display: flex;
flex-direction: column;
min-width: 0;
}
.sm-product__media {
position: relative;
display: block;
aspect-ratio: 1;
overflow: hidden;
border-radius: 14px;
background: #f1ede7;
}
.sm-product__media img {
width: 100%;
height: 100%;
object-fit: cover;
}
.sm-product__badge {
position: absolute;
top: .5rem;
left: .5rem;
padding: .15rem .5rem;
border-radius: 999px;
background: var(--sm-sale);
color: #fff;
font-size: .75rem;
font-weight: 800;
}
.sm-product__info {
flex: 1;
padding-top: .5rem;
}
.sm-product__name {
display: -webkit-box;
overflow: hidden;
color: var(--sm-dark);
font-size: .82rem;
font-weight: 700;
line-height: 1.3;
text-decoration: none;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
}
.sm-product__price {
display: flex;
flex-wrap: wrap;
gap: 0 .4rem;
margin-top: .25rem;
font-size: .9rem;
font-weight: 800;
}
.sm-product__price del {
color: #8d8d8d;
font-weight: 500;
}
.sm-product__price .is-sale {
color: var(--sm-sale);
}
.sm-product__add {
display: inline-flex;
align-items: center;
justify-content: center;
gap: .35rem;
min-height: 2.75rem;
margin-top: .5rem;
border: 0;
border-radius: 999px;
background: var(--sm-dark);
color: #fff;
font-size: .82rem;
font-weight: 800;
}
.sm-product__add:hover {
background: #000;
}
.sm-product__add.is-loading {
opacity: .6;
}
.sm-product__add.is-added {
background: var(--sm-yes);
}
.sm-results__actions {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: .75rem 1.25rem;
}
.sm-all {
display: inline-flex;
align-items: center;
gap: .4rem;
min-height: 3.2rem;
padding: 0 1.5rem;
border-radius: 999px;
background: var(--sm-tan);
color: var(--sm-dark);
font-weight: 800;
text-decoration: none;
}
.sm-all:hover {
background: #d6ad82;
color: var(--sm-dark);
}
.sm-again {
min-height: 2.75rem;
padding: 0 .5rem;
border: 0;
background: none;
color: var(--sm-dark);
font-weight: 700;
text-decoration: underline;
text-underline-offset: .25em;
} @media (min-width: 768px) and (max-width: 959.98px) {
.sm-art__photo {
display: none;
}
.sm-stage {
min-height: 32rem;
}
.sm-art__badge--heart {
left: calc(50% - 14rem);
}
.sm-art__badge--no {
right: calc(50% - 14rem);
}
} @media (max-width: 767.98px) {
.shoe-match {
min-height: calc(100svh - var(--sm-header));
}
.sm-inner {
display: flex;
flex-direction: column;
min-height: inherit;
padding: 1.25rem 1rem 1rem;
}
.sm-layout {
flex: 1;
display: flex;
flex-direction: column;
gap: 0;
}
.sm-watermark {
display: none;
}
.sm-layout[data-step="setup"] .sm-stage,
.sm-layout[data-step="swipe"] .sm-setup,
.sm-layout[data-step="results"] .sm-setup {
display: none;
} .sm-setup {
flex: 1;
display: flex;
flex-direction: column;
padding-bottom: 7.5rem;
}
.sm-fan {
position: relative;
display: block;
height: 9.5rem;
margin: 0 -1rem .5rem;
overflow: hidden;
}
.sm-fan__circle {
position: absolute;
left: 50%;
bottom: -9rem;
width: 18rem;
height: 18rem;
border-radius: 50%;
background: var(--sm-tan);
transform: translateX(-50%);
}
.sm-fan__photo {
position: absolute;
bottom: -.5rem;
left: 50%;
width: 5.6rem;
height: 7rem;
object-fit: cover;
border: 4px solid #fff;
border-radius: 10px;
box-shadow: var(--sm-shadow);
}
.sm-fan__photo--1 {
transform: translateX(-150%) rotate(-12deg);
}
.sm-fan__photo--2 {
bottom: .4rem;
z-index: 1;
transform: translateX(-50%);
}
.sm-fan__photo--3 {
transform: translateX(50%) rotate(11deg);
}
.sm-title {
margin-top: .75rem;
font-size: 1.875rem;
}
.sm-lead {
margin-bottom: 1.1rem;
font-size: .95rem;
}
.sm-search input {
height: 3rem;
padding-right: 1rem;
}
.sm-search__button {
display: none;
}
.sm-start {
position: absolute;
right: 0;
bottom: 0;
left: 0;
z-index: 3;
display: grid;
justify-items: center;
gap: .4rem;
padding: .9rem 1rem 1rem;
background: linear-gradient(to top, var(--sm-dark) 70%, rgba(38, 38, 38, 0));
}
.sm-start__button {
width: 100%;
min-height: 3.5rem;
border: 0;
border-radius: 999px;
background: var(--sm-tan);
color: var(--sm-dark);
font-size: 1.1rem;
font-weight: 900;
}
.sm-start__all {
padding: .4rem;
color: var(--sm-muted);
font-size: .85rem;
text-decoration: underline;
text-underline-offset: .2em;
} .sm-stage {
flex: 1;
flex-direction: column;
align-items: center;
min-height: 0;
margin: -1.25rem -1rem -1rem;
padding: 0 1rem 1rem;
}
.sm-art__ring, .sm-art__dot, .sm-art__photo, .sm-badges {
display: none;
}
.sm-art__circle {
top: 52%;
width: 125%;
}
.sm-swipe {
flex: 1;
width: 100%;
}
.sm-topbar {
display: flex;
align-items: center;
gap: .5rem;
width: 100%;
padding: .6rem 0 .4rem;
}
.sm-back {
display: grid;
place-items: center;
width: 2.75rem;
height: 2.75rem;
border: 0;
border-radius: 50%;
background: rgba(255, 255, 255, .08);
color: #fff;
font-size: 1.2rem;
}
.sm-topbar__title {
flex: 1;
min-width: 0;
overflow: hidden;
color: #fff;
font-weight: 800;
text-overflow: ellipsis;
white-space: nowrap;
}
.sm-topbar__likes {
padding: .3rem .7rem;
border-radius: 999px;
background: rgba(255, 255, 255, .1);
color: var(--sm-tan);
font-weight: 800;
}
.sm-progress {
display: flex;
gap: 4px;
width: 100%;
margin: 0 0 1rem;
padding: 0 0 .7rem;
}
.sm-progress span {
flex: 1;
height: 4px;
border-radius: 2px;
background: rgba(255, 255, 255, .25);
}
.sm-progress .is-done {
background: var(--sm-tan);
}
.sm-progress .is-current {
background: #fff;
}
.sm-counters {
display: none;
}
.sm-deck {
width: 100%;
max-width: 22rem;
aspect-ratio: 4 / 5.4;
max-height: calc(100svh - var(--sm-header) - 15rem);
margin-top: auto;
}
.sm-controls {
margin-top: 1.1rem;
}
.sm-skip {
width: 3.25rem;
height: 3.25rem;
min-height: 0;
padding: 0;
border-radius: 50%;
}
.sm-skip__text {
display: none;
}
.sm-skip__icon {
display: inline;
font-size: 1.3rem;
}
.sm-skip__sr {
display: block;
} .sm-hint {
display: block;
margin: .7rem 0 auto;
padding: .3rem .8rem;
border-radius: 999px;
background: rgba(20, 20, 20, .8);
color: #fff;
font-size: .8rem;
font-weight: 700;
} .sm-layout[data-step="results"] .sm-art {
display: none;
}
.sm-results {
flex: 1;
display: flex;
flex-direction: column;
width: calc(100% + 2rem);
margin: 0 -1rem -1rem;
padding: 0;
align-self: stretch;
border-radius: 0;
background: var(--sm-cream);
box-shadow: none;
}
.sm-results__head {
position: relative;
overflow: hidden;
padding: 1.5rem 1rem 1.4rem;
background: var(--sm-dark);
color: #fff;
}
.sm-results__art {
position: absolute;
top: -4.5rem;
right: -3.5rem;
display: block;
width: 10rem;
height: 10rem;
border-radius: 50%;
background: var(--sm-tan);
}
.sm-results__art .sm-art__badge {
display: grid;
top: auto;
bottom: 1.6rem;
left: 1.4rem;
width: 2.6rem;
height: 2.6rem;
font-size: 1rem;
}
.sm-results__label {
color: var(--sm-tan);
}
.sm-results__title {
position: relative;
max-width: 16rem;
color: #fff;
font-size: 1.6rem;
}
.sm-results__note {
color: var(--sm-muted);
}
.sm-results__tags span {
background: rgba(255, 255, 255, .1);
}
.sm-results__body {
flex: 1;
padding: 1rem 1rem 6.5rem;
}
.sm-loading {
color: #555;
}
.sm-chips {
flex-wrap: nowrap;
margin: 0 -1rem 1rem;
padding: 0 1rem .25rem;
overflow-x: auto;
scrollbar-width: none;
}
.sm-chips::-webkit-scrollbar {
display: none;
}
.sm-chip {
background: #fff;
}
.sm-products {
grid-template-columns: 1fr;
gap: .6rem;
}
.sm-product {
display: grid;
grid-template-columns: 5.25rem minmax(0, 1fr) auto;
align-items: center;
gap: .85rem;
padding: .5rem;
border-radius: 16px;
background: #fff;
}
.sm-product__media {
border-radius: 12px;
}
.sm-product__info {
padding: 0;
}
.sm-product__name {
font-size: .9rem;
}
.sm-product__add {
width: 2.9rem;
height: 2.9rem;
min-height: 0;
margin: 0;
padding: 0;
border-radius: 50%;
font-size: 1.4rem;
}
.sm-product__add-text {
position: absolute;
width: 1px;
height: 1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
}
.sm-results__actions {
position: absolute;
right: 0;
bottom: 0;
left: 0;
z-index: 3;
display: grid;
justify-items: center;
gap: .1rem;
padding: .8rem 1rem .6rem;
background: linear-gradient(to top, var(--sm-cream) 72%, rgba(245, 241, 235, 0));
}
.sm-all {
justify-content: center;
width: 100%;
}
} @media (prefers-reduced-motion: reduce) {
.sm-card, .sm-card.is-leaving {
transition: opacity .2s ease;
}
.sm-card.is-next, .sm-card.is-third {
transform: none;
}
.sm-vote:active {
transform: none;
}
} .sm-loader {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
min-height: 24rem;
padding: 2rem 1rem;
text-align: center;
}
.sm-loader__orb {
position: relative;
display: grid;
place-items: center;
width: 6.5rem;
height: 6.5rem;
margin-bottom: 1.5rem;
border-radius: 50%;
background: var(--sm-tan);
box-shadow: 0 18px 40px -14px rgba(156, 90, 60, .6);
}
.sm-loader__ring {
position: absolute;
inset: 0;
border: 2px solid var(--sm-tan);
border-radius: 50%;
animation: sm-ring 1.8s cubic-bezier(.2, .6, .3, 1) infinite;
}
.sm-loader__ring--late { animation-delay: .9s; }
.sm-loader__heart {
color: #fff;
font-size: 2.3rem;
animation: sm-beat 1.1s ease-in-out infinite;
}
.sm-loader__title { margin: 0 0 .3rem; color: var(--sm-dark); font-size: 1.3rem; font-weight: 900; }
.sm-loader__text { margin: 0 0 1rem; color: #6b6b6b; font-size: .92rem; }
.sm-loader__text a { color: var(--sm-rust); font-weight: 700; }
.sm-loader .sm-again { min-height: 0; padding: 0; font-size: inherit; }
.sm-loader__dots { display: inline-flex; gap: .35rem; }
.sm-loader__dots span { width: .5rem; height: .5rem; border-radius: 50%; background: var(--sm-rust); animation: sm-dot 1.2s ease-in-out infinite; }
.sm-loader__dots span:nth-child(2) { animation-delay: .15s; }
.sm-loader__dots span:nth-child(3) { animation-delay: .3s; }
.sm-loader.is-error .sm-loader__orb { background: var(--sm-dark); box-shadow: none; }
.sm-loader.is-error .sm-loader__heart { color: var(--sm-no); animation: none; }
@keyframes sm-ring { from { transform: scale(1); opacity: .7; } to { transform: scale(1.9); opacity: 0; } }
@keyframes sm-beat { 0%, 100% { transform: scale(1); } 20% { transform: scale(1.18); } 40% { transform: scale(.96); } 60% { transform: scale(1.08); } }
@keyframes sm-dot { 0%, 80%, 100% { transform: translateY(0); opacity: .35; } 40% { transform: translateY(-6px); opacity: 1; } }
@media (max-width: 767.98px) { .sm-layout { align-items: stretch; } .sm-results > .sm-loader { flex: 1; min-height: calc(100svh - var(--sm-header) - 4rem); } .sm-start { background: none; padding-left: 0; padding-right: 0; }
}
@media (prefers-reduced-motion: reduce) {
.sm-loader__ring { display: none; }
.sm-loader__heart, .sm-loader__dots span { animation: none; }
.sm-loader__dots span { opacity: .6; }
}