/* Preserve the supplied Espresso Shop artwork; reveal its conversation in stages. */
.coffee-screen{background:#fff}
.coffee-viewport{position:relative;width:100%;aspect-ratio:390/852;overflow:hidden;background:#fff}
.coffee-artwork{position:absolute;width:120.512821%;left:-10.256411%;top:-7.746479%;aspect-ratio:470/960}
.coffee-artwork>img{width:100%;height:auto;display:block}
.coffee-mask{position:absolute;background:#fff;left:11.9%;width:76.2%;opacity:0;pointer-events:none}
.coffee-question{top:19%;height:9%}
.coffee-answer{top:28.5%;height:9.2%}
.coffee-shop{top:38%;height:4.5%}
.coffee-products{top:42.4%;height:41.25%}
.coffee-demo.is-ready .coffee-mask{opacity:1}
.coffee-demo.is-playing .coffee-mask{animation:coffee-reveal .65s ease both;animation-play-state:paused}
.coffee-demo.is-running .coffee-mask{animation-play-state:running}
.coffee-demo.is-playing .coffee-question{animation-delay:.6s}
.coffee-demo.is-playing .coffee-answer{animation-delay:2s}
.coffee-demo.is-playing .coffee-shop{animation-delay:3.5s}
.coffee-demo.is-playing .coffee-products{animation-delay:4.3s}
@keyframes coffee-reveal{from{opacity:1}to{opacity:0}}
.coffee-demo figcaption{font-size:.75rem;line-height:1.6;color:#aaa;text-align:center;margin-top:18px}
.coffee-replay{display:block;margin:12px auto 0;background:transparent;color:#bbb;border:1px solid #555;padding:9px 16px;border-radius:4px;font:inherit;min-height:44px;cursor:pointer}
.coffee-replay:hover{color:#fff;border-color:#ec8426}
@media(prefers-reduced-motion:reduce){.coffee-demo .coffee-mask{display:none}.coffee-replay{display:none}}

.consumer-composition .espresso-brand-tile{padding:0;border:0;background:transparent;box-shadow:none;overflow:hidden}
.espresso-brand-tile img{display:block;width:100%;height:100%;object-fit:contain}
.coffee-artwork>img.espresso-chat-icon{position:absolute;display:block;height:auto;aspect-ratio:1;object-fit:contain;background:#fff;border-radius:50%;padding:0}
.coffee-artwork>img.espresso-chat-brand{left:11.914894%;top:38.75%;width:5.957447%}
.coffee-artwork>img.espresso-chat-composer{left:15.106383%;top:85.416667%;width:4.255319%}

/* Match the 34px outer frame minus its 6px border on all four inner corners. */
.coffee-viewport{border-radius:28px}
/* Lighten only the brown lettering; white pixels remain white. */
.coffee-green-text{position:absolute;display:block;background:#A7C7A0;mix-blend-mode:lighten;pointer-events:none}
.coffee-green-brand{left:19.4%;top:39.4%;width:25%;height:2%}
.coffee-green-left{left:14.5%;top:59.7%;width:30%;height:1.6%}
.coffee-green-right{left:53.7%;top:59.7%;width:31%;height:1.6%}
/* Remove the source photograph's baked-in black corner wedges, then let the
   viewport's rounded clipping define the single continuous white screen edge. */
.coffee-viewport::after{content:"";position:absolute;inset:0;z-index:3;pointer-events:none;background:linear-gradient(135deg,#fff 49%,transparent 51%) top left,linear-gradient(225deg,#fff 49%,transparent 51%) top right,linear-gradient(45deg,#fff 49%,transparent 51%) bottom left,linear-gradient(315deg,#fff 49%,transparent 51%) bottom right;background-size:36px 36px;background-repeat:no-repeat}
/* Keep the space below the example products quiet: no carousel count or arrows. */
.coffee-artwork::after{content:"";position:absolute;left:10%;top:79%;width:80%;height:4.5%;background:#fff;pointer-events:none}

/* English copy follows the source artwork coordinates and reveal masks. */
.coffee-english-copy{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
