The Open Standard for Generative UI
.wideScene {
position: absolute;
width: 588px;
height: 360px;
left: 0;
top: 0;
transform-origin: 0 0;
transform: scale(tan(atan2(100cqw, 588px)));
}
.requestScreen {
padding: 0;
gap: 0;
background: var(--app-panel);
overflow: hidden;
}
.requestScreen > div:first-child {
width: 100%;
}
.requestContent {
padding: 10px 24px 24px;
width: 100%;
}
.answerHead {
display: flex;
flex-direction: column;
gap: 5px;
margin: 22px 0 16px;
}
.answerHead strong {
font-size: 22px;
letter-spacing: -0.5px;
font-weight: 600;
}
.answerHead span {
font-size: 13px;
color: var(--iui-muted);
}
.filters {
display: flex;
gap: 8px;
margin-bottom: 18px;
}
.filters > span {
min-height: 30px;
font-size: 12px;
padding: 6px 14px;
}
.foodGrid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 14px;
}
.restaurant {
min-width: 0;
overflow: hidden;
border-radius: 0;
border: 0;
background: transparent;
}
.restaurant > img {
display: block;
width: 100%;
height: 104px;
object-fit: cover;
}
.platformLabels {
position: absolute;
top: 20px;
left: 68px;
right: 66px;
display: grid;
grid-template-columns: 1fr 1fr;
gap: 56px;
}
.platformLabels > span {
display: flex;
align-items: center;
justify-content: center;
gap: 6px;
font-size: 14px;
font-weight: 500;
}
.platformLabels small {
font-size: 11px;
font-weight: 400;
color: var(--app-muted);
}
.appleMark {
width: 17px;
height: 19px;
flex: none;
}
.nativeDevice {
position: absolute;
top: 59px;
transform-origin: top left;
}
.iphone {
left: 72px;
transform: scale(0.46);
}
.pixel {
left: 326px;
top: 41px;
transform: scale(0.475);
}
.phoneDisplay {
overflow: hidden;
}
.nativeScreen {
position: relative;
height: 100%;
background: var(--app-screen);
color: var(--app-ink);
font-family: -apple-system, BlinkMacSystemFont, sans-serif;
font-size: 16px;
}
.nativeStatus {
height: 51px;
padding: 0 28px;
font-size: 15px;
}
.nativeNav {
height: 44px;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 16px;
font-size: 16px;
}
.nativeNav > span {
display: flex;
align-items: center;
color: #007aff;
}
.nativeNav b {
font-size: 16px;
font-weight: 600;
}
.nativeContent {
padding: 16px 18px;
}
.nativeEyebrow {
display: none;
}
.nativeContent h4 {
font-size: 30px;
font-weight: 700;
line-height: 1.2;
letter-spacing: -0.5px;
margin: 0;
}
.nativeContent > p {
color: var(--app-muted);
font-size: 14px;
margin: 7px 0 20px;
}
.nativeSegments {
display: flex;
padding: 2px;
border-radius: 8px;
background: color-mix(in srgb, var(--app-ink) 8%, transparent);
margin-bottom: 20px;
font-size: 13px;
}
.nativeSegments > span {
width: 50%;
text-align: center;
padding: 7px 0;
}
.nativeSegments > span:first-child {
background: var(--app-panel);
border-radius: 6px;
box-shadow: 0 2px 4px #0001;
}
.nativeSegments b {
margin-left: 5px;
font-weight: 500;
color: var(--app-muted);
}
.nativeList {
border-radius: 12px;
background: var(--app-panel);
padding: 0 14px;
}
.nativeRow {
display: flex;
align-items: center;
gap: 10px;
height: 43px;
font-size: 15px;
}
.nativeRow + .nativeRow {
border-top: 1px solid color-mix(in srgb, var(--app-ink) 8%, transparent);
}
.nativeRow > i {
width: 21px;
height: 21px;
flex: none;
border: 1.5px solid #aaa;
border-radius: 50%;
}
.nativeRow > i[data-checked] {
display: grid;
place-items: center;
background: #007aff;
border-color: #007aff;
color: #fff;
}
.nativeRow small {
margin-left: auto;
color: var(--app-muted);
font-size: 13px;
}
.nativeReminder {
display: flex;
justify-content: space-between;
align-items: center;
margin-top: 18px;
padding: 13px 14px;
background: var(--app-panel);
border-radius: 12px;
}
.nativeReminder strong {
font-size: 15px;
font-weight: 400;
}
.nativeReminder small {
display: block;
margin-top: 4px;
color: var(--app-muted);
font-size: 12px;
}
.nativeSwitch {
display: block;
width: 51px;
height: 31px;
border-radius: 20px;
background: #34c759;
padding: 2px;
}
.nativeSwitch > i {
display: block;
width: 27px;
height: 27px;
border-radius: 50%;
margin-left: auto;
background: #fff;
box-shadow: 0 1px 3px #0002;
}
.nativeAdd {
display: flex;
align-items: center;
gap: 7px;
margin-top: 18px;
color: #007aff;
font-weight: 500;
font-size: 16px;
}
.nativeHome {
position: absolute;
height: 5px;
width: 130px;
border-radius: 5px;
bottom: 8px;
left: 50%;
transform: translateX(-50%);
background: var(--app-ink);
}
.android {
background: #f8f7ff;
font-family: Roboto, Arial, sans-serif;
}
.android .nativeStatus {
height: 30px;
font-size: 13px;
padding: 0 16px;
}
.android .nativeNav {
height: 56px;
}
.android .nativeNav b {
flex: 1;
margin-left: 16px;
font-weight: 400;
font-size: 20px;
}
.android .nativeContent h4 {
font-size: 27px;
font-weight: 400;
}
.android .nativeSegments {
background: none;
gap: 8px;
padding: 0;
}
.android .nativeSegments > span {
width: auto;
padding: 8px 14px;
border: 1px solid #cac4d0;
border-radius: 8px;
}
.android .nativeSegments > span:first-child {
background: #e8def8;
box-shadow: none;
border-color: transparent;
color: #1d192b;
}
.android .nativeList {
background: transparent;
padding: 0;
}
.android .nativeRow + .nativeRow {
border: 0;
}
.android .nativeRow > i {
border-radius: 2px;
width: 18px;
height: 18px;
border-color: #79747e;
}
.android .nativeRow > i[data-checked] {
background: #6750a4;
border-color: #6750a4;
}
.android .nativeReminder {
padding-inline: 0;
background: transparent;
}
.android .nativeSwitch {
width: 52px;
height: 32px;
padding: 4px;
background: #6750a4;
}
.android .nativeSwitch > i {
height: 24px;
width: 24px;
background: #eaddff;
box-shadow: none;
}
.android .nativeAdd {
justify-content: center;
width: fit-content;
padding: 15px 22px;
border-radius: 16px;
color: #21005d;
background: #eaddff;
margin-left: auto;
}
[data-theme="dark"] .android {
background: #1c1b20;
}
[data-theme="dark"] .nativeNav > span {
color: #6cafff;
}
[data-theme="dark"] .android .nativeSegments > span:first-child {
background: #4a4458;
color: #e8def8;
}
@media (max-width: 767px) {
.wideScene {
top: 50%;
transform: translateY(-50%) scale(tan(atan2(100cqw, 588px)));
transform-origin: left center;
}
}
.requestContent {
padding-top: 4px;
}
.answerHead {
margin: 0;
gap: 4px;
}
.answerHead strong {
font-size: 20px;
}
.filters {
margin-bottom: 8px;
}
.foodGrid .restaurant > img {
height: 104px;
}
.requestPhone {
position: absolute !important;
left: 271px;
top: 18px;
transform: scale(0.7);
transform-origin: top left;
}
.requestQueue {
position: absolute;
z-index: 2;
inset: 0 auto auto 0;
height: 300px;
width: 258px;
overflow: hidden;
mask-image: linear-gradient(to bottom, transparent, #000 13%, #000 70%, transparent);
-webkit-mask-image: linear-gradient(to bottom, transparent, #000 13%, #000 70%, transparent);
}
.requestQueueTrack {
position: absolute;
left: 24px;
top: 0;
width: 220px;
display: flex;
flex-direction: column;
gap: 20px;
transform: translateY(-134px);
animation: requestQueueLoop 9.6s cubic-bezier(0.22, 1, 0.36, 1) infinite;
will-change: transform;
}
.requestQueueItem {
flex: none;
display: flex;
align-items: center;
width: 220px;
height: 36px;
padding: 0 16px;
border-radius: 999px;
background: var(--app-panel);
color: var(--app-ink);
box-shadow: 0 3px 14px rgb(0 0 0 / 0.045);
font-size: 14px;
font-weight: 500;
line-height: 20px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.requestQueue {
--queue-active-bg: #0a0a0a;
--queue-active-ink: #fff;
}
[data-theme="dark"] .requestQueue {
--queue-active-bg: #fff;
--queue-active-ink: #0a0a0a;
}
@keyframes requestQueueLoop {
0%,
18.229% {
transform: translateY(-134px);
}
25%,
43.229% {
transform: translateY(-190px);
}
50%,
68.229% {
transform: translateY(-246px);
}
75%,
93.229% {
transform: translateY(-302px);
}
100% {
transform: translateY(-358px);
}
}
.requestScreen {
height: 830px;
width: 390px;
overflow: hidden;
background: var(--app-panel);
}
.requestStatus {
height: 52px;
padding-inline: 28px;
font-size: 15px;
}
.requestContent {
padding: 30px 18px 24px;
animation: none;
}
.requestContent .answerHead {
margin-top: 0;
margin-bottom: 13px;
}
.requestContent .answerHead strong {
font-size: 24px;
}
.requestContent .answerHead span {
font-size: 13px;
color: var(--app-muted);
}
.requestContent .filters {
gap: 7px;
margin-bottom: 14px;
}
.requestContent .filters > span {
padding-inline: 14px;
white-space: nowrap;
}
.requestContent .foodGrid {
grid-template-columns: 1fr;
gap: 0;
}
.requestContent .restaurant {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
min-height: 124px;
padding: 10px 0;
border: 0;
border-bottom: 1px solid color-mix(in srgb, var(--app-ink) 12%, transparent);
border-radius: 0;
}
.requestContent .foodGrid .restaurant > img {
width: 112px;
height: 104px;
flex: none;
border-radius: 10px;
object-fit: cover;
}
.restaurantInfo {
display: flex;
flex-direction: column;
align-items: flex-start;
min-width: 0;
}
.restaurantCategory {
color: var(--app-muted);
font-size: 12px;
margin-bottom: 6px;
}
.restaurantInfo strong {
font-size: 19px;
line-height: 1.15;
letter-spacing: -0.3px;
white-space: nowrap;
}
.restaurantRating {
display: flex;
align-items: center;
gap: 4px;
font-size: 13px;
margin-top: 9px;
font-weight: 600;
}
.restaurantRating small {
color: var(--app-muted);
font-size: 12px;
font-weight: 400;
}
.restaurantDelivery {
margin-top: 5px;
color: var(--app-muted);
font-size: 12px;
white-space: nowrap;
}
.requestProductPhoto {
position: relative;
width: 100%;
height: 132px;
margin-bottom: 16px;
overflow: hidden;
border-radius: 12px;
}
.requestProductPhoto img {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
}
.requestProductBody .restaurantCategory {
margin-bottom: 10px;
}
.requestProductTitle {
display: flex;
align-items: baseline;
justify-content: space-between;
gap: 12px;
margin-top: 8px;
}
.requestProductTitle strong {
font-size: 23px;
letter-spacing: -0.5px;
}
.requestProductTitle b {
font-size: 18px;
}
.requestProductBody p {
color: var(--app-muted);
font-size: 14px;
line-height: 1.45;
}
.requestProductMeta {
display: flex;
align-items: center;
gap: 6px;
font-size: 13px;
}
.requestProductMeta svg:nth-of-type(2) {
margin-left: 12px;
}
.requestOption {
display: flex;
justify-content: space-between;
margin-top: 23px;
padding: 15px 0;
border-top: 1px solid color-mix(in srgb, var(--app-ink) 12%, transparent);
font-size: 14px;
}
.requestOption span {
color: var(--app-muted);
}
.requestCartItem {
display: flex;
gap: 14px;
padding: 20px 0;
border-bottom: 1px solid color-mix(in srgb, var(--app-ink) 12%, transparent);
}
.requestCartItem img {
width: 110px;
height: 110px;
border-radius: 12px;
object-fit: cover;
}
.requestCartItem > div {
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 8px;
}
.requestCartItem strong {
font-size: 16px;
line-height: 1.3;
}
.requestCartItem span {
color: var(--app-muted);
font-size: 12px;
}
.requestCartItem b {
margin-top: auto;
font-size: 15px;
}
.requestCartTotal {
display: flex;
flex-direction: column;
gap: 13px;
padding: 21px 0;
font-size: 14px;
}
.requestCartTotal span {
display: flex;
justify-content: space-between;
}
.requestCartTotal span:last-child {
padding-top: 14px;
border-top: 1px solid color-mix(in srgb, var(--app-ink) 12%, transparent);
font-weight: 600;
}
.requestAction {
padding: 15px;
border-radius: 10px;
background: var(--app-ink);
color: var(--app-panel);
text-align: center;
font-weight: 600;
}
.requestMap {
overflow: hidden;
margin-top: 18px;
border: 1px solid color-mix(in srgb, var(--app-ink) 10%, transparent);
border-radius: 13px;
}
.requestMap svg {
display: block;
width: 100%;
height: 150px;
}
.requestMap > div {
display: flex;
flex-direction: column;
gap: 4px;
padding: 12px 14px;
font-size: 13px;
}
.requestMap > div span {
color: var(--app-muted);
font-size: 12px;
}
.requestCheckoutRow {
display: flex;
justify-content: space-between;
gap: 14px;
padding: 17px 0;
border-bottom: 1px solid color-mix(in srgb, var(--app-ink) 12%, transparent);
font-size: 13px;
}
.requestCheckoutRow > span:first-child {
color: var(--app-muted);
}
.requestCheckoutRow > span:last-child {
display: flex;
align-items: center;
gap: 5px;
}
.pixel {
top: 59px;
left: 329px;
transform: scale(0.46);
}
.pixelFrame {
position: relative;
width: 412px;
height: 892px;
border-radius: 56px;
padding: 11px;
background: #19191b;
border: 2px solid #55555b;
box-shadow:
inset 0 0 0 2px #303035,
0 14px 30px #0002;
}
.pixelFrame :global(.device-frame) {
width: 386px;
height: 866px;
border-radius: 45px;
overflow: hidden;
background: var(--app-screen);
}
.pixelFrame :global(.device-screen) {
width: 100%;
height: 100%;
}
.pixelCamera {
position: absolute;
z-index: 3;
top: 19px;
left: 50%;
width: 22px;
height: 22px;
transform: translateX(-50%);
border: 3px solid #282830;
border-radius: 50%;
background: radial-gradient(circle at 58% 45%, #243851 0 18%, #090a0e 55%);
}
.androidStatus {
height: 54px;
padding: 0 25px;
display: flex;
align-items: center;
justify-content: space-between;
font-size: 14px;
font-weight: 600;
color: #1d1b20;
}
.androidSystem {
display: flex;
align-items: center;
gap: 5px;
}
.androidBattery {
display: block;
height: 12px;
width: 20px;
border: 1.5px solid currentColor;
border-radius: 3px;
background: linear-gradient(currentColor, currentColor) 2px 2px / 13px 5px no-repeat;
}
.android .nativeNav {
height: 58px;
padding-inline: 22px;
color: #1d1b20;
}
.android .nativeContent {
padding-top: 17px;
}
.android .nativeHome {
width: 108px;
height: 4px;
bottom: 10px;
}
[data-theme="dark"] .androidStatus,
[data-theme="dark"] .android .nativeNav {
color: #f2f0f7;
}
@media (prefers-reduced-motion: reduce) {
.requestQueueTrack,
.requestQueueItem,
.requestContent {
animation: none;
transition: none;
}
}
@media (max-width: 767px) {
.requestQueueItem {
font-size: 14px;
}
}
.wideScene {
--app-ink: #16171c;
--app-muted: #676767;
--app-panel: #fff;
--app-screen: #f2f2f7;
}
[data-theme="dark"] .wideScene {
--app-ink: #f2f2f2;
--app-muted: #aaa;
--app-panel: #222;
--app-screen: #161618;
}
.requestQueueItem[data-row="4"] {
animation: queueHighlight0 9.6s steps(1, end) infinite;
}
@keyframes queueHighlight0 {
0% {
background: var(--queue-active-bg);
color: var(--queue-active-ink);
}
18.229%,
100% {
background: var(--app-panel);
color: var(--app-ink);
}
}
.requestQueueItem[data-row="5"] {
animation: queueHighlight1 9.6s steps(1, end) infinite;
}
@keyframes queueHighlight1 {
0% {
background: var(--app-panel);
color: var(--app-ink);
}
18.229% {
background: var(--queue-active-bg);
color: var(--queue-active-ink);
}
43.229%,
100% {
background: var(--app-panel);
color: var(--app-ink);
}
}
.requestQueueItem[data-row="6"] {
animation: queueHighlight2 9.6s steps(1, end) infinite;
}
@keyframes queueHighlight2 {
0% {
background: var(--app-panel);
color: var(--app-ink);
}
43.229% {
background: var(--queue-active-bg);
color: var(--queue-active-ink);
}
68.229%,
100% {
background: var(--app-panel);
color: var(--app-ink);
}
}
.requestQueueItem[data-row="7"] {
animation: queueHighlight3 9.6s steps(1, end) infinite;
}
@keyframes queueHighlight3 {
0% {
background: var(--app-panel);
color: var(--app-ink);
}
68.229% {
background: var(--queue-active-bg);
color: var(--queue-active-ink);
}
93.229%,
100% {
background: var(--app-panel);
color: var(--app-ink);
}
}
.requestQueueItem[data-row="8"] {
animation: queueHighlight4 9.6s steps(1, end) infinite;
}
@keyframes queueHighlight4 {
0% {
background: var(--app-panel);
color: var(--app-ink);
}
93.229%,
100% {
background: var(--queue-active-bg);
color: var(--queue-active-ink);
}
}
@media (prefers-reduced-motion: reduce) {
.requestQueueTrack .requestQueueItem {
animation: none;
}
.requestQueueItem[data-row="4"] {
background: var(--queue-active-bg);
color: var(--queue-active-ink);
}
}
/* The phone and prompt highlights share the CSS document timeline. */
.requestScreens {
position: relative;
width: 100%;
}
.requestContent[data-scene] {
position: absolute;
top: 0;
left: 0;
visibility: hidden;
animation: requestScene0 9.6s steps(1, end) infinite;
}
.requestContent[data-scene="1"] {
animation-name: requestScene1;
}
.requestContent[data-scene="2"] {
animation-name: requestScene2;
}
.requestContent[data-scene="3"] {
animation-name: requestScene3;
}
@keyframes requestScene0 {
0%,
93.229%,
100% {
visibility: visible;
}
18.229% {
visibility: hidden;
}
}
@keyframes requestScene1 {
0%,
43.229%,
100% {
visibility: hidden;
}
18.229% {
visibility: visible;
}
}
@keyframes requestScene2 {
0%,
68.229%,
100% {
visibility: hidden;
}
43.229% {
visibility: visible;
}
}
@keyframes requestScene3 {
0%,
93.229%,
100% {
visibility: hidden;
}
68.229% {
visibility: visible;
}
}
@media (prefers-reduced-motion: reduce) {
.requestContent[data-scene] {
animation: none;
visibility: hidden;
}
.requestContent[data-scene="0"] {
visibility: visible;
}
}