/* Floating iPhone mockup in the hero. The 390x844 app screen is scaled to fit. */
.phone {
    animation: float 7s ease-in-out infinite;
}

.phone__shell {
    width: 330px;
    height: 691px;
    border-radius: 52px;
    background: var(--ink);
    padding: 10px;
    box-shadow: 0 40px 80px rgba(10, 8, 30, .35), 0 12px 24px rgba(10, 8, 30, .2);
}

.phone__screen {
    position: relative;
    width: 310px;
    height: 671px;
    border-radius: 42px;
    overflow: hidden;
    background: var(--paper);
}

.app {
    position: absolute;
    left: 0;
    top: 0;
    width: 390px;
    height: 844px;
    transform: scale(.79487);
    transform-origin: 0 0;
    display: flex;
    flex-direction: column;
    color: var(--ink);
    background: var(--paper);
}

.app__status {
    height: 54px;
    flex: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 26px;
    font: 600 15px/1 var(--font-sans);
}

.app__status-icons {
    display: flex;
    gap: 6px;
    align-items: center;
}

.app__title {
    height: 52px;
    flex: none;
    display: flex;
    align-items: center;
    padding: 0 20px;
    font: 600 17px/1 var(--font-sans);
}

.app__content {
    flex: 1;
    padding: 6px 20px 96px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    overflow: hidden;
}

/* "Jeu du jour" card, with the same mesh as the hero (blurs about halved). */
.game-card {
    position: relative;
    overflow: hidden;
    flex: none;
    height: 380px;
    padding: 22px;
    border-radius: var(--radius);
    background-color: var(--m-bg, oklch(.50 .15 275));
    transition: background-color 1.6s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 12px;
    color: var(--white);
    --mesh-blur: .52;
}

.game-card > *:not(.mesh) {
    position: relative;
}

.game-card__chip {
    align-self: flex-start;
    height: 32px;
    padding: 0 13px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .22);
    display: flex;
    align-items: center;
    font: 700 12.5px/1 var(--font-sans);
}

.game-card__spacer {
    flex: 1;
}

.game-card__theme {
    height: 46px;
    overflow: hidden;
}

.game-card__theme-word {
    font: 700 44px/1.02 var(--font-serif);
    letter-spacing: -.8px;
    animation: themeIn .7s var(--ease-out) both;
}

.game-card__meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.game-card__rules {
    font: 500 14px/1.4 var(--font-sans);
    color: rgba(255, 255, 255, .88);
}

.game-card__countdown {
    height: 28px;
    display: flex;
    align-items: center;
    gap: 7px;
    font: 600 12.5px/1 var(--font-sans);
}

.game-card__countdown::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--coral);
}

.game-card__countdown b {
    font: 700 13px/1 var(--font-mono);
    letter-spacing: .3px;
}

.game-card__play {
    height: 52px;
    margin-top: 4px;
    border-radius: var(--radius);
    background: var(--white);
    color: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    font: 700 16px/1 var(--font-sans);
}

.app__results-head {
    flex: none;
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.app__results-title {
    font: 600 20px/1.2 var(--font-sans);
}

.app__results-count {
    margin-left: auto;
    font: 500 12.5px/1 var(--font-sans);
    color: var(--text-3);
}
