/* Two-part arrow reveal for WaveOut action buttons. */
.wo-arrow-reveal {
    position: relative;
    display: flex;
    align-items: center;
    height: var(--wo-arrow-size,48px);
}

.wo-arrow-reveal .inner,
.wo-arrow-reveal .circle {
    background-color: var(--wo-arrow-surface,var(--wo-ink));
    border-radius: 999px;
    height: var(--wo-arrow-size,48px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-wrap: nowrap;
    transition: width 500ms var(--ease-overlap), scale 500ms var(--ease-overlap);
}

.wo-arrow-reveal .inner {
    width: 100%;
    padding-inline: 0;
    position: relative;
    z-index: 1;
}

.wo-arrow-reveal .circle {
    position: absolute;
    right: 0;
    width: var(--wo-arrow-size,48px);
    scale: 0;
    transform-origin: left center;
}

.wo-arrow-reveal .circle span {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    transform: translateX(-100%);
    transition: transform var(--motion-feedback-enter) 100ms;
}

.wo-arrow-reveal:is(:hover,:focus-visible) .inner {
    width: calc(100% - (var(--wo-arrow-size,48px) + 4px));
}

.wo-arrow-reveal:is(:hover,:focus-visible) .circle {
    scale: 1;
}

.wo-arrow-reveal:is(:hover,:focus-visible) .circle span {
    transform: translateX(0);
}
/* Fit the existing WaveOut buttons; keep their colour, type and outer dimensions. */
.entry-choice__button.wo-arrow-reveal{
 --wo-arrow-surface:var(--wo-ink);padding:0!important;gap:0!important;
 background:transparent!important;isolation:isolate;
}
.entry-choice__button.wo-arrow-reveal{--wo-arrow-size:55px;--wo-arrow-surface:#fff}
.wo-arrow-reveal>.inner{flex:none;min-width:0;white-space:nowrap;pointer-events:none}
.wo-arrow-reveal>.circle{overflow:hidden;pointer-events:none}
.wo-arrow-reveal>.circle svg{display:block;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round;transform:none!important;transition:none}
.entry-choice__option:focus-visible .wo-arrow-reveal>.inner{width:calc(100% - (var(--wo-arrow-size,48px) + 4px))}
.entry-choice__option:focus-visible .wo-arrow-reveal>.circle{scale:1}
.entry-choice__option:focus-visible .wo-arrow-reveal>.circle span{transform:translateX(0)}
@media(max-width:600px){.entry-choice__button.wo-arrow-reveal{--wo-arrow-size:50px}}
/* Touch and reduced-motion visitors get the same clear, static arrow affordance. */
@media(hover:none),(prefers-reduced-motion:reduce){
 .wo-arrow-reveal>.inner{width:calc(100% - (var(--wo-arrow-size,48px) + 4px))}
 .wo-arrow-reveal>.circle{scale:1}
 .wo-arrow-reveal>.circle span{transform:translateX(0)}
}
@media(prefers-reduced-motion:reduce){.wo-arrow-reveal,.wo-arrow-reveal *{transition:none!important}}
